aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
blob: 4f8b3cbf7ecf604eba52d756148ae70993476e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402
37403
37404
37405
37406
37407
37408
37409
37410
37411
37412
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451
37452
37453
37454
37455
37456
37457
37458
37459
37460
37461
37462
37463
37464
37465
37466
37467
37468
37469
37470
37471
37472
37473
37474
37475
37476
37477
37478
37479
37480
37481
37482
37483
37484
37485
37486
37487
37488
37489
37490
37491
37492
37493
37494
37495
37496
37497
37498
37499
37500
37501
37502
37503
37504
37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
37520
37521
37522
37523
37524
37525
37526
37527
37528
37529
37530
37531
37532
37533
37534
37535
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545
37546
37547
37548
37549
37550
37551
37552
37553
37554
37555
37556
37557
37558
37559
37560
37561
37562
37563
37564
37565
37566
37567
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722
37723
37724
37725
37726
37727
37728
37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862
37863
37864
37865
37866
37867
37868
37869
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896
37897
37898
37899
37900
37901
37902
37903
37904
37905
37906
37907
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122
38123
38124
38125
38126
38127
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139
38140
38141
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
38170
38171
38172
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
38194
38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323
38324
38325
38326
38327
38328
38329
38330
38331
38332
38333
38334
38335
38336
38337
38338
38339
38340
38341
38342
38343
38344
38345
38346
38347
38348
38349
38350
38351
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372
38373
38374
38375
38376
38377
38378
38379
38380
38381
38382
38383
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398
38399
38400
38401
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
38435
38436
38437
38438
38439
38440
38441
38442
38443
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508
38509
38510
38511
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535
38536
38537
38538
38539
38540
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646
38647
38648
38649
38650
38651
38652
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771
38772
38773
38774
38775
38776
38777
38778
38779
38780
38781
38782
38783
38784
38785
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864
38865
38866
38867
38868
38869
38870
38871
38872
38873
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883
38884
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937
38938
38939
38940
38941
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966
38967
38968
38969
38970
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
38988
38989
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099
39100
39101
39102
39103
39104
39105
39106
39107
39108
39109
39110
39111
39112
39113
39114
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126
39127
39128
39129
39130
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149
39150
39151
39152
39153
39154
39155
39156
39157
39158
39159
39160
39161
39162
39163
39164
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195
39196
39197
39198
39199
39200
39201
39202
39203
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305
39306
39307
39308
39309
39310
39311
39312
39313
39314
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325
39326
39327
39328
39329
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367
39368
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415
39416
39417
39418
39419
39420
39421
39422
39423
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490
39491
39492
39493
39494
39495
39496
39497
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520
39521
39522
39523
39524
39525
39526
39527
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557
39558
39559
39560
39561
39562
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750
39751
39752
39753
39754
39755
39756
39757
39758
39759
39760
39761
39762
39763
39764
39765
39766
39767
39768
39769
39770
39771
39772
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789
39790
39791
39792
39793
39794
39795
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805
39806
39807
39808
39809
39810
39811
39812
39813
39814
39815
39816
39817
39818
39819
39820
39821
39822
39823
39824
39825
39826
39827
39828
39829
39830
39831
39832
39833
39834
39835
39836
39837
39838
39839
39840
39841
39842
39843
39844
39845
39846
39847
39848
39849
39850
39851
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070
40071
40072
40073
40074
40075
40076
40077
40078
40079
40080
40081
40082
40083
40084
40085
40086
40087
40088
40089
40090
40091
40092
40093
40094
40095
40096
40097
40098
40099
40100
40101
40102
40103
40104
40105
40106
40107
40108
40109
40110
40111
40112
40113
40114
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124
40125
40126
40127
40128
40129
40130
40131
40132
40133
40134
40135
40136
40137
40138
40139
40140
40141
40142
40143
40144
40145
40146
40147
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159
40160
40161
40162
40163
40164
40165
40166
40167
40168
40169
40170
40171
40172
40173
40174
40175
40176
40177
40178
40179
40180
40181
40182
40183
40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
40195
40196
40197
40198
40199
40200
40201
40202
40203
40204
40205
40206
40207
40208
40209
40210
40211
40212
40213
40214
40215
40216
40217
40218
40219
40220
40221
40222
40223
40224
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236
40237
40238
40239
40240
40241
40242
40243
40244
40245
40246
40247
40248
40249
40250
40251
40252
40253
40254
40255
40256
40257
40258
40259
40260
40261
40262
40263
40264
40265
40266
40267
40268
40269
40270
40271
40272
40273
40274
40275
40276
40277
40278
40279
40280
40281
40282
40283
40284
40285
40286
40287
40288
40289
40290
40291
40292
40293
40294
40295
40296
40297
40298
40299
40300
40301
40302
40303
40304
40305
40306
40307
40308
40309
40310
40311
40312
40313
40314
40315
40316
40317
40318
40319
40320
40321
40322
40323
40324
40325
40326
40327
40328
40329
40330
40331
40332
40333
40334
40335
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345
40346
40347
40348
40349
40350
40351
40352
40353
40354
40355
40356
40357
40358
40359
40360
40361
40362
40363
40364
40365
40366
40367
40368
40369
40370
40371
40372
40373
40374
40375
40376
40377
40378
40379
40380
40381
40382
40383
40384
40385
40386
40387
40388
40389
40390
40391
40392
40393
40394
40395
40396
40397
40398
40399
40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
40410
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
40461
40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547
40548
40549
40550
40551
40552
40553
40554
40555
40556
40557
40558
40559
40560
40561
40562
40563
40564
40565
40566
40567
40568
40569
40570
40571
40572
40573
40574
40575
40576
40577
40578
40579
40580
40581
40582
40583
40584
40585
40586
40587
40588
40589
40590
40591
40592
40593
40594
40595
40596
40597
40598
40599
40600
40601
40602
40603
40604
40605
40606
40607
40608
40609
40610
40611
40612
40613
40614
40615
40616
40617
40618
40619
40620
40621
40622
40623
40624
40625
40626
40627
40628
40629
40630
40631
40632
40633
40634
40635
40636
40637
40638
40639
40640
40641
40642
40643
40644
40645
40646
40647
40648
40649
40650
40651
40652
40653
40654
40655
40656
40657
40658
40659
40660
40661
40662
40663
40664
40665
40666
40667
40668
40669
40670
40671
40672
40673
40674
40675
40676
40677
40678
40679
40680
40681
40682
40683
40684
40685
40686
40687
40688
40689
40690
40691
40692
40693
40694
40695
40696
40697
40698
40699
40700
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710
40711
40712
40713
40714
40715
40716
40717
40718
40719
40720
40721
40722
40723
40724
40725
40726
40727
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856
40857
40858
40859
40860
40861
40862
40863
40864
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874
40875
40876
40877
40878
40879
40880
40881
40882
40883
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936
40937
40938
40939
40940
40941
40942
40943
40944
40945
40946
40947
40948
40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
40961
40962
40963
40964
40965
40966
40967
40968
40969
40970
40971
40972
40973
40974
40975
40976
40977
40978
40979
40980
40981
40982
40983
40984
40985
40986
40987
40988
40989
40990
40991
40992
40993
40994
40995
40996
40997
40998
40999
41000
41001
41002
41003
41004
41005
41006
41007
41008
41009
41010
41011
41012
41013
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025
41026
41027
41028
41029
41030
41031
41032
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042
41043
41044
41045
41046
41047
41048
41049
41050
41051
41052
41053
41054
41055
41056
41057
41058
41059
41060
41061
41062
41063
41064
41065
41066
41067
41068
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267
41268
41269
41270
41271
41272
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420
41421
41422
41423
41424
41425
41426
41427
41428
41429
41430
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442
41443
41444
41445
41446
41447
41448
41449
41450
41451
41452
41453
41454
41455
41456
41457
41458
41459
41460
41461
41462
41463
41464
41465
41466
41467
41468
41469
41470
41471
41472
41473
41474
41475
41476
41477
41478
41479
41480
41481
41482
41483
41484
41485
41486
41487
41488
41489
41490
41491
41492
41493
41494
41495
41496
41497
41498
41499
41500
41501
41502
41503
41504
41505
41506
41507
41508
41509
41510
41511
41512
41513
41514
41515
41516
41517
41518
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533
41534
41535
41536
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570
41571
41572
41573
41574
41575
41576
41577
41578
41579
41580
41581
41582
41583
41584
41585
41586
41587
41588
41589
41590
41591
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
41626
41627
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655
41656
41657
41658
41659
41660
41661
41662
41663
41664
41665
41666
41667
41668
41669
41670
41671
41672
41673
41674
41675
41676
41677
41678
41679
41680
41681
41682
41683
41684
41685
41686
41687
41688
41689
41690
41691
41692
41693
41694
41695
41696
41697
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
41734
41735
41736
41737
41738
41739
41740
41741
41742
41743
41744
41745
41746
41747
41748
41749
41750
41751
41752
41753
41754
41755
41756
41757
41758
41759
41760
41761
41762
41763
41764
41765
41766
41767
41768
41769
41770
41771
41772
41773
41774
41775
41776
41777
41778
41779
41780
41781
41782
41783
41784
41785
41786
41787
41788
41789
41790
41791
41792
41793
41794
41795
41796
41797
41798
41799
41800
41801
41802
41803
41804
41805
41806
41807
41808
41809
41810
41811
41812
41813
41814
41815
41816
41817
41818
41819
41820
41821
41822
41823
41824
41825
41826
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838
41839
41840
41841
41842
41843
41844
41845
41846
41847
41848
41849
41850
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861
41862
41863
41864
41865
41866
41867
41868
41869
41870
41871
41872
41873
41874
41875
41876
41877
41878
41879
41880
41881
41882
41883
41884
41885
41886
41887
41888
41889
41890
41891
41892
41893
41894
41895
41896
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906
41907
41908
41909
41910
41911
41912
41913
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957
41958
41959
41960
41961
41962
41963
41964
41965
41966
41967
41968
41969
41970
41971
41972
41973
41974
41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991
41992
41993
41994
41995
41996
41997
41998
41999
42000
42001
42002
42003
42004
42005
42006
42007
42008
42009
42010
42011
42012
42013
42014
42015
42016
42017
42018
42019
42020
42021
42022
42023
42024
42025
42026
42027
42028
42029
42030
42031
42032
42033
42034
42035
42036
42037
42038
42039
42040
42041
42042
42043
42044
42045
42046
42047
42048
42049
42050
42051
42052
42053
42054
42055
42056
42057
42058
42059
42060
42061
42062
42063
42064
42065
42066
42067
42068
42069
42070
42071
42072
42073
42074
42075
42076
42077
42078
42079
42080
42081
42082
42083
42084
42085
42086
42087
42088
42089
42090
42091
42092
42093
42094
42095
42096
42097
42098
42099
42100
42101
42102
42103
42104
42105
42106
42107
42108
42109
42110
42111
42112
42113
42114
42115
42116
42117
42118
42119
42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135
42136
42137
42138
42139
42140
42141
42142
42143
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158
42159
42160
42161
42162
42163
42164
42165
42166
42167
42168
42169
42170
42171
42172
42173
42174
42175
42176
42177
42178
42179
42180
42181
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191
42192
42193
42194
42195
42196
42197
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
42229
42230
42231
42232
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244
42245
42246
42247
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260
42261
42262
42263
42264
42265
42266
42267
42268
42269
42270
42271
42272
42273
42274
42275
42276
42277
42278
42279
42280
42281
42282
42283
42284
42285
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297
42298
42299
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312
42313
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323
42324
42325
42326
42327
42328
42329
42330
42331
42332
42333
42334
42335
42336
42337
42338
42339
42340
42341
42342
42343
42344
42345
42346
42347
42348
42349
42350
42351
42352
42353
42354
42355
42356
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
42444
42445
42446
42447
42448
42449
42450
42451
42452
42453
42454
42455
42456
42457
42458
42459
42460
42461
42462
42463
42464
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477
42478
42479
42480
42481
42482
42483
42484
42485
42486
42487
42488
42489
42490
42491
42492
42493
42494
42495
42496
42497
42498
42499
42500
42501
42502
42503
42504
42505
42506
42507
42508
42509
42510
42511
42512
42513
42514
42515
42516
42517
42518
42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
42530
42531
42532
42533
42534
42535
42536
42537
42538
42539
42540
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569
42570
42571
42572
42573
42574
42575
42576
42577
42578
42579
42580
42581
42582
42583
42584
42585
42586
42587
42588
42589
42590
42591
42592
42593
42594
42595
42596
42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610
42611
42612
42613
42614
42615
42616
42617
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627
42628
42629
42630
42631
42632
42633
42634
42635
42636
42637
42638
42639
42640
42641
42642
42643
42644
42645
42646
42647
42648
42649
42650
42651
42652
42653
42654
42655
42656
42657
42658
42659
42660
42661
42662
42663
42664
42665
42666
42667
42668
42669
42670
42671
42672
42673
42674
42675
42676
42677
42678
42679
42680
42681
42682
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698
42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711
42712
42713
42714
42715
42716
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731
42732
42733
42734
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
42772
42773
42774
42775
42776
42777
42778
42779
42780
42781
42782
42783
42784
42785
42786
42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
42798
42799
42800
42801
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833
42834
42835
42836
42837
42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
42849
42850
42851
42852
42853
42854
42855
42856
42857
42858
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868
42869
42870
42871
42872
42873
42874
42875
42876
42877
42878
42879
42880
42881
42882
42883
42884
42885
42886
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902
42903
42904
42905
42906
42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
42918
42919
42920
42921
42922
42923
42924
42925
42926
42927
42928
42929
42930
42931
42932
42933
42934
42935
42936
42937
42938
42939
42940
42941
42942
42943
42944
42945
42946
42947
42948
42949
42950
42951
42952
42953
42954
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964
42965
42966
42967
42968
42969
42970
42971
42972
42973
42974
42975
42976
42977
42978
42979
42980
42981
42982
42983
42984
42985
42986
42987
42988
42989
42990
42991
42992
42993
42994
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030
43031
43032
43033
43034
43035
43036
43037
43038
43039
43040
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
43069
43070
43071
43072
43073
43074
43075
43076
43077
43078
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310
43311
43312
43313
43314
43315
43316
43317
43318
43319
43320
43321
43322
43323
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338
43339
43340
43341
43342
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358
43359
43360
43361
43362
43363
43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379
43380
43381
43382
43383
43384
43385
43386
43387
43388
43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
43400
43401
43402
43403
43404
43405
43406
43407
43408
43409
43410
43411
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421
43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434
43435
43436
43437
43438
43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486
43487
43488
43489
43490
43491
43492
43493
43494
43495
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
43513
43514
43515
43516
43517
43518
43519
43520
43521
43522
43523
43524
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624
43625
43626
43627
43628
43629
43630
43631
43632
43633
43634
43635
43636
43637
43638
43639
43640
43641
43642
43643
43644
43645
43646
43647
43648
43649
43650
43651
43652
43653
43654
43655
43656
43657
43658
43659
43660
43661
43662
43663
43664
43665
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716
43717
43718
43719
43720
43721
43722
43723
43724
43725
43726
43727
43728
43729
43730
43731
43732
43733
43734
43735
43736
43737
43738
43739
43740
43741
43742
43743
43744
43745
43746
43747
43748
43749
43750
43751
43752
43753
43754
43755
43756
43757
43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
43769
43770
43771
43772
43773
43774
43775
43776
43777
43778
43779
43780
43781
43782
43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
43794
43795
43796
43797
43798
43799
43800
43801
43802
43803
43804
43805
43806
43807
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870
43871
43872
43873
43874
43875
43876
43877
43878
43879
43880
43881
43882
43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905
43906
43907
43908
43909
43910
43911
43912
43913
43914
43915
43916
43917
43918
43919
43920
43921
43922
43923
43924
43925
43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088
44089
44090
44091
44092
44093
44094
44095
44096
44097
44098
44099
44100
44101
44102
44103
44104
44105
44106
44107
44108
44109
44110
44111
44112
44113
44114
44115
44116
44117
44118
44119
44120
44121
44122
44123
44124
44125
44126
44127
44128
44129
44130
44131
44132
44133
44134
44135
44136
44137
44138
44139
44140
44141
44142
44143
44144
44145
44146
44147
44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
44158
44159
44160
44161
44162
44163
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189
44190
44191
44192
44193
44194
44195
44196
44197
44198
44199
44200
44201
44202
44203
44204
44205
44206
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270
44271
44272
44273
44274
44275
44276
44277
44278
44279
44280
44281
44282
44283
44284
44285
44286
44287
44288
44289
44290
44291
44292
44293
44294
44295
44296
44297
44298
44299
44300
44301
44302
44303
44304
44305
44306
44307
44308
44309
44310
44311
44312
44313
44314
44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
44338
44339
44340
44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
44352
44353
44354
44355
44356
44357
44358
44359
44360
44361
44362
44363
44364
44365
44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434
44435
44436
44437
44438
44439
44440
44441
44442
44443
44444
44445
44446
44447
44448
44449
44450
44451
44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
44463
44464
44465
44466
44467
44468
44469
44470
44471
44472
44473
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
44595
44596
44597
44598
44599
44600
44601
44602
44603
44604
44605
44606
44607
44608
44609
44610
44611
44612
44613
44614
44615
44616
44617
44618
44619
44620
44621
44622
44623
44624
44625
44626
44627
44628
44629
44630
44631
44632
44633
44634
44635
44636
44637
44638
44639
44640
44641
44642
44643
44644
44645
44646
44647
44648
44649
44650
44651
44652
44653
44654
44655
44656
44657
44658
44659
44660
44661
44662
44663
44664
44665
44666
44667
44668
44669
44670
44671
44672
44673
44674
44675
44676
44677
44678
44679
44680
44681
44682
44683
44684
44685
44686
44687
44688
44689
44690
44691
44692
44693
44694
44695
44696
44697
44698
44699
44700
44701
44702
44703
44704
44705
44706
44707
44708
44709
44710
44711
44712
44713
44714
44715
44716
44717
44718
44719
44720
44721
44722
44723
44724
44725
44726
44727
44728
44729
44730
44731
44732
44733
44734
44735
44736
44737
44738
44739
44740
44741
44742
44743
44744
44745
44746
44747
44748
44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759
44760
44761
44762
44763
44764
44765
44766
44767
44768
44769
44770
44771
44772
44773
44774
44775
44776
44777
44778
44779
44780
44781
44782
44783
44784
44785
44786
44787
44788
44789
44790
44791
44792
44793
44794
44795
44796
44797
44798
44799
44800
44801
44802
44803
44804
44805
44806
44807
44808
44809
44810
44811
44812
44813
44814
44815
44816
44817
44818
44819
44820
44821
44822
44823
44824
44825
44826
44827
44828
44829
44830
44831
44832
44833
44834
44835
44836
44837
44838
44839
44840
44841
44842
44843
44844
44845
44846
44847
44848
44849
44850
44851
44852
44853
44854
44855
44856
44857
44858
44859
44860
44861
44862
44863
44864
44865
44866
44867
44868
44869
44870
44871
44872
44873
44874
44875
44876
44877
44878
44879
44880
44881
44882
44883
44884
44885
44886
44887
44888
44889
44890
44891
44892
44893
44894
44895
44896
44897
44898
44899
44900
44901
44902
44903
44904
44905
44906
44907
44908
44909
44910
44911
44912
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923
44924
44925
44926
44927
44928
44929
44930
44931
44932
44933
44934
44935
44936
44937
44938
44939
44940
44941
44942
44943
44944
44945
44946
44947
44948
44949
44950
44951
44952
44953
44954
44955
44956
44957
44958
44959
44960
44961
44962
44963
44964
44965
44966
44967
44968
44969
44970
44971
44972
44973
44974
44975
44976
44977
44978
44979
44980
44981
44982
44983
44984
44985
44986
44987
44988
44989
44990
44991
44992
44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
45004
45005
45006
45007
45008
45009
45010
45011
45012
45013
45014
45015
45016
45017
45018
45019
45020
45021
45022
45023
45024
45025
45026
45027
45028
45029
45030
45031
45032
45033
45034
45035
45036
45037
45038
45039
45040
45041
45042
45043
45044
45045
45046
45047
45048
45049
45050
45051
45052
45053
45054
45055
45056
45057
45058
45059
45060
45061
45062
45063
45064
45065
45066
45067
45068
45069
45070
45071
45072
45073
45074
45075
45076
45077
45078
45079
45080
45081
45082
45083
45084
45085
45086
45087
45088
45089
45090
45091
45092
45093
45094
45095
45096
45097
45098
45099
45100
45101
45102
45103
45104
45105
45106
45107
45108
45109
45110
45111
45112
45113
45114
45115
45116
45117
45118
45119
45120
45121
45122
45123
45124
45125
45126
45127
45128
45129
45130
45131
45132
45133
45134
45135
45136
45137
45138
45139
45140
45141
45142
45143
45144
45145
45146
45147
45148
45149
45150
45151
45152
45153
45154
45155
45156
45157
45158
45159
45160
45161
45162
45163
45164
45165
45166
45167
45168
45169
45170
45171
45172
45173
45174
45175
45176
45177
45178
45179
45180
45181
45182
45183
45184
45185
45186
45187
45188
45189
45190
45191
45192
45193
45194
45195
45196
45197
45198
45199
45200
45201
45202
45203
45204
45205
45206
45207
45208
45209
45210
45211
45212
45213
45214
45215
45216
45217
45218
45219
45220
45221
45222
45223
45224
45225
45226
45227
45228
45229
45230
45231
45232
45233
45234
45235
45236
45237
45238
45239
45240
45241
45242
45243
45244
45245
45246
45247
45248
45249
45250
45251
45252
45253
45254
45255
45256
45257
45258
45259
45260
45261
45262
45263
45264
45265
45266
45267
45268
45269
45270
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291
45292
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317
45318
45319
45320
45321
45322
45323
45324
45325
45326
45327
45328
45329
45330
45331
45332
45333
45334
45335
45336
45337
45338
45339
45340
45341
45342
45343
45344
45345
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393
45394
45395
45396
45397
45398
45399
45400
45401
45402
45403
45404
45405
45406
45407
45408
45409
45410
45411
45412
45413
45414
45415
45416
45417
45418
45419
45420
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448
45449
45450
45451
45452
45453
45454
45455
45456
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
45497
45498
45499
45500
45501
45502
45503
45504
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600
45601
45602
45603
45604
45605
45606
45607
45608
45609
45610
45611
45612
45613
45614
45615
45616
45617
45618
45619
45620
45621
45622
45623
45624
45625
45626
45627
45628
45629
45630
45631
45632
45633
45634
45635
45636
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652
45653
45654
45655
45656
45657
45658
45659
45660
45661
45662
45663
45664
45665
45666
45667
45668
45669
45670
45671
45672
45673
45674
45675
45676
45677
45678
45679
45680
45681
45682
45683
45684
45685
45686
45687
45688
45689
45690
45691
45692
45693
45694
45695
45696
45697
45698
45699
45700
45701
45702
45703
45704
45705
45706
45707
45708
45709
45710
45711
45712
45713
45714
45715
45716
45717
45718
45719
45720
45721
45722
45723
45724
45725
45726
45727
45728
45729
45730
45731
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758
45759
45760
45761
45762
45763
45764
45765
45766
45767
45768
45769
45770
45771
45772
45773
45774
45775
45776
45777
45778
45779
45780
45781
45782
45783
45784
45785
45786
45787
45788
45789
45790
45791
45792
45793
45794
45795
45796
45797
45798
45799
45800
45801
45802
45803
45804
45805
45806
45807
45808
45809
45810
45811
45812
45813
45814
45815
45816
45817
45818
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828
45829
45830
45831
45832
45833
45834
45835
45836
45837
45838
45839
45840
45841
45842
45843
45844
45845
45846
45847
45848
45849
45850
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870
45871
45872
45873
45874
45875
45876
45877
45878
45879
45880
45881
45882
45883
45884
45885
45886
45887
45888
45889
45890
45891
45892
45893
45894
45895
45896
45897
45898
45899
45900
45901
45902
45903
45904
45905
45906
45907
45908
45909
45910
45911
45912
45913
45914
45915
45916
45917
45918
45919
45920
45921
45922
45923
45924
45925
45926
45927
45928
45929
45930
45931
45932
45933
45934
45935
45936
45937
45938
45939
45940
45941
45942
45943
45944
45945
45946
45947
45948
45949
45950
45951
45952
45953
45954
45955
45956
45957
45958
45959
45960
45961
45962
45963
45964
45965
45966
45967
45968
45969
45970
45971
45972
45973
45974
45975
45976
45977
45978
45979
45980
45981
45982
45983
45984
45985
45986
45987
45988
45989
45990
45991
45992
45993
45994
45995
45996
45997
45998
45999
46000
46001
46002
46003
46004
46005
46006
46007
46008
46009
46010
46011
46012
46013
46014
46015
46016
46017
46018
46019
46020
46021
46022
46023
46024
46025
46026
46027
46028
46029
46030
46031
46032
46033
46034
46035
46036
46037
46038
46039
46040
46041
46042
46043
46044
46045
46046
46047
46048
46049
46050
46051
46052
46053
46054
46055
46056
46057
46058
46059
46060
46061
46062
46063
46064
46065
46066
46067
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085
46086
46087
46088
46089
46090
46091
46092
46093
46094
46095
46096
46097
46098
46099
46100
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131
46132
46133
46134
46135
46136
46137
46138
46139
46140
46141
46142
46143
46144
46145
46146
46147
46148
46149
46150
46151
46152
46153
46154
46155
46156
46157
46158
46159
46160
46161
46162
46163
46164
46165
46166
46167
46168
46169
46170
46171
46172
46173
46174
46175
46176
46177
46178
46179
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192
46193
46194
46195
46196
46197
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208
46209
46210
46211
46212
46213
46214
46215
46216
46217
46218
46219
46220
46221
46222
46223
46224
46225
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235
46236
46237
46238
46239
46240
46241
46242
46243
46244
46245
46246
46247
46248
46249
46250
46251
46252
46253
46254
46255
46256
46257
46258
46259
46260
46261
46262
46263
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278
46279
46280
46281
46282
46283
46284
46285
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295
46296
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317
46318
46319
46320
46321
46322
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341
46342
46343
46344
46345
46346
46347
46348
46349
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359
46360
46361
46362
46363
46364
46365
46366
46367
46368
46369
46370
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380
46381
46382
46383
46384
46385
46386
46387
46388
46389
46390
46391
46392
46393
46394
46395
46396
46397
46398
46399
46400
46401
46402
46403
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419
46420
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464
46465
46466
46467
46468
46469
46470
46471
46472
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519
46520
46521
46522
46523
46524
46525
46526
46527
46528
46529
46530
46531
46532
46533
46534
46535
46536
46537
46538
46539
46540
46541
46542
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567
46568
46569
46570
46571
46572
46573
46574
46575
46576
46577
46578
46579
46580
46581
46582
46583
46584
46585
46586
46587
46588
46589
46590
46591
46592
46593
46594
46595
46596
46597
46598
46599
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641
46642
46643
46644
46645
46646
46647
46648
46649
46650
46651
46652
46653
46654
46655
46656
46657
46658
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682
46683
46684
46685
46686
46687
46688
46689
46690
46691
46692
46693
46694
46695
46696
46697
46698
46699
46700
46701
46702
46703
46704
46705
46706
46707
46708
46709
46710
46711
46712
46713
46714
46715
46716
46717
46718
46719
46720
46721
46722
46723
46724
46725
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774
46775
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790
46791
46792
46793
46794
46795
46796
46797
46798
46799
46800
46801
46802
46803
46804
46805
46806
46807
46808
46809
46810
46811
46812
46813
46814
46815
46816
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844
46845
46846
46847
46848
46849
46850
46851
46852
46853
46854
46855
46856
46857
46858
46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911
46912
46913
46914
46915
46916
46917
46918
46919
46920
46921
46922
46923
46924
46925
46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
46940
46941
46942
46943
46944
46945
46946
46947
46948
46949
46950
46951
46952
46953
46954
46955
46956
46957
46958
46959
46960
46961
46962
46963
46964
46965
46966
46967
46968
46969
46970
46971
46972
46973
46974
46975
46976
46977
46978
46979
46980
46981
46982
46983
46984
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998
46999
47000
47001
47002
47003
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032
47033
47034
47035
47036
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048
47049
47050
47051
47052
47053
47054
47055
47056
47057
47058
47059
47060
47061
47062
47063
47064
47065
47066
47067
47068
47069
47070
47071
47072
47073
47074
47075
47076
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107
47108
47109
47110
47111
47112
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157
47158
47159
47160
47161
47162
47163
47164
47165
47166
47167
47168
47169
47170
47171
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47211
47212
47213
47214
47215
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225
47226
47227
47228
47229
47230
47231
47232
47233
47234
47235
47236
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264
47265
47266
47267
47268
47269
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457
47458
47459
47460
47461
47462
47463
47464
47465
47466
47467
47468
47469
47470
47471
47472
47473
47474
47475
47476
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523
47524
47525
47526
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536
47537
47538
47539
47540
47541
47542
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570
47571
47572
47573
47574
47575
47576
47577
47578
47579
47580
47581
47582
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626
47627
47628
47629
47630
47631
47632
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665
47666
47667
47668
47669
47670
47671
47672
47673
47674
47675
47676
47677
47678
47679
47680
47681
47682
47683
47684
47685
47686
47687
47688
47689
47690
47691
47692
47693
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705
47706
47707
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719
47720
47721
47722
47723
47724
47725
47726
47727
47728
47729
47730
47731
47732
47733
47734
47735
47736
47737
47738
47739
47740
47741
47742
47743
47744
47745
47746
47747
47748
47749
47750
47751
47752
47753
47754
47755
47756
47757
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770
47771
47772
47773
47774
47775
47776
47777
47778
47779
47780
47781
47782
47783
47784
47785
47786
47787
47788
47789
47790
47791
47792
47793
47794
47795
47796
47797
47798
47799
47800
47801
47802
47803
47804
47805
47806
47807
47808
47809
47810
47811
47812
47813
47814
47815
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826
47827
47828
47829
47830
47831
47832
47833
47834
47835
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845
47846
47847
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866
47867
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913
47914
47915
47916
47917
47918
47919
47920
47921
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944
47945
47946
47947
47948
47949
47950
47951
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967
47968
47969
47970
47971
47972
47973
47974
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996
47997
47998
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026
48027
48028
48029
48030
48031
48032
48033
48034
48035
48036
48037
48038
48039
48040
48041
48042
48043
48044
48045
48046
48047
48048
48049
48050
48051
48052
48053
48054
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071
48072
48073
48074
48075
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092
48093
48094
48095
48096
48097
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112
48113
48114
48115
48116
48117
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218
48219
48220
48221
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231
48232
48233
48234
48235
48236
48237
48238
48239
48240
48241
48242
48243
48244
48245
48246
48247
48248
48249
48250
48251
48252
48253
48254
48255
48256
48257
48258
48259
48260
48261
48262
48263
48264
48265
48266
48267
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340
48341
48342
48343
48344
48345
48346
48347
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
48370
48371
48372
48373
48374
48375
48376
48377
48378
48379
48380
48381
48382
48383
48384
48385
48386
48387
48388
48389
48390
48391
48392
48393
48394
48395
48396
48397
48398
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411
48412
48413
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427
48428
48429
48430
48431
48432
48433
48434
48435
48436
48437
48438
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451
48452
48453
48454
48455
48456
48457
48458
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468
48469
48470
48471
48472
48473
48474
48475
48476
48477
48478
48479
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540
48541
48542
48543
48544
48545
48546
48547
48548
48549
48550
48551
48552
48553
48554
48555
48556
48557
48558
48559
48560
48561
48562
48563
48564
48565
48566
48567
48568
48569
48570
48571
48572
48573
48574
48575
48576
48577
48578
48579
48580
48581
48582
48583
48584
48585
48586
48587
48588
48589
48590
48591
48592
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925
48926
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974
48975
48976
48977
48978
48979
48980
48981
48982
48983
48984
48985
48986
48987
48988
48989
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999
49000
49001
49002
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225
49226
49227
49228
49229
49230
49231
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344
49345
49346
49347
49348
49349
49350
49351
49352
49353
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404
49405
49406
49407
49408
49409
49410
49411
49412
49413
49414
49415
49416
49417
49418
49419
49420
49421
49422
49423
49424
49425
49426
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437
49438
49439
49440
49441
49442
49443
49444
49445
49446
49447
49448
49449
49450
49451
49452
49453
49454
49455
49456
49457
49458
49459
49460
49461
49462
49463
49464
49465
49466
49467
49468
49469
49470
49471
49472
49473
49474
49475
49476
49477
49478
49479
49480
49481
49482
49483
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493
49494
49495
49496
49497
49498
49499
49500
49501
49502
49503
49504
49505
49506
49507
49508
49509
49510
49511
49512
49513
49514
49515
49516
49517
49518
49519
49520
49521
49522
49523
49524
49525
49526
49527
49528
49529
49530
49531
49532
49533
49534
49535
49536
49537
49538
49539
49540
49541
49542
49543
49544
49545
49546
49547
49548
49549
49550
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606
49607
49608
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626
49627
49628
49629
49630
49631
49632
49633
49634
49635
49636
49637
49638
49639
49640
49641
49642
49643
49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686
49687
49688
49689
49690
49691
49692
49693
49694
49695
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841
49842
49843
49844
49845
49846
49847
49848
49849
49850
49851
49852
49853
49854
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895
49896
49897
49898
49899
49900
49901
49902
49903
49904
49905
49906
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917
49918
49919
49920
49921
49922
49923
49924
49925
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985
49986
49987
49988
49989
49990
49991
49992
49993
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003
50004
50005
50006
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016
50017
50018
50019
50020
50021
50022
50023
50024
50025
50026
50027
50028
50029
50030
50031
50032
50033
50034
50035
50036
50037
50038
50039
50040
50041
50042
50043
50044
50045
50046
50047
50048
50049
50050
50051
50052
50053
50054
50055
50056
50057
50058
50059
50060
50061
50062
50063
50064
50065
50066
50067
50068
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081
50082
50083
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095
50096
50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
50111
50112
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133
50134
50135
50136
50137
50138
50139
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156
50157
50158
50159
50160
50161
50162
50163
50164
50165
50166
50167
50168
50169
50170
50171
50172
50173
50174
50175
50176
50177
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188
50189
50190
50191
50192
50193
50194
50195
50196
50197
50198
50199
50200
50201
50202
50203
50204
50205
50206
50207
50208
50209
50210
50211
50212
50213
50214
50215
50216
50217
50218
50219
50220
50221
50222
50223
50224
50225
50226
50227
50228
50229
50230
50231
50232
50233
50234
50235
50236
50237
50238
50239
50240
50241
50242
50243
50244
50245
50246
50247
50248
50249
50250
50251
50252
50253
50254
50255
50256
50257
50258
50259
50260
50261
50262
50263
50264
50265
50266
50267
50268
50269
50270
50271
50272
50273
50274
50275
50276
50277
50278
50279
50280
50281
50282
50283
50284
50285
50286
50287
50288
50289
50290
50291
50292
50293
50294
50295
50296
50297
50298
50299
50300
50301
50302
50303
50304
50305
50306
50307
50308
50309
50310
50311
50312
50313
50314
50315
50316
50317
50318
50319
50320
50321
50322
50323
50324
50325
50326
50327
50328
50329
50330
50331
50332
50333
50334
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348
50349
50350
50351
50352
50353
50354
50355
50356
50357
50358
50359
50360
50361
50362
50363
50364
50365
50366
50367
50368
50369
50370
50371
50372
50373
50374
50375
50376
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386
50387
50388
50389
50390
50391
50392
50393
50394
50395
50396
50397
50398
50399
50400
50401
50402
50403
50404
50405
50406
50407
50408
50409
50410
50411
50412
50413
50414
50415
50416
50417
50418
50419
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511
50512
50513
50514
50515
50516
50517
50518
50519
50520
50521
50522
50523
50524
50525
50526
50527
50528
50529
50530
50531
50532
50533
50534
50535
50536
50537
50538
50539
50540
50541
50542
50543
50544
50545
50546
50547
50548
50549
50550
50551
50552
50553
50554
50555
50556
50557
50558
50559
50560
50561
50562
50563
50564
50565
50566
50567
50568
50569
50570
50571
50572
50573
50574
50575
50576
50577
50578
50579
50580
50581
50582
50583
50584
50585
50586
50587
50588
50589
50590
50591
50592
50593
50594
50595
50596
50597
50598
50599
50600
50601
50602
50603
50604
50605
50606
50607
50608
50609
50610
50611
50612
50613
50614
50615
50616
50617
50618
50619
50620
50621
50622
50623
50624
50625
50626
50627
50628
50629
50630
50631
50632
50633
50634
50635
50636
50637
50638
50639
50640
50641
50642
50643
50644
50645
50646
50647
50648
50649
50650
50651
50652
50653
50654
50655
50656
50657
50658
50659
50660
50661
50662
50663
50664
50665
50666
50667
50668
50669
50670
50671
50672
50673
50674
50675
50676
50677
50678
50679
50680
50681
50682
50683
50684
50685
50686
50687
50688
50689
50690
50691
50692
50693
50694
50695
50696
50697
50698
50699
50700
50701
50702
50703
50704
50705
50706
50707
50708
50709
50710
50711
50712
50713
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910
50911
50912
50913
50914
50915
50916
50917
50918
50919
50920
50921
50922
50923
50924
50925
50926
50927
50928
50929
50930
50931
50932
50933
50934
50935
50936
50937
50938
50939
50940
50941
50942
50943
50944
50945
50946
50947
50948
50949
50950
50951
50952
50953
50954
50955
50956
50957
50958
50959
50960
50961
50962
50963
50964
50965
50966
50967
50968
50969
50970
50971
50972
50973
50974
50975
50976
50977
50978
50979
50980
50981
50982
50983
50984
50985
50986
50987
50988
50989
50990
50991
50992
50993
50994
50995
50996
50997
50998
50999
51000
51001
51002
51003
51004
51005
51006
51007
51008
51009
51010
51011
51012
51013
51014
51015
51016
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026
51027
51028
51029
51030
51031
51032
51033
51034
51035
51036
51037
51038
51039
51040
51041
51042
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052
51053
51054
51055
51056
51057
51058
51059
51060
51061
51062
51063
51064
51065
51066
51067
51068
51069
51070
51071
51072
51073
51074
51075
51076
51077
51078
51079
51080
51081
51082
51083
51084
51085
51086
51087
51088
51089
51090
51091
51092
51093
51094
51095
51096
51097
51098
51099
51100
51101
51102
51103
51104
51105
51106
51107
51108
51109
51110
51111
51112
51113
51114
51115
51116
51117
51118
51119
51120
51121
51122
51123
51124
51125
51126
51127
51128
51129
51130
51131
51132
51133
51134
51135
51136
51137
51138
51139
51140
51141
51142
51143
51144
51145
51146
51147
51148
51149
51150
51151
51152
51153
51154
51155
51156
51157
51158
51159
51160
51161
51162
51163
51164
51165
51166
51167
51168
51169
51170
51171
51172
51173
51174
51175
51176
51177
51178
51179
51180
51181
51182
51183
51184
51185
51186
51187
51188
51189
51190
51191
51192
51193
51194
51195
51196
51197
51198
51199
51200
51201
51202
51203
51204
51205
51206
51207
51208
51209
51210
51211
51212
51213
51214
51215
51216
51217
51218
51219
51220
51221
51222
51223
51224
51225
51226
51227
51228
51229
51230
51231
51232
51233
51234
51235
51236
51237
51238
51239
51240
51241
51242
51243
51244
51245
51246
51247
51248
51249
51250
51251
51252
51253
51254
51255
51256
51257
51258
51259
51260
51261
51262
51263
51264
51265
51266
51267
51268
51269
51270
51271
51272
51273
51274
51275
51276
51277
51278
51279
51280
51281
51282
51283
51284
51285
51286
51287
51288
51289
51290
51291
51292
51293
51294
51295
51296
51297
51298
51299
51300
51301
51302
51303
51304
51305
51306
51307
51308
51309
51310
51311
51312
51313
51314
51315
51316
51317
51318
51319
51320
51321
51322
51323
51324
51325
51326
51327
51328
51329
51330
51331
51332
51333
51334
51335
51336
51337
51338
51339
51340
51341
51342
51343
51344
51345
51346
51347
51348
51349
51350
51351
51352
51353
51354
51355
51356
51357
51358
51359
51360
51361
51362
51363
51364
51365
51366
51367
51368
51369
51370
51371
51372
51373
51374
51375
51376
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386
51387
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425
51426
51427
51428
51429
51430
51431
51432
51433
51434
51435
51436
51437
51438
51439
51440
51441
51442
51443
51444
51445
51446
51447
51448
51449
51450
51451
51452
51453
51454
51455
51456
51457
51458
51459
51460
51461
51462
51463
51464
51465
51466
51467
51468
51469
51470
51471
51472
51473
51474
51475
51476
51477
51478
51479
51480
51481
51482
51483
51484
51485
51486
51487
51488
51489
51490
51491
51492
51493
51494
51495
51496
51497
51498
51499
51500
51501
51502
51503
51504
51505
51506
51507
51508
51509
51510
51511
51512
51513
51514
51515
51516
51517
51518
51519
51520
51521
51522
51523
51524
51525
51526
51527
51528
51529
51530
51531
51532
51533
51534
51535
51536
51537
51538
51539
51540
51541
51542
51543
51544
51545
51546
51547
51548
51549
51550
51551
51552
51553
51554
51555
51556
51557
51558
51559
51560
51561
51562
51563
51564
51565
51566
51567
51568
51569
51570
51571
51572
51573
51574
51575
51576
51577
51578
51579
51580
51581
51582
51583
51584
51585
51586
51587
51588
51589
51590
51591
51592
51593
51594
51595
51596
51597
51598
51599
51600
51601
51602
51603
51604
51605
51606
51607
51608
51609
51610
51611
51612
51613
51614
51615
51616
51617
51618
51619
51620
51621
51622
51623
51624
51625
51626
51627
51628
51629
51630
51631
51632
51633
51634
51635
51636
51637
51638
51639
51640
51641
51642
51643
51644
51645
51646
51647
51648
51649
51650
51651
51652
51653
51654
51655
51656
51657
51658
51659
51660
51661
51662
51663
51664
51665
51666
51667
51668
51669
51670
51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
51683
51684
51685
51686
51687
51688
51689
51690
51691
51692
51693
51694
51695
51696
51697
51698
51699
51700
51701
51702
51703
51704
51705
51706
51707
51708
51709
51710
51711
51712
51713
51714
51715
51716
51717
51718
51719
51720
51721
51722
51723
51724
51725
51726
51727
51728
51729
51730
51731
51732
51733
51734
51735
51736
51737
51738
51739
51740
51741
51742
51743
51744
51745
51746
51747
51748
51749
51750
51751
51752
51753
51754
51755
51756
51757
51758
51759
51760
51761
51762
51763
51764
51765
51766
51767
51768
51769
51770
51771
51772
51773
51774
51775
51776
51777
51778
51779
51780
51781
51782
51783
51784
51785
51786
51787
51788
51789
51790
51791
51792
51793
51794
51795
51796
51797
51798
51799
51800
51801
51802
51803
51804
51805
51806
51807
51808
51809
51810
51811
51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
51823
51824
51825
51826
51827
51828
51829
51830
51831
51832
51833
51834
51835
51836
51837
51838
51839
51840
51841
51842
51843
51844
51845
51846
51847
51848
51849
51850
51851
51852
51853
51854
51855
51856
51857
51858
51859
51860
51861
51862
51863
51864
51865
51866
51867
51868
51869
51870
51871
51872
51873
51874
51875
51876
51877
51878
51879
51880
51881
51882
51883
51884
51885
51886
51887
51888
51889
51890
51891
51892
51893
51894
51895
51896
51897
51898
51899
51900
51901
51902
51903
51904
51905
51906
51907
51908
51909
51910
51911
51912
51913
51914
51915
51916
51917
51918
51919
51920
51921
51922
51923
51924
51925
51926
51927
51928
51929
51930
51931
51932
51933
51934
51935
51936
51937
51938
51939
51940
51941
51942
51943
51944
51945
51946
51947
51948
51949
51950
51951
51952
51953
51954
51955
51956
51957
51958
51959
51960
51961
51962
51963
51964
51965
51966
51967
51968
51969
51970
51971
51972
51973
51974
51975
51976
51977
51978
51979
51980
51981
51982
51983
51984
51985
51986
51987
51988
51989
51990
51991
51992
51993
51994
51995
51996
51997
51998
51999
52000
52001
52002
52003
52004
52005
52006
52007
52008
52009
52010
52011
52012
52013
52014
52015
52016
52017
52018
52019
52020
52021
52022
52023
52024
52025
52026
52027
52028
52029
52030
52031
52032
52033
52034
52035
52036
52037
52038
52039
52040
52041
52042
52043
52044
52045
52046
52047
52048
52049
52050
52051
52052
52053
52054
52055
52056
52057
52058
52059
52060
52061
52062
52063
52064
52065
52066
52067
52068
52069
52070
52071
52072
52073
52074
52075
52076
52077
52078
52079
52080
52081
52082
52083
52084
52085
52086
52087
52088
52089
52090
52091
52092
52093
52094
52095
52096
52097
52098
52099
52100
52101
52102
52103
52104
52105
52106
52107
52108
52109
52110
52111
52112
52113
52114
52115
52116
52117
52118
52119
52120
52121
52122
52123
52124
52125
52126
52127
52128
52129
52130
52131
52132
52133
52134
52135
52136
52137
52138
52139
52140
52141
52142
52143
52144
52145
52146
52147
52148
52149
52150
52151
52152
52153
52154
52155
52156
52157
52158
52159
52160
52161
52162
52163
52164
52165
52166
52167
52168
52169
52170
52171
52172
52173
52174
52175
52176
52177
52178
52179
52180
52181
52182
52183
52184
52185
52186
52187
52188
52189
52190
52191
52192
52193
52194
52195
52196
52197
52198
52199
52200
52201
52202
52203
52204
52205
52206
52207
52208
52209
52210
52211
52212
52213
52214
52215
52216
52217
52218
52219
52220
52221
52222
52223
52224
52225
52226
52227
52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
52238
52239
52240
52241
52242
52243
52244
52245
52246
52247
52248
52249
52250
52251
52252
52253
52254
52255
52256
52257
52258
52259
52260
52261
52262
52263
52264
52265
52266
52267
52268
52269
52270
52271
52272
52273
52274
52275
52276
52277
52278
52279
52280
52281
52282
52283
52284
52285
52286
52287
52288
52289
52290
52291
52292
52293
52294
52295
52296
52297
52298
52299
52300
52301
52302
52303
52304
52305
52306
52307
52308
52309
52310
52311
52312
52313
52314
52315
52316
52317
52318
52319
52320
52321
52322
52323
52324
52325
52326
52327
52328
52329
52330
52331
52332
52333
52334
52335
52336
52337
52338
52339
52340
52341
52342
52343
52344
52345
52346
52347
52348
52349
52350
52351
52352
52353
52354
52355
52356
52357
52358
52359
52360
52361
52362
52363
52364
52365
52366
52367
52368
52369
52370
52371
52372
52373
52374
52375
52376
52377
52378
52379
52380
52381
52382
52383
52384
52385
52386
52387
52388
52389
52390
52391
52392
52393
52394
52395
52396
52397
52398
52399
52400
52401
52402
52403
52404
52405
52406
52407
52408
52409
52410
52411
52412
52413
52414
52415
52416
52417
52418
52419
52420
52421
52422
52423
52424
52425
52426
52427
52428
52429
52430
52431
52432
52433
52434
52435
52436
52437
52438
52439
52440
52441
52442
52443
52444
52445
52446
52447
52448
52449
52450
52451
52452
52453
52454
52455
52456
52457
52458
52459
52460
52461
52462
52463
52464
52465
52466
52467
52468
52469
52470
52471
52472
52473
52474
52475
52476
52477
52478
52479
52480
52481
52482
52483
52484
52485
52486
52487
52488
52489
52490
52491
52492
52493
52494
52495
52496
52497
52498
52499
52500
52501
52502
52503
52504
52505
52506
52507
52508
52509
52510
52511
52512
52513
52514
52515
52516
52517
52518
52519
52520
52521
52522
52523
52524
52525
52526
52527
52528
52529
52530
52531
52532
52533
52534
52535
52536
52537
52538
52539
52540
52541
52542
52543
52544
52545
52546
52547
52548
52549
52550
52551
52552
52553
52554
52555
52556
52557
52558
52559
52560
52561
52562
52563
52564
52565
52566
52567
52568
52569
52570
52571
52572
52573
52574
52575
52576
52577
52578
52579
52580
52581
52582
52583
52584
52585
52586
52587
52588
52589
52590
52591
52592
52593
52594
52595
52596
52597
52598
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608
52609
52610
52611
52612
52613
52614
52615
52616
52617
52618
52619
52620
52621
52622
52623
52624
52625
52626
52627
52628
52629
52630
52631
52632
52633
52634
52635
52636
52637
52638
52639
52640
52641
52642
52643
52644
52645
52646
52647
52648
52649
52650
52651
52652
52653
52654
52655
52656
52657
52658
52659
52660
52661
52662
52663
52664
52665
52666
52667
52668
52669
52670
52671
52672
52673
52674
52675
52676
52677
52678
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717
52718
52719
52720
52721
52722
52723
52724
52725
52726
52727
52728
52729
52730
52731
52732
52733
52734
52735
52736
52737
52738
52739
52740
52741
52742
52743
52744
52745
52746
52747
52748
52749
52750
52751
52752
52753
52754
52755
52756
52757
52758
52759
52760
52761
52762
52763
52764
52765
52766
52767
52768
52769
52770
52771
52772
52773
52774
52775
52776
52777
52778
52779
52780
52781
52782
52783
52784
52785
52786
52787
52788
52789
52790
52791
52792
52793
52794
52795
52796
52797
52798
52799
52800
52801
52802
52803
52804
52805
52806
52807
52808
52809
52810
52811
52812
52813
52814
52815
52816
52817
52818
52819
52820
52821
52822
52823
52824
52825
52826
52827
52828
52829
52830
52831
52832
52833
52834
52835
52836
52837
52838
52839
52840
52841
52842
52843
52844
52845
52846
52847
52848
52849
52850
52851
52852
52853
52854
52855
52856
52857
52858
52859
52860
52861
52862
52863
52864
52865
52866
52867
52868
52869
52870
52871
52872
52873
52874
52875
52876
52877
52878
52879
52880
52881
52882
52883
52884
52885
52886
52887
52888
52889
52890
52891
52892
52893
52894
52895
52896
52897
52898
52899
52900
52901
52902
52903
52904
52905
52906
52907
52908
52909
52910
52911
52912
52913
52914
52915
52916
52917
52918
52919
52920
52921
52922
52923
52924
52925
52926
52927
52928
52929
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952
52953
52954
52955
52956
52957
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975
52976
52977
52978
52979
52980
52981
52982
52983
52984
52985
52986
52987
52988
52989
52990
52991
52992
52993
52994
52995
52996
52997
52998
52999
53000
53001
53002
53003
53004
53005
53006
53007
53008
53009
53010
53011
53012
53013
53014
53015
53016
53017
53018
53019
53020
53021
53022
53023
53024
53025
53026
53027
53028
53029
53030
53031
53032
53033
53034
53035
53036
53037
53038
53039
53040
53041
53042
53043
53044
53045
53046
53047
53048
53049
53050
53051
53052
53053
53054
53055
53056
53057
53058
53059
53060
53061
53062
53063
53064
53065
53066
53067
53068
53069
53070
53071
53072
53073
53074
53075
53076
53077
53078
53079
53080
53081
53082
53083
53084
53085
53086
53087
53088
53089
53090
53091
53092
53093
53094
53095
53096
53097
53098
53099
53100
53101
53102
53103
53104
53105
53106
53107
53108
53109
53110
53111
53112
53113
53114
53115
53116
53117
53118
53119
53120
53121
53122
53123
53124
53125
53126
53127
53128
53129
53130
53131
53132
53133
53134
53135
53136
53137
53138
53139
53140
53141
53142
53143
53144
53145
53146
53147
53148
53149
53150
53151
53152
53153
53154
53155
53156
53157
53158
53159
53160
53161
53162
53163
53164
53165
53166
53167
53168
53169
53170
53171
53172
53173
53174
53175
53176
53177
53178
53179
53180
53181
53182
53183
53184
53185
53186
53187
53188
53189
53190
53191
53192
53193
53194
53195
53196
53197
53198
53199
53200
53201
53202
53203
53204
53205
53206
53207
53208
53209
53210
53211
53212
53213
53214
53215
53216
53217
53218
53219
53220
53221
53222
53223
53224
53225
53226
53227
53228
53229
53230
53231
53232
53233
53234
53235
53236
53237
53238
53239
53240
53241
53242
53243
53244
53245
53246
53247
53248
53249
53250
53251
53252
53253
53254
53255
53256
53257
53258
53259
53260
53261
53262
53263
53264
53265
53266
53267
53268
53269
53270
53271
53272
53273
53274
53275
53276
53277
53278
53279
53280
53281
53282
53283
53284
53285
53286
53287
53288
53289
53290
53291
53292
53293
53294
53295
53296
53297
53298
53299
53300
53301
53302
53303
53304
53305
53306
53307
53308
53309
53310
53311
53312
53313
53314
53315
53316
53317
53318
53319
53320
53321
53322
53323
53324
53325
53326
53327
53328
53329
53330
53331
53332
53333
53334
53335
53336
53337
53338
53339
53340
53341
53342
53343
53344
53345
53346
53347
53348
53349
53350
53351
53352
53353
53354
53355
53356
53357
53358
53359
53360
53361
53362
53363
53364
53365
53366
53367
53368
53369
53370
53371
53372
53373
53374
53375
53376
53377
53378
53379
53380
53381
53382
53383
53384
53385
53386
53387
53388
53389
53390
53391
53392
53393
53394
53395
53396
53397
53398
53399
53400
53401
53402
53403
53404
53405
53406
53407
53408
53409
53410
53411
53412
53413
53414
53415
53416
53417
53418
53419
53420
53421
53422
53423
53424
53425
53426
53427
53428
53429
53430
53431
53432
53433
53434
53435
53436
53437
53438
53439
53440
53441
53442
53443
53444
53445
53446
53447
53448
53449
53450
53451
53452
53453
53454
53455
53456
53457
53458
53459
53460
53461
53462
53463
53464
53465
53466
53467
53468
53469
53470
53471
53472
53473
53474
53475
53476
53477
53478
53479
53480
53481
53482
53483
53484
53485
53486
53487
53488
53489
53490
53491
53492
53493
53494
53495
53496
53497
53498
53499
53500
53501
53502
53503
53504
53505
53506
53507
53508
53509
53510
53511
53512
53513
53514
53515
53516
53517
53518
53519
53520
53521
53522
53523
53524
53525
53526
53527
53528
53529
53530
53531
53532
53533
53534
53535
53536
53537
53538
53539
53540
53541
53542
53543
53544
53545
53546
53547
53548
53549
53550
53551
53552
53553
53554
53555
53556
53557
53558
53559
53560
53561
53562
53563
53564
53565
53566
53567
53568
53569
53570
53571
53572
53573
53574
53575
53576
53577
53578
53579
53580
53581
53582
53583
53584
53585
53586
53587
53588
53589
53590
53591
53592
53593
53594
53595
53596
53597
53598
53599
53600
53601
53602
53603
53604
53605
53606
53607
53608
53609
53610
53611
53612
53613
53614
53615
53616
53617
53618
53619
53620
53621
53622
53623
53624
53625
53626
53627
53628
53629
53630
53631
53632
53633
53634
53635
53636
53637
53638
53639
53640
53641
53642
53643
53644
53645
53646
53647
53648
53649
53650
53651
53652
53653
53654
53655
53656
53657
53658
53659
53660
53661
53662
53663
53664
53665
53666
53667
53668
53669
53670
53671
53672
53673
53674
53675
53676
53677
53678
53679
53680
53681
53682
53683
53684
53685
53686
53687
53688
53689
53690
53691
53692
53693
53694
53695
53696
53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
53711
53712
53713
53714
53715
53716
53717
53718
53719
53720
53721
53722
53723
53724
53725
53726
53727
53728
53729
53730
53731
53732
53733
53734
53735
53736
53737
53738
53739
53740
53741
53742
53743
53744
53745
53746
53747
53748
53749
53750
53751
53752
53753
53754
53755
53756
53757
53758
53759
53760
53761
53762
53763
53764
53765
53766
53767
53768
53769
53770
53771
53772
53773
53774
53775
53776
53777
53778
53779
53780
53781
53782
53783
53784
53785
53786
53787
53788
53789
53790
53791
53792
53793
53794
53795
53796
53797
53798
53799
53800
53801
53802
53803
53804
53805
53806
53807
53808
53809
53810
53811
53812
53813
53814
53815
53816
53817
53818
53819
53820
53821
53822
53823
53824
53825
53826
53827
53828
53829
53830
53831
53832
53833
53834
53835
53836
53837
53838
53839
53840
53841
53842
53843
53844
53845
53846
53847
53848
53849
53850
53851
53852
53853
53854
53855
53856
53857
53858
53859
53860
53861
53862
53863
53864
53865
53866
53867
53868
53869
53870
53871
53872
53873
53874
53875
53876
53877
53878
53879
53880
53881
53882
53883
53884
53885
53886
53887
53888
53889
53890
53891
53892
53893
53894
53895
53896
53897
53898
53899
53900
53901
53902
53903
53904
53905
53906
53907
53908
53909
53910
53911
53912
53913
53914
53915
53916
53917
53918
53919
53920
53921
53922
53923
53924
53925
53926
53927
53928
53929
53930
53931
53932
53933
53934
53935
53936
53937
53938
53939
53940
53941
53942
53943
53944
53945
53946
53947
53948
53949
53950
53951
53952
53953
53954
53955
53956
53957
53958
53959
53960
53961
53962
53963
53964
53965
53966
53967
53968
53969
53970
53971
53972
53973
53974
53975
53976
53977
53978
53979
53980
53981
53982
53983
53984
53985
53986
53987
53988
53989
53990
53991
53992
53993
53994
53995
53996
53997
53998
53999
54000
54001
54002
54003
54004
54005
54006
54007
54008
54009
54010
54011
54012
54013
54014
54015
54016
54017
54018
54019
54020
54021
54022
54023
54024
54025
54026
54027
54028
54029
54030
54031
54032
54033
54034
54035
54036
54037
54038
54039
54040
54041
54042
54043
54044
54045
54046
54047
54048
54049
54050
54051
54052
54053
54054
54055
54056
54057
54058
54059
54060
54061
54062
54063
54064
54065
54066
54067
54068
54069
54070
54071
54072
54073
54074
54075
54076
54077
54078
54079
54080
54081
54082
54083
54084
54085
54086
54087
54088
54089
54090
54091
54092
54093
54094
54095
54096
54097
54098
54099
54100
54101
54102
54103
54104
54105
54106
54107
54108
54109
54110
54111
54112
54113
54114
54115
54116
54117
54118
54119
54120
54121
54122
54123
54124
54125
54126
54127
54128
54129
54130
54131
54132
54133
54134
54135
54136
54137
54138
54139
54140
54141
54142
54143
54144
54145
54146
54147
54148
54149
54150
54151
54152
54153
54154
54155
54156
54157
54158
54159
54160
54161
54162
54163
54164
54165
54166
54167
54168
54169
54170
54171
54172
54173
54174
54175
54176
54177
54178
54179
54180
54181
54182
54183
54184
54185
54186
54187
54188
54189
54190
54191
54192
54193
54194
54195
54196
54197
54198
54199
54200
54201
54202
54203
54204
54205
54206
54207
54208
54209
54210
54211
54212
54213
54214
54215
54216
54217
54218
54219
54220
54221
54222
54223
54224
54225
54226
54227
54228
54229
54230
54231
54232
54233
54234
54235
54236
54237
54238
54239
54240
54241
54242
54243
54244
54245
54246
54247
54248
54249
54250
54251
54252
54253
54254
54255
54256
54257
54258
54259
54260
54261
54262
54263
54264
54265
54266
54267
54268
54269
54270
54271
54272
54273
54274
54275
54276
54277
54278
54279
54280
54281
54282
54283
54284
54285
54286
54287
54288
54289
54290
54291
54292
54293
54294
54295
54296
54297
54298
54299
54300
54301
54302
54303
54304
54305
54306
54307
54308
54309
54310
54311
54312
54313
54314
54315
54316
54317
54318
54319
54320
54321
54322
54323
54324
54325
54326
54327
54328
54329
54330
54331
54332
54333
54334
54335
54336
54337
54338
54339
54340
54341
54342
54343
54344
54345
54346
54347
54348
54349
54350
54351
54352
54353
54354
54355
54356
54357
54358
54359
54360
54361
54362
54363
54364
54365
54366
54367
54368
54369
54370
54371
54372
54373
54374
54375
54376
54377
54378
54379
54380
54381
54382
54383
54384
54385
54386
54387
54388
54389
54390
54391
54392
54393
54394
54395
54396
54397
54398
54399
54400
54401
54402
54403
54404
54405
54406
54407
54408
54409
54410
54411
54412
54413
54414
54415
54416
54417
54418
54419
54420
54421
54422
54423
54424
54425
54426
54427
54428
54429
54430
54431
54432
54433
54434
54435
54436
54437
54438
54439
54440
54441
54442
54443
54444
54445
54446
54447
54448
54449
54450
54451
54452
54453
54454
54455
54456
54457
54458
54459
54460
54461
54462
54463
54464
54465
54466
54467
54468
54469
54470
54471
54472
54473
54474
54475
54476
54477
54478
54479
54480
54481
54482
54483
54484
54485
54486
54487
54488
54489
54490
54491
54492
54493
54494
54495
54496
54497
54498
54499
54500
54501
54502
54503
54504
54505
54506
54507
54508
54509
54510
54511
54512
54513
54514
54515
54516
54517
54518
54519
54520
54521
54522
54523
54524
54525
54526
54527
54528
54529
54530
54531
54532
54533
54534
54535
54536
54537
54538
54539
54540
54541
54542
54543
54544
54545
54546
54547
54548
54549
54550
54551
54552
54553
54554
54555
54556
54557
54558
54559
54560
54561
54562
54563
54564
54565
54566
54567
54568
54569
54570
54571
54572
54573
54574
54575
54576
54577
54578
54579
54580
54581
54582
54583
54584
54585
54586
54587
54588
54589
54590
54591
54592
54593
54594
54595
54596
54597
54598
54599
54600
54601
54602
54603
54604
54605
54606
54607
54608
54609
54610
54611
54612
54613
54614
54615
54616
54617
54618
54619
54620
54621
54622
54623
54624
54625
54626
54627
54628
54629
54630
54631
54632
54633
54634
54635
54636
54637
54638
54639
54640
54641
54642
54643
54644
54645
54646
54647
54648
54649
54650
54651
54652
54653
54654
54655
54656
54657
54658
54659
54660
54661
54662
54663
54664
54665
54666
54667
54668
54669
54670
54671
54672
54673
54674
54675
54676
54677
54678
54679
54680
54681
54682
54683
54684
54685
54686
54687
54688
54689
54690
54691
54692
54693
54694
54695
54696
54697
54698
54699
54700
54701
54702
54703
54704
54705
54706
54707
54708
54709
54710
54711
54712
54713
54714
54715
54716
54717
54718
54719
54720
54721
54722
54723
54724
54725
54726
54727
54728
54729
54730
54731
54732
54733
54734
54735
54736
54737
54738
54739
54740
54741
54742
54743
54744
54745
54746
54747
54748
54749
54750
54751
54752
54753
54754
54755
54756
54757
54758
54759
54760
54761
54762
54763
54764
54765
54766
54767
54768
54769
54770
54771
54772
54773
54774
54775
54776
54777
54778
54779
54780
54781
54782
54783
54784
54785
54786
54787
54788
54789
54790
54791
54792
54793
54794
54795
54796
54797
54798
54799
54800
54801
54802
54803
54804
54805
54806
54807
54808
54809
54810
54811
54812
54813
54814
54815
54816
54817
54818
54819
54820
54821
54822
54823
54824
54825
54826
54827
54828
54829
54830
54831
54832
54833
54834
54835
54836
54837
54838
54839
54840
54841
54842
54843
54844
54845
54846
54847
54848
54849
54850
54851
54852
54853
54854
54855
54856
54857
54858
54859
54860
54861
54862
54863
54864
54865
54866
54867
54868
54869
54870
54871
54872
54873
54874
54875
54876
54877
54878
54879
54880
54881
54882
54883
54884
54885
54886
54887
54888
54889
54890
54891
54892
54893
54894
54895
54896
54897
54898
54899
54900
54901
54902
54903
54904
54905
54906
54907
54908
54909
54910
54911
54912
54913
54914
54915
54916
54917
54918
54919
54920
54921
54922
54923
54924
54925
54926
54927
54928
54929
54930
54931
54932
54933
54934
54935
54936
54937
54938
54939
54940
54941
54942
54943
54944
54945
54946
54947
54948
54949
54950
54951
54952
54953
54954
54955
54956
54957
54958
54959
54960
54961
54962
54963
54964
54965
54966
54967
54968
54969
54970
54971
54972
54973
54974
54975
54976
54977
54978
54979
54980
54981
54982
54983
54984
54985
54986
54987
54988
54989
54990
54991
54992
54993
54994
54995
54996
54997
54998
54999
55000
55001
55002
55003
55004
55005
55006
55007
55008
55009
55010
55011
55012
55013
55014
55015
55016
55017
55018
55019
55020
55021
55022
55023
55024
55025
55026
55027
55028
55029
55030
55031
55032
55033
55034
55035
55036
55037
55038
55039
55040
55041
55042
55043
55044
55045
55046
55047
55048
55049
55050
55051
55052
55053
55054
55055
55056
55057
55058
55059
55060
55061
55062
55063
55064
55065
55066
55067
55068
55069
55070
55071
55072
55073
55074
55075
55076
55077
55078
55079
55080
55081
55082
55083
55084
55085
55086
55087
55088
55089
55090
55091
55092
55093
55094
55095
55096
55097
55098
55099
55100
55101
55102
55103
55104
55105
55106
55107
55108
55109
55110
55111
55112
55113
55114
55115
55116
55117
55118
55119
55120
55121
55122
55123
55124
55125
55126
55127
55128
55129
55130
55131
55132
55133
55134
55135
55136
55137
55138
55139
55140
55141
55142
55143
55144
55145
55146
55147
55148
55149
55150
55151
55152
55153
55154
55155
55156
55157
55158
55159
55160
55161
55162
55163
55164
55165
55166
55167
55168
55169
55170
55171
55172
55173
55174
55175
55176
55177
55178
55179
55180
55181
55182
55183
55184
55185
55186
55187
55188
55189
55190
55191
55192
55193
55194
55195
55196
55197
55198
55199
55200
55201
55202
55203
55204
55205
55206
55207
55208
55209
55210
55211
55212
55213
55214
55215
55216
55217
55218
55219
55220
55221
55222
55223
55224
55225
55226
55227
55228
55229
55230
55231
55232
55233
55234
55235
55236
55237
55238
55239
55240
55241
55242
55243
55244
55245
55246
55247
55248
55249
55250
55251
55252
55253
55254
55255
55256
55257
55258
55259
55260
55261
55262
55263
55264
55265
55266
55267
55268
55269
55270
55271
55272
55273
55274
55275
55276
55277
55278
55279
55280
55281
55282
55283
55284
55285
55286
55287
55288
55289
55290
55291
55292
55293
55294
55295
55296
55297
55298
55299
55300
55301
55302
55303
55304
55305
55306
55307
55308
55309
55310
55311
55312
55313
55314
55315
55316
55317
55318
55319
55320
55321
55322
55323
55324
55325
55326
55327
55328
55329
55330
55331
55332
55333
55334
55335
55336
55337
55338
55339
55340
55341
55342
55343
55344
55345
55346
55347
55348
55349
55350
55351
55352
55353
55354
55355
55356
55357
55358
55359
55360
55361
55362
55363
55364
55365
55366
55367
55368
55369
55370
55371
55372
55373
55374
55375
55376
55377
55378
55379
55380
55381
55382
55383
55384
55385
55386
55387
55388
55389
55390
55391
55392
55393
55394
55395
55396
55397
55398
55399
55400
55401
55402
55403
55404
55405
55406
55407
55408
55409
55410
55411
55412
55413
55414
55415
55416
55417
55418
55419
55420
55421
55422
55423
55424
55425
55426
55427
55428
55429
55430
55431
55432
55433
55434
55435
55436
55437
55438
55439
55440
55441
55442
55443
55444
55445
55446
55447
55448
55449
55450
55451
55452
55453
55454
55455
55456
55457
55458
55459
55460
55461
55462
55463
55464
55465
55466
55467
55468
55469
55470
55471
55472
55473
55474
55475
55476
55477
55478
55479
55480
55481
55482
55483
55484
55485
55486
55487
55488
55489
55490
55491
55492
55493
55494
55495
55496
55497
55498
55499
55500
55501
55502
55503
55504
55505
55506
55507
55508
55509
55510
55511
55512
55513
55514
55515
55516
55517
55518
55519
55520
55521
55522
55523
55524
55525
55526
55527
55528
55529
55530
55531
55532
55533
55534
55535
55536
55537
55538
55539
55540
55541
55542
55543
55544
55545
55546
55547
55548
55549
55550
55551
55552
55553
55554
55555
55556
55557
55558
55559
55560
55561
55562
55563
55564
55565
55566
55567
55568
55569
55570
55571
55572
55573
55574
55575
55576
55577
55578
55579
55580
55581
55582
55583
55584
55585
55586
55587
55588
55589
55590
55591
55592
55593
55594
55595
55596
55597
55598
55599
55600
55601
55602
55603
55604
55605
55606
55607
55608
55609
55610
55611
55612
55613
55614
55615
55616
55617
55618
55619
55620
55621
55622
55623
55624
55625
55626
55627
55628
55629
55630
55631
55632
55633
55634
55635
55636
55637
55638
55639
55640
55641
55642
55643
55644
55645
55646
55647
55648
55649
55650
55651
55652
55653
55654
55655
55656
55657
55658
55659
55660
55661
55662
55663
55664
55665
55666
55667
55668
55669
55670
55671
55672
55673
55674
55675
55676
55677
55678
55679
55680
55681
55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
56112
56113
56114
56115
56116
56117
56118
56119
56120
56121
56122
56123
56124
56125
56126
56127
56128
56129
56130
56131
56132
56133
56134
56135
56136
56137
56138
56139
56140
56141
56142
56143
56144
56145
56146
56147
56148
56149
56150
56151
56152
56153
56154
56155
56156
56157
56158
56159
56160
56161
56162
56163
56164
56165
56166
56167
56168
56169
56170
56171
56172
56173
56174
56175
56176
56177
56178
56179
56180
56181
56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
56349
56350
56351
56352
56353
56354
56355
56356
56357
56358
56359
56360
56361
56362
56363
56364
56365
56366
56367
56368
56369
56370
56371
56372
56373
56374
56375
56376
56377
56378
56379
56380
56381
56382
56383
56384
56385
56386
56387
56388
56389
56390
56391
56392
56393
56394
56395
56396
56397
56398
56399
56400
56401
56402
56403
56404
56405
56406
56407
56408
56409
56410
56411
56412
56413
56414
56415
56416
56417
56418
56419
56420
56421
56422
56423
56424
56425
56426
56427
56428
56429
56430
56431
56432
56433
56434
56435
56436
56437
56438
56439
56440
56441
56442
56443
56444
56445
56446
56447
56448
56449
56450
56451
56452
56453
56454
56455
56456
56457
56458
56459
56460
56461
56462
56463
56464
56465
56466
56467
56468
56469
56470
56471
56472
56473
56474
56475
56476
56477
56478
56479
56480
56481
56482
56483
56484
56485
56486
56487
56488
56489
56490
56491
56492
56493
56494
56495
56496
56497
56498
56499
56500
56501
56502
56503
56504
56505
56506
56507
56508
56509
56510
56511
56512
56513
56514
56515
56516
56517
56518
56519
56520
56521
56522
56523
56524
56525
56526
56527
56528
56529
56530
56531
56532
56533
56534
56535
56536
56537
56538
56539
56540
56541
56542
56543
56544
56545
56546
56547
56548
56549
56550
56551
56552
56553
56554
56555
56556
56557
56558
56559
56560
56561
56562
56563
56564
56565
56566
56567
56568
56569
56570
56571
56572
56573
56574
56575
56576
56577
56578
56579
56580
56581
56582
56583
56584
56585
56586
56587
56588
56589
56590
56591
56592
56593
56594
56595
56596
56597
56598
56599
56600
56601
56602
56603
56604
56605
56606
56607
56608
56609
56610
56611
56612
56613
56614
56615
56616
56617
56618
56619
56620
56621
56622
56623
56624
56625
56626
56627
56628
56629
56630
56631
56632
56633
56634
56635
56636
56637
56638
56639
56640
56641
56642
56643
56644
56645
56646
56647
56648
56649
56650
56651
56652
56653
56654
56655
56656
56657
56658
56659
56660
56661
56662
56663
56664
56665
56666
56667
56668
56669
56670
56671
56672
56673
56674
56675
56676
56677
56678
56679
56680
56681
56682
56683
56684
56685
56686
56687
56688
56689
56690
56691
56692
56693
56694
56695
56696
56697
56698
56699
56700
56701
56702
56703
56704
56705
56706
56707
56708
56709
56710
56711
56712
56713
56714
56715
56716
56717
56718
56719
56720
56721
56722
56723
56724
56725
56726
56727
56728
56729
56730
56731
56732
56733
56734
56735
56736
56737
56738
56739
56740
56741
56742
56743
56744
56745
56746
56747
56748
56749
56750
56751
56752
56753
56754
56755
56756
56757
56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
57190
57191
57192
57193
57194
57195
57196
57197
57198
57199
57200
57201
57202
57203
57204
57205
57206
57207
57208
57209
57210
57211
57212
57213
57214
57215
57216
57217
57218
57219
57220
57221
57222
57223
57224
57225
57226
57227
57228
57229
57230
57231
57232
57233
57234
57235
57236
57237
57238
57239
57240
57241
57242
57243
57244
57245
57246
57247
57248
57249
57250
57251
57252
57253
57254
57255
57256
57257
57258
57259
57260
57261
57262
57263
57264
57265
57266
57267
57268
57269
57270
57271
57272
57273
57274
57275
57276
57277
57278
57279
57280
57281
57282
57283
57284
57285
57286
57287
57288
57289
57290
57291
57292
57293
57294
57295
57296
57297
57298
57299
57300
57301
57302
57303
57304
57305
57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
57738
57739
57740
57741
57742
57743
57744
57745
57746
57747
57748
57749
57750
57751
57752
57753
57754
57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
57766
57767
57768
57769
57770
57771
57772
57773
57774
57775
57776
57777
57778
57779
57780
57781
57782
57783
57784
57785
57786
57787
57788
57789
57790
57791
57792
57793
57794
57795
57796
57797
57798
57799
57800
57801
57802
57803
57804
57805
57806
57807
57808
57809
57810
57811
57812
57813
57814
57815
57816
57817
57818
57819
57820
57821
57822
57823
57824
57825
57826
57827
57828
57829
57830
57831
57832
57833
57834
57835
57836
57837
57838
57839
57840
57841
57842
57843
57844
57845
57846
57847
57848
57849
57850
57851
57852
57853
57854
57855
57856
57857
57858
57859
57860
57861
57862
57863
57864
57865
57866
57867
57868
57869
57870
57871
57872
57873
57874
57875
57876
57877
57878
57879
57880
57881
57882
57883
57884
57885
57886
57887
57888
57889
57890
57891
57892
57893
57894
57895
57896
57897
57898
57899
57900
57901
57902
57903
57904
57905
57906
57907
57908
57909
57910
57911
57912
57913
57914
57915
57916
57917
57918
57919
57920
57921
57922
57923
57924
57925
57926
57927
57928
57929
57930
57931
57932
57933
57934
57935
57936
57937
57938
57939
57940
57941
57942
57943
57944
57945
57946
57947
57948
57949
57950
57951
57952
57953
57954
57955
57956
57957
57958
57959
57960
57961
57962
57963
57964
57965
57966
57967
57968
57969
57970
57971
57972
57973
57974
57975
57976
57977
57978
57979
57980
57981
57982
57983
57984
57985
57986
57987
57988
57989
57990
57991
57992
57993
57994
57995
57996
57997
57998
57999
58000
58001
58002
58003
58004
58005
58006
58007
58008
58009
58010
58011
58012
58013
58014
58015
58016
58017
58018
58019
58020
58021
58022
58023
58024
58025
58026
58027
58028
58029
58030
58031
58032
58033
58034
58035
58036
58037
58038
58039
58040
58041
58042
58043
58044
58045
58046
58047
58048
58049
58050
58051
58052
58053
58054
58055
58056
58057
58058
58059
58060
58061
58062
58063
58064
58065
58066
58067
58068
58069
58070
58071
58072
58073
58074
58075
58076
58077
58078
58079
58080
58081
58082
58083
58084
58085
58086
58087
58088
58089
58090
58091
58092
58093
58094
58095
58096
58097
58098
58099
58100
58101
58102
58103
58104
58105
58106
58107
58108
58109
58110
58111
58112
58113
58114
58115
58116
58117
58118
58119
58120
58121
58122
58123
58124
58125
58126
58127
58128
58129
58130
58131
58132
58133
58134
58135
58136
58137
58138
58139
58140
58141
58142
58143
58144
58145
58146
58147
58148
58149
58150
58151
58152
58153
58154
58155
58156
58157
58158
58159
58160
58161
58162
58163
58164
58165
58166
58167
58168
58169
58170
58171
58172
58173
58174
58175
58176
58177
58178
58179
58180
58181
58182
58183
58184
58185
58186
58187
58188
58189
58190
58191
58192
58193
58194
58195
58196
58197
58198
58199
58200
58201
58202
58203
58204
58205
58206
58207
58208
58209
58210
58211
58212
58213
58214
58215
58216
58217
58218
58219
58220
58221
58222
58223
58224
58225
58226
58227
58228
58229
58230
58231
58232
58233
58234
58235
58236
58237
58238
58239
58240
58241
58242
58243
58244
58245
58246
58247
58248
58249
58250
58251
58252
58253
58254
58255
58256
58257
58258
58259
58260
58261
58262
58263
58264
58265
58266
58267
58268
58269
58270
58271
58272
58273
58274
58275
58276
58277
58278
58279
58280
58281
58282
58283
58284
58285
58286
58287
58288
58289
58290
58291
58292
58293
58294
58295
58296
58297
58298
58299
58300
58301
58302
58303
58304
58305
58306
58307
58308
58309
58310
58311
58312
58313
58314
58315
58316
58317
58318
58319
58320
58321
58322
58323
58324
58325
58326
58327
58328
58329
58330
58331
58332
58333
58334
58335
58336
58337
58338
58339
58340
58341
58342
58343
58344
58345
58346
58347
58348
58349
58350
58351
58352
58353
58354
58355
58356
58357
58358
58359
58360
58361
58362
58363
58364
58365
58366
58367
58368
58369
58370
58371
58372
58373
58374
58375
58376
58377
58378
58379
58380
58381
58382
58383
58384
58385
58386
58387
58388
58389
58390
58391
58392
58393
58394
58395
58396
58397
58398
58399
58400
58401
58402
58403
58404
58405
58406
58407
58408
58409
58410
58411
58412
58413
58414
58415
58416
58417
58418
58419
58420
58421
58422
58423
58424
58425
58426
58427
58428
58429
58430
58431
58432
58433
58434
58435
58436
58437
58438
58439
58440
58441
58442
58443
58444
58445
58446
58447
58448
58449
58450
58451
58452
58453
58454
58455
58456
58457
58458
58459
58460
58461
58462
58463
58464
58465
58466
58467
58468
58469
58470
58471
58472
58473
58474
58475
58476
58477
58478
58479
58480
58481
58482
58483
58484
58485
58486
58487
58488
58489
58490
58491
58492
58493
58494
58495
58496
58497
58498
58499
58500
58501
58502
58503
58504
58505
58506
58507
58508
58509
58510
58511
58512
58513
58514
58515
58516
58517
58518
58519
58520
58521
58522
58523
58524
58525
58526
58527
58528
58529
58530
58531
58532
58533
58534
58535
58536
58537
58538
58539
58540
58541
58542
58543
58544
58545
58546
58547
58548
58549
58550
58551
58552
58553
58554
58555
58556
58557
58558
58559
58560
58561
58562
58563
58564
58565
58566
58567
58568
58569
58570
58571
58572
58573
58574
58575
58576
58577
58578
58579
58580
58581
58582
58583
58584
58585
58586
58587
58588
58589
58590
58591
58592
58593
58594
58595
58596
58597
58598
58599
58600
58601
58602
58603
58604
58605
58606
58607
58608
58609
58610
58611
58612
58613
58614
58615
58616
58617
58618
58619
58620
58621
58622
58623
58624
58625
58626
58627
58628
58629
58630
58631
58632
58633
58634
58635
58636
58637
58638
58639
58640
58641
58642
58643
58644
58645
58646
58647
58648
58649
58650
58651
58652
58653
58654
58655
58656
58657
58658
58659
58660
58661
58662
58663
58664
58665
58666
58667
58668
58669
58670
58671
58672
58673
58674
58675
58676
58677
58678
58679
58680
58681
58682
58683
58684
58685
58686
58687
58688
58689
58690
58691
58692
58693
58694
58695
58696
58697
58698
58699
58700
58701
58702
58703
58704
58705
58706
58707
58708
58709
58710
58711
58712
58713
58714
58715
58716
58717
58718
58719
58720
58721
58722
58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
58733
58734
58735
58736
58737
58738
58739
58740
58741
58742
58743
58744
58745
58746
58747
58748
58749
58750
58751
58752
58753
58754
58755
58756
58757
58758
58759
58760
58761
58762
58763
58764
58765
58766
58767
58768
58769
58770
58771
58772
58773
58774
58775
58776
58777
58778
58779
58780
58781
58782
58783
58784
58785
58786
58787
58788
58789
58790
58791
58792
58793
58794
58795
58796
58797
58798
58799
58800
58801
58802
58803
58804
58805
58806
58807
58808
58809
58810
58811
58812
58813
58814
58815
58816
58817
58818
58819
58820
58821
58822
58823
58824
58825
58826
58827
58828
58829
58830
58831
58832
58833
58834
58835
58836
58837
58838
58839
58840
58841
58842
58843
58844
58845
58846
58847
58848
58849
58850
58851
58852
58853
58854
58855
58856
58857
58858
58859
58860
58861
58862
58863
58864
58865
58866
58867
58868
58869
58870
58871
58872
58873
58874
58875
58876
58877
58878
58879
58880
58881
58882
58883
58884
58885
58886
58887
58888
58889
58890
58891
58892
58893
58894
58895
58896
58897
58898
58899
58900
58901
58902
58903
58904
58905
58906
58907
58908
58909
58910
58911
58912
58913
58914
58915
58916
58917
58918
58919
58920
58921
58922
58923
58924
58925
58926
58927
58928
58929
58930
58931
58932
58933
58934
58935
58936
58937
58938
58939
58940
58941
58942
58943
58944
58945
58946
58947
58948
58949
58950
58951
58952
58953
58954
58955
58956
58957
58958
58959
58960
58961
58962
58963
58964
58965
58966
58967
58968
58969
58970
58971
58972
58973
58974
58975
58976
58977
58978
58979
58980
58981
58982
58983
58984
58985
58986
58987
58988
58989
58990
58991
58992
58993
58994
58995
58996
58997
58998
58999
59000
59001
59002
59003
59004
59005
59006
59007
59008
59009
59010
59011
59012
59013
59014
59015
59016
59017
59018
59019
59020
59021
59022
59023
59024
59025
59026
59027
59028
59029
59030
59031
59032
59033
59034
59035
59036
59037
59038
59039
59040
59041
59042
59043
59044
59045
59046
59047
59048
59049
59050
59051
59052
59053
59054
59055
59056
59057
59058
59059
59060
59061
59062
59063
59064
59065
59066
59067
59068
59069
59070
59071
59072
59073
59074
59075
59076
59077
59078
59079
59080
59081
59082
59083
59084
59085
59086
59087
59088
59089
59090
59091
59092
59093
59094
59095
59096
59097
59098
59099
59100
59101
59102
59103
59104
59105
59106
59107
59108
59109
59110
59111
59112
59113
59114
59115
59116
59117
59118
59119
59120
59121
59122
59123
59124
59125
59126
59127
59128
59129
59130
59131
59132
59133
59134
59135
59136
59137
59138
59139
59140
59141
59142
59143
59144
59145
59146
59147
59148
59149
59150
59151
59152
59153
59154
59155
59156
59157
59158
59159
59160
59161
59162
59163
59164
59165
59166
59167
59168
59169
59170
59171
59172
59173
59174
59175
59176
59177
59178
59179
59180
59181
59182
59183
59184
59185
59186
59187
59188
59189
59190
59191
59192
59193
59194
59195
59196
59197
59198
59199
59200
59201
59202
59203
59204
59205
59206
59207
59208
59209
59210
59211
59212
59213
59214
59215
59216
59217
59218
59219
59220
59221
59222
59223
59224
59225
59226
59227
59228
59229
59230
59231
59232
59233
59234
59235
59236
59237
59238
59239
59240
59241
59242
59243
59244
59245
59246
59247
59248
59249
59250
59251
59252
59253
59254
59255
59256
59257
59258
59259
59260
59261
59262
59263
59264
59265
59266
59267
59268
59269
59270
59271
59272
59273
59274
59275
59276
59277
59278
59279
59280
59281
59282
59283
59284
59285
59286
59287
59288
59289
59290
59291
59292
59293
59294
59295
59296
59297
59298
59299
59300
59301
59302
59303
59304
59305
59306
59307
59308
59309
59310
59311
59312
59313
59314
59315
59316
59317
59318
59319
59320
59321
59322
59323
59324
59325
59326
59327
59328
59329
59330
59331
59332
59333
59334
59335
59336
59337
59338
59339
59340
59341
59342
59343
59344
59345
59346
59347
59348
59349
59350
59351
59352
59353
59354
59355
59356
59357
59358
59359
59360
59361
59362
59363
59364
59365
59366
59367
59368
59369
59370
59371
59372
59373
59374
59375
59376
59377
59378
59379
59380
59381
59382
59383
59384
59385
59386
59387
59388
59389
59390
59391
59392
59393
59394
59395
59396
59397
59398
59399
59400
59401
59402
59403
59404
59405
59406
59407
59408
59409
59410
59411
59412
59413
59414
59415
59416
59417
59418
59419
59420
59421
59422
59423
59424
59425
59426
59427
59428
59429
59430
59431
59432
59433
59434
59435
59436
59437
59438
59439
59440
59441
59442
59443
59444
59445
59446
59447
59448
59449
59450
59451
59452
59453
59454
59455
59456
59457
59458
59459
59460
59461
59462
59463
59464
59465
59466
59467
59468
59469
59470
59471
59472
59473
59474
59475
59476
59477
59478
59479
59480
59481
59482
59483
59484
59485
59486
59487
59488
59489
59490
59491
59492
59493
59494
59495
59496
59497
59498
59499
59500
59501
59502
59503
59504
59505
59506
59507
59508
59509
59510
59511
59512
59513
59514
59515
59516
59517
59518
59519
59520
59521
59522
59523
59524
59525
59526
59527
59528
59529
59530
59531
59532
59533
59534
59535
59536
59537
59538
59539
59540
59541
59542
59543
59544
59545
59546
59547
59548
59549
59550
59551
59552
59553
59554
59555
59556
59557
59558
59559
59560
59561
59562
59563
59564
59565
59566
59567
59568
59569
59570
59571
59572
59573
59574
59575
59576
59577
59578
59579
59580
59581
59582
59583
59584
59585
59586
59587
59588
59589
59590
59591
59592
59593
59594
59595
59596
59597
59598
59599
59600
59601
59602
59603
59604
59605
59606
59607
59608
59609
59610
59611
59612
59613
59614
59615
59616
59617
59618
59619
59620
59621
59622
59623
59624
59625
59626
59627
59628
59629
59630
59631
59632
59633
59634
59635
59636
59637
59638
59639
59640
59641
59642
59643
59644
59645
59646
59647
59648
59649
59650
59651
59652
59653
59654
59655
59656
59657
59658
59659
59660
59661
59662
59663
59664
59665
59666
59667
59668
59669
59670
59671
59672
59673
59674
59675
59676
59677
59678
59679
59680
59681
59682
59683
59684
59685
59686
59687
59688
59689
59690
59691
59692
59693
59694
59695
59696
59697
59698
59699
59700
59701
59702
59703
59704
59705
59706
59707
59708
59709
59710
59711
59712
59713
59714
59715
59716
59717
59718
59719
59720
59721
59722
59723
59724
59725
59726
59727
59728
59729
59730
59731
59732
59733
59734
59735
59736
59737
59738
59739
59740
59741
59742
59743
59744
59745
59746
59747
59748
59749
59750
59751
59752
59753
59754
59755
59756
59757
59758
59759
59760
59761
59762
59763
59764
59765
59766
59767
59768
59769
59770
59771
59772
59773
59774
59775
59776
59777
59778
59779
59780
59781
59782
59783
59784
59785
59786
59787
59788
59789
59790
59791
59792
59793
59794
59795
59796
59797
59798
59799
59800
59801
59802
59803
59804
59805
59806
59807
59808
59809
59810
59811
59812
59813
59814
59815
59816
59817
59818
59819
59820
59821
59822
59823
59824
59825
59826
59827
59828
59829
59830
59831
59832
59833
59834
59835
59836
59837
59838
59839
59840
59841
59842
59843
59844
59845
59846
59847
59848
59849
59850
59851
59852
59853
59854
59855
59856
59857
59858
59859
59860
59861
59862
59863
59864
59865
59866
59867
59868
59869
59870
59871
59872
59873
59874
59875
59876
59877
59878
59879
59880
59881
59882
59883
59884
59885
59886
59887
59888
59889
59890
59891
59892
59893
59894
59895
59896
59897
59898
59899
59900
59901
59902
59903
59904
59905
59906
59907
59908
59909
59910
59911
59912
59913
59914
59915
59916
59917
59918
59919
59920
59921
59922
59923
59924
59925
59926
59927
59928
59929
59930
59931
59932
59933
59934
59935
59936
59937
59938
59939
59940
59941
59942
59943
59944
59945
59946
59947
59948
59949
59950
59951
59952
59953
59954
59955
59956
59957
59958
59959
59960
59961
59962
59963
59964
59965
59966
59967
59968
59969
59970
59971
59972
59973
59974
59975
59976
59977
59978
59979
59980
59981
59982
59983
59984
59985
59986
59987
59988
59989
59990
59991
59992
59993
59994
59995
59996
59997
59998
59999
60000
60001
60002
60003
60004
60005
60006
60007
60008
60009
60010
60011
60012
60013
60014
60015
60016
60017
60018
60019
60020
60021
60022
60023
60024
60025
60026
60027
60028
60029
60030
60031
60032
60033
60034
60035
60036
60037
60038
60039
60040
60041
60042
60043
60044
60045
60046
60047
60048
60049
60050
60051
60052
60053
60054
60055
60056
60057
60058
60059
60060
60061
60062
60063
60064
60065
60066
60067
60068
60069
60070
60071
60072
60073
60074
60075
60076
60077
60078
60079
60080
60081
60082
60083
60084
60085
60086
60087
60088
60089
60090
60091
60092
60093
60094
60095
60096
60097
60098
60099
60100
60101
60102
60103
60104
60105
60106
60107
60108
60109
60110
60111
60112
60113
60114
60115
60116
60117
60118
60119
60120
60121
60122
60123
60124
60125
60126
60127
60128
60129
60130
60131
60132
60133
60134
60135
60136
60137
60138
60139
60140
60141
60142
60143
60144
60145
60146
60147
60148
60149
60150
60151
60152
60153
60154
60155
60156
60157
60158
60159
60160
60161
60162
60163
60164
60165
60166
60167
60168
60169
60170
60171
60172
60173
60174
60175
60176
60177
60178
60179
60180
60181
60182
60183
60184
60185
60186
60187
60188
60189
60190
60191
60192
60193
60194
60195
60196
60197
60198
60199
60200
60201
60202
60203
60204
60205
60206
60207
60208
60209
60210
60211
60212
60213
60214
60215
60216
60217
60218
60219
60220
60221
60222
60223
60224
60225
60226
60227
60228
60229
60230
60231
60232
60233
60234
60235
60236
60237
60238
60239
60240
60241
60242
60243
60244
60245
60246
60247
60248
60249
60250
60251
60252
60253
60254
60255
60256
60257
60258
60259
60260
60261
60262
60263
60264
60265
60266
60267
60268
60269
60270
60271
60272
60273
60274
60275
60276
60277
60278
60279
60280
60281
60282
60283
60284
60285
60286
60287
60288
60289
60290
60291
60292
60293
60294
60295
60296
60297
60298
60299
60300
60301
60302
60303
60304
60305
60306
60307
60308
60309
60310
60311
60312
60313
60314
60315
60316
60317
60318
60319
60320
60321
60322
60323
60324
60325
60326
60327
60328
60329
60330
60331
60332
60333
60334
60335
60336
60337
60338
60339
60340
60341
60342
60343
60344
60345
60346
60347
60348
60349
60350
60351
60352
60353
60354
60355
60356
60357
60358
60359
60360
60361
60362
60363
60364
60365
60366
60367
60368
60369
60370
60371
60372
60373
60374
60375
60376
60377
60378
60379
60380
60381
60382
60383
60384
60385
60386
60387
60388
60389
60390
60391
60392
60393
60394
60395
60396
60397
60398
60399
60400
60401
60402
60403
60404
60405
60406
60407
60408
60409
60410
60411
60412
60413
60414
60415
60416
60417
60418
60419
60420
60421
60422
60423
60424
60425
60426
60427
60428
60429
60430
60431
60432
60433
60434
60435
60436
60437
60438
60439
60440
60441
60442
60443
60444
60445
60446
60447
60448
60449
60450
60451
60452
60453
60454
60455
60456
60457
60458
60459
60460
60461
60462
60463
60464
60465
60466
60467
60468
60469
60470
60471
60472
60473
60474
60475
60476
60477
60478
60479
60480
60481
60482
60483
60484
60485
60486
60487
60488
60489
60490
60491
60492
60493
60494
60495
60496
60497
60498
60499
60500
60501
60502
60503
60504
60505
60506
60507
60508
60509
60510
60511
60512
60513
60514
60515
60516
60517
60518
60519
60520
60521
60522
60523
60524
60525
60526
60527
60528
60529
60530
60531
60532
60533
60534
60535
60536
60537
60538
60539
60540
60541
60542
60543
60544
60545
60546
60547
60548
60549
60550
60551
60552
60553
60554
60555
60556
60557
60558
60559
60560
60561
60562
60563
60564
60565
60566
60567
60568
60569
60570
60571
60572
60573
60574
60575
60576
60577
60578
60579
60580
60581
60582
60583
60584
60585
60586
60587
60588
60589
60590
60591
60592
60593
60594
60595
60596
60597
60598
60599
60600
60601
60602
60603
60604
60605
60606
60607
60608
60609
60610
60611
60612
60613
60614
60615
60616
60617
60618
60619
60620
60621
60622
60623
60624
60625
60626
60627
60628
60629
60630
60631
60632
60633
60634
60635
60636
60637
60638
60639
60640
60641
60642
60643
60644
60645
60646
60647
60648
60649
60650
60651
60652
60653
60654
60655
60656
60657
60658
60659
60660
60661
60662
60663
60664
60665
60666
60667
60668
60669
60670
60671
60672
60673
60674
60675
60676
60677
60678
60679
60680
60681
60682
60683
60684
60685
60686
60687
60688
60689
60690
60691
60692
60693
60694
60695
60696
60697
60698
60699
60700
60701
60702
60703
60704
60705
60706
60707
60708
60709
60710
60711
60712
60713
60714
60715
60716
60717
60718
60719
60720
60721
60722
60723
60724
60725
60726
60727
60728
60729
60730
60731
60732
60733
60734
60735
60736
60737
60738
60739
60740
60741
60742
60743
60744
60745
60746
60747
60748
60749
60750
60751
60752
60753
60754
60755
60756
60757
60758
60759
60760
60761
60762
60763
60764
60765
60766
60767
60768
60769
60770
60771
60772
60773
60774
60775
60776
60777
60778
60779
60780
60781
60782
60783
60784
60785
60786
60787
60788
60789
60790
60791
60792
60793
60794
60795
60796
60797
60798
60799
60800
60801
60802
60803
60804
60805
60806
60807
60808
60809
60810
60811
60812
60813
60814
60815
60816
60817
60818
60819
60820
60821
60822
60823
60824
60825
60826
60827
60828
60829
60830
60831
60832
60833
60834
60835
60836
60837
60838
60839
60840
60841
60842
60843
60844
60845
60846
60847
60848
60849
60850
60851
60852
60853
60854
60855
60856
60857
60858
60859
60860
60861
60862
60863
60864
60865
60866
60867
60868
60869
60870
60871
60872
60873
60874
60875
60876
60877
60878
60879
60880
60881
60882
60883
60884
60885
60886
60887
60888
60889
60890
60891
60892
60893
60894
60895
60896
60897
60898
60899
60900
60901
60902
60903
60904
60905
60906
60907
60908
60909
60910
60911
60912
60913
60914
60915
60916
60917
60918
60919
60920
60921
60922
60923
60924
60925
60926
60927
60928
60929
60930
60931
60932
60933
60934
60935
60936
60937
60938
60939
60940
60941
60942
60943
60944
60945
60946
60947
60948
60949
60950
60951
60952
60953
60954
60955
60956
60957
60958
60959
60960
60961
60962
60963
60964
60965
60966
60967
60968
60969
60970
60971
60972
60973
60974
60975
60976
60977
60978
60979
60980
60981
60982
60983
60984
60985
60986
60987
60988
60989
60990
60991
60992
60993
60994
60995
60996
60997
60998
60999
61000
61001
61002
61003
61004
61005
61006
61007
61008
61009
61010
61011
61012
61013
61014
61015
61016
61017
61018
61019
61020
61021
61022
61023
61024
61025
61026
61027
61028
61029
61030
61031
61032
61033
61034
61035
61036
61037
61038
61039
61040
61041
61042
61043
61044
61045
61046
61047
61048
61049
61050
61051
61052
61053
61054
61055
61056
61057
61058
61059
61060
61061
61062
61063
61064
61065
61066
61067
61068
61069
61070
61071
61072
61073
61074
61075
61076
61077
61078
61079
61080
61081
61082
61083
61084
61085
61086
61087
61088
61089
61090
61091
61092
61093
61094
61095
61096
61097
61098
61099
61100
61101
61102
61103
61104
61105
61106
61107
61108
61109
61110
61111
61112
61113
61114
61115
61116
61117
61118
61119
61120
61121
61122
61123
61124
61125
61126
61127
61128
61129
61130
61131
61132
61133
61134
61135
61136
61137
61138
61139
61140
61141
61142
61143
61144
61145
61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
61158
61159
61160
61161
61162
61163
61164
61165
61166
61167
61168
61169
61170
61171
61172
61173
61174
61175
61176
61177
61178
61179
61180
61181
61182
61183
61184
61185
61186
61187
61188
61189
61190
61191
61192
61193
61194
61195
61196
61197
61198
61199
61200
61201
61202
61203
61204
61205
61206
61207
61208
61209
61210
61211
61212
61213
61214
61215
61216
61217
61218
61219
61220
61221
61222
61223
61224
61225
61226
61227
61228
61229
61230
61231
61232
61233
61234
61235
61236
61237
61238
61239
61240
61241
61242
61243
61244
61245
61246
61247
61248
61249
61250
61251
61252
61253
61254
61255
61256
61257
61258
61259
61260
61261
61262
61263
61264
61265
61266
61267
61268
61269
61270
61271
61272
61273
61274
61275
61276
61277
61278
61279
61280
61281
61282
61283
61284
61285
61286
61287
61288
61289
61290
61291
61292
61293
61294
61295
61296
61297
61298
61299
61300
61301
61302
61303
61304
61305
61306
61307
61308
61309
61310
61311
61312
61313
61314
61315
61316
61317
61318
61319
61320
61321
61322
61323
61324
61325
61326
61327
61328
61329
61330
61331
61332
61333
61334
61335
61336
61337
61338
61339
61340
61341
61342
61343
61344
61345
61346
61347
61348
61349
61350
61351
61352
61353
61354
61355
61356
61357
61358
61359
61360
61361
61362
61363
61364
61365
61366
61367
61368
61369
61370
61371
61372
61373
61374
61375
61376
61377
61378
61379
61380
61381
61382
61383
61384
61385
61386
61387
61388
61389
61390
61391
61392
61393
61394
61395
61396
61397
61398
61399
61400
61401
61402
61403
61404
61405
61406
61407
61408
61409
61410
61411
61412
61413
61414
61415
61416
61417
61418
61419
61420
61421
61422
61423
61424
61425
61426
61427
61428
61429
61430
61431
61432
61433
61434
61435
61436
61437
61438
61439
61440
61441
61442
61443
61444
61445
61446
61447
61448
61449
61450
61451
61452
61453
61454
61455
61456
61457
61458
61459
61460
61461
61462
61463
61464
61465
61466
61467
61468
61469
61470
61471
61472
61473
61474
61475
61476
61477
61478
61479
61480
61481
61482
61483
61484
61485
61486
61487
61488
61489
61490
61491
61492
61493
61494
61495
61496
61497
61498
61499
61500
61501
61502
61503
61504
61505
61506
61507
61508
61509
61510
61511
61512
61513
61514
61515
61516
61517
61518
61519
61520
61521
61522
61523
61524
61525
61526
61527
61528
61529
61530
61531
61532
61533
61534
61535
61536
61537
61538
61539
61540
61541
61542
61543
61544
61545
61546
61547
61548
61549
61550
61551
61552
61553
61554
61555
61556
61557
61558
61559
61560
61561
61562
61563
61564
61565
61566
61567
61568
61569
61570
61571
61572
61573
61574
61575
61576
61577
61578
61579
61580
61581
61582
61583
61584
61585
61586
61587
61588
61589
61590
61591
61592
61593
61594
61595
61596
61597
61598
61599
61600
61601
61602
61603
61604
61605
61606
61607
61608
61609
61610
61611
61612
61613
61614
61615
61616
61617
61618
61619
61620
61621
61622
61623
61624
61625
61626
61627
61628
61629
61630
61631
61632
61633
61634
61635
61636
61637
61638
61639
61640
61641
61642
61643
61644
61645
61646
61647
61648
61649
61650
61651
61652
61653
61654
61655
61656
61657
61658
61659
61660
61661
61662
61663
61664
61665
61666
61667
61668
61669
61670
61671
61672
61673
61674
61675
61676
61677
61678
61679
61680
61681
61682
61683
61684
61685
61686
61687
61688
61689
61690
61691
61692
61693
61694
61695
61696
61697
61698
61699
61700
61701
61702
61703
61704
61705
61706
61707
61708
61709
61710
61711
61712
61713
61714
61715
61716
61717
61718
61719
61720
61721
61722
61723
61724
61725
61726
61727
61728
61729
61730
61731
61732
61733
61734
61735
61736
61737
61738
61739
61740
61741
61742
61743
61744
61745
61746
61747
61748
61749
61750
61751
61752
61753
61754
61755
61756
61757
61758
61759
61760
61761
61762
61763
61764
61765
61766
61767
61768
61769
61770
61771
61772
61773
61774
61775
61776
61777
61778
61779
61780
61781
61782
61783
61784
61785
61786
61787
61788
61789
61790
61791
61792
61793
61794
61795
61796
61797
61798
61799
61800
61801
61802
61803
61804
61805
61806
61807
61808
61809
61810
61811
61812
61813
61814
61815
61816
61817
61818
61819
61820
61821
61822
61823
61824
61825
61826
61827
61828
61829
61830
61831
61832
61833
61834
61835
61836
61837
61838
61839
61840
61841
61842
61843
61844
61845
61846
61847
61848
61849
61850
61851
61852
61853
61854
61855
61856
61857
61858
61859
61860
61861
61862
61863
61864
61865
61866
61867
61868
61869
61870
61871
61872
61873
61874
61875
61876
61877
61878
61879
61880
61881
61882
61883
61884
61885
61886
61887
61888
61889
61890
61891
61892
61893
61894
61895
61896
61897
61898
61899
61900
61901
61902
61903
61904
61905
61906
61907
61908
61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
61919
61920
61921
61922
61923
61924
61925
61926
61927
61928
61929
61930
61931
61932
61933
61934
61935
61936
61937
61938
61939
61940
61941
61942
61943
61944
61945
61946
61947
61948
61949
61950
61951
61952
61953
61954
61955
61956
61957
61958
61959
61960
61961
61962
61963
61964
61965
61966
61967
61968
61969
61970
61971
61972
61973
61974
61975
61976
61977
61978
61979
61980
61981
61982
61983
61984
61985
61986
61987
61988
61989
61990
61991
61992
61993
61994
61995
61996
61997
61998
61999
62000
62001
62002
62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
62022
62023
62024
62025
62026
62027
62028
62029
62030
62031
62032
62033
62034
62035
62036
62037
62038
62039
62040
62041
62042
62043
62044
62045
62046
62047
62048
62049
62050
62051
62052
62053
62054
62055
62056
62057
62058
62059
62060
62061
62062
62063
62064
62065
62066
62067
62068
62069
62070
62071
62072
62073
62074
62075
62076
62077
62078
62079
62080
62081
62082
62083
62084
62085
62086
62087
62088
62089
62090
62091
62092
62093
62094
62095
62096
62097
62098
62099
62100
62101
62102
62103
62104
62105
62106
62107
62108
62109
62110
62111
62112
62113
62114
62115
62116
62117
62118
62119
62120
62121
62122
62123
62124
62125
62126
62127
62128
62129
62130
62131
62132
62133
62134
62135
62136
62137
62138
62139
62140
62141
62142
62143
62144
62145
62146
62147
62148
62149
62150
62151
62152
62153
62154
62155
62156
62157
62158
62159
62160
62161
62162
62163
62164
62165
62166
62167
62168
62169
62170
62171
62172
62173
62174
62175
62176
62177
62178
62179
62180
62181
62182
62183
62184
62185
62186
62187
62188
62189
62190
62191
62192
62193
62194
62195
62196
62197
62198
62199
62200
62201
62202
62203
62204
62205
62206
62207
62208
62209
62210
62211
62212
62213
62214
62215
62216
62217
62218
62219
62220
62221
62222
62223
62224
62225
62226
62227
62228
62229
62230
62231
62232
62233
62234
62235
62236
62237
62238
62239
62240
62241
62242
62243
62244
62245
62246
62247
62248
62249
62250
62251
62252
62253
62254
62255
62256
62257
62258
62259
62260
62261
62262
62263
62264
62265
62266
62267
62268
62269
62270
62271
62272
62273
62274
62275
62276
62277
62278
62279
62280
62281
62282
62283
62284
62285
62286
62287
62288
62289
62290
62291
62292
62293
62294
62295
62296
62297
62298
62299
62300
62301
62302
62303
62304
62305
62306
62307
62308
62309
62310
62311
62312
62313
62314
62315
62316
62317
62318
62319
62320
62321
62322
62323
62324
62325
62326
62327
62328
62329
62330
62331
62332
62333
62334
62335
62336
62337
62338
62339
62340
62341
62342
62343
62344
62345
62346
62347
62348
62349
62350
62351
62352
62353
62354
62355
62356
62357
62358
62359
62360
62361
62362
62363
62364
62365
62366
62367
62368
62369
62370
62371
62372
62373
62374
62375
62376
62377
62378
62379
62380
62381
62382
62383
62384
62385
62386
62387
62388
62389
62390
62391
62392
62393
62394
62395
62396
62397
62398
62399
62400
62401
62402
62403
62404
62405
62406
62407
62408
62409
62410
62411
62412
62413
62414
62415
62416
62417
62418
62419
62420
62421
62422
62423
62424
62425
62426
62427
62428
62429
62430
62431
62432
62433
62434
62435
62436
62437
62438
62439
62440
62441
62442
62443
62444
62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
62458
62459
62460
62461
62462
62463
62464
62465
62466
62467
62468
62469
62470
62471
62472
62473
62474
62475
62476
62477
62478
62479
62480
62481
62482
62483
62484
62485
62486
62487
62488
62489
62490
62491
62492
62493
62494
62495
62496
62497
62498
62499
62500
62501
62502
62503
62504
62505
62506
62507
62508
62509
62510
62511
62512
62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
62550
62551
62552
62553
62554
62555
62556
62557
62558
62559
62560
62561
62562
62563
62564
62565
62566
62567
62568
62569
62570
62571
62572
62573
62574
62575
62576
62577
62578
62579
62580
62581
62582
62583
62584
62585
62586
62587
62588
62589
62590
62591
62592
62593
62594
62595
62596
62597
62598
62599
62600
62601
62602
62603
62604
62605
62606
62607
62608
62609
62610
62611
62612
62613
62614
62615
62616
62617
62618
62619
62620
62621
62622
62623
62624
62625
62626
62627
62628
62629
62630
62631
62632
62633
62634
62635
62636
62637
62638
62639
62640
62641
62642
62643
62644
62645
62646
62647
62648
62649
62650
62651
62652
62653
62654
62655
62656
62657
62658
62659
62660
62661
62662
62663
62664
62665
62666
62667
62668
62669
62670
62671
62672
62673
62674
62675
62676
62677
62678
62679
62680
62681
62682
62683
62684
62685
62686
62687
62688
62689
62690
62691
62692
62693
62694
62695
62696
62697
62698
62699
62700
62701
62702
62703
62704
62705
62706
62707
62708
62709
62710
62711
62712
62713
62714
62715
62716
62717
62718
62719
62720
62721
62722
62723
62724
62725
62726
62727
62728
62729
62730
62731
62732
62733
62734
62735
62736
62737
62738
62739
62740
62741
62742
62743
62744
62745
62746
62747
62748
62749
62750
62751
62752
62753
62754
62755
62756
62757
62758
62759
62760
62761
62762
62763
62764
62765
62766
62767
62768
62769
62770
62771
62772
62773
62774
62775
62776
62777
62778
62779
62780
62781
62782
62783
62784
62785
62786
62787
62788
62789
62790
62791
62792
62793
62794
62795
62796
62797
62798
62799
62800
62801
62802
62803
62804
62805
62806
62807
62808
62809
62810
62811
62812
62813
62814
62815
62816
62817
62818
62819
62820
62821
62822
62823
62824
62825
62826
62827
62828
62829
62830
62831
62832
62833
62834
62835
62836
62837
62838
62839
62840
62841
62842
62843
62844
62845
62846
62847
62848
62849
62850
62851
62852
62853
62854
62855
62856
62857
62858
62859
62860
62861
62862
62863
62864
62865
62866
62867
62868
62869
62870
62871
62872
62873
62874
62875
62876
62877
62878
62879
62880
62881
62882
62883
62884
62885
62886
62887
62888
62889
62890
62891
62892
62893
62894
62895
62896
62897
62898
62899
62900
62901
62902
62903
62904
62905
62906
62907
62908
62909
62910
62911
62912
62913
62914
62915
62916
62917
62918
62919
62920
62921
62922
62923
62924
62925
62926
62927
62928
62929
62930
62931
62932
62933
62934
62935
62936
62937
62938
62939
62940
62941
62942
62943
62944
62945
62946
62947
62948
62949
62950
62951
62952
62953
62954
62955
62956
62957
62958
62959
62960
62961
62962
62963
62964
62965
62966
62967
62968
62969
62970
62971
62972
62973
62974
62975
62976
62977
62978
62979
62980
62981
62982
62983
62984
62985
62986
62987
62988
62989
62990
62991
62992
62993
62994
62995
62996
62997
62998
62999
63000
63001
63002
63003
63004
63005
63006
63007
63008
63009
63010
63011
63012
63013
63014
63015
63016
63017
63018
63019
63020
63021
63022
63023
63024
63025
63026
63027
63028
63029
63030
63031
63032
63033
63034
63035
63036
63037
63038
63039
63040
63041
63042
63043
63044
63045
63046
63047
63048
63049
63050
63051
63052
63053
63054
63055
63056
63057
63058
63059
63060
63061
63062
63063
63064
63065
63066
63067
63068
63069
63070
63071
63072
63073
63074
63075
63076
63077
63078
63079
63080
63081
63082
63083
63084
63085
63086
63087
63088
63089
63090
63091
63092
63093
63094
63095
63096
63097
63098
63099
63100
63101
63102
63103
63104
63105
63106
63107
63108
63109
63110
63111
63112
63113
63114
63115
63116
63117
63118
63119
63120
63121
63122
63123
63124
63125
63126
63127
63128
63129
63130
63131
63132
63133
63134
63135
63136
63137
63138
63139
63140
63141
63142
63143
63144
63145
63146
63147
63148
63149
63150
63151
63152
63153
63154
63155
63156
63157
63158
63159
63160
63161
63162
63163
63164
63165
63166
63167
63168
63169
63170
63171
63172
63173
63174
63175
63176
63177
63178
63179
63180
63181
63182
63183
63184
63185
63186
63187
63188
63189
63190
63191
63192
63193
63194
63195
63196
63197
63198
63199
63200
63201
63202
63203
63204
63205
63206
63207
63208
63209
63210
63211
63212
63213
63214
63215
63216
63217
63218
63219
63220
63221
63222
63223
63224
63225
63226
63227
63228
63229
63230
63231
63232
63233
63234
63235
63236
63237
63238
63239
63240
63241
63242
63243
63244
63245
63246
63247
63248
63249
63250
63251
63252
63253
63254
63255
63256
63257
63258
63259
63260
63261
63262
63263
63264
63265
63266
63267
63268
63269
63270
63271
63272
63273
63274
63275
63276
63277
63278
63279
63280
63281
63282
63283
63284
63285
63286
63287
63288
63289
63290
63291
63292
63293
63294
63295
63296
63297
63298
63299
63300
63301
63302
63303
63304
63305
63306
63307
63308
63309
63310
63311
63312
63313
63314
63315
63316
63317
63318
63319
63320
63321
63322
63323
63324
63325
63326
63327
63328
63329
63330
63331
63332
63333
63334
63335
63336
63337
63338
63339
63340
63341
63342
63343
63344
63345
63346
63347
63348
63349
63350
63351
63352
63353
63354
63355
63356
63357
63358
63359
63360
63361
63362
63363
63364
63365
63366
63367
63368
63369
63370
63371
63372
63373
63374
63375
63376
63377
63378
63379
63380
63381
63382
63383
63384
63385
63386
63387
63388
63389
63390
63391
63392
63393
63394
63395
63396
63397
63398
63399
63400
63401
63402
63403
63404
63405
63406
63407
63408
63409
63410
63411
63412
63413
63414
63415
63416
63417
63418
63419
63420
63421
63422
63423
63424
63425
63426
63427
63428
63429
63430
63431
63432
63433
63434
63435
63436
63437
63438
63439
63440
63441
63442
63443
63444
63445
63446
63447
63448
63449
63450
63451
63452
63453
63454
63455
63456
63457
63458
63459
63460
63461
63462
63463
63464
63465
63466
63467
63468
63469
63470
63471
63472
63473
63474
63475
63476
63477
63478
63479
63480
63481
63482
63483
63484
63485
63486
63487
63488
63489
63490
63491
63492
63493
63494
63495
63496
63497
63498
63499
63500
63501
63502
63503
63504
63505
63506
63507
63508
63509
63510
63511
63512
63513
63514
63515
63516
63517
63518
63519
63520
63521
63522
63523
63524
63525
63526
63527
63528
63529
63530
63531
63532
63533
63534
63535
63536
63537
63538
63539
63540
63541
63542
63543
63544
63545
63546
63547
63548
63549
63550
63551
63552
63553
63554
63555
63556
63557
63558
63559
63560
63561
63562
63563
63564
63565
63566
63567
63568
63569
63570
63571
63572
63573
63574
63575
63576
63577
63578
63579
63580
63581
63582
63583
63584
63585
63586
63587
63588
63589
63590
63591
63592
63593
63594
63595
63596
63597
63598
63599
63600
63601
63602
63603
63604
63605
63606
63607
63608
63609
63610
63611
63612
63613
63614
63615
63616
63617
63618
63619
63620
63621
63622
63623
63624
63625
63626
63627
63628
63629
63630
63631
63632
63633
63634
63635
63636
63637
63638
63639
63640
63641
63642
63643
63644
63645
63646
63647
63648
63649
63650
63651
63652
63653
63654
63655
63656
63657
63658
63659
63660
63661
63662
63663
63664
63665
63666
63667
63668
63669
63670
63671
63672
63673
63674
63675
63676
63677
63678
63679
63680
63681
63682
63683
63684
63685
63686
63687
63688
63689
63690
63691
63692
63693
63694
63695
63696
63697
63698
63699
63700
63701
63702
63703
63704
63705
63706
63707
63708
63709
63710
63711
63712
63713
63714
63715
63716
63717
63718
63719
63720
63721
63722
63723
63724
63725
63726
63727
63728
63729
63730
63731
63732
63733
63734
63735
63736
63737
63738
63739
63740
63741
63742
63743
63744
63745
63746
63747
63748
63749
63750
63751
63752
63753
63754
63755
63756
63757
63758
63759
63760
63761
63762
63763
63764
63765
63766
63767
63768
63769
63770
63771
63772
63773
63774
63775
63776
63777
63778
63779
63780
63781
63782
63783
63784
63785
63786
63787
63788
63789
63790
63791
63792
63793
63794
63795
63796
63797
63798
63799
63800
63801
63802
63803
63804
63805
63806
63807
63808
63809
63810
63811
63812
63813
63814
63815
63816
63817
63818
63819
63820
63821
63822
63823
63824
63825
63826
63827
63828
63829
63830
63831
63832
63833
63834
63835
63836
63837
63838
63839
63840
63841
63842
63843
63844
63845
63846
63847
63848
63849
63850
63851
63852
63853
63854
63855
63856
63857
63858
63859
63860
63861
63862
63863
63864
63865
63866
63867
63868
63869
63870
63871
63872
63873
63874
63875
63876
63877
63878
63879
63880
63881
63882
63883
63884
63885
63886
63887
63888
63889
63890
63891
63892
63893
63894
63895
63896
63897
63898
63899
63900
63901
63902
63903
63904
63905
63906
63907
63908
63909
63910
63911
63912
63913
63914
63915
63916
63917
63918
63919
63920
63921
63922
63923
63924
63925
63926
63927
63928
63929
63930
63931
63932
63933
63934
63935
63936
63937
63938
63939
63940
63941
63942
63943
63944
63945
63946
63947
63948
63949
63950
63951
63952
63953
63954
63955
63956
63957
63958
63959
63960
63961
63962
63963
63964
63965
63966
63967
63968
63969
63970
63971
63972
63973
63974
63975
63976
63977
63978
63979
63980
63981
63982
63983
63984
63985
63986
63987
63988
63989
63990
63991
63992
63993
63994
63995
63996
63997
63998
63999
64000
64001
64002
64003
64004
64005
64006
64007
64008
64009
64010
64011
64012
64013
64014
64015
64016
64017
64018
64019
64020
64021
64022
64023
64024
64025
64026
64027
64028
64029
64030
64031
64032
64033
64034
64035
64036
64037
64038
64039
64040
64041
64042
64043
64044
64045
64046
64047
64048
64049
64050
64051
64052
64053
64054
64055
64056
64057
64058
64059
64060
64061
64062
64063
64064
64065
64066
64067
64068
64069
64070
64071
64072
64073
64074
64075
64076
64077
64078
64079
64080
64081
64082
64083
64084
64085
64086
64087
64088
64089
64090
64091
64092
64093
64094
64095
64096
64097
64098
64099
64100
64101
64102
64103
64104
64105
64106
64107
64108
64109
64110
64111
64112
64113
64114
64115
64116
64117
64118
64119
64120
64121
64122
64123
64124
64125
64126
64127
64128
64129
64130
64131
64132
64133
64134
64135
64136
64137
64138
64139
64140
64141
64142
64143
64144
64145
64146
64147
64148
64149
64150
64151
64152
64153
64154
64155
64156
64157
64158
64159
64160
64161
64162
64163
64164
64165
64166
64167
64168
64169
64170
64171
64172
64173
64174
64175
64176
64177
64178
64179
64180
64181
64182
64183
64184
64185
64186
64187
64188
64189
64190
64191
64192
64193
64194
64195
64196
64197
64198
64199
64200
64201
64202
64203
64204
64205
64206
64207
64208
64209
64210
64211
64212
64213
64214
64215
64216
64217
64218
64219
64220
64221
64222
64223
64224
64225
64226
64227
64228
64229
64230
64231
64232
64233
64234
64235
64236
64237
64238
64239
64240
64241
64242
64243
64244
64245
64246
64247
64248
64249
64250
64251
64252
64253
64254
64255
64256
64257
64258
64259
64260
64261
64262
64263
64264
64265
64266
64267
64268
64269
64270
64271
64272
64273
64274
64275
64276
64277
64278
64279
64280
64281
64282
64283
64284
64285
64286
64287
64288
64289
64290
64291
64292
64293
64294
64295
64296
64297
64298
64299
64300
64301
64302
64303
64304
64305
64306
64307
64308
64309
64310
64311
64312
64313
64314
64315
64316
64317
64318
64319
64320
64321
64322
64323
64324
64325
64326
64327
64328
64329
64330
64331
64332
64333
64334
64335
64336
64337
64338
64339
64340
64341
64342
64343
64344
64345
64346
64347
64348
64349
64350
64351
64352
64353
64354
64355
64356
64357
64358
64359
64360
64361
64362
64363
64364
64365
64366
64367
64368
64369
64370
64371
64372
64373
64374
64375
64376
64377
64378
64379
64380
64381
64382
64383
64384
64385
64386
64387
64388
64389
64390
64391
64392
64393
64394
64395
64396
64397
64398
64399
64400
64401
64402
64403
64404
64405
64406
64407
64408
64409
64410
64411
64412
64413
64414
64415
64416
64417
64418
64419
64420
64421
64422
64423
64424
64425
64426
64427
64428
64429
64430
64431
64432
64433
64434
64435
64436
64437
64438
64439
64440
64441
64442
64443
64444
64445
64446
64447
64448
64449
64450
64451
64452
64453
64454
64455
64456
64457
64458
64459
64460
64461
64462
64463
64464
64465
64466
64467
64468
64469
64470
64471
64472
64473
64474
64475
64476
64477
64478
64479
64480
64481
64482
64483
64484
64485
64486
64487
64488
64489
64490
64491
64492
64493
64494
64495
64496
64497
64498
64499
64500
64501
64502
64503
64504
64505
64506
64507
64508
64509
64510
64511
64512
64513
64514
64515
64516
64517
64518
64519
64520
64521
64522
64523
64524
64525
64526
64527
64528
64529
64530
64531
64532
64533
64534
64535
64536
64537
64538
64539
64540
64541
64542
64543
64544
64545
64546
64547
64548
64549
64550
64551
64552
64553
64554
64555
64556
64557
64558
64559
64560
64561
64562
64563
64564
64565
64566
64567
64568
64569
64570
64571
64572
64573
64574
64575
64576
64577
64578
64579
64580
64581
64582
64583
64584
64585
64586
64587
64588
64589
64590
64591
64592
64593
64594
64595
64596
64597
64598
64599
64600
64601
64602
64603
64604
64605
64606
64607
64608
64609
64610
64611
64612
64613
64614
64615
64616
64617
64618
64619
64620
64621
64622
64623
64624
64625
64626
64627
64628
64629
64630
64631
64632
64633
64634
64635
64636
64637
64638
64639
64640
64641
64642
64643
64644
64645
64646
64647
64648
64649
64650
64651
64652
64653
64654
64655
64656
64657
64658
64659
64660
64661
64662
64663
64664
64665
64666
64667
64668
64669
64670
64671
64672
64673
64674
64675
64676
64677
64678
64679
64680
64681
64682
64683
64684
64685
64686
64687
64688
64689
64690
64691
64692
64693
64694
64695
64696
64697
64698
64699
64700
64701
64702
64703
64704
64705
64706
64707
64708
64709
64710
64711
64712
64713
64714
64715
64716
64717
64718
64719
64720
64721
64722
64723
64724
64725
64726
64727
64728
64729
64730
64731
64732
64733
64734
64735
64736
64737
64738
64739
64740
64741
64742
64743
64744
64745
64746
64747
64748
64749
64750
64751
64752
64753
64754
64755
64756
64757
64758
64759
64760
64761
64762
64763
64764
64765
64766
64767
64768
64769
64770
64771
64772
64773
64774
64775
64776
64777
64778
64779
64780
64781
64782
64783
64784
64785
64786
64787
64788
64789
64790
64791
64792
64793
64794
64795
64796
64797
64798
64799
64800
64801
64802
64803
64804
64805
64806
64807
64808
64809
64810
64811
64812
64813
64814
64815
64816
64817
64818
64819
64820
64821
64822
64823
64824
64825
64826
64827
64828
64829
64830
64831
64832
64833
64834
64835
64836
64837
64838
64839
64840
64841
64842
64843
64844
64845
64846
64847
64848
64849
64850
64851
64852
64853
64854
64855
64856
64857
64858
64859
64860
64861
64862
64863
64864
64865
64866
64867
64868
64869
64870
64871
64872
64873
64874
64875
64876
64877
64878
64879
64880
64881
64882
64883
64884
64885
64886
64887
64888
64889
64890
64891
64892
64893
64894
64895
64896
64897
64898
64899
64900
64901
64902
64903
64904
64905
64906
64907
64908
64909
64910
64911
64912
64913
64914
64915
64916
64917
64918
64919
64920
64921
64922
64923
64924
64925
64926
64927
64928
64929
64930
64931
64932
64933
64934
64935
64936
64937
64938
64939
64940
64941
64942
64943
64944
64945
64946
64947
64948
64949
64950
64951
64952
64953
64954
64955
64956
64957
64958
64959
64960
64961
64962
64963
64964
64965
64966
64967
64968
64969
64970
64971
64972
64973
64974
64975
64976
64977
64978
64979
64980
64981
64982
64983
64984
64985
64986
64987
64988
64989
64990
64991
64992
64993
64994
64995
64996
64997
64998
64999
65000
65001
65002
65003
65004
65005
65006
65007
65008
65009
65010
65011
65012
65013
65014
65015
65016
65017
65018
65019
65020
65021
65022
65023
65024
65025
65026
65027
65028
65029
65030
65031
65032
65033
65034
65035
65036
65037
65038
65039
65040
65041
65042
65043
65044
65045
65046
65047
65048
65049
65050
65051
65052
65053
65054
65055
65056
65057
65058
65059
65060
65061
65062
65063
65064
65065
65066
65067
65068
65069
65070
65071
65072
65073
65074
65075
65076
65077
65078
65079
65080
65081
65082
65083
65084
65085
65086
65087
65088
65089
65090
65091
65092
65093
65094
65095
65096
65097
65098
65099
65100
65101
65102
65103
65104
65105
65106
65107
65108
65109
65110
65111
65112
65113
65114
65115
65116
65117
65118
65119
65120
65121
65122
65123
65124
65125
65126
65127
65128
65129
65130
65131
65132
65133
65134
65135
65136
65137
65138
65139
65140
65141
65142
65143
65144
65145
65146
65147
65148
65149
65150
65151
65152
65153
65154
65155
65156
65157
65158
65159
65160
65161
65162
65163
65164
65165
65166
65167
65168
65169
65170
65171
65172
65173
65174
65175
65176
65177
65178
65179
65180
65181
65182
65183
65184
65185
65186
65187
65188
65189
65190
65191
65192
65193
65194
65195
65196
65197
65198
65199
65200
65201
65202
65203
65204
65205
65206
65207
65208
65209
65210
65211
65212
65213
65214
65215
65216
65217
65218
65219
65220
65221
65222
65223
65224
65225
65226
65227
65228
65229
65230
65231
65232
65233
65234
65235
65236
65237
65238
65239
65240
65241
65242
65243
65244
65245
65246
65247
65248
65249
65250
65251
65252
65253
65254
65255
65256
65257
65258
65259
65260
65261
65262
65263
65264
65265
65266
65267
65268
65269
65270
65271
65272
65273
65274
65275
65276
65277
65278
65279
65280
65281
65282
65283
65284
65285
65286
65287
65288
65289
65290
65291
65292
65293
65294
65295
65296
65297
65298
65299
65300
65301
65302
65303
65304
65305
65306
65307
65308
65309
65310
65311
65312
65313
65314
65315
65316
65317
65318
65319
65320
65321
65322
65323
65324
65325
65326
65327
65328
65329
65330
65331
65332
65333
65334
65335
65336
65337
65338
65339
65340
65341
65342
65343
65344
65345
65346
65347
65348
65349
65350
65351
65352
65353
65354
65355
65356
65357
65358
65359
65360
65361
65362
65363
65364
65365
65366
65367
65368
65369
65370
65371
65372
65373
65374
65375
65376
65377
65378
65379
65380
65381
65382
65383
65384
65385
65386
65387
65388
65389
65390
65391
65392
65393
65394
65395
65396
65397
65398
65399
65400
65401
65402
65403
65404
65405
65406
65407
65408
65409
65410
65411
65412
65413
65414
65415
65416
65417
65418
65419
65420
65421
65422
65423
65424
65425
65426
65427
65428
65429
65430
65431
65432
65433
65434
65435
65436
65437
65438
65439
65440
65441
65442
65443
65444
65445
65446
65447
65448
65449
65450
65451
65452
65453
65454
65455
65456
65457
65458
65459
65460
65461
65462
65463
65464
65465
65466
65467
65468
65469
65470
65471
65472
65473
65474
65475
65476
65477
65478
65479
65480
65481
65482
65483
65484
65485
65486
65487
65488
65489
65490
65491
65492
65493
65494
65495
65496
65497
65498
65499
65500
65501
65502
65503
65504
65505
65506
65507
65508
65509
65510
65511
65512
65513
65514
65515
65516
65517
65518
65519
65520
65521
65522
65523
65524
65525
65526
65527
65528
65529
65530
65531
65532
65533
65534
65535
65536
65537
65538
65539
65540
65541
65542
65543
65544
65545
65546
65547
65548
65549
65550
65551
65552
65553
65554
65555
65556
65557
65558
65559
65560
65561
65562
65563
65564
65565
65566
65567
65568
65569
65570
65571
65572
65573
65574
65575
65576
65577
65578
65579
65580
65581
65582
65583
65584
65585
65586
65587
65588
65589
65590
65591
65592
65593
65594
65595
65596
65597
65598
65599
65600
65601
65602
65603
65604
65605
65606
65607
65608
65609
65610
65611
65612
65613
65614
65615
65616
65617
65618
65619
65620
65621
65622
65623
65624
65625
65626
65627
65628
65629
65630
65631
65632
65633
65634
65635
65636
65637
65638
65639
65640
65641
65642
65643
65644
65645
65646
65647
65648
65649
65650
65651
65652
65653
65654
65655
65656
65657
65658
65659
65660
65661
65662
65663
65664
65665
65666
65667
65668
65669
65670
65671
65672
65673
65674
65675
65676
65677
65678
65679
65680
65681
65682
65683
65684
65685
65686
65687
65688
65689
65690
65691
65692
65693
65694
65695
65696
65697
65698
65699
65700
65701
65702
65703
65704
65705
65706
65707
65708
65709
65710
65711
65712
65713
65714
65715
65716
65717
65718
65719
65720
65721
65722
65723
65724
65725
65726
65727
65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
65754
65755
65756
65757
65758
65759
65760
65761
65762
65763
65764
65765
65766
65767
65768
65769
65770
65771
65772
65773
65774
65775
65776
65777
65778
65779
65780
65781
65782
65783
65784
65785
65786
65787
65788
65789
65790
65791
65792
65793
65794
65795
65796
65797
65798
65799
65800
65801
65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
65812
65813
65814
65815
65816
65817
65818
65819
65820
65821
65822
65823
65824
65825
65826
65827
65828
65829
65830
65831
65832
65833
65834
65835
65836
65837
65838
65839
65840
65841
65842
65843
65844
65845
65846
65847
65848
65849
65850
65851
65852
65853
65854
65855
65856
65857
65858
65859
65860
65861
65862
65863
65864
65865
65866
65867
65868
65869
65870
65871
65872
65873
65874
65875
65876
65877
65878
65879
65880
65881
65882
65883
65884
65885
65886
65887
65888
65889
65890
65891
65892
65893
65894
65895
65896
65897
65898
65899
65900
65901
65902
65903
65904
65905
65906
65907
65908
65909
65910
65911
65912
65913
65914
65915
65916
65917
65918
65919
65920
65921
65922
65923
65924
65925
65926
65927
65928
65929
65930
65931
65932
65933
65934
65935
65936
65937
65938
65939
65940
65941
65942
65943
65944
65945
65946
65947
65948
65949
65950
65951
65952
65953
65954
65955
65956
65957
65958
65959
65960
65961
65962
65963
65964
65965
65966
65967
65968
65969
65970
65971
65972
65973
65974
65975
65976
65977
65978
65979
65980
65981
65982
65983
65984
65985
65986
65987
65988
65989
65990
65991
65992
65993
65994
65995
65996
65997
65998
65999
66000
66001
66002
66003
66004
66005
66006
66007
66008
66009
66010
66011
66012
66013
66014
66015
66016
66017
66018
66019
66020
66021
66022
66023
66024
66025
66026
66027
66028
66029
66030
66031
66032
66033
66034
66035
66036
66037
66038
66039
66040
66041
66042
66043
66044
66045
66046
66047
66048
66049
66050
66051
66052
66053
66054
66055
66056
66057
66058
66059
66060
66061
66062
66063
66064
66065
66066
66067
66068
66069
66070
66071
66072
66073
66074
66075
66076
66077
66078
66079
66080
66081
66082
66083
66084
66085
66086
66087
66088
66089
66090
66091
66092
66093
66094
66095
66096
66097
66098
66099
66100
66101
66102
66103
66104
66105
66106
66107
66108
66109
66110
66111
66112
66113
66114
66115
66116
66117
66118
66119
66120
66121
66122
66123
66124
66125
66126
66127
66128
66129
66130
66131
66132
66133
66134
66135
66136
66137
66138
66139
66140
66141
66142
66143
66144
66145
66146
66147
66148
66149
66150
66151
66152
66153
66154
66155
66156
66157
66158
66159
66160
66161
66162
66163
66164
66165
66166
66167
66168
66169
66170
66171
66172
66173
66174
66175
66176
66177
66178
66179
66180
66181
66182
66183
66184
66185
66186
66187
66188
66189
66190
66191
66192
66193
66194
66195
66196
66197
66198
66199
66200
66201
66202
66203
66204
66205
66206
66207
66208
66209
66210
66211
66212
66213
66214
66215
66216
66217
66218
66219
66220
66221
66222
66223
66224
66225
66226
66227
66228
66229
66230
66231
66232
66233
66234
66235
66236
66237
66238
66239
66240
66241
66242
66243
66244
66245
66246
66247
66248
66249
66250
66251
66252
66253
66254
66255
66256
66257
66258
66259
66260
66261
66262
66263
66264
66265
66266
66267
66268
66269
66270
66271
66272
66273
66274
66275
66276
66277
66278
66279
66280
66281
66282
66283
66284
66285
66286
66287
66288
66289
66290
66291
66292
66293
66294
66295
66296
66297
66298
66299
66300
66301
66302
66303
66304
66305
66306
66307
66308
66309
66310
66311
66312
66313
66314
66315
66316
66317
66318
66319
66320
66321
66322
66323
66324
66325
66326
66327
66328
66329
66330
66331
66332
66333
66334
66335
66336
66337
66338
66339
66340
66341
66342
66343
66344
66345
66346
66347
66348
66349
66350
66351
66352
66353
66354
66355
66356
66357
66358
66359
66360
66361
66362
66363
66364
66365
66366
66367
66368
66369
66370
66371
66372
66373
66374
66375
66376
66377
66378
66379
66380
66381
66382
66383
66384
66385
66386
66387
66388
66389
66390
66391
66392
66393
66394
66395
66396
66397
66398
66399
66400
66401
66402
66403
66404
66405
66406
66407
66408
66409
66410
66411
66412
66413
66414
66415
66416
66417
66418
66419
66420
66421
66422
66423
66424
66425
66426
66427
66428
66429
66430
66431
66432
66433
66434
66435
66436
66437
66438
66439
66440
66441
66442
66443
66444
66445
66446
66447
66448
66449
66450
66451
66452
66453
66454
66455
66456
66457
66458
66459
66460
66461
66462
66463
66464
66465
66466
66467
66468
66469
66470
66471
66472
66473
66474
66475
66476
66477
66478
66479
66480
66481
66482
66483
66484
66485
66486
66487
66488
66489
66490
66491
66492
66493
66494
66495
66496
66497
66498
66499
66500
66501
66502
66503
66504
66505
66506
66507
66508
66509
66510
66511
66512
66513
66514
66515
66516
66517
66518
66519
66520
66521
66522
66523
66524
66525
66526
66527
66528
66529
66530
66531
66532
66533
66534
66535
66536
66537
66538
66539
66540
66541
66542
66543
66544
66545
66546
66547
66548
66549
66550
66551
66552
66553
66554
66555
66556
66557
66558
66559
66560
66561
66562
66563
66564
66565
66566
66567
66568
66569
66570
66571
66572
66573
66574
66575
66576
66577
66578
66579
66580
66581
66582
66583
66584
66585
66586
66587
66588
66589
66590
66591
66592
66593
66594
66595
66596
66597
66598
66599
66600
66601
66602
66603
66604
66605
66606
66607
66608
66609
66610
66611
66612
66613
66614
66615
66616
66617
66618
66619
66620
66621
66622
66623
66624
66625
66626
66627
66628
66629
66630
66631
66632
66633
66634
66635
66636
66637
66638
66639
66640
66641
66642
66643
66644
66645
66646
66647
66648
66649
66650
66651
66652
66653
66654
66655
66656
66657
66658
66659
66660
66661
66662
66663
66664
66665
66666
66667
66668
66669
66670
66671
66672
66673
66674
66675
66676
66677
66678
66679
66680
66681
66682
66683
66684
66685
66686
66687
66688
66689
66690
66691
66692
66693
66694
66695
66696
66697
66698
66699
66700
66701
66702
66703
66704
66705
66706
66707
66708
66709
66710
66711
66712
66713
66714
66715
66716
66717
66718
66719
66720
66721
66722
66723
66724
66725
66726
66727
66728
66729
66730
66731
66732
66733
66734
66735
66736
66737
66738
66739
66740
66741
66742
66743
66744
66745
66746
66747
66748
66749
66750
66751
66752
66753
66754
66755
66756
66757
66758
66759
66760
66761
66762
66763
66764
66765
66766
66767
66768
66769
66770
66771
66772
66773
66774
66775
66776
66777
66778
66779
66780
66781
66782
66783
66784
66785
66786
66787
66788
66789
66790
66791
66792
66793
66794
66795
66796
66797
66798
66799
66800
66801
66802
66803
66804
66805
66806
66807
66808
66809
66810
66811
66812
66813
66814
66815
66816
66817
66818
66819
66820
66821
66822
66823
66824
66825
66826
66827
66828
66829
66830
66831
66832
66833
66834
66835
66836
66837
66838
66839
66840
66841
66842
66843
66844
66845
66846
66847
66848
66849
66850
66851
66852
66853
66854
66855
66856
66857
66858
66859
66860
66861
66862
66863
66864
66865
66866
66867
66868
66869
66870
66871
66872
66873
66874
66875
66876
66877
66878
66879
66880
66881
66882
66883
66884
66885
66886
66887
66888
66889
66890
66891
66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
66907
66908
66909
66910
66911
66912
66913
66914
66915
66916
66917
66918
66919
66920
66921
66922
66923
66924
66925
66926
66927
66928
66929
66930
66931
66932
66933
66934
66935
66936
66937
66938
66939
66940
66941
66942
66943
66944
66945
66946
66947
66948
66949
66950
66951
66952
66953
66954
66955
66956
66957
66958
66959
66960
66961
66962
66963
66964
66965
66966
66967
66968
66969
66970
66971
66972
66973
66974
66975
66976
66977
66978
66979
66980
66981
66982
66983
66984
66985
66986
66987
66988
66989
66990
66991
66992
66993
66994
66995
66996
66997
66998
66999
67000
67001
67002
67003
67004
67005
67006
67007
67008
67009
67010
67011
67012
67013
67014
67015
67016
67017
67018
67019
67020
67021
67022
67023
67024
67025
67026
67027
67028
67029
67030
67031
67032
67033
67034
67035
67036
67037
67038
67039
67040
67041
67042
67043
67044
67045
67046
67047
67048
67049
67050
67051
67052
67053
67054
67055
67056
67057
67058
67059
67060
67061
67062
67063
67064
67065
67066
67067
67068
67069
67070
67071
67072
67073
67074
67075
67076
67077
67078
67079
67080
67081
67082
67083
67084
67085
67086
67087
67088
67089
67090
67091
67092
67093
67094
67095
67096
67097
67098
67099
67100
67101
67102
67103
67104
67105
67106
67107
67108
67109
67110
67111
67112
67113
67114
67115
67116
67117
67118
67119
67120
67121
67122
67123
67124
67125
67126
67127
67128
67129
67130
67131
67132
67133
67134
67135
67136
67137
67138
67139
67140
67141
67142
67143
67144
67145
67146
67147
67148
67149
67150
67151
67152
67153
67154
67155
67156
67157
67158
67159
67160
67161
67162
67163
67164
67165
67166
67167
67168
67169
67170
67171
67172
67173
67174
67175
67176
67177
67178
67179
67180
67181
67182
67183
67184
67185
67186
67187
67188
67189
67190
67191
67192
67193
67194
67195
67196
67197
67198
67199
67200
67201
67202
67203
67204
67205
67206
67207
67208
67209
67210
67211
67212
67213
67214
67215
67216
67217
67218
67219
67220
67221
67222
67223
67224
67225
67226
67227
67228
67229
67230
67231
67232
67233
67234
67235
67236
67237
67238
67239
67240
67241
67242
67243
67244
67245
67246
67247
67248
67249
67250
67251
67252
67253
67254
67255
67256
67257
67258
67259
67260
67261
67262
67263
67264
67265
67266
67267
67268
67269
67270
67271
67272
67273
67274
67275
67276
67277
67278
67279
67280
67281
67282
67283
67284
67285
67286
67287
67288
67289
67290
67291
67292
67293
67294
67295
67296
67297
67298
67299
67300
67301
67302
67303
67304
67305
67306
67307
67308
67309
67310
67311
67312
67313
67314
67315
67316
67317
67318
67319
67320
67321
67322
67323
67324
67325
67326
67327
67328
67329
67330
67331
67332
67333
67334
67335
67336
67337
67338
67339
67340
67341
67342
67343
67344
67345
67346
67347
67348
67349
67350
67351
67352
67353
67354
67355
67356
67357
67358
67359
67360
67361
67362
67363
67364
67365
67366
67367
67368
67369
67370
67371
67372
67373
67374
67375
67376
67377
67378
67379
67380
67381
67382
67383
67384
67385
67386
67387
67388
67389
67390
67391
67392
67393
67394
67395
67396
67397
67398
67399
67400
67401
67402
67403
67404
67405
67406
67407
67408
67409
67410
67411
67412
67413
67414
67415
67416
67417
67418
67419
67420
67421
67422
67423
67424
67425
67426
67427
67428
67429
67430
67431
67432
67433
67434
67435
67436
67437
67438
67439
67440
67441
67442
67443
67444
67445
67446
67447
67448
67449
67450
67451
67452
67453
67454
67455
67456
67457
67458
67459
67460
67461
67462
67463
67464
67465
67466
67467
67468
67469
67470
67471
67472
67473
67474
67475
67476
67477
67478
67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
67603
67604
67605
67606
67607
67608
67609
67610
67611
67612
67613
67614
67615
67616
67617
67618
67619
67620
67621
67622
67623
67624
67625
67626
67627
67628
67629
67630
67631
67632
67633
67634
67635
67636
67637
67638
67639
67640
67641
67642
67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
67664
67665
67666
67667
67668
67669
67670
67671
67672
67673
67674
67675
67676
67677
67678
67679
67680
67681
67682
67683
67684
67685
67686
67687
67688
67689
67690
67691
67692
67693
67694
67695
67696
67697
67698
67699
67700
67701
67702
67703
67704
67705
67706
67707
67708
67709
67710
67711
67712
67713
67714
67715
67716
67717
67718
67719
67720
67721
67722
67723
67724
67725
67726
67727
67728
67729
67730
67731
67732
67733
67734
67735
67736
67737
67738
67739
67740
67741
67742
67743
67744
67745
67746
67747
67748
67749
67750
67751
67752
67753
67754
67755
67756
67757
67758
67759
67760
67761
67762
67763
67764
67765
67766
67767
67768
67769
67770
67771
67772
67773
67774
67775
67776
67777
67778
67779
67780
67781
67782
67783
67784
67785
67786
67787
67788
67789
67790
67791
67792
67793
67794
67795
67796
67797
67798
67799
67800
67801
67802
67803
67804
67805
67806
67807
67808
67809
67810
67811
67812
67813
67814
67815
67816
67817
67818
67819
67820
67821
67822
67823
67824
67825
67826
67827
67828
67829
67830
67831
67832
67833
67834
67835
67836
67837
67838
67839
67840
67841
67842
67843
67844
67845
67846
67847
67848
67849
67850
67851
67852
67853
67854
67855
67856
67857
67858
67859
67860
67861
67862
67863
67864
67865
67866
67867
67868
67869
67870
67871
67872
67873
67874
67875
67876
67877
67878
67879
67880
67881
67882
67883
67884
67885
67886
67887
67888
67889
67890
67891
67892
67893
67894
67895
67896
67897
67898
67899
67900
67901
67902
67903
67904
67905
67906
67907
67908
67909
67910
67911
67912
67913
67914
67915
67916
67917
67918
67919
67920
67921
67922
67923
67924
67925
67926
67927
67928
67929
67930
67931
67932
67933
67934
67935
67936
67937
67938
67939
67940
67941
67942
67943
67944
67945
67946
67947
67948
67949
67950
67951
67952
67953
67954
67955
67956
67957
67958
67959
67960
67961
67962
67963
67964
67965
67966
67967
67968
67969
67970
67971
67972
67973
67974
67975
67976
67977
67978
67979
67980
67981
67982
67983
67984
67985
67986
67987
67988
67989
67990
67991
67992
67993
67994
67995
67996
67997
67998
67999
68000
68001
68002
68003
68004
68005
68006
68007
68008
68009
68010
68011
68012
68013
68014
68015
68016
68017
68018
68019
68020
68021
68022
68023
68024
68025
68026
68027
68028
68029
68030
68031
68032
68033
68034
68035
68036
68037
68038
68039
68040
68041
68042
68043
68044
68045
68046
68047
68048
68049
68050
68051
68052
68053
68054
68055
68056
68057
68058
68059
68060
68061
68062
68063
68064
68065
68066
68067
68068
68069
68070
68071
68072
68073
68074
68075
68076
68077
68078
68079
68080
68081
68082
68083
68084
68085
68086
68087
68088
68089
68090
68091
68092
68093
68094
68095
68096
68097
68098
68099
68100
68101
68102
68103
68104
68105
68106
68107
68108
68109
68110
68111
68112
68113
68114
68115
68116
68117
68118
68119
68120
68121
68122
68123
68124
68125
68126
68127
68128
68129
68130
68131
68132
68133
68134
68135
68136
68137
68138
68139
68140
68141
68142
68143
68144
68145
68146
68147
68148
68149
68150
68151
68152
68153
68154
68155
68156
68157
68158
68159
68160
68161
68162
68163
68164
68165
68166
68167
68168
68169
68170
68171
68172
68173
68174
68175
68176
68177
68178
68179
68180
68181
68182
68183
68184
68185
68186
68187
68188
68189
68190
68191
68192
68193
68194
68195
68196
68197
68198
68199
68200
68201
68202
68203
68204
68205
68206
68207
68208
68209
68210
68211
68212
68213
68214
68215
68216
68217
68218
68219
68220
68221
68222
68223
68224
68225
68226
68227
68228
68229
68230
68231
68232
68233
68234
68235
68236
68237
68238
68239
68240
68241
68242
68243
68244
68245
68246
68247
68248
68249
68250
68251
68252
68253
68254
68255
68256
68257
68258
68259
68260
68261
68262
68263
68264
68265
68266
68267
68268
68269
68270
68271
68272
68273
68274
68275
68276
68277
68278
68279
68280
68281
68282
68283
68284
68285
68286
68287
68288
68289
68290
68291
68292
68293
68294
68295
68296
68297
68298
68299
68300
68301
68302
68303
68304
68305
68306
68307
68308
68309
68310
68311
68312
68313
68314
68315
68316
68317
68318
68319
68320
68321
68322
68323
68324
68325
68326
68327
68328
68329
68330
68331
68332
68333
68334
68335
68336
68337
68338
68339
68340
68341
68342
68343
68344
68345
68346
68347
68348
68349
68350
68351
68352
68353
68354
68355
68356
68357
68358
68359
68360
68361
68362
68363
68364
68365
68366
68367
68368
68369
68370
68371
68372
68373
68374
68375
68376
68377
68378
68379
68380
68381
68382
68383
68384
68385
68386
68387
68388
68389
68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
68411
68412
68413
68414
68415
68416
68417
68418
68419
68420
68421
68422
68423
68424
68425
68426
68427
68428
68429
68430
68431
68432
68433
68434
68435
68436
68437
68438
68439
68440
68441
68442
68443
68444
68445
68446
68447
68448
68449
68450
68451
68452
68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
68465
68466
68467
68468
68469
68470
68471
68472
68473
68474
68475
68476
68477
68478
68479
68480
68481
68482
68483
68484
68485
68486
68487
68488
68489
68490
68491
68492
68493
68494
68495
68496
68497
68498
68499
68500
68501
68502
68503
68504
68505
68506
68507
68508
68509
68510
68511
68512
68513
68514
68515
68516
68517
68518
68519
68520
68521
68522
68523
68524
68525
68526
68527
68528
68529
68530
68531
68532
68533
68534
68535
68536
68537
68538
68539
68540
68541
68542
68543
68544
68545
68546
68547
68548
68549
68550
68551
68552
68553
68554
68555
68556
68557
68558
68559
68560
68561
68562
68563
68564
68565
68566
68567
68568
68569
68570
68571
68572
68573
68574
68575
68576
68577
68578
68579
68580
68581
68582
68583
68584
68585
68586
68587
68588
68589
68590
68591
68592
68593
68594
68595
68596
68597
68598
68599
68600
68601
68602
68603
68604
68605
68606
68607
68608
68609
68610
68611
68612
68613
68614
68615
68616
68617
68618
68619
68620
68621
68622
68623
68624
68625
68626
68627
68628
68629
68630
68631
68632
68633
68634
68635
68636
68637
68638
68639
68640
68641
68642
68643
68644
68645
68646
68647
68648
68649
68650
68651
68652
68653
68654
68655
68656
68657
68658
68659
68660
68661
68662
68663
68664
68665
68666
68667
68668
68669
68670
68671
68672
68673
68674
68675
68676
68677
68678
68679
68680
68681
68682
68683
68684
68685
68686
68687
68688
68689
68690
68691
68692
68693
68694
68695
68696
68697
68698
68699
68700
68701
68702
68703
68704
68705
68706
68707
68708
68709
68710
68711
68712
68713
68714
68715
68716
68717
68718
68719
68720
68721
68722
68723
68724
68725
68726
68727
68728
68729
68730
68731
68732
68733
68734
68735
68736
68737
68738
68739
68740
68741
68742
68743
68744
68745
68746
68747
68748
68749
68750
68751
68752
68753
68754
68755
68756
68757
68758
68759
68760
68761
68762
68763
68764
68765
68766
68767
68768
68769
68770
68771
68772
68773
68774
68775
68776
68777
68778
68779
68780
68781
68782
68783
68784
68785
68786
68787
68788
68789
68790
68791
68792
68793
68794
68795
68796
68797
68798
68799
68800
68801
68802
68803
68804
68805
68806
68807
68808
68809
68810
68811
68812
68813
68814
68815
68816
68817
68818
68819
68820
68821
68822
68823
68824
68825
68826
68827
68828
68829
68830
68831
68832
68833
68834
68835
68836
68837
68838
68839
68840
68841
68842
68843
68844
68845
68846
68847
68848
68849
68850
68851
68852
68853
68854
68855
68856
68857
68858
68859
68860
68861
68862
68863
68864
68865
68866
68867
68868
68869
68870
68871
68872
68873
68874
68875
68876
68877
68878
68879
68880
68881
68882
68883
68884
68885
68886
68887
68888
68889
68890
68891
68892
68893
68894
68895
68896
68897
68898
68899
68900
68901
68902
68903
68904
68905
68906
68907
68908
68909
68910
68911
68912
68913
68914
68915
68916
68917
68918
68919
68920
68921
68922
68923
68924
68925
68926
68927
68928
68929
68930
68931
68932
68933
68934
68935
68936
68937
68938
68939
68940
68941
68942
68943
68944
68945
68946
68947
68948
68949
68950
68951
68952
68953
68954
68955
68956
68957
68958
68959
68960
68961
68962
68963
68964
68965
68966
68967
68968
68969
68970
68971
68972
68973
68974
68975
68976
68977
68978
68979
68980
68981
68982
68983
68984
68985
68986
68987
68988
68989
68990
68991
68992
68993
68994
68995
68996
68997
68998
68999
69000
69001
69002
69003
69004
69005
69006
69007
69008
69009
69010
69011
69012
69013
69014
69015
69016
69017
69018
69019
69020
69021
69022
69023
69024
69025
69026
69027
69028
69029
69030
69031
69032
69033
69034
69035
69036
69037
69038
69039
69040
69041
69042
69043
69044
69045
69046
69047
69048
69049
69050
69051
69052
69053
69054
69055
69056
69057
69058
69059
69060
69061
69062
69063
69064
69065
69066
69067
69068
69069
69070
69071
69072
69073
69074
69075
69076
69077
69078
69079
69080
69081
69082
69083
69084
69085
69086
69087
69088
69089
69090
69091
69092
69093
69094
69095
69096
69097
69098
69099
69100
69101
69102
69103
69104
69105
69106
69107
69108
69109
69110
69111
69112
69113
69114
69115
69116
69117
69118
69119
69120
69121
69122
69123
69124
69125
69126
69127
69128
69129
69130
69131
69132
69133
69134
69135
69136
69137
69138
69139
69140
69141
69142
69143
69144
69145
69146
69147
69148
69149
69150
69151
69152
69153
69154
69155
69156
69157
69158
69159
69160
69161
69162
69163
69164
69165
69166
69167
69168
69169
69170
69171
69172
69173
69174
69175
69176
69177
69178
69179
69180
69181
69182
69183
69184
69185
69186
69187
69188
69189
69190
69191
69192
69193
69194
69195
69196
69197
69198
69199
69200
69201
69202
69203
69204
69205
69206
69207
69208
69209
69210
69211
69212
69213
69214
69215
69216
69217
69218
69219
69220
69221
69222
69223
69224
69225
69226
69227
69228
69229
69230
69231
69232
69233
69234
69235
69236
69237
69238
69239
69240
69241
69242
69243
69244
69245
69246
69247
69248
69249
69250
69251
69252
69253
69254
69255
69256
69257
69258
69259
69260
69261
69262
69263
69264
69265
69266
69267
69268
69269
69270
69271
69272
69273
69274
69275
69276
69277
69278
69279
69280
69281
69282
69283
69284
69285
69286
69287
69288
69289
69290
69291
69292
69293
69294
69295
69296
69297
69298
69299
69300
69301
69302
69303
69304
69305
69306
69307
69308
69309
69310
69311
69312
69313
69314
69315
69316
69317
69318
69319
69320
69321
69322
69323
69324
69325
69326
69327
69328
69329
69330
69331
69332
69333
69334
69335
69336
69337
69338
69339
69340
69341
69342
69343
69344
69345
69346
69347
69348
69349
69350
69351
69352
69353
69354
69355
69356
69357
69358
69359
69360
69361
69362
69363
69364
69365
69366
69367
69368
69369
69370
69371
69372
69373
69374
69375
69376
69377
69378
69379
69380
69381
69382
69383
69384
69385
69386
69387
69388
69389
69390
69391
69392
69393
69394
69395
69396
69397
69398
69399
69400
69401
69402
69403
69404
69405
69406
69407
69408
69409
69410
69411
69412
69413
69414
69415
69416
69417
69418
69419
69420
69421
69422
69423
69424
69425
69426
69427
69428
69429
69430
69431
69432
69433
69434
69435
69436
69437
69438
69439
69440
69441
69442
69443
69444
69445
69446
69447
69448
69449
69450
69451
69452
69453
69454
69455
69456
69457
69458
69459
69460
69461
69462
69463
69464
69465
69466
69467
69468
69469
69470
69471
69472
69473
69474
69475
69476
69477
69478
69479
69480
69481
69482
69483
69484
69485
69486
69487
69488
69489
69490
69491
69492
69493
69494
69495
69496
69497
69498
69499
69500
69501
69502
69503
69504
69505
69506
69507
69508
69509
69510
69511
69512
69513
69514
69515
69516
69517
69518
69519
69520
69521
69522
69523
69524
69525
69526
69527
69528
69529
69530
69531
69532
69533
69534
69535
69536
69537
69538
69539
69540
69541
69542
69543
69544
69545
69546
69547
69548
69549
69550
69551
69552
69553
69554
69555
69556
69557
69558
69559
69560
69561
69562
69563
69564
69565
69566
69567
69568
69569
69570
69571
69572
69573
69574
69575
69576
69577
69578
69579
69580
69581
69582
69583
69584
69585
69586
69587
69588
69589
69590
69591
69592
69593
69594
69595
69596
69597
69598
69599
69600
69601
69602
69603
69604
69605
69606
69607
69608
69609
69610
69611
69612
69613
69614
69615
69616
69617
69618
69619
69620
69621
69622
69623
69624
69625
69626
69627
69628
69629
69630
69631
69632
69633
69634
69635
69636
69637
69638
69639
69640
69641
69642
69643
69644
69645
69646
69647
69648
69649
69650
69651
69652
69653
69654
69655
69656
69657
69658
69659
69660
69661
69662
69663
69664
69665
69666
69667
69668
69669
69670
69671
69672
69673
69674
69675
69676
69677
69678
69679
69680
69681
69682
69683
69684
69685
69686
69687
69688
69689
69690
69691
69692
69693
69694
69695
69696
69697
69698
69699
69700
69701
69702
69703
69704
69705
69706
69707
69708
69709
69710
69711
69712
69713
69714
69715
69716
69717
69718
69719
69720
69721
69722
69723
69724
69725
69726
69727
69728
69729
69730
69731
69732
69733
69734
69735
69736
69737
69738
69739
69740
69741
69742
69743
69744
69745
69746
69747
69748
69749
69750
69751
69752
69753
69754
69755
69756
69757
69758
69759
69760
69761
69762
69763
69764
69765
69766
69767
69768
69769
69770
69771
69772
69773
69774
69775
69776
69777
69778
69779
69780
69781
69782
69783
69784
69785
69786
69787
69788
69789
69790
69791
69792
69793
69794
69795
69796
69797
69798
69799
69800
69801
69802
69803
69804
69805
69806
69807
69808
69809
69810
69811
69812
69813
69814
69815
69816
69817
69818
69819
69820
69821
69822
69823
69824
69825
69826
69827
69828
69829
69830
69831
69832
69833
69834
69835
69836
69837
69838
69839
69840
69841
69842
69843
69844
69845
69846
69847
69848
69849
69850
69851
69852
69853
69854
69855
69856
69857
69858
69859
69860
69861
69862
69863
69864
69865
69866
69867
69868
69869
69870
69871
69872
69873
69874
69875
69876
69877
69878
69879
69880
69881
69882
69883
69884
69885
69886
69887
69888
69889
69890
69891
69892
69893
69894
69895
69896
69897
69898
69899
69900
69901
69902
69903
69904
69905
69906
69907
69908
69909
69910
69911
69912
69913
69914
69915
69916
69917
69918
69919
69920
69921
69922
69923
69924
69925
69926
69927
69928
69929
69930
69931
69932
69933
69934
69935
69936
69937
69938
69939
69940
69941
69942
69943
69944
69945
69946
69947
69948
69949
69950
69951
69952
69953
69954
69955
69956
69957
69958
69959
69960
69961
69962
69963
69964
69965
69966
69967
69968
69969
69970
69971
69972
69973
69974
69975
69976
69977
69978
69979
69980
69981
69982
69983
69984
69985
69986
69987
69988
69989
69990
69991
69992
69993
69994
69995
69996
69997
69998
69999
70000
70001
70002
70003
70004
70005
70006
70007
70008
70009
70010
70011
70012
70013
70014
70015
70016
70017
70018
70019
70020
70021
70022
70023
70024
70025
70026
70027
70028
70029
70030
70031
70032
70033
70034
70035
70036
70037
70038
70039
70040
70041
70042
70043
70044
70045
70046
70047
70048
70049
70050
70051
70052
70053
70054
70055
70056
70057
70058
70059
70060
70061
70062
70063
70064
70065
70066
70067
70068
70069
70070
70071
70072
70073
70074
70075
70076
70077
70078
70079
70080
70081
70082
70083
70084
70085
70086
70087
70088
70089
70090
70091
70092
70093
70094
70095
70096
70097
70098
70099
70100
70101
70102
70103
70104
70105
70106
70107
70108
70109
70110
70111
70112
70113
70114
70115
70116
70117
70118
70119
70120
70121
70122
70123
70124
70125
70126
70127
70128
70129
70130
70131
70132
70133
70134
70135
70136
70137
70138
70139
70140
70141
70142
70143
70144
70145
70146
70147
70148
70149
70150
70151
70152
70153
70154
70155
70156
70157
70158
70159
70160
70161
70162
70163
70164
70165
70166
70167
70168
70169
70170
70171
70172
70173
70174
70175
70176
70177
70178
70179
70180
70181
70182
70183
70184
70185
70186
70187
70188
70189
70190
70191
70192
70193
70194
70195
70196
70197
70198
70199
70200
70201
70202
70203
70204
70205
70206
70207
70208
70209
70210
70211
70212
70213
70214
70215
70216
70217
70218
70219
70220
70221
70222
70223
70224
70225
70226
70227
70228
70229
70230
70231
70232
70233
70234
70235
70236
70237
70238
70239
70240
70241
70242
70243
70244
70245
70246
70247
70248
70249
70250
70251
70252
70253
70254
70255
70256
70257
70258
70259
70260
70261
70262
70263
70264
70265
70266
70267
70268
70269
70270
70271
70272
70273
70274
70275
70276
70277
70278
70279
70280
70281
70282
70283
70284
70285
70286
70287
70288
70289
70290
70291
70292
70293
70294
70295
70296
70297
70298
70299
70300
70301
70302
70303
70304
70305
70306
70307
70308
70309
70310
70311
70312
70313
70314
70315
70316
70317
70318
70319
70320
70321
70322
70323
70324
70325
70326
70327
70328
70329
70330
70331
70332
70333
70334
70335
70336
70337
70338
70339
70340
70341
70342
70343
70344
70345
70346
70347
70348
70349
70350
70351
70352
70353
70354
70355
70356
70357
70358
70359
70360
70361
70362
70363
70364
70365
70366
70367
70368
70369
70370
70371
70372
70373
70374
70375
70376
70377
70378
70379
70380
70381
70382
70383
70384
70385
70386
70387
70388
70389
70390
70391
70392
70393
70394
70395
70396
70397
70398
70399
70400
70401
70402
70403
70404
70405
70406
70407
70408
70409
70410
70411
70412
70413
70414
70415
70416
70417
70418
70419
70420
70421
70422
70423
70424
70425
70426
70427
70428
70429
70430
70431
70432
70433
70434
70435
70436
70437
70438
70439
70440
70441
70442
70443
70444
70445
70446
70447
70448
70449
70450
70451
70452
70453
70454
70455
70456
70457
70458
70459
70460
70461
70462
70463
70464
70465
70466
70467
70468
70469
70470
70471
70472
70473
70474
70475
70476
70477
70478
70479
70480
70481
70482
70483
70484
70485
70486
70487
70488
70489
70490
70491
70492
70493
70494
70495
70496
70497
70498
70499
70500
70501
70502
70503
70504
70505
70506
70507
70508
70509
70510
70511
70512
70513
70514
70515
70516
70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
70527
70528
70529
70530
70531
70532
70533
70534
70535
70536
70537
70538
70539
70540
70541
70542
70543
70544
70545
70546
70547
70548
70549
70550
70551
70552
70553
70554
70555
70556
70557
70558
70559
70560
70561
70562
70563
70564
70565
70566
70567
70568
70569
70570
70571
70572
70573
70574
70575
70576
70577
70578
70579
70580
70581
70582
70583
70584
70585
70586
70587
70588
70589
70590
70591
70592
70593
70594
70595
70596
70597
70598
70599
70600
70601
70602
70603
70604
70605
70606
70607
70608
70609
70610
70611
70612
70613
70614
70615
70616
70617
70618
70619
70620
70621
70622
70623
70624
70625
70626
70627
70628
70629
70630
70631
70632
70633
70634
70635
70636
70637
70638
70639
70640
70641
70642
70643
70644
70645
70646
70647
70648
70649
70650
70651
70652
70653
70654
70655
70656
70657
70658
70659
70660
70661
70662
70663
70664
70665
70666
70667
70668
70669
70670
70671
70672
70673
70674
70675
70676
70677
70678
70679
70680
70681
70682
70683
70684
70685
70686
70687
70688
70689
70690
70691
70692
70693
70694
70695
70696
70697
70698
70699
70700
70701
70702
70703
70704
70705
70706
70707
70708
70709
70710
70711
70712
70713
70714
70715
70716
70717
70718
70719
70720
70721
70722
70723
70724
70725
70726
70727
70728
70729
70730
70731
70732
70733
70734
70735
70736
70737
70738
70739
70740
70741
70742
70743
70744
70745
70746
70747
70748
70749
70750
70751
70752
70753
70754
70755
70756
70757
70758
70759
70760
70761
70762
70763
70764
70765
70766
70767
70768
70769
70770
70771
70772
70773
70774
70775
70776
70777
70778
70779
70780
70781
70782
70783
70784
70785
70786
70787
70788
70789
70790
70791
70792
70793
70794
70795
70796
70797
70798
70799
70800
70801
70802
70803
70804
70805
70806
70807
70808
70809
70810
70811
70812
70813
70814
70815
70816
70817
70818
70819
70820
70821
70822
70823
70824
70825
70826
70827
70828
70829
70830
70831
70832
70833
70834
70835
70836
70837
70838
70839
70840
70841
70842
70843
70844
70845
70846
70847
70848
70849
70850
70851
70852
70853
70854
70855
70856
70857
70858
70859
70860
70861
70862
70863
70864
70865
70866
70867
70868
70869
70870
70871
70872
70873
70874
70875
70876
70877
70878
70879
70880
70881
70882
70883
70884
70885
70886
70887
70888
70889
70890
70891
70892
70893
70894
70895
70896
70897
70898
70899
70900
70901
70902
70903
70904
70905
70906
70907
70908
70909
70910
70911
70912
70913
70914
70915
70916
70917
70918
70919
70920
70921
70922
70923
70924
70925
70926
70927
70928
70929
70930
70931
70932
70933
70934
70935
70936
70937
70938
70939
70940
70941
70942
70943
70944
70945
70946
70947
70948
70949
70950
70951
70952
70953
70954
70955
70956
70957
70958
70959
70960
70961
70962
70963
70964
70965
70966
70967
70968
70969
70970
70971
70972
70973
70974
70975
70976
70977
70978
70979
70980
70981
70982
70983
70984
70985
70986
70987
70988
70989
70990
70991
70992
70993
70994
70995
70996
70997
70998
70999
71000
71001
71002
71003
71004
71005
71006
71007
71008
71009
71010
71011
71012
71013
71014
71015
71016
71017
71018
71019
71020
71021
71022
71023
71024
71025
71026
71027
71028
71029
71030
71031
71032
71033
71034
71035
71036
71037
71038
71039
71040
71041
71042
71043
71044
71045
71046
71047
71048
71049
71050
71051
71052
71053
71054
71055
71056
71057
71058
71059
71060
71061
71062
71063
71064
71065
71066
71067
71068
71069
71070
71071
71072
71073
71074
71075
71076
71077
71078
71079
71080
71081
71082
71083
71084
71085
71086
71087
71088
71089
71090
71091
71092
71093
71094
71095
71096
71097
71098
71099
71100
71101
71102
71103
71104
71105
71106
71107
71108
71109
71110
71111
71112
71113
71114
71115
71116
71117
71118
71119
71120
71121
71122
71123
71124
71125
71126
71127
71128
71129
71130
71131
71132
71133
71134
71135
71136
71137
71138
71139
71140
71141
71142
71143
71144
71145
71146
71147
71148
71149
71150
71151
71152
71153
71154
71155
71156
71157
71158
71159
71160
71161
71162
71163
71164
71165
71166
71167
71168
71169
71170
71171
71172
71173
71174
71175
71176
71177
71178
71179
71180
71181
71182
71183
71184
71185
71186
71187
71188
71189
71190
71191
71192
71193
71194
71195
71196
71197
71198
71199
71200
71201
71202
71203
71204
71205
71206
71207
71208
71209
71210
71211
71212
71213
71214
71215
71216
71217
71218
71219
71220
71221
71222
71223
71224
71225
71226
71227
71228
71229
71230
71231
71232
71233
71234
71235
71236
71237
71238
71239
71240
71241
71242
71243
71244
71245
71246
71247
71248
71249
71250
71251
71252
71253
71254
71255
71256
71257
71258
71259
71260
71261
71262
71263
71264
71265
71266
71267
71268
71269
71270
71271
71272
71273
71274
71275
71276
71277
71278
71279
71280
71281
71282
71283
71284
71285
71286
71287
71288
71289
71290
71291
71292
71293
71294
71295
71296
71297
71298
71299
71300
71301
71302
71303
71304
71305
71306
71307
71308
71309
71310
71311
71312
71313
71314
71315
71316
71317
71318
71319
71320
71321
71322
71323
71324
71325
71326
71327
71328
71329
71330
71331
71332
71333
71334
71335
71336
71337
71338
71339
71340
71341
71342
71343
71344
71345
71346
71347
71348
71349
71350
71351
71352
71353
71354
71355
71356
71357
71358
71359
71360
71361
71362
71363
71364
71365
71366
71367
71368
71369
71370
71371
71372
71373
71374
71375
71376
71377
71378
71379
71380
71381
71382
71383
71384
71385
71386
71387
71388
71389
71390
71391
71392
71393
71394
71395
71396
71397
71398
71399
71400
71401
71402
71403
71404
71405
71406
71407
71408
71409
71410
71411
71412
71413
71414
71415
71416
71417
71418
71419
71420
71421
71422
71423
71424
71425
71426
71427
71428
71429
71430
71431
71432
71433
71434
71435
71436
71437
71438
71439
71440
71441
71442
71443
71444
71445
71446
71447
71448
71449
71450
71451
71452
71453
71454
71455
71456
71457
71458
71459
71460
71461
71462
71463
71464
71465
71466
71467
71468
71469
71470
71471
71472
71473
71474
71475
71476
71477
71478
71479
71480
71481
71482
71483
71484
71485
71486
71487
71488
71489
71490
71491
71492
71493
71494
71495
71496
71497
71498
71499
71500
71501
71502
71503
71504
71505
71506
71507
71508
71509
71510
71511
71512
71513
71514
71515
71516
71517
71518
71519
71520
71521
71522
71523
71524
71525
71526
71527
71528
71529
71530
71531
71532
71533
71534
71535
71536
71537
71538
71539
71540
71541
71542
71543
71544
71545
71546
71547
71548
71549
71550
71551
71552
71553
71554
71555
71556
71557
71558
71559
71560
71561
71562
71563
71564
71565
71566
71567
71568
71569
71570
71571
71572
71573
71574
71575
71576
71577
71578
71579
71580
71581
71582
71583
71584
71585
71586
71587
71588
71589
71590
71591
71592
71593
71594
71595
71596
71597
71598
71599
71600
71601
71602
71603
71604
71605
71606
71607
71608
71609
71610
71611
71612
71613
71614
71615
71616
71617
71618
71619
71620
71621
71622
71623
71624
71625
71626
71627
71628
71629
71630
71631
71632
71633
71634
71635
71636
71637
71638
71639
71640
71641
71642
71643
71644
71645
71646
71647
71648
71649
71650
71651
71652
71653
71654
71655
71656
71657
71658
71659
71660
71661
71662
71663
71664
71665
71666
71667
71668
71669
71670
71671
71672
71673
71674
71675
71676
71677
71678
71679
71680
71681
71682
71683
71684
71685
71686
71687
71688
71689
71690
71691
71692
71693
71694
71695
71696
71697
71698
71699
71700
71701
71702
71703
71704
71705
71706
71707
71708
71709
71710
71711
71712
71713
71714
71715
71716
71717
71718
71719
71720
71721
71722
71723
71724
71725
71726
71727
71728
71729
71730
71731
71732
71733
71734
71735
71736
71737
71738
71739
71740
71741
71742
71743
71744
71745
71746
71747
71748
71749
71750
71751
71752
71753
71754
71755
71756
71757
71758
71759
71760
71761
71762
71763
71764
71765
71766
71767
71768
71769
71770
71771
71772
71773
71774
71775
71776
71777
71778
71779
71780
71781
71782
71783
71784
71785
71786
71787
71788
71789
71790
71791
71792
71793
71794
71795
71796
71797
71798
71799
71800
71801
71802
71803
71804
71805
71806
71807
71808
71809
71810
71811
71812
71813
71814
71815
71816
71817
71818
71819
71820
71821
71822
71823
71824
71825
71826
71827
71828
71829
71830
71831
71832
71833
71834
71835
71836
71837
71838
71839
71840
71841
71842
71843
71844
71845
71846
71847
71848
71849
71850
71851
71852
71853
71854
71855
71856
71857
71858
71859
71860
71861
71862
71863
71864
71865
71866
71867
71868
71869
71870
71871
71872
71873
71874
71875
71876
71877
71878
71879
71880
71881
71882
71883
71884
71885
71886
71887
71888
71889
71890
71891
71892
71893
71894
71895
71896
71897
71898
71899
71900
71901
71902
71903
71904
71905
71906
71907
71908
71909
71910
71911
71912
71913
71914
71915
71916
71917
71918
71919
71920
71921
71922
71923
71924
71925
71926
71927
71928
71929
71930
71931
71932
71933
71934
71935
71936
71937
71938
71939
71940
71941
71942
71943
71944
71945
71946
71947
71948
71949
71950
71951
71952
71953
71954
71955
71956
71957
71958
71959
71960
71961
71962
71963
71964
71965
71966
71967
71968
71969
71970
71971
71972
71973
71974
71975
71976
71977
71978
71979
71980
71981
71982
71983
71984
71985
71986
71987
71988
71989
71990
71991
71992
71993
71994
71995
71996
71997
71998
71999
72000
72001
72002
72003
72004
72005
72006
72007
72008
72009
72010
72011
72012
72013
72014
72015
72016
72017
72018
72019
72020
72021
72022
72023
72024
72025
72026
72027
72028
72029
72030
72031
72032
72033
72034
72035
72036
72037
72038
72039
72040
72041
72042
72043
72044
72045
72046
72047
72048
72049
72050
72051
72052
72053
72054
72055
72056
72057
72058
72059
72060
72061
72062
72063
72064
72065
72066
72067
72068
72069
72070
72071
72072
72073
72074
72075
72076
72077
72078
72079
72080
72081
72082
72083
72084
72085
72086
72087
72088
72089
72090
72091
72092
72093
72094
72095
72096
72097
72098
72099
72100
72101
72102
72103
72104
72105
72106
72107
72108
72109
72110
72111
72112
72113
72114
72115
72116
72117
72118
72119
72120
72121
72122
72123
72124
72125
72126
72127
72128
72129
72130
72131
72132
72133
72134
72135
72136
72137
72138
72139
72140
72141
72142
72143
72144
72145
72146
72147
72148
72149
72150
72151
72152
72153
72154
72155
72156
72157
72158
72159
72160
72161
72162
72163
72164
72165
72166
72167
72168
72169
72170
72171
72172
72173
72174
72175
72176
72177
72178
72179
72180
72181
72182
72183
72184
72185
72186
72187
72188
72189
72190
72191
72192
72193
72194
72195
72196
72197
72198
72199
72200
72201
72202
72203
72204
72205
72206
72207
72208
72209
72210
72211
72212
72213
72214
72215
72216
72217
72218
72219
72220
72221
72222
72223
72224
72225
72226
72227
72228
72229
72230
72231
72232
72233
72234
72235
72236
72237
72238
72239
72240
72241
72242
72243
72244
72245
72246
72247
72248
72249
72250
72251
72252
72253
72254
72255
72256
72257
72258
72259
72260
72261
72262
72263
72264
72265
72266
72267
72268
72269
72270
72271
72272
72273
72274
72275
72276
72277
72278
72279
72280
72281
72282
72283
72284
72285
72286
72287
72288
72289
72290
72291
72292
72293
72294
72295
72296
72297
72298
72299
72300
72301
72302
72303
72304
72305
72306
72307
72308
72309
72310
72311
72312
72313
72314
72315
72316
72317
72318
72319
72320
72321
72322
72323
72324
72325
72326
72327
72328
72329
72330
72331
72332
72333
72334
72335
72336
72337
72338
72339
72340
72341
72342
72343
72344
72345
72346
72347
72348
72349
72350
72351
72352
72353
72354
72355
72356
72357
72358
72359
72360
72361
72362
72363
72364
72365
72366
72367
72368
72369
72370
72371
72372
72373
72374
72375
72376
72377
72378
72379
72380
72381
72382
72383
72384
72385
72386
72387
72388
72389
72390
72391
72392
72393
72394
72395
72396
72397
72398
72399
72400
72401
72402
72403
72404
72405
72406
72407
72408
72409
72410
72411
72412
72413
72414
72415
72416
72417
72418
72419
72420
72421
72422
72423
72424
72425
72426
72427
72428
72429
72430
72431
72432
72433
72434
72435
72436
72437
72438
72439
72440
72441
72442
72443
72444
72445
72446
72447
72448
72449
72450
72451
72452
72453
72454
72455
72456
72457
72458
72459
72460
72461
72462
72463
72464
72465
72466
72467
72468
72469
72470
72471
72472
72473
72474
72475
72476
72477
72478
72479
72480
72481
72482
72483
72484
72485
72486
72487
72488
72489
72490
72491
72492
72493
72494
72495
72496
72497
72498
72499
72500
72501
72502
72503
72504
72505
72506
72507
72508
72509
72510
72511
72512
72513
72514
72515
72516
72517
72518
72519
72520
72521
72522
72523
72524
72525
72526
72527
72528
72529
72530
72531
72532
72533
72534
72535
72536
72537
72538
72539
72540
72541
72542
72543
72544
72545
72546
72547
72548
72549
72550
72551
72552
72553
72554
72555
72556
72557
72558
72559
72560
72561
72562
72563
72564
72565
72566
72567
72568
72569
72570
72571
72572
72573
72574
72575
72576
72577
72578
72579
72580
72581
72582
72583
72584
72585
72586
72587
72588
72589
72590
72591
72592
72593
72594
72595
72596
72597
72598
72599
72600
72601
72602
72603
72604
72605
72606
72607
72608
72609
72610
72611
72612
72613
72614
72615
72616
72617
72618
72619
72620
72621
72622
72623
72624
72625
72626
72627
72628
72629
72630
72631
72632
72633
72634
72635
72636
72637
72638
72639
72640
72641
72642
72643
72644
72645
72646
72647
72648
72649
72650
72651
72652
72653
72654
72655
72656
72657
72658
72659
72660
72661
72662
72663
72664
72665
72666
72667
72668
72669
72670
72671
72672
72673
72674
72675
72676
72677
72678
72679
72680
72681
72682
72683
72684
72685
72686
72687
72688
72689
72690
72691
72692
72693
72694
72695
72696
72697
72698
72699
72700
72701
72702
72703
72704
72705
72706
72707
72708
72709
72710
72711
72712
72713
72714
72715
72716
72717
72718
72719
72720
72721
72722
72723
72724
72725
72726
72727
72728
72729
72730
72731
72732
72733
72734
72735
72736
72737
72738
72739
72740
72741
72742
72743
72744
72745
72746
72747
72748
72749
72750
72751
72752
72753
72754
72755
72756
72757
72758
72759
72760
72761
72762
72763
72764
72765
72766
72767
72768
72769
72770
72771
72772
72773
72774
72775
72776
72777
72778
72779
72780
72781
72782
72783
72784
72785
72786
72787
72788
72789
72790
72791
72792
72793
72794
72795
72796
72797
72798
72799
72800
72801
72802
72803
72804
72805
72806
72807
72808
72809
72810
72811
72812
72813
72814
72815
72816
72817
72818
72819
72820
72821
72822
72823
72824
72825
72826
72827
72828
72829
72830
72831
72832
72833
72834
72835
72836
72837
72838
72839
72840
72841
72842
72843
72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
72857
72858
72859
72860
72861
72862
72863
72864
72865
72866
72867
72868
72869
72870
72871
72872
72873
72874
72875
72876
72877
72878
72879
72880
72881
72882
72883
72884
72885
72886
72887
72888
72889
72890
72891
72892
72893
72894
72895
72896
72897
72898
72899
72900
72901
72902
72903
72904
72905
72906
72907
72908
72909
72910
72911
72912
72913
72914
72915
72916
72917
72918
72919
72920
72921
72922
72923
72924
72925
72926
72927
72928
72929
72930
72931
72932
72933
72934
72935
72936
72937
72938
72939
72940
72941
72942
72943
72944
72945
72946
72947
72948
72949
72950
72951
72952
72953
72954
72955
72956
72957
72958
72959
72960
72961
72962
72963
72964
72965
72966
72967
72968
72969
72970
72971
72972
72973
72974
72975
72976
72977
72978
72979
72980
72981
72982
72983
72984
72985
72986
72987
72988
72989
72990
72991
72992
72993
72994
72995
72996
72997
72998
72999
73000
73001
73002
73003
73004
73005
73006
73007
73008
73009
73010
73011
73012
73013
73014
73015
73016
73017
73018
73019
73020
73021
73022
73023
73024
73025
73026
73027
73028
73029
73030
73031
73032
73033
73034
73035
73036
73037
73038
73039
73040
73041
73042
73043
73044
73045
73046
73047
73048
73049
73050
73051
73052
73053
73054
73055
73056
73057
73058
73059
73060
73061
73062
73063
73064
73065
73066
73067
73068
73069
73070
73071
73072
73073
73074
73075
73076
73077
73078
73079
73080
73081
73082
73083
73084
73085
73086
73087
73088
73089
73090
73091
73092
73093
73094
73095
73096
73097
73098
73099
73100
73101
73102
73103
73104
73105
73106
73107
73108
73109
73110
73111
73112
73113
73114
73115
73116
73117
73118
73119
73120
73121
73122
73123
73124
73125
73126
73127
73128
73129
73130
73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
73141
73142
73143
73144
73145
73146
73147
73148
73149
73150
73151
73152
73153
73154
73155
73156
73157
73158
73159
73160
73161
73162
73163
73164
73165
73166
73167
73168
73169
73170
73171
73172
73173
73174
73175
73176
73177
73178
73179
73180
73181
73182
73183
73184
73185
73186
73187
73188
73189
73190
73191
73192
73193
73194
73195
73196
73197
73198
73199
73200
73201
73202
73203
73204
73205
73206
73207
73208
73209
73210
73211
73212
73213
73214
73215
73216
73217
73218
73219
73220
73221
73222
73223
73224
73225
73226
73227
73228
73229
73230
73231
73232
73233
73234
73235
73236
73237
73238
73239
73240
73241
73242
73243
73244
73245
73246
73247
73248
73249
73250
73251
73252
73253
73254
73255
73256
73257
73258
73259
73260
73261
73262
73263
73264
73265
73266
73267
73268
73269
73270
73271
73272
73273
73274
73275
73276
73277
73278
73279
73280
73281
73282
73283
73284
73285
73286
73287
73288
73289
73290
73291
73292
73293
73294
73295
73296
73297
73298
73299
73300
73301
73302
73303
73304
73305
73306
73307
73308
73309
73310
73311
73312
73313
73314
73315
73316
73317
73318
73319
73320
73321
73322
73323
73324
73325
73326
73327
73328
73329
73330
73331
73332
73333
73334
73335
73336
73337
73338
73339
73340
73341
73342
73343
73344
73345
73346
73347
73348
73349
73350
73351
73352
73353
73354
73355
73356
73357
73358
73359
73360
73361
73362
73363
73364
73365
73366
73367
73368
73369
73370
73371
73372
73373
73374
73375
73376
73377
73378
73379
73380
73381
73382
73383
73384
73385
73386
73387
73388
73389
73390
73391
73392
73393
73394
73395
73396
73397
73398
73399
73400
73401
73402
73403
73404
73405
73406
73407
73408
73409
73410
73411
73412
73413
73414
73415
73416
73417
73418
73419
73420
73421
73422
73423
73424
73425
73426
73427
73428
73429
73430
73431
73432
73433
73434
73435
73436
73437
73438
73439
73440
73441
73442
73443
73444
73445
73446
73447
73448
73449
73450
73451
73452
73453
73454
73455
73456
73457
73458
73459
73460
73461
73462
73463
73464
73465
73466
73467
73468
73469
73470
73471
73472
73473
73474
73475
73476
73477
73478
73479
73480
73481
73482
73483
73484
73485
73486
73487
73488
73489
73490
73491
73492
73493
73494
73495
73496
73497
73498
73499
73500
73501
73502
73503
73504
73505
73506
73507
73508
73509
73510
73511
73512
73513
73514
73515
73516
73517
73518
73519
73520
73521
73522
73523
73524
73525
73526
73527
73528
73529
73530
73531
73532
73533
73534
73535
73536
73537
73538
73539
73540
73541
73542
73543
73544
73545
73546
73547
73548
73549
73550
73551
73552
73553
73554
73555
73556
73557
73558
73559
73560
73561
73562
73563
73564
73565
73566
73567
73568
73569
73570
73571
73572
73573
73574
73575
73576
73577
73578
73579
73580
73581
73582
73583
73584
73585
73586
73587
73588
73589
73590
73591
73592
73593
73594
73595
73596
73597
73598
73599
73600
73601
73602
73603
73604
73605
73606
73607
73608
73609
73610
73611
73612
73613
73614
73615
73616
73617
73618
73619
73620
73621
73622
73623
73624
73625
73626
73627
73628
73629
73630
73631
73632
73633
73634
73635
73636
73637
73638
73639
73640
73641
73642
73643
73644
73645
73646
73647
73648
73649
73650
73651
73652
73653
73654
73655
73656
73657
73658
73659
73660
73661
73662
73663
73664
73665
73666
73667
73668
73669
73670
73671
73672
73673
73674
73675
73676
73677
73678
73679
73680
73681
73682
73683
73684
73685
73686
73687
73688
73689
73690
73691
73692
73693
73694
73695
73696
73697
73698
73699
73700
73701
73702
73703
73704
73705
73706
73707
73708
73709
73710
73711
73712
73713
73714
73715
73716
73717
73718
73719
73720
73721
73722
73723
73724
73725
73726
73727
73728
73729
73730
73731
73732
73733
73734
73735
73736
73737
73738
73739
73740
73741
73742
73743
73744
73745
73746
73747
73748
73749
73750
73751
73752
73753
73754
73755
73756
73757
73758
73759
73760
73761
73762
73763
73764
73765
73766
73767
73768
73769
73770
73771
73772
73773
73774
73775
73776
73777
73778
73779
73780
73781
73782
73783
73784
73785
73786
73787
73788
73789
73790
73791
73792
73793
73794
73795
73796
73797
73798
73799
73800
73801
73802
73803
73804
73805
73806
73807
73808
73809
73810
73811
73812
73813
73814
73815
73816
73817
73818
73819
73820
73821
73822
73823
73824
73825
73826
73827
73828
73829
73830
73831
73832
73833
73834
73835
73836
73837
73838
73839
73840
73841
73842
73843
73844
73845
73846
73847
73848
73849
73850
73851
73852
73853
73854
73855
73856
73857
73858
73859
73860
73861
73862
73863
73864
73865
73866
73867
73868
73869
73870
73871
73872
73873
73874
73875
73876
73877
73878
73879
73880
73881
73882
73883
73884
73885
73886
73887
73888
73889
73890
73891
73892
73893
73894
73895
73896
73897
73898
73899
73900
73901
73902
73903
73904
73905
73906
73907
73908
73909
73910
73911
73912
73913
73914
73915
73916
73917
73918
73919
73920
73921
73922
73923
73924
73925
73926
73927
73928
73929
73930
73931
73932
73933
73934
73935
73936
73937
73938
73939
73940
73941
73942
73943
73944
73945
73946
73947
73948
73949
73950
73951
73952
73953
73954
73955
73956
73957
73958
73959
73960
73961
73962
73963
73964
73965
73966
73967
73968
73969
73970
73971
73972
73973
73974
73975
73976
73977
73978
73979
73980
73981
73982
73983
73984
73985
73986
73987
73988
73989
73990
73991
73992
73993
73994
73995
73996
73997
73998
73999
74000
74001
74002
74003
74004
74005
74006
74007
74008
74009
74010
74011
74012
74013
74014
74015
74016
74017
74018
74019
74020
74021
74022
74023
74024
74025
74026
74027
74028
74029
74030
74031
74032
74033
74034
74035
74036
74037
74038
74039
74040
74041
74042
74043
74044
74045
74046
74047
74048
74049
74050
74051
74052
74053
74054
74055
74056
74057
74058
74059
74060
74061
74062
74063
74064
74065
74066
74067
74068
74069
74070
74071
74072
74073
74074
74075
74076
74077
74078
74079
74080
74081
74082
74083
74084
74085
74086
74087
74088
74089
74090
74091
74092
74093
74094
74095
74096
74097
74098
74099
74100
74101
74102
74103
74104
74105
74106
74107
74108
74109
74110
74111
74112
74113
74114
74115
74116
74117
74118
74119
74120
74121
74122
74123
74124
74125
74126
74127
74128
74129
74130
74131
74132
74133
74134
74135
74136
74137
74138
74139
74140
74141
74142
74143
74144
74145
74146
74147
74148
74149
74150
74151
74152
74153
74154
74155
74156
74157
74158
74159
74160
74161
74162
74163
74164
74165
74166
74167
74168
74169
74170
74171
74172
74173
74174
74175
74176
74177
74178
74179
74180
74181
74182
74183
74184
74185
74186
74187
74188
74189
74190
74191
74192
74193
74194
74195
74196
74197
74198
74199
74200
74201
74202
74203
74204
74205
74206
74207
74208
74209
74210
74211
74212
74213
74214
74215
74216
74217
74218
74219
74220
74221
74222
74223
74224
74225
74226
74227
74228
74229
74230
74231
74232
74233
74234
74235
74236
74237
74238
74239
74240
74241
74242
74243
74244
74245
74246
74247
74248
74249
74250
74251
74252
74253
74254
74255
74256
74257
74258
74259
74260
74261
74262
74263
74264
74265
74266
74267
74268
74269
74270
74271
74272
74273
74274
74275
74276
74277
74278
74279
74280
74281
74282
74283
74284
74285
74286
74287
74288
74289
74290
74291
74292
74293
74294
74295
74296
74297
74298
74299
74300
74301
74302
74303
74304
74305
74306
74307
74308
74309
74310
74311
74312
74313
74314
74315
74316
74317
74318
74319
74320
74321
74322
74323
74324
74325
74326
74327
74328
74329
74330
74331
74332
74333
74334
74335
74336
74337
74338
74339
74340
74341
74342
74343
74344
74345
74346
74347
74348
74349
74350
74351
74352
74353
74354
74355
74356
74357
74358
74359
74360
74361
74362
74363
74364
74365
74366
74367
74368
74369
74370
74371
74372
74373
74374
74375
74376
74377
74378
74379
74380
74381
74382
74383
74384
74385
74386
74387
74388
74389
74390
74391
74392
74393
74394
74395
74396
74397
74398
74399
74400
74401
74402
74403
74404
74405
74406
74407
74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
74427
74428
74429
74430
74431
74432
74433
74434
74435
74436
74437
74438
74439
74440
74441
74442
74443
74444
74445
74446
74447
74448
74449
74450
74451
74452
74453
74454
74455
74456
74457
74458
74459
74460
74461
74462
74463
74464
74465
74466
74467
74468
74469
74470
74471
74472
74473
74474
74475
74476
74477
74478
74479
74480
74481
74482
74483
74484
74485
74486
74487
74488
74489
74490
74491
74492
74493
74494
74495
74496
74497
74498
74499
74500
74501
74502
74503
74504
74505
74506
74507
74508
74509
74510
74511
74512
74513
74514
74515
74516
74517
74518
74519
74520
74521
74522
74523
74524
74525
74526
74527
74528
74529
74530
74531
74532
74533
74534
74535
74536
74537
74538
74539
74540
74541
74542
74543
74544
74545
74546
74547
74548
74549
74550
74551
74552
74553
74554
74555
74556
74557
74558
74559
74560
74561
74562
74563
74564
74565
74566
74567
74568
74569
74570
74571
74572
74573
74574
74575
74576
74577
74578
74579
74580
74581
74582
74583
74584
74585
74586
74587
74588
74589
74590
74591
74592
74593
74594
74595
74596
74597
74598
74599
74600
74601
74602
74603
74604
74605
74606
74607
74608
74609
74610
74611
74612
74613
74614
74615
74616
74617
74618
74619
74620
74621
74622
74623
74624
74625
74626
74627
74628
74629
74630
74631
74632
74633
74634
74635
74636
74637
74638
74639
74640
74641
74642
74643
74644
74645
74646
74647
74648
74649
74650
74651
74652
74653
74654
74655
74656
74657
74658
74659
74660
74661
74662
74663
74664
74665
74666
74667
74668
74669
74670
74671
74672
74673
74674
74675
74676
74677
74678
74679
74680
74681
74682
74683
74684
74685
74686
74687
74688
74689
74690
74691
74692
74693
74694
74695
74696
74697
74698
74699
74700
74701
74702
74703
74704
74705
74706
74707
74708
74709
74710
74711
74712
74713
74714
74715
74716
74717
74718
74719
74720
74721
74722
74723
74724
74725
74726
74727
74728
74729
74730
74731
74732
74733
74734
74735
74736
74737
74738
74739
74740
74741
74742
74743
74744
74745
74746
74747
74748
74749
74750
74751
74752
74753
74754
74755
74756
74757
74758
74759
74760
74761
74762
74763
74764
74765
74766
74767
74768
74769
74770
74771
74772
74773
74774
74775
74776
74777
74778
74779
74780
74781
74782
74783
74784
74785
74786
74787
74788
74789
74790
74791
74792
74793
74794
74795
74796
74797
74798
74799
74800
74801
74802
74803
74804
74805
74806
74807
74808
74809
74810
74811
74812
74813
74814
74815
74816
74817
74818
74819
74820
74821
74822
74823
74824
74825
74826
74827
74828
74829
74830
74831
74832
74833
74834
74835
74836
74837
74838
74839
74840
74841
74842
74843
74844
74845
74846
74847
74848
74849
74850
74851
74852
74853
74854
74855
74856
74857
74858
74859
74860
74861
74862
74863
74864
74865
74866
74867
74868
74869
74870
74871
74872
74873
74874
74875
74876
74877
74878
74879
74880
74881
74882
74883
74884
74885
74886
74887
74888
74889
74890
74891
74892
74893
74894
74895
74896
74897
74898
74899
74900
74901
74902
74903
74904
74905
74906
74907
74908
74909
74910
74911
74912
74913
74914
74915
74916
74917
74918
74919
74920
74921
74922
74923
74924
74925
74926
74927
74928
74929
74930
74931
74932
74933
74934
74935
74936
74937
74938
74939
74940
74941
74942
74943
74944
74945
74946
74947
74948
74949
74950
74951
74952
74953
74954
74955
74956
74957
74958
74959
74960
74961
74962
74963
74964
74965
74966
74967
74968
74969
74970
74971
74972
74973
74974
74975
74976
74977
74978
74979
74980
74981
74982
74983
74984
74985
74986
74987
74988
74989
74990
74991
74992
74993
74994
74995
74996
74997
74998
74999
75000
75001
75002
75003
75004
75005
75006
75007
75008
75009
75010
75011
75012
75013
75014
75015
75016
75017
75018
75019
75020
75021
75022
75023
75024
75025
75026
75027
75028
75029
75030
75031
75032
75033
75034
75035
75036
75037
75038
75039
75040
75041
75042
75043
75044
75045
75046
75047
75048
75049
75050
75051
75052
75053
75054
75055
75056
75057
75058
75059
75060
75061
75062
75063
75064
75065
75066
75067
75068
75069
75070
75071
75072
75073
75074
75075
75076
75077
75078
75079
75080
75081
75082
75083
75084
75085
75086
75087
75088
75089
75090
75091
75092
75093
75094
75095
75096
75097
75098
75099
75100
75101
75102
75103
75104
75105
75106
75107
75108
75109
75110
75111
75112
75113
75114
75115
75116
75117
75118
75119
75120
75121
75122
75123
75124
75125
75126
75127
75128
75129
75130
75131
75132
75133
75134
75135
75136
75137
75138
75139
75140
75141
75142
75143
75144
75145
75146
75147
75148
75149
75150
75151
75152
75153
75154
75155
75156
75157
75158
75159
75160
75161
75162
75163
75164
75165
75166
75167
75168
75169
75170
75171
75172
75173
75174
75175
75176
75177
75178
75179
75180
75181
75182
75183
75184
75185
75186
75187
75188
75189
75190
75191
75192
75193
75194
75195
75196
75197
75198
75199
75200
75201
75202
75203
75204
75205
75206
75207
75208
75209
75210
75211
75212
75213
75214
75215
75216
75217
75218
75219
75220
75221
75222
75223
75224
75225
75226
75227
75228
75229
75230
75231
75232
75233
75234
75235
75236
75237
75238
75239
75240
75241
75242
75243
75244
75245
75246
75247
75248
75249
75250
75251
75252
75253
75254
75255
75256
75257
75258
75259
75260
75261
75262
75263
75264
75265
75266
75267
75268
75269
75270
75271
75272
75273
75274
75275
75276
75277
75278
75279
75280
75281
75282
75283
75284
75285
75286
75287
75288
75289
75290
75291
75292
75293
75294
75295
75296
75297
75298
75299
75300
75301
75302
75303
75304
75305
75306
75307
75308
75309
75310
75311
75312
75313
75314
75315
75316
75317
75318
75319
75320
75321
75322
75323
75324
75325
75326
75327
75328
75329
75330
75331
75332
75333
75334
75335
75336
75337
75338
75339
75340
75341
75342
75343
75344
75345
75346
75347
75348
75349
75350
75351
75352
75353
75354
75355
75356
75357
75358
75359
75360
75361
75362
75363
75364
75365
75366
75367
75368
75369
75370
75371
75372
75373
75374
75375
75376
75377
75378
75379
75380
75381
75382
75383
75384
75385
75386
75387
75388
75389
75390
75391
75392
75393
75394
75395
75396
75397
75398
75399
75400
75401
75402
75403
75404
75405
75406
75407
75408
75409
75410
75411
75412
75413
75414
75415
75416
75417
75418
75419
75420
75421
75422
75423
75424
75425
75426
75427
75428
75429
75430
75431
75432
75433
75434
75435
75436
75437
75438
75439
75440
75441
75442
75443
75444
75445
75446
75447
75448
75449
75450
75451
75452
75453
75454
75455
75456
75457
75458
75459
75460
75461
75462
75463
75464
75465
75466
75467
75468
75469
75470
75471
75472
75473
75474
75475
75476
75477
75478
75479
75480
75481
75482
75483
75484
75485
75486
75487
75488
75489
75490
75491
75492
75493
75494
75495
75496
75497
75498
75499
75500
75501
75502
75503
75504
75505
75506
75507
75508
75509
75510
75511
75512
75513
75514
75515
75516
75517
75518
75519
75520
75521
75522
75523
75524
75525
75526
75527
75528
75529
75530
75531
75532
75533
75534
75535
75536
75537
75538
75539
75540
75541
75542
75543
75544
75545
75546
75547
75548
75549
75550
75551
75552
75553
75554
75555
75556
75557
75558
75559
75560
75561
75562
75563
75564
75565
75566
75567
75568
75569
75570
75571
75572
75573
75574
75575
75576
75577
75578
75579
75580
75581
75582
75583
75584
75585
75586
75587
75588
75589
75590
75591
75592
75593
75594
75595
75596
75597
75598
75599
75600
75601
75602
75603
75604
75605
75606
75607
75608
75609
75610
75611
75612
75613
75614
75615
75616
75617
75618
75619
75620
75621
75622
75623
75624
75625
75626
75627
75628
75629
75630
75631
75632
75633
75634
75635
75636
75637
75638
75639
75640
75641
75642
75643
75644
75645
75646
75647
75648
75649
75650
75651
75652
75653
75654
75655
75656
75657
75658
75659
75660
75661
75662
75663
75664
75665
75666
75667
75668
75669
75670
75671
75672
75673
75674
75675
75676
75677
75678
75679
75680
75681
75682
75683
75684
75685
75686
75687
75688
75689
75690
75691
75692
75693
75694
75695
75696
75697
75698
75699
75700
75701
75702
75703
75704
75705
75706
75707
75708
75709
75710
75711
75712
75713
75714
75715
75716
75717
75718
75719
75720
75721
75722
75723
75724
75725
75726
75727
75728
75729
75730
75731
75732
75733
75734
75735
75736
75737
75738
75739
75740
75741
75742
75743
75744
75745
75746
75747
75748
75749
75750
75751
75752
75753
75754
75755
75756
75757
75758
75759
75760
75761
75762
75763
75764
75765
75766
75767
75768
75769
75770
75771
75772
75773
75774
75775
75776
75777
75778
75779
75780
75781
75782
75783
75784
75785
75786
75787
75788
75789
75790
75791
75792
75793
75794
75795
75796
75797
75798
75799
75800
75801
75802
75803
75804
75805
75806
75807
75808
75809
75810
75811
75812
75813
75814
75815
75816
75817
75818
75819
75820
75821
75822
75823
75824
75825
75826
75827
75828
75829
75830
75831
75832
75833
75834
75835
75836
75837
75838
75839
75840
75841
75842
75843
75844
75845
75846
75847
75848
75849
75850
75851
75852
75853
75854
75855
75856
75857
75858
75859
75860
75861
75862
75863
75864
75865
75866
75867
75868
75869
75870
75871
75872
75873
75874
75875
75876
75877
75878
75879
75880
75881
75882
75883
75884
75885
75886
75887
75888
75889
75890
75891
75892
75893
75894
75895
75896
75897
75898
75899
75900
75901
75902
75903
75904
75905
75906
75907
75908
75909
75910
75911
75912
75913
75914
75915
75916
75917
75918
75919
75920
75921
75922
75923
75924
75925
75926
75927
75928
75929
75930
75931
75932
75933
75934
75935
75936
75937
75938
75939
75940
75941
75942
75943
75944
75945
75946
75947
75948
75949
75950
75951
75952
75953
75954
75955
75956
75957
75958
75959
75960
75961
75962
75963
75964
75965
75966
75967
75968
75969
75970
75971
75972
75973
75974
75975
75976
75977
75978
75979
75980
75981
75982
75983
75984
75985
75986
75987
75988
75989
75990
75991
75992
75993
75994
75995
75996
75997
75998
75999
76000
76001
76002
76003
76004
76005
76006
76007
76008
76009
76010
76011
76012
76013
76014
76015
76016
76017
76018
76019
76020
76021
76022
76023
76024
76025
76026
76027
76028
76029
76030
76031
76032
76033
76034
76035
76036
76037
76038
76039
76040
76041
76042
76043
76044
76045
76046
76047
76048
76049
76050
76051
76052
76053
76054
76055
76056
76057
76058
76059
76060
76061
76062
76063
76064
76065
76066
76067
76068
76069
76070
76071
76072
76073
76074
76075
76076
76077
76078
76079
76080
76081
76082
76083
76084
76085
76086
76087
76088
76089
76090
76091
76092
76093
76094
76095
76096
76097
76098
76099
76100
76101
76102
76103
76104
76105
76106
76107
76108
76109
76110
76111
76112
76113
76114
76115
76116
76117
76118
76119
76120
76121
76122
76123
76124
76125
76126
76127
76128
76129
76130
76131
76132
76133
76134
76135
76136
76137
76138
76139
76140
76141
76142
76143
76144
76145
76146
76147
76148
76149
76150
76151
76152
76153
76154
76155
76156
76157
76158
76159
76160
76161
76162
76163
76164
76165
76166
76167
76168
76169
76170
76171
76172
76173
76174
76175
76176
76177
76178
76179
76180
76181
76182
76183
76184
76185
76186
76187
76188
76189
76190
76191
76192
76193
76194
76195
76196
76197
76198
76199
76200
76201
76202
76203
76204
76205
76206
76207
76208
76209
76210
76211
76212
76213
76214
76215
76216
76217
76218
76219
76220
76221
76222
76223
76224
76225
76226
76227
76228
76229
76230
76231
76232
76233
76234
76235
76236
76237
76238
76239
76240
76241
76242
76243
76244
76245
76246
76247
76248
76249
76250
76251
76252
76253
76254
76255
76256
76257
76258
76259
76260
76261
76262
76263
76264
76265
76266
76267
76268
76269
76270
76271
76272
76273
76274
76275
76276
76277
76278
76279
76280
76281
76282
76283
76284
76285
76286
76287
76288
76289
76290
76291
76292
76293
76294
76295
76296
76297
76298
76299
76300
76301
76302
76303
76304
76305
76306
76307
76308
76309
76310
76311
76312
76313
76314
76315
76316
76317
76318
76319
76320
76321
76322
76323
76324
76325
76326
76327
76328
76329
76330
76331
76332
76333
76334
76335
76336
76337
76338
76339
76340
76341
76342
76343
76344
76345
76346
76347
76348
76349
76350
76351
76352
76353
76354
76355
76356
76357
76358
76359
76360
76361
76362
76363
76364
76365
76366
76367
76368
76369
76370
76371
76372
76373
76374
76375
76376
76377
76378
76379
76380
76381
76382
76383
76384
76385
76386
76387
76388
76389
76390
76391
76392
76393
76394
76395
76396
76397
76398
76399
76400
76401
76402
76403
76404
76405
76406
76407
76408
76409
76410
76411
76412
76413
76414
76415
76416
76417
76418
76419
76420
76421
76422
76423
76424
76425
76426
76427
76428
76429
76430
76431
76432
76433
76434
76435
76436
76437
76438
76439
76440
76441
76442
76443
76444
76445
76446
76447
76448
76449
76450
76451
76452
76453
76454
76455
76456
76457
76458
76459
76460
76461
76462
76463
76464
76465
76466
76467
76468
76469
76470
76471
76472
76473
76474
76475
76476
76477
76478
76479
76480
76481
76482
76483
76484
76485
76486
76487
76488
76489
76490
76491
76492
76493
76494
76495
76496
76497
76498
76499
76500
76501
76502
76503
76504
76505
76506
76507
76508
76509
76510
76511
76512
76513
76514
76515
76516
76517
76518
76519
76520
76521
76522
76523
76524
76525
76526
76527
76528
76529
76530
76531
76532
76533
76534
76535
76536
76537
76538
76539
76540
76541
76542
76543
76544
76545
76546
76547
76548
76549
76550
76551
76552
76553
76554
76555
76556
76557
76558
76559
76560
76561
76562
76563
76564
76565
76566
76567
76568
76569
76570
76571
76572
76573
76574
76575
76576
76577
76578
76579
76580
76581
76582
76583
76584
76585
76586
76587
76588
76589
76590
76591
76592
76593
76594
76595
76596
76597
76598
76599
76600
76601
76602
76603
76604
76605
76606
76607
76608
76609
76610
76611
76612
76613
76614
76615
76616
76617
76618
76619
76620
76621
76622
76623
76624
76625
76626
76627
76628
76629
76630
76631
76632
76633
76634
76635
76636
76637
76638
76639
76640
76641
76642
76643
76644
76645
76646
76647
76648
76649
76650
76651
76652
76653
76654
76655
76656
76657
76658
76659
76660
76661
76662
76663
76664
76665
76666
76667
76668
76669
76670
76671
76672
76673
76674
76675
76676
76677
76678
76679
76680
76681
76682
76683
76684
76685
76686
76687
76688
76689
76690
76691
76692
76693
76694
76695
76696
76697
76698
76699
76700
76701
76702
76703
76704
76705
76706
76707
76708
76709
76710
76711
76712
76713
76714
76715
76716
76717
76718
76719
76720
76721
76722
76723
76724
76725
76726
76727
76728
76729
76730
76731
76732
76733
76734
76735
76736
76737
76738
76739
76740
76741
76742
76743
76744
76745
76746
76747
76748
76749
76750
76751
76752
76753
76754
76755
76756
76757
76758
76759
76760
76761
76762
76763
76764
76765
76766
76767
76768
76769
76770
76771
76772
76773
76774
76775
76776
76777
76778
76779
76780
76781
76782
76783
76784
76785
76786
76787
76788
76789
76790
76791
76792
76793
76794
76795
76796
76797
76798
76799
76800
76801
76802
76803
76804
76805
76806
76807
76808
76809
76810
76811
76812
76813
76814
76815
76816
76817
76818
76819
76820
76821
76822
76823
76824
76825
76826
76827
76828
76829
76830
76831
76832
76833
76834
76835
76836
76837
76838
76839
76840
76841
76842
76843
76844
76845
76846
76847
76848
76849
76850
76851
76852
76853
76854
76855
76856
76857
76858
76859
76860
76861
76862
76863
76864
76865
76866
76867
76868
76869
76870
76871
76872
76873
76874
76875
76876
76877
76878
76879
76880
76881
76882
76883
76884
76885
76886
76887
76888
76889
76890
76891
76892
76893
76894
76895
76896
76897
76898
76899
76900
76901
76902
76903
76904
76905
76906
76907
76908
76909
76910
76911
76912
76913
76914
76915
76916
76917
76918
76919
76920
76921
76922
76923
76924
76925
76926
76927
76928
76929
76930
76931
76932
76933
76934
76935
76936
76937
76938
76939
76940
76941
76942
76943
76944
76945
76946
76947
76948
76949
76950
76951
76952
76953
76954
76955
76956
76957
76958
76959
76960
76961
76962
76963
76964
76965
76966
76967
76968
76969
76970
76971
76972
76973
76974
76975
76976
76977
76978
76979
76980
76981
76982
76983
76984
76985
76986
76987
76988
76989
76990
76991
76992
76993
76994
76995
76996
76997
76998
76999
77000
77001
77002
77003
77004
77005
77006
77007
77008
77009
77010
77011
77012
77013
77014
77015
77016
77017
77018
77019
77020
77021
77022
77023
77024
77025
77026
77027
77028
77029
77030
77031
77032
77033
77034
77035
77036
77037
77038
77039
77040
77041
77042
77043
77044
77045
77046
77047
77048
77049
77050
77051
77052
77053
77054
77055
77056
77057
77058
77059
77060
77061
77062
77063
77064
77065
77066
77067
77068
77069
77070
77071
77072
77073
77074
77075
77076
77077
77078
77079
77080
77081
77082
77083
77084
77085
77086
77087
77088
77089
77090
77091
77092
77093
77094
77095
77096
77097
77098
77099
77100
77101
77102
77103
77104
77105
77106
77107
77108
77109
77110
77111
77112
77113
77114
77115
77116
77117
77118
77119
77120
77121
77122
77123
77124
77125
77126
77127
77128
77129
77130
77131
77132
77133
77134
77135
77136
77137
77138
77139
77140
77141
77142
77143
77144
77145
77146
77147
77148
77149
77150
77151
77152
77153
77154
77155
77156
77157
77158
77159
77160
77161
77162
77163
77164
77165
77166
77167
77168
77169
77170
77171
77172
77173
77174
77175
77176
77177
77178
77179
77180
77181
77182
77183
77184
77185
77186
77187
77188
77189
77190
77191
77192
77193
77194
77195
77196
77197
77198
77199
77200
77201
77202
77203
77204
77205
77206
77207
77208
77209
77210
77211
77212
77213
77214
77215
77216
77217
77218
77219
77220
77221
77222
77223
77224
77225
77226
77227
77228
77229
77230
77231
77232
77233
77234
77235
77236
77237
77238
77239
77240
77241
77242
77243
77244
77245
77246
77247
77248
77249
77250
77251
77252
77253
77254
77255
77256
77257
77258
77259
77260
77261
77262
77263
77264
77265
77266
77267
77268
77269
77270
77271
77272
77273
77274
77275
77276
77277
77278
77279
77280
77281
77282
77283
77284
77285
77286
77287
77288
77289
77290
77291
77292
77293
77294
77295
77296
77297
77298
77299
77300
77301
77302
77303
77304
77305
77306
77307
77308
77309
77310
77311
77312
77313
77314
77315
77316
77317
77318
77319
77320
77321
77322
77323
77324
77325
77326
77327
77328
77329
77330
77331
77332
77333
77334
77335
77336
77337
77338
77339
77340
77341
77342
77343
77344
77345
77346
77347
77348
77349
77350
77351
77352
77353
77354
77355
77356
77357
77358
77359
77360
77361
77362
77363
77364
77365
77366
77367
77368
77369
77370
77371
77372
77373
77374
77375
77376
77377
77378
77379
77380
77381
77382
77383
77384
77385
77386
77387
77388
77389
77390
77391
77392
77393
77394
77395
77396
77397
77398
77399
77400
77401
77402
77403
77404
77405
77406
77407
77408
77409
77410
77411
77412
77413
77414
77415
77416
77417
77418
77419
77420
77421
77422
77423
77424
77425
77426
77427
77428
77429
77430
77431
77432
77433
77434
77435
77436
77437
77438
77439
77440
77441
77442
77443
77444
77445
77446
77447
77448
77449
77450
77451
77452
77453
77454
77455
77456
77457
77458
77459
77460
77461
77462
77463
77464
77465
77466
77467
77468
77469
77470
77471
77472
77473
77474
77475
77476
77477
77478
77479
77480
77481
77482
77483
77484
77485
77486
77487
77488
77489
77490
77491
77492
77493
77494
77495
77496
77497
77498
77499
77500
77501
77502
77503
77504
77505
77506
77507
77508
77509
77510
77511
77512
77513
77514
77515
77516
77517
77518
77519
77520
77521
77522
77523
77524
77525
77526
77527
77528
77529
77530
77531
77532
77533
77534
77535
77536
77537
77538
77539
77540
77541
77542
77543
77544
77545
77546
77547
77548
77549
77550
77551
77552
77553
77554
77555
77556
77557
77558
77559
77560
77561
77562
77563
77564
77565
77566
77567
77568
77569
77570
77571
77572
77573
77574
77575
77576
77577
77578
77579
77580
77581
77582
77583
77584
77585
77586
77587
77588
77589
77590
77591
77592
77593
77594
77595
77596
77597
77598
77599
77600
77601
77602
77603
77604
77605
77606
77607
77608
77609
77610
77611
77612
77613
77614
77615
77616
77617
77618
77619
77620
77621
77622
77623
77624
77625
77626
77627
77628
77629
77630
77631
77632
77633
77634
77635
77636
77637
77638
77639
77640
77641
77642
77643
77644
77645
77646
77647
77648
77649
77650
77651
77652
77653
77654
77655
77656
77657
77658
77659
77660
77661
77662
77663
77664
77665
77666
77667
77668
77669
77670
77671
77672
77673
77674
77675
77676
77677
77678
77679
77680
77681
77682
77683
77684
77685
77686
77687
77688
77689
77690
77691
77692
77693
77694
77695
77696
77697
77698
77699
77700
77701
77702
77703
77704
77705
77706
77707
77708
77709
77710
77711
77712
77713
77714
77715
77716
77717
77718
77719
77720
77721
77722
77723
77724
77725
77726
77727
77728
77729
77730
77731
77732
77733
77734
77735
77736
77737
77738
77739
77740
77741
77742
77743
77744
77745
77746
77747
77748
77749
77750
77751
77752
77753
77754
77755
77756
77757
77758
77759
77760
77761
77762
77763
77764
77765
77766
77767
77768
77769
77770
77771
77772
77773
77774
77775
77776
77777
77778
77779
77780
77781
77782
77783
77784
77785
77786
77787
77788
77789
77790
77791
77792
77793
77794
77795
77796
77797
77798
77799
77800
77801
77802
77803
77804
77805
77806
77807
77808
77809
77810
77811
77812
77813
77814
77815
77816
77817
77818
77819
77820
77821
77822
77823
77824
77825
77826
77827
77828
77829
77830
77831
77832
77833
77834
77835
77836
77837
77838
77839
77840
77841
77842
77843
77844
77845
77846
77847
77848
77849
77850
77851
77852
77853
77854
77855
77856
77857
77858
77859
77860
77861
77862
77863
77864
77865
77866
77867
77868
77869
77870
77871
77872
77873
77874
77875
77876
77877
77878
77879
77880
77881
77882
77883
77884
77885
77886
77887
77888
77889
77890
77891
77892
77893
77894
77895
77896
77897
77898
77899
77900
77901
77902
77903
77904
77905
77906
77907
77908
77909
77910
77911
77912
77913
77914
77915
77916
77917
77918
77919
77920
77921
77922
77923
77924
77925
77926
77927
77928
77929
77930
77931
77932
77933
77934
77935
77936
77937
77938
77939
77940
77941
77942
77943
77944
77945
77946
77947
77948
77949
77950
77951
77952
77953
77954
77955
77956
77957
77958
77959
77960
77961
77962
77963
77964
77965
77966
77967
77968
77969
77970
77971
77972
77973
77974
77975
77976
77977
77978
77979
77980
77981
77982
77983
77984
77985
77986
77987
77988
77989
77990
77991
77992
77993
77994
77995
77996
77997
77998
77999
78000
78001
78002
78003
78004
78005
78006
78007
78008
78009
78010
78011
78012
78013
78014
78015
78016
78017
78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
78041
78042
78043
78044
78045
78046
78047
78048
78049
78050
78051
78052
78053
78054
78055
78056
78057
78058
78059
78060
78061
78062
78063
78064
78065
78066
78067
78068
78069
78070
78071
78072
78073
78074
78075
78076
78077
78078
78079
78080
78081
78082
78083
78084
78085
78086
78087
78088
78089
78090
78091
78092
78093
78094
78095
78096
78097
78098
78099
78100
78101
78102
78103
78104
78105
78106
78107
78108
78109
78110
78111
78112
78113
78114
78115
78116
78117
78118
78119
78120
78121
78122
78123
78124
78125
78126
78127
78128
78129
78130
78131
78132
78133
78134
78135
78136
78137
78138
78139
78140
78141
78142
78143
78144
78145
78146
78147
78148
78149
78150
78151
78152
78153
78154
78155
78156
78157
78158
78159
78160
78161
78162
78163
78164
78165
78166
78167
78168
78169
78170
78171
78172
78173
78174
78175
78176
78177
78178
78179
78180
78181
78182
78183
78184
78185
78186
78187
78188
78189
78190
78191
78192
78193
78194
78195
78196
78197
78198
78199
78200
78201
78202
78203
78204
78205
78206
78207
78208
78209
78210
78211
78212
78213
78214
78215
78216
78217
78218
78219
78220
78221
78222
78223
78224
78225
78226
78227
78228
78229
78230
78231
78232
78233
78234
78235
78236
78237
78238
78239
78240
78241
78242
78243
78244
78245
78246
78247
78248
78249
78250
78251
78252
78253
78254
78255
78256
78257
78258
78259
78260
78261
78262
78263
78264
78265
78266
78267
78268
78269
78270
78271
78272
78273
78274
78275
78276
78277
78278
78279
78280
78281
78282
78283
78284
78285
78286
78287
78288
78289
78290
78291
78292
78293
78294
78295
78296
78297
78298
78299
78300
78301
78302
78303
78304
78305
78306
78307
78308
78309
78310
78311
78312
78313
78314
78315
78316
78317
78318
78319
78320
78321
78322
78323
78324
78325
78326
78327
78328
78329
78330
78331
78332
78333
78334
78335
78336
78337
78338
78339
78340
78341
78342
78343
78344
78345
78346
78347
78348
78349
78350
78351
78352
78353
78354
78355
78356
78357
78358
78359
78360
78361
78362
78363
78364
78365
78366
78367
78368
78369
78370
78371
78372
78373
78374
78375
78376
78377
78378
78379
78380
78381
78382
78383
78384
78385
78386
78387
78388
78389
78390
78391
78392
78393
78394
78395
78396
78397
78398
78399
78400
78401
78402
78403
78404
78405
78406
78407
78408
78409
78410
78411
78412
78413
78414
78415
78416
78417
78418
78419
78420
78421
78422
78423
78424
78425
78426
78427
78428
78429
78430
78431
78432
78433
78434
78435
78436
78437
78438
78439
78440
78441
78442
78443
78444
78445
78446
78447
78448
78449
78450
78451
78452
78453
78454
78455
78456
78457
78458
78459
78460
78461
78462
78463
78464
78465
78466
78467
78468
78469
78470
78471
78472
78473
78474
78475
78476
78477
78478
78479
78480
78481
78482
78483
78484
78485
78486
78487
78488
78489
78490
78491
78492
78493
78494
78495
78496
78497
78498
78499
78500
78501
78502
78503
78504
78505
78506
78507
78508
78509
78510
78511
78512
78513
78514
78515
78516
78517
78518
78519
78520
78521
78522
78523
78524
78525
78526
78527
78528
78529
78530
78531
78532
78533
78534
78535
78536
78537
78538
78539
78540
78541
78542
78543
78544
78545
78546
78547
78548
78549
78550
78551
78552
78553
78554
78555
78556
78557
78558
78559
78560
78561
78562
78563
78564
78565
78566
78567
78568
78569
78570
78571
78572
78573
78574
78575
78576
78577
78578
78579
78580
78581
78582
78583
78584
78585
78586
78587
78588
78589
78590
78591
78592
78593
78594
78595
78596
78597
78598
78599
78600
78601
78602
78603
78604
78605
78606
78607
78608
78609
78610
78611
78612
78613
78614
78615
78616
78617
78618
78619
78620
78621
78622
78623
78624
78625
78626
78627
78628
78629
78630
78631
78632
78633
78634
78635
78636
78637
78638
78639
78640
78641
78642
78643
78644
78645
78646
78647
78648
78649
78650
78651
78652
78653
78654
78655
78656
78657
78658
78659
78660
78661
78662
78663
78664
78665
78666
78667
78668
78669
78670
78671
78672
78673
78674
78675
78676
78677
78678
78679
78680
78681
78682
78683
78684
78685
78686
78687
78688
78689
78690
78691
78692
78693
78694
78695
78696
78697
78698
78699
78700
78701
78702
78703
78704
78705
78706
78707
78708
78709
78710
78711
78712
78713
78714
78715
78716
78717
78718
78719
78720
78721
78722
78723
78724
78725
78726
78727
78728
78729
78730
78731
78732
78733
78734
78735
78736
78737
78738
78739
78740
78741
78742
78743
78744
78745
78746
78747
78748
78749
78750
78751
78752
78753
78754
78755
78756
78757
78758
78759
78760
78761
78762
78763
78764
78765
78766
78767
78768
78769
78770
78771
78772
78773
78774
78775
78776
78777
78778
78779
78780
78781
78782
78783
78784
78785
78786
78787
78788
78789
78790
78791
78792
78793
78794
78795
78796
78797
78798
78799
78800
78801
78802
78803
78804
78805
78806
78807
78808
78809
78810
78811
78812
78813
78814
78815
78816
78817
78818
78819
78820
78821
78822
78823
78824
78825
78826
78827
78828
78829
78830
78831
78832
78833
78834
78835
78836
78837
78838
78839
78840
78841
78842
78843
78844
78845
78846
78847
78848
78849
78850
78851
78852
78853
78854
78855
78856
78857
78858
78859
78860
78861
78862
78863
78864
78865
78866
78867
78868
78869
78870
78871
78872
78873
78874
78875
78876
78877
78878
78879
78880
78881
78882
78883
78884
78885
78886
78887
78888
78889
78890
78891
78892
78893
78894
78895
78896
78897
78898
78899
78900
78901
78902
78903
78904
78905
78906
78907
78908
78909
78910
78911
78912
78913
78914
78915
78916
78917
78918
78919
78920
78921
78922
78923
78924
78925
78926
78927
78928
78929
78930
78931
78932
78933
78934
78935
78936
78937
78938
78939
78940
78941
78942
78943
78944
78945
78946
78947
78948
78949
78950
78951
78952
78953
78954
78955
78956
78957
78958
78959
78960
78961
78962
78963
78964
78965
78966
78967
78968
78969
78970
78971
78972
78973
78974
78975
78976
78977
78978
78979
78980
78981
78982
78983
78984
78985
78986
78987
78988
78989
78990
78991
78992
78993
78994
78995
78996
78997
78998
78999
79000
79001
79002
79003
79004
79005
79006
79007
79008
79009
79010
79011
79012
79013
79014
79015
79016
79017
79018
79019
79020
79021
79022
79023
79024
79025
79026
79027
79028
79029
79030
79031
79032
79033
79034
79035
79036
79037
79038
79039
79040
79041
79042
79043
79044
79045
79046
79047
79048
79049
79050
79051
79052
79053
79054
79055
79056
79057
79058
79059
79060
79061
79062
79063
79064
79065
79066
79067
79068
79069
79070
79071
79072
79073
79074
79075
79076
79077
79078
79079
79080
79081
79082
79083
79084
79085
79086
79087
79088
79089
79090
79091
79092
79093
79094
79095
79096
79097
79098
79099
79100
79101
79102
79103
79104
79105
79106
79107
79108
79109
79110
79111
79112
79113
79114
79115
79116
79117
79118
79119
79120
79121
79122
79123
79124
79125
79126
79127
79128
79129
79130
79131
79132
79133
79134
79135
79136
79137
79138
79139
79140
79141
79142
79143
79144
79145
79146
79147
79148
79149
79150
79151
79152
79153
79154
79155
79156
79157
79158
79159
79160
79161
79162
79163
79164
79165
79166
79167
79168
79169
79170
79171
79172
79173
79174
79175
79176
79177
79178
79179
79180
79181
79182
79183
79184
79185
79186
79187
79188
79189
79190
79191
79192
79193
79194
79195
79196
79197
79198
79199
79200
79201
79202
79203
79204
79205
79206
79207
79208
79209
79210
79211
79212
79213
79214
79215
79216
79217
79218
79219
79220
79221
79222
79223
79224
79225
79226
79227
79228
79229
79230
79231
79232
79233
79234
79235
79236
79237
79238
79239
79240
79241
79242
79243
79244
79245
79246
79247
79248
79249
79250
79251
79252
79253
79254
79255
79256
79257
79258
79259
79260
79261
79262
79263
79264
79265
79266
79267
79268
79269
79270
79271
79272
79273
79274
79275
79276
79277
79278
79279
79280
79281
79282
79283
79284
79285
79286
79287
79288
79289
79290
79291
79292
79293
79294
79295
79296
79297
79298
79299
79300
79301
79302
79303
79304
79305
79306
79307
79308
79309
79310
79311
79312
79313
79314
79315
79316
79317
79318
79319
79320
79321
79322
79323
79324
79325
79326
79327
79328
79329
79330
79331
79332
79333
79334
79335
79336
79337
79338
79339
79340
79341
79342
79343
79344
79345
79346
79347
79348
79349
79350
79351
79352
79353
79354
79355
79356
79357
79358
79359
79360
79361
79362
79363
79364
79365
79366
79367
79368
79369
79370
79371
79372
79373
79374
79375
79376
79377
79378
79379
79380
79381
79382
79383
79384
79385
79386
79387
79388
79389
79390
79391
79392
79393
79394
79395
79396
79397
79398
79399
79400
79401
79402
79403
79404
79405
79406
79407
79408
79409
79410
79411
79412
79413
79414
79415
79416
79417
79418
79419
79420
79421
79422
79423
79424
79425
79426
79427
79428
79429
79430
79431
79432
79433
79434
79435
79436
79437
79438
79439
79440
79441
79442
79443
79444
79445
79446
79447
79448
79449
79450
79451
79452
79453
79454
79455
79456
79457
79458
79459
79460
79461
79462
79463
79464
79465
79466
79467
79468
79469
79470
79471
79472
79473
79474
79475
79476
79477
79478
79479
79480
79481
79482
79483
79484
79485
79486
79487
79488
79489
79490
79491
79492
79493
79494
79495
79496
79497
79498
79499
79500
79501
79502
79503
79504
79505
79506
79507
79508
79509
79510
79511
79512
79513
79514
79515
79516
79517
79518
79519
79520
79521
79522
79523
79524
79525
79526
79527
79528
79529
79530
79531
79532
79533
79534
79535
79536
79537
79538
79539
79540
79541
79542
79543
79544
79545
79546
79547
79548
79549
79550
79551
79552
79553
79554
79555
79556
79557
79558
79559
79560
79561
79562
79563
79564
79565
79566
79567
79568
79569
79570
79571
79572
79573
79574
79575
79576
79577
79578
79579
79580
79581
79582
79583
79584
79585
79586
79587
79588
79589
79590
79591
79592
79593
79594
79595
79596
79597
79598
79599
79600
79601
79602
79603
79604
79605
79606
79607
79608
79609
79610
79611
79612
79613
79614
79615
79616
79617
79618
79619
79620
79621
79622
79623
79624
79625
79626
79627
79628
79629
79630
79631
79632
79633
79634
79635
79636
79637
79638
79639
79640
79641
79642
79643
79644
79645
79646
79647
79648
79649
79650
79651
79652
79653
79654
79655
79656
79657
79658
79659
79660
79661
79662
79663
79664
79665
79666
79667
79668
79669
79670
79671
79672
79673
79674
79675
79676
79677
79678
79679
79680
79681
79682
79683
79684
79685
79686
79687
79688
79689
79690
79691
79692
79693
79694
79695
79696
79697
79698
79699
79700
79701
79702
79703
79704
79705
79706
79707
79708
79709
79710
79711
79712
79713
79714
79715
79716
79717
79718
79719
79720
79721
79722
79723
79724
79725
79726
79727
79728
79729
79730
79731
79732
79733
79734
79735
79736
79737
79738
79739
79740
79741
79742
79743
79744
79745
79746
79747
79748
79749
79750
79751
79752
79753
79754
79755
79756
79757
79758
79759
79760
79761
79762
79763
79764
79765
79766
79767
79768
79769
79770
79771
79772
79773
79774
79775
79776
79777
79778
79779
79780
79781
79782
79783
79784
79785
79786
79787
79788
79789
79790
79791
79792
79793
79794
79795
79796
79797
79798
79799
79800
79801
79802
79803
79804
79805
79806
79807
79808
79809
79810
79811
79812
79813
79814
79815
79816
79817
79818
79819
79820
79821
79822
79823
79824
79825
79826
79827
79828
79829
79830
79831
79832
79833
79834
79835
79836
79837
79838
79839
79840
79841
79842
79843
79844
79845
79846
79847
79848
79849
79850
79851
79852
79853
79854
79855
79856
79857
79858
79859
79860
79861
79862
79863
79864
79865
79866
79867
79868
79869
79870
79871
79872
79873
79874
79875
79876
79877
79878
79879
79880
79881
79882
79883
79884
79885
79886
79887
79888
79889
79890
79891
79892
79893
79894
79895
79896
79897
79898
79899
79900
79901
79902
79903
79904
79905
79906
79907
79908
79909
79910
79911
79912
79913
79914
79915
79916
79917
79918
79919
79920
79921
79922
79923
79924
79925
79926
79927
79928
79929
79930
79931
79932
79933
79934
79935
79936
79937
79938
79939
79940
79941
79942
79943
79944
79945
79946
79947
79948
79949
79950
79951
79952
79953
79954
79955
79956
79957
79958
79959
79960
79961
79962
79963
79964
79965
79966
79967
79968
79969
79970
79971
79972
79973
79974
79975
79976
79977
79978
79979
79980
79981
79982
79983
79984
79985
79986
79987
79988
79989
79990
79991
79992
79993
79994
79995
79996
79997
79998
79999
80000
80001
80002
80003
80004
80005
80006
80007
80008
80009
80010
80011
80012
80013
80014
80015
80016
80017
80018
80019
80020
80021
80022
80023
80024
80025
80026
80027
80028
80029
80030
80031
80032
80033
80034
80035
80036
80037
80038
80039
80040
80041
80042
80043
80044
80045
80046
80047
80048
80049
80050
80051
80052
80053
80054
80055
80056
80057
80058
80059
80060
80061
80062
80063
80064
80065
80066
80067
80068
80069
80070
80071
80072
80073
80074
80075
80076
80077
80078
80079
80080
80081
80082
80083
80084
80085
80086
80087
80088
80089
80090
80091
80092
80093
80094
80095
80096
80097
80098
80099
80100
80101
80102
80103
80104
80105
80106
80107
80108
80109
80110
80111
80112
80113
80114
80115
80116
80117
80118
80119
80120
80121
80122
80123
80124
80125
80126
80127
80128
80129
80130
80131
80132
80133
80134
80135
80136
80137
80138
80139
80140
80141
80142
80143
80144
80145
80146
80147
80148
80149
80150
80151
80152
80153
80154
80155
80156
80157
80158
80159
80160
80161
80162
80163
80164
80165
80166
80167
80168
80169
80170
80171
80172
80173
80174
80175
80176
80177
80178
80179
80180
80181
80182
80183
80184
80185
80186
80187
80188
80189
80190
80191
80192
80193
80194
80195
80196
80197
80198
80199
80200
80201
80202
80203
80204
80205
80206
80207
80208
80209
80210
80211
80212
80213
80214
80215
80216
80217
80218
80219
80220
80221
80222
80223
80224
80225
80226
80227
80228
80229
80230
80231
80232
80233
80234
80235
80236
80237
80238
80239
80240
80241
80242
80243
80244
80245
80246
80247
80248
80249
80250
80251
80252
80253
80254
80255
80256
80257
80258
80259
80260
80261
80262
80263
80264
80265
80266
80267
80268
80269
80270
80271
80272
80273
80274
80275
80276
80277
80278
80279
80280
80281
80282
80283
80284
80285
80286
80287
80288
80289
80290
80291
80292
80293
80294
80295
80296
80297
80298
80299
80300
80301
80302
80303
80304
80305
80306
80307
80308
80309
80310
80311
80312
80313
80314
80315
80316
80317
80318
80319
80320
80321
80322
80323
80324
80325
80326
80327
80328
80329
80330
80331
80332
80333
80334
80335
80336
80337
80338
80339
80340
80341
80342
80343
80344
80345
80346
80347
80348
80349
80350
80351
80352
80353
80354
80355
80356
80357
80358
80359
80360
80361
80362
80363
80364
80365
80366
80367
80368
80369
80370
80371
80372
80373
80374
80375
80376
80377
80378
80379
80380
80381
80382
80383
80384
80385
80386
80387
80388
80389
80390
80391
80392
80393
80394
80395
80396
80397
80398
80399
80400
80401
80402
80403
80404
80405
80406
80407
80408
80409
80410
80411
80412
80413
80414
80415
80416
80417
80418
80419
80420
80421
80422
80423
80424
80425
80426
80427
80428
80429
80430
80431
80432
80433
80434
80435
80436
80437
80438
80439
80440
80441
80442
80443
80444
80445
80446
80447
80448
80449
80450
80451
80452
80453
80454
80455
80456
80457
80458
80459
80460
80461
80462
80463
80464
80465
80466
80467
80468
80469
80470
80471
80472
80473
80474
80475
80476
80477
80478
80479
80480
80481
80482
80483
80484
80485
80486
80487
80488
80489
80490
80491
80492
80493
80494
80495
80496
80497
80498
80499
80500
80501
80502
80503
80504
80505
80506
80507
80508
80509
80510
80511
80512
80513
80514
80515
80516
80517
80518
80519
80520
80521
80522
80523
80524
80525
80526
80527
80528
80529
80530
80531
80532
80533
80534
80535
80536
80537
80538
80539
80540
80541
80542
80543
80544
80545
80546
80547
80548
80549
80550
80551
80552
80553
80554
80555
80556
80557
80558
80559
80560
80561
80562
80563
80564
80565
80566
80567
80568
80569
80570
80571
80572
80573
80574
80575
80576
80577
80578
80579
80580
80581
80582
80583
80584
80585
80586
80587
80588
80589
80590
80591
80592
80593
80594
80595
80596
80597
80598
80599
80600
80601
80602
80603
80604
80605
80606
80607
80608
80609
80610
80611
80612
80613
80614
80615
80616
80617
80618
80619
80620
80621
80622
80623
80624
80625
80626
80627
80628
80629
80630
80631
80632
80633
80634
80635
80636
80637
80638
80639
80640
80641
80642
80643
80644
80645
80646
80647
80648
80649
80650
80651
80652
80653
80654
80655
80656
80657
80658
80659
80660
80661
80662
80663
80664
80665
80666
80667
80668
80669
80670
80671
80672
80673
80674
80675
80676
80677
80678
80679
80680
80681
80682
80683
80684
80685
80686
80687
80688
80689
80690
80691
80692
80693
80694
80695
80696
80697
80698
80699
80700
80701
80702
80703
80704
80705
80706
80707
80708
80709
80710
80711
80712
80713
80714
80715
80716
80717
80718
80719
80720
80721
80722
80723
80724
80725
80726
80727
80728
80729
80730
80731
80732
80733
80734
80735
80736
80737
80738
80739
80740
80741
80742
80743
80744
80745
80746
80747
80748
80749
80750
80751
80752
80753
80754
80755
80756
80757
80758
80759
80760
80761
80762
80763
80764
80765
80766
80767
80768
80769
80770
80771
80772
80773
80774
80775
80776
80777
80778
80779
80780
80781
80782
80783
80784
80785
80786
80787
80788
80789
80790
80791
80792
80793
80794
80795
80796
80797
80798
80799
80800
80801
80802
80803
80804
80805
80806
80807
80808
80809
80810
80811
80812
80813
80814
80815
80816
80817
80818
80819
80820
80821
80822
80823
80824
80825
80826
80827
80828
80829
80830
80831
80832
80833
80834
80835
80836
80837
80838
80839
80840
80841
80842
80843
80844
80845
80846
80847
80848
80849
80850
80851
80852
80853
80854
80855
80856
80857
80858
80859
80860
80861
80862
80863
80864
80865
80866
80867
80868
80869
80870
80871
80872
80873
80874
80875
80876
80877
80878
80879
80880
80881
80882
80883
80884
80885
80886
80887
80888
80889
80890
80891
80892
80893
80894
80895
80896
80897
80898
80899
80900
80901
80902
80903
80904
80905
80906
80907
80908
80909
80910
80911
80912
80913
80914
80915
80916
80917
80918
80919
80920
80921
80922
80923
80924
80925
80926
80927
80928
80929
80930
80931
80932
80933
80934
80935
80936
80937
80938
80939
80940
80941
80942
80943
80944
80945
80946
80947
80948
80949
80950
80951
80952
80953
80954
80955
80956
80957
80958
80959
80960
80961
80962
80963
80964
80965
80966
80967
80968
80969
80970
80971
80972
80973
80974
80975
80976
80977
80978
80979
80980
80981
80982
80983
80984
80985
80986
80987
80988
80989
80990
80991
80992
80993
80994
80995
80996
80997
80998
80999
81000
81001
81002
81003
81004
81005
81006
81007
81008
81009
81010
81011
81012
81013
81014
81015
81016
81017
81018
81019
81020
81021
81022
81023
81024
81025
81026
81027
81028
81029
81030
81031
81032
81033
81034
81035
81036
81037
81038
81039
81040
81041
81042
81043
81044
81045
81046
81047
81048
81049
81050
81051
81052
81053
81054
81055
81056
81057
81058
81059
81060
81061
81062
81063
81064
81065
81066
81067
81068
81069
81070
81071
81072
81073
81074
81075
81076
81077
81078
81079
81080
81081
81082
81083
81084
81085
81086
81087
81088
81089
81090
81091
81092
81093
81094
81095
81096
81097
81098
81099
81100
81101
81102
81103
81104
81105
81106
81107
81108
81109
81110
81111
81112
81113
81114
81115
81116
81117
81118
81119
81120
81121
81122
81123
81124
81125
81126
81127
81128
81129
81130
81131
81132
81133
81134
81135
81136
81137
81138
81139
81140
81141
81142
81143
81144
81145
81146
81147
81148
81149
81150
81151
81152
81153
81154
81155
81156
81157
81158
81159
81160
81161
81162
81163
81164
81165
81166
81167
81168
81169
81170
81171
81172
81173
81174
81175
81176
81177
81178
81179
81180
81181
81182
81183
81184
81185
81186
81187
81188
81189
81190
81191
81192
81193
81194
81195
81196
81197
81198
81199
81200
81201
81202
81203
81204
81205
81206
81207
81208
81209
81210
81211
81212
81213
81214
81215
81216
81217
81218
81219
81220
81221
81222
81223
81224
81225
81226
81227
81228
81229
81230
81231
81232
81233
81234
81235
81236
81237
81238
81239
81240
81241
81242
81243
81244
81245
81246
81247
81248
81249
81250
81251
81252
81253
81254
81255
81256
81257
81258
81259
81260
81261
81262
81263
81264
81265
81266
81267
81268
81269
81270
81271
81272
81273
81274
81275
81276
81277
81278
81279
81280
81281
81282
81283
81284
81285
81286
81287
81288
81289
81290
81291
81292
81293
81294
81295
81296
81297
81298
81299
81300
81301
81302
81303
81304
81305
81306
81307
81308
81309
81310
81311
81312
81313
81314
81315
81316
81317
81318
81319
81320
81321
81322
81323
81324
81325
81326
81327
81328
81329
81330
81331
81332
81333
81334
81335
81336
81337
81338
81339
81340
81341
81342
81343
81344
81345
81346
81347
81348
81349
81350
81351
81352
81353
81354
81355
81356
81357
81358
81359
81360
81361
81362
81363
81364
81365
81366
81367
81368
81369
81370
81371
81372
81373
81374
81375
81376
81377
81378
81379
81380
81381
81382
81383
81384
81385
81386
81387
81388
81389
81390
81391
81392
81393
81394
81395
81396
81397
81398
81399
81400
81401
81402
81403
81404
81405
81406
81407
81408
81409
81410
81411
81412
81413
81414
81415
81416
81417
81418
81419
81420
81421
81422
81423
81424
81425
81426
81427
81428
81429
81430
81431
81432
81433
81434
81435
81436
81437
81438
81439
81440
81441
81442
81443
81444
81445
81446
81447
81448
81449
81450
81451
81452
81453
81454
81455
81456
81457
81458
81459
81460
81461
81462
81463
81464
81465
81466
81467
81468
81469
81470
81471
81472
81473
81474
81475
81476
81477
81478
81479
81480
81481
81482
81483
81484
81485
81486
81487
81488
81489
81490
81491
81492
81493
81494
81495
81496
81497
81498
81499
81500
81501
81502
81503
81504
81505
81506
81507
81508
81509
81510
81511
81512
81513
81514
81515
81516
81517
81518
81519
81520
81521
81522
81523
81524
81525
81526
81527
81528
81529
81530
81531
81532
81533
81534
81535
81536
81537
81538
81539
81540
81541
81542
81543
81544
81545
81546
81547
81548
81549
81550
81551
81552
81553
81554
81555
81556
81557
81558
81559
81560
81561
81562
81563
81564
81565
81566
81567
81568
81569
81570
81571
81572
81573
81574
81575
81576
81577
81578
81579
81580
81581
81582
81583
81584
81585
81586
81587
81588
81589
81590
81591
81592
81593
81594
81595
81596
81597
81598
81599
81600
81601
81602
81603
81604
81605
81606
81607
81608
81609
81610
81611
81612
81613
81614
81615
81616
81617
81618
81619
81620
81621
81622
81623
81624
81625
81626
81627
81628
81629
81630
81631
81632
81633
81634
81635
81636
81637
81638
81639
81640
81641
81642
81643
81644
81645
81646
81647
81648
81649
81650
81651
81652
81653
81654
81655
81656
81657
81658
81659
81660
81661
81662
81663
81664
81665
81666
81667
81668
81669
81670
81671
81672
81673
81674
81675
81676
81677
81678
81679
81680
81681
81682
81683
81684
81685
81686
81687
81688
81689
81690
81691
81692
81693
81694
81695
81696
81697
81698
81699
81700
81701
81702
81703
81704
81705
81706
81707
81708
81709
81710
81711
81712
81713
81714
81715
81716
81717
81718
81719
81720
81721
81722
81723
81724
81725
81726
81727
81728
81729
81730
81731
81732
81733
81734
81735
81736
81737
81738
81739
81740
81741
81742
81743
81744
81745
81746
81747
81748
81749
81750
81751
81752
81753
81754
81755
81756
81757
81758
81759
81760
81761
81762
81763
81764
81765
81766
81767
81768
81769
81770
81771
81772
81773
81774
81775
81776
81777
81778
81779
81780
81781
81782
81783
81784
81785
81786
81787
81788
81789
81790
81791
81792
81793
81794
81795
81796
81797
81798
81799
81800
81801
81802
81803
81804
81805
81806
81807
81808
81809
81810
81811
81812
81813
81814
81815
81816
81817
81818
81819
81820
81821
81822
81823
81824
81825
81826
81827
81828
81829
81830
81831
81832
81833
81834
81835
81836
81837
81838
81839
81840
81841
81842
81843
81844
81845
81846
81847
81848
81849
81850
81851
81852
81853
81854
81855
81856
81857
81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
81874
81875
81876
81877
81878
81879
81880
81881
81882
81883
81884
81885
81886
81887
81888
81889
81890
81891
81892
81893
81894
81895
81896
81897
81898
81899
81900
81901
81902
81903
81904
81905
81906
81907
81908
81909
81910
81911
81912
81913
81914
81915
81916
81917
81918
81919
81920
81921
81922
81923
81924
81925
81926
81927
81928
81929
81930
81931
81932
81933
81934
81935
81936
81937
81938
81939
81940
81941
81942
81943
81944
81945
81946
81947
81948
81949
81950
81951
81952
81953
81954
81955
81956
81957
81958
81959
81960
81961
81962
81963
81964
81965
81966
81967
81968
81969
81970
81971
81972
81973
81974
81975
81976
81977
81978
81979
81980
81981
81982
81983
81984
81985
81986
81987
81988
81989
81990
81991
81992
81993
81994
81995
81996
81997
81998
81999
82000
82001
82002
82003
82004
82005
82006
82007
82008
82009
82010
82011
82012
82013
82014
82015
82016
82017
82018
82019
82020
82021
82022
82023
82024
82025
82026
82027
82028
82029
82030
82031
82032
82033
82034
82035
82036
82037
82038
82039
82040
82041
82042
82043
82044
82045
82046
82047
82048
82049
82050
82051
82052
82053
82054
82055
82056
82057
82058
82059
82060
82061
82062
82063
82064
82065
82066
82067
82068
82069
82070
82071
82072
82073
82074
82075
82076
82077
82078
82079
82080
82081
82082
82083
82084
82085
82086
82087
82088
82089
82090
82091
82092
82093
82094
82095
82096
82097
82098
82099
82100
82101
82102
82103
82104
82105
82106
82107
82108
82109
82110
82111
82112
82113
82114
82115
82116
82117
82118
82119
82120
82121
82122
82123
82124
82125
82126
82127
82128
82129
82130
82131
82132
82133
82134
82135
82136
82137
82138
82139
82140
82141
82142
82143
82144
82145
82146
82147
82148
82149
82150
82151
82152
82153
82154
82155
82156
82157
82158
82159
82160
82161
82162
82163
82164
82165
82166
82167
82168
82169
82170
82171
82172
82173
82174
82175
82176
82177
82178
82179
82180
82181
82182
82183
82184
82185
82186
82187
82188
82189
82190
82191
82192
82193
82194
82195
82196
82197
82198
82199
82200
82201
82202
82203
82204
82205
82206
82207
82208
82209
82210
82211
82212
82213
82214
82215
82216
82217
82218
82219
82220
82221
82222
82223
82224
82225
82226
82227
82228
82229
82230
82231
82232
82233
82234
82235
82236
82237
82238
82239
82240
82241
82242
82243
82244
82245
82246
82247
82248
82249
82250
82251
82252
82253
82254
82255
82256
82257
82258
82259
82260
82261
82262
82263
82264
82265
82266
82267
82268
82269
82270
82271
82272
82273
82274
82275
82276
82277
82278
82279
82280
82281
82282
82283
82284
82285
82286
82287
82288
82289
82290
82291
82292
82293
82294
82295
82296
82297
82298
82299
82300
82301
82302
82303
82304
82305
82306
82307
82308
82309
82310
82311
82312
82313
82314
82315
82316
82317
82318
82319
82320
82321
82322
82323
82324
82325
82326
82327
82328
82329
82330
82331
82332
82333
82334
82335
82336
82337
82338
82339
82340
82341
82342
82343
82344
82345
82346
82347
82348
82349
82350
82351
82352
82353
82354
82355
82356
82357
82358
82359
82360
82361
82362
82363
82364
82365
82366
82367
82368
82369
82370
82371
82372
82373
82374
82375
82376
82377
82378
82379
82380
82381
82382
82383
82384
82385
82386
82387
82388
82389
82390
82391
82392
82393
82394
82395
82396
82397
82398
82399
82400
82401
82402
82403
82404
82405
82406
82407
82408
82409
82410
82411
82412
82413
82414
82415
82416
82417
82418
82419
82420
82421
82422
82423
82424
82425
82426
82427
82428
82429
82430
82431
82432
82433
82434
82435
82436
82437
82438
82439
82440
82441
82442
82443
82444
82445
82446
82447
82448
82449
82450
82451
82452
82453
82454
82455
82456
82457
82458
82459
82460
82461
82462
82463
82464
82465
82466
82467
82468
82469
82470
82471
82472
82473
82474
82475
82476
82477
82478
82479
82480
82481
82482
82483
82484
82485
82486
82487
82488
82489
82490
82491
82492
82493
82494
82495
82496
82497
82498
82499
82500
82501
82502
82503
82504
82505
82506
82507
82508
82509
82510
82511
82512
82513
82514
82515
82516
82517
82518
82519
82520
82521
82522
82523
82524
82525
82526
82527
82528
82529
82530
82531
82532
82533
82534
82535
82536
82537
82538
82539
82540
82541
82542
82543
82544
82545
82546
82547
82548
82549
82550
82551
82552
82553
82554
82555
82556
82557
82558
82559
82560
82561
82562
82563
82564
82565
82566
82567
82568
82569
82570
82571
82572
82573
82574
82575
82576
82577
82578
82579
82580
82581
82582
82583
82584
82585
82586
82587
82588
82589
82590
82591
82592
82593
82594
82595
82596
82597
82598
82599
82600
82601
82602
82603
82604
82605
82606
82607
82608
82609
82610
82611
82612
82613
82614
82615
82616
82617
82618
82619
82620
82621
82622
82623
82624
82625
82626
82627
82628
82629
82630
82631
82632
82633
82634
82635
82636
82637
82638
82639
82640
82641
82642
82643
82644
82645
82646
82647
82648
82649
82650
82651
82652
82653
82654
82655
82656
82657
82658
82659
82660
82661
82662
82663
82664
82665
82666
82667
82668
82669
82670
82671
82672
82673
82674
82675
82676
82677
82678
82679
82680
82681
82682
82683
82684
82685
82686
82687
82688
82689
82690
82691
82692
82693
82694
82695
82696
82697
82698
82699
82700
82701
82702
82703
82704
82705
82706
82707
82708
82709
82710
82711
82712
82713
82714
82715
82716
82717
82718
82719
82720
82721
82722
82723
82724
82725
82726
82727
82728
82729
82730
82731
82732
82733
82734
82735
82736
82737
82738
82739
82740
82741
82742
82743
82744
82745
82746
82747
82748
82749
82750
82751
82752
82753
82754
82755
82756
82757
82758
82759
82760
82761
82762
82763
82764
82765
82766
82767
82768
82769
82770
82771
82772
82773
82774
82775
82776
82777
82778
82779
82780
82781
82782
82783
82784
82785
82786
82787
82788
82789
82790
82791
82792
82793
82794
82795
82796
82797
82798
82799
82800
82801
82802
82803
82804
82805
82806
82807
82808
82809
82810
82811
82812
82813
82814
82815
82816
82817
82818
82819
82820
82821
82822
82823
82824
82825
82826
82827
82828
82829
82830
82831
82832
82833
82834
82835
82836
82837
82838
82839
82840
82841
82842
82843
82844
82845
82846
82847
82848
82849
82850
82851
82852
82853
82854
82855
82856
82857
82858
82859
82860
82861
82862
82863
82864
82865
82866
82867
82868
82869
82870
82871
82872
82873
82874
82875
82876
82877
82878
82879
82880
82881
82882
82883
82884
82885
82886
82887
82888
82889
82890
82891
82892
82893
82894
82895
82896
82897
82898
82899
82900
82901
82902
82903
82904
82905
82906
82907
82908
82909
82910
82911
82912
82913
82914
82915
82916
82917
82918
82919
82920
82921
82922
82923
82924
82925
82926
82927
82928
82929
82930
82931
82932
82933
82934
82935
82936
82937
82938
82939
82940
82941
82942
82943
82944
82945
82946
82947
82948
82949
82950
82951
82952
82953
82954
82955
82956
82957
82958
82959
82960
82961
82962
82963
82964
82965
82966
82967
82968
82969
82970
82971
82972
82973
82974
82975
82976
82977
82978
82979
82980
82981
82982
82983
82984
82985
82986
82987
82988
82989
82990
82991
82992
82993
82994
82995
82996
82997
82998
82999
83000
83001
83002
83003
83004
83005
83006
83007
83008
83009
83010
83011
83012
83013
83014
83015
83016
83017
83018
83019
83020
83021
83022
83023
83024
83025
83026
83027
83028
83029
83030
83031
83032
83033
83034
83035
83036
83037
83038
83039
83040
83041
83042
83043
83044
83045
83046
83047
83048
83049
83050
83051
83052
83053
83054
83055
83056
83057
83058
83059
83060
83061
83062
83063
83064
83065
83066
83067
83068
83069
83070
83071
83072
83073
83074
83075
83076
83077
83078
83079
83080
83081
83082
83083
83084
83085
83086
83087
83088
83089
83090
83091
83092
83093
83094
83095
83096
83097
83098
83099
83100
83101
83102
83103
83104
83105
83106
83107
83108
83109
83110
83111
83112
83113
83114
83115
83116
83117
83118
83119
83120
83121
83122
83123
83124
83125
83126
83127
83128
83129
83130
83131
83132
83133
83134
83135
83136
83137
83138
83139
83140
83141
83142
83143
83144
83145
83146
83147
83148
83149
83150
83151
83152
83153
83154
83155
83156
83157
83158
83159
83160
83161
83162
83163
83164
83165
83166
83167
83168
83169
83170
83171
83172
83173
83174
83175
83176
83177
83178
83179
83180
83181
83182
83183
83184
83185
83186
83187
83188
83189
83190
83191
83192
83193
83194
83195
83196
83197
83198
83199
83200
83201
83202
83203
83204
83205
83206
83207
83208
83209
83210
83211
83212
83213
83214
83215
83216
83217
83218
83219
83220
83221
83222
83223
83224
83225
83226
83227
83228
83229
83230
83231
83232
83233
83234
83235
83236
83237
83238
83239
83240
83241
83242
83243
83244
83245
83246
83247
83248
83249
83250
83251
83252
83253
83254
83255
83256
83257
83258
83259
83260
83261
83262
83263
83264
83265
83266
83267
83268
83269
83270
83271
83272
83273
83274
83275
83276
83277
83278
83279
83280
83281
83282
83283
83284
83285
83286
83287
83288
83289
83290
83291
83292
83293
83294
83295
83296
83297
83298
83299
83300
83301
83302
83303
83304
83305
83306
83307
83308
83309
83310
83311
83312
83313
83314
83315
83316
83317
83318
83319
83320
83321
83322
83323
83324
83325
83326
83327
83328
83329
83330
83331
83332
83333
83334
83335
83336
83337
83338
83339
83340
83341
83342
83343
83344
83345
83346
83347
83348
83349
83350
83351
83352
83353
83354
83355
83356
83357
83358
83359
83360
83361
83362
83363
83364
83365
83366
83367
83368
83369
83370
83371
83372
83373
83374
83375
83376
83377
83378
83379
83380
83381
83382
83383
83384
83385
83386
83387
83388
83389
83390
83391
83392
83393
83394
83395
83396
83397
83398
83399
83400
83401
83402
83403
83404
83405
83406
83407
83408
83409
83410
83411
83412
83413
83414
83415
83416
83417
83418
83419
83420
83421
83422
83423
83424
83425
83426
83427
83428
83429
83430
83431
83432
83433
83434
83435
83436
83437
83438
83439
83440
83441
83442
83443
83444
83445
83446
83447
83448
83449
83450
83451
83452
83453
83454
83455
83456
83457
83458
83459
83460
83461
83462
83463
83464
83465
83466
83467
83468
83469
83470
83471
83472
83473
83474
83475
83476
83477
83478
83479
83480
83481
83482
83483
83484
83485
83486
83487
83488
83489
83490
83491
83492
83493
83494
83495
83496
83497
83498
83499
83500
83501
83502
83503
83504
83505
83506
83507
83508
83509
83510
83511
83512
83513
83514
83515
83516
83517
83518
83519
83520
83521
83522
83523
83524
83525
83526
83527
83528
83529
83530
83531
83532
83533
83534
83535
83536
83537
83538
83539
83540
83541
83542
83543
83544
83545
83546
83547
83548
83549
83550
83551
83552
83553
83554
83555
83556
83557
83558
83559
83560
83561
83562
83563
83564
83565
83566
83567
83568
83569
83570
83571
83572
83573
83574
83575
83576
83577
83578
83579
83580
83581
83582
83583
83584
83585
83586
83587
83588
83589
83590
83591
83592
83593
83594
83595
83596
83597
83598
83599
83600
83601
83602
83603
83604
83605
83606
83607
83608
83609
83610
83611
83612
83613
83614
83615
83616
83617
83618
83619
83620
83621
83622
83623
83624
83625
83626
83627
83628
83629
83630
83631
83632
83633
83634
83635
83636
83637
83638
83639
83640
83641
83642
83643
83644
83645
83646
83647
83648
83649
83650
83651
83652
83653
83654
83655
83656
83657
83658
83659
83660
83661
83662
83663
83664
83665
83666
83667
83668
83669
83670
83671
83672
83673
83674
83675
83676
83677
83678
83679
83680
83681
83682
83683
83684
83685
83686
83687
83688
83689
83690
83691
83692
83693
83694
83695
83696
83697
83698
83699
83700
83701
83702
83703
83704
83705
83706
83707
83708
83709
83710
83711
83712
83713
83714
83715
83716
83717
83718
83719
83720
83721
83722
83723
83724
83725
83726
83727
83728
83729
83730
83731
83732
83733
83734
83735
83736
83737
83738
83739
83740
83741
83742
83743
83744
83745
83746
83747
83748
83749
83750
83751
83752
83753
83754
83755
83756
83757
83758
83759
83760
83761
83762
83763
83764
83765
83766
83767
83768
83769
83770
83771
83772
83773
83774
83775
83776
83777
83778
83779
83780
83781
83782
83783
83784
83785
83786
83787
83788
83789
83790
83791
83792
83793
83794
83795
83796
83797
83798
83799
83800
83801
83802
83803
83804
83805
83806
83807
83808
83809
83810
83811
83812
83813
83814
83815
83816
83817
83818
83819
83820
83821
83822
83823
83824
83825
83826
83827
83828
83829
83830
83831
83832
83833
83834
83835
83836
83837
83838
83839
83840
83841
83842
83843
83844
83845
83846
83847
83848
83849
83850
83851
83852
83853
83854
83855
83856
83857
83858
83859
83860
83861
83862
83863
83864
83865
83866
83867
83868
83869
83870
83871
83872
83873
83874
83875
83876
83877
83878
83879
83880
83881
83882
83883
83884
83885
83886
83887
83888
83889
83890
83891
83892
83893
83894
83895
83896
83897
83898
83899
83900
83901
83902
83903
83904
83905
83906
83907
83908
83909
83910
83911
83912
83913
83914
83915
83916
83917
83918
83919
83920
83921
83922
83923
83924
83925
83926
83927
83928
83929
83930
83931
83932
83933
83934
83935
83936
83937
83938
83939
83940
83941
83942
83943
83944
83945
83946
83947
83948
83949
83950
83951
83952
83953
83954
83955
83956
83957
83958
83959
83960
83961
83962
83963
83964
83965
83966
83967
83968
83969
83970
83971
83972
83973
83974
83975
83976
83977
83978
83979
83980
83981
83982
83983
83984
83985
83986
83987
83988
83989
83990
83991
83992
83993
83994
83995
83996
83997
83998
83999
84000
84001
84002
84003
84004
84005
84006
84007
84008
84009
84010
84011
84012
84013
84014
84015
84016
84017
84018
84019
84020
84021
84022
84023
84024
84025
84026
84027
84028
84029
84030
84031
84032
84033
84034
84035
84036
84037
84038
84039
84040
84041
84042
84043
84044
84045
84046
84047
84048
84049
84050
84051
84052
84053
84054
84055
84056
84057
84058
84059
84060
84061
84062
84063
84064
84065
84066
84067
84068
84069
84070
84071
84072
84073
84074
84075
84076
84077
84078
84079
84080
84081
84082
84083
84084
84085
84086
84087
84088
84089
84090
84091
84092
84093
84094
84095
84096
84097
84098
84099
84100
84101
84102
84103
84104
84105
84106
84107
84108
84109
84110
84111
84112
84113
84114
84115
84116
84117
84118
84119
84120
84121
84122
84123
84124
84125
84126
84127
84128
84129
84130
84131
84132
84133
84134
84135
84136
84137
84138
84139
84140
84141
84142
84143
84144
84145
84146
84147
84148
84149
84150
84151
84152
84153
84154
84155
84156
84157
84158
84159
84160
84161
84162
84163
84164
84165
84166
84167
84168
84169
84170
84171
84172
84173
84174
84175
84176
84177
84178
84179
84180
84181
84182
84183
84184
84185
84186
84187
84188
84189
84190
84191
84192
84193
84194
84195
84196
84197
84198
84199
84200
84201
84202
84203
84204
84205
84206
84207
84208
84209
84210
84211
84212
84213
84214
84215
84216
84217
84218
84219
84220
84221
84222
84223
84224
84225
84226
84227
84228
84229
84230
84231
84232
84233
84234
84235
84236
84237
84238
84239
84240
84241
84242
84243
84244
84245
84246
84247
84248
84249
84250
84251
84252
84253
84254
84255
84256
84257
84258
84259
84260
84261
84262
84263
84264
84265
84266
84267
84268
84269
84270
84271
84272
84273
84274
84275
84276
84277
84278
84279
84280
84281
84282
84283
84284
84285
84286
84287
84288
84289
84290
84291
84292
84293
84294
84295
84296
84297
84298
84299
84300
84301
84302
84303
84304
84305
84306
84307
84308
84309
84310
84311
84312
84313
84314
84315
84316
84317
84318
84319
84320
84321
84322
84323
84324
84325
84326
84327
84328
84329
84330
84331
84332
84333
84334
84335
84336
84337
84338
84339
84340
84341
84342
84343
84344
84345
84346
84347
84348
84349
84350
84351
84352
84353
84354
84355
84356
84357
84358
84359
84360
84361
84362
84363
84364
84365
84366
84367
84368
84369
84370
84371
84372
84373
84374
84375
84376
84377
84378
84379
84380
84381
84382
84383
84384
84385
84386
84387
84388
84389
84390
84391
84392
84393
84394
84395
84396
84397
84398
84399
84400
84401
84402
84403
84404
84405
84406
84407
84408
84409
84410
84411
84412
84413
84414
84415
84416
84417
84418
84419
84420
84421
84422
84423
84424
84425
84426
84427
84428
84429
84430
84431
84432
84433
84434
84435
84436
84437
84438
84439
84440
84441
84442
84443
84444
84445
84446
84447
84448
84449
84450
84451
84452
84453
84454
84455
84456
84457
84458
84459
84460
84461
84462
84463
84464
84465
84466
84467
84468
84469
84470
84471
84472
84473
84474
84475
84476
84477
84478
84479
84480
84481
84482
84483
84484
84485
84486
84487
84488
84489
84490
84491
84492
84493
84494
84495
84496
84497
84498
84499
84500
84501
84502
84503
84504
84505
84506
84507
84508
84509
84510
84511
84512
84513
84514
84515
84516
84517
84518
84519
84520
84521
84522
84523
84524
84525
84526
84527
84528
84529
84530
84531
84532
84533
84534
84535
84536
84537
84538
84539
84540
84541
84542
84543
84544
84545
84546
84547
84548
84549
84550
84551
84552
84553
84554
84555
84556
84557
84558
84559
84560
84561
84562
84563
84564
84565
84566
84567
84568
84569
84570
84571
84572
84573
84574
84575
84576
84577
84578
84579
84580
84581
84582
84583
84584
84585
84586
84587
84588
84589
84590
84591
84592
84593
84594
84595
84596
84597
84598
84599
84600
84601
84602
84603
84604
84605
84606
84607
84608
84609
84610
84611
84612
84613
84614
84615
84616
84617
84618
84619
84620
84621
84622
84623
84624
84625
84626
84627
84628
84629
84630
84631
84632
84633
84634
84635
84636
84637
84638
84639
84640
84641
84642
84643
84644
84645
84646
84647
84648
84649
84650
84651
84652
84653
84654
84655
84656
84657
84658
84659
84660
84661
84662
84663
84664
84665
84666
84667
84668
84669
84670
84671
84672
84673
84674
84675
84676
84677
84678
84679
84680
84681
84682
84683
84684
84685
84686
84687
84688
84689
84690
84691
84692
84693
84694
84695
84696
84697
84698
84699
84700
84701
84702
84703
84704
84705
84706
84707
84708
84709
84710
84711
84712
84713
84714
84715
84716
84717
84718
84719
84720
84721
84722
84723
84724
84725
84726
84727
84728
84729
84730
84731
84732
84733
84734
84735
84736
84737
84738
84739
84740
84741
84742
84743
84744
84745
84746
84747
84748
84749
84750
84751
84752
84753
84754
84755
84756
84757
84758
84759
84760
84761
84762
84763
84764
84765
84766
84767
84768
84769
84770
84771
84772
84773
84774
84775
84776
84777
84778
84779
84780
84781
84782
84783
84784
84785
84786
84787
84788
84789
84790
84791
84792
84793
84794
84795
84796
84797
84798
84799
84800
84801
84802
84803
84804
84805
84806
84807
84808
84809
84810
84811
84812
84813
84814
84815
84816
84817
84818
84819
84820
84821
84822
84823
84824
84825
84826
84827
84828
84829
84830
84831
84832
84833
84834
84835
84836
84837
84838
84839
84840
84841
84842
84843
84844
84845
84846
84847
84848
84849
84850
84851
84852
84853
84854
84855
84856
84857
84858
84859
84860
84861
84862
84863
84864
84865
84866
84867
84868
84869
84870
84871
84872
84873
84874
84875
84876
84877
84878
84879
84880
84881
84882
84883
84884
84885
84886
84887
84888
84889
84890
84891
84892
84893
84894
84895
84896
84897
84898
84899
84900
84901
84902
84903
84904
84905
84906
84907
84908
84909
84910
84911
84912
84913
84914
84915
84916
84917
84918
84919
84920
84921
84922
84923
84924
84925
84926
84927
84928
84929
84930
84931
84932
84933
84934
84935
84936
84937
84938
84939
84940
84941
84942
84943
84944
84945
84946
84947
84948
84949
84950
84951
84952
84953
84954
84955
84956
84957
84958
84959
84960
84961
84962
84963
84964
84965
84966
84967
84968
84969
84970
84971
84972
84973
84974
84975
84976
84977
84978
84979
84980
84981
84982
84983
84984
84985
84986
84987
84988
84989
84990
84991
84992
84993
84994
84995
84996
84997
84998
84999
85000
85001
85002
85003
85004
85005
85006
85007
85008
85009
85010
85011
85012
85013
85014
85015
85016
85017
85018
85019
85020
85021
85022
85023
85024
85025
85026
85027
85028
85029
85030
85031
85032
85033
85034
85035
85036
85037
85038
85039
85040
85041
85042
85043
85044
85045
85046
85047
85048
85049
85050
85051
85052
85053
85054
85055
85056
85057
85058
85059
85060
85061
85062
85063
85064
85065
85066
85067
85068
85069
85070
85071
85072
85073
85074
85075
85076
85077
85078
85079
85080
85081
85082
85083
85084
85085
85086
85087
85088
85089
85090
85091
85092
85093
85094
85095
85096
85097
85098
85099
85100
85101
85102
85103
85104
85105
85106
85107
85108
85109
85110
85111
85112
85113
85114
85115
85116
85117
85118
85119
85120
85121
85122
85123
85124
85125
85126
85127
85128
85129
85130
85131
85132
85133
85134
85135
85136
85137
85138
85139
85140
85141
85142
85143
85144
85145
85146
85147
85148
85149
85150
85151
85152
85153
85154
85155
85156
85157
85158
85159
85160
85161
85162
85163
85164
85165
85166
85167
85168
85169
85170
85171
85172
85173
85174
85175
85176
85177
85178
85179
85180
85181
85182
85183
85184
85185
85186
85187
85188
85189
85190
85191
85192
85193
85194
85195
85196
85197
85198
85199
85200
85201
85202
85203
85204
85205
85206
85207
85208
85209
85210
85211
85212
85213
85214
85215
85216
85217
85218
85219
85220
85221
85222
85223
85224
85225
85226
85227
85228
85229
85230
85231
85232
85233
85234
85235
85236
85237
85238
85239
85240
85241
85242
85243
85244
85245
85246
85247
85248
85249
85250
85251
85252
85253
85254
85255
85256
85257
85258
85259
85260
85261
85262
85263
85264
85265
85266
85267
85268
85269
85270
85271
85272
85273
85274
85275
85276
85277
85278
85279
85280
85281
85282
85283
85284
85285
85286
85287
85288
85289
85290
85291
85292
85293
85294
85295
85296
85297
85298
85299
85300
85301
85302
85303
85304
85305
85306
85307
85308
85309
85310
85311
85312
85313
85314
85315
85316
85317
85318
85319
85320
85321
85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
85332
85333
85334
85335
85336
85337
85338
85339
85340
85341
85342
85343
85344
85345
85346
85347
85348
85349
85350
85351
85352
85353
85354
85355
85356
85357
85358
85359
85360
85361
85362
85363
85364
85365
85366
85367
85368
85369
85370
85371
85372
85373
85374
85375
85376
85377
85378
85379
85380
85381
85382
85383
85384
85385
85386
85387
85388
85389
85390
85391
85392
85393
85394
85395
85396
85397
85398
85399
85400
85401
85402
85403
85404
85405
85406
85407
85408
85409
85410
85411
85412
85413
85414
85415
85416
85417
85418
85419
85420
85421
85422
85423
85424
85425
85426
85427
85428
85429
85430
85431
85432
85433
85434
85435
85436
85437
85438
85439
85440
85441
85442
85443
85444
85445
85446
85447
85448
85449
85450
85451
85452
85453
85454
85455
85456
85457
85458
85459
85460
85461
85462
85463
85464
85465
85466
85467
85468
85469
85470
85471
85472
85473
85474
85475
85476
85477
85478
85479
85480
85481
85482
85483
85484
85485
85486
85487
85488
85489
85490
85491
85492
85493
85494
85495
85496
85497
85498
85499
85500
85501
85502
85503
85504
85505
85506
85507
85508
85509
85510
85511
85512
85513
85514
85515
85516
85517
85518
85519
85520
85521
85522
85523
85524
85525
85526
85527
85528
85529
85530
85531
85532
85533
85534
85535
85536
85537
85538
85539
85540
85541
85542
85543
85544
85545
85546
85547
85548
85549
85550
85551
85552
85553
85554
85555
85556
85557
85558
85559
85560
85561
85562
85563
85564
85565
85566
85567
85568
85569
85570
85571
85572
85573
85574
85575
85576
85577
85578
85579
85580
85581
85582
85583
85584
85585
85586
85587
85588
85589
85590
85591
85592
85593
85594
85595
85596
85597
85598
85599
85600
85601
85602
85603
85604
85605
85606
85607
85608
85609
85610
85611
85612
85613
85614
85615
85616
85617
85618
85619
85620
85621
85622
85623
85624
85625
85626
85627
85628
85629
85630
85631
85632
85633
85634
85635
85636
85637
85638
85639
85640
85641
85642
85643
85644
85645
85646
85647
85648
85649
85650
85651
85652
85653
85654
85655
85656
85657
85658
85659
85660
85661
85662
85663
85664
85665
85666
85667
85668
85669
85670
85671
85672
85673
85674
85675
85676
85677
85678
85679
85680
85681
85682
85683
85684
85685
85686
85687
85688
85689
85690
85691
85692
85693
85694
85695
85696
85697
85698
85699
85700
85701
85702
85703
85704
85705
85706
85707
85708
85709
85710
85711
85712
85713
85714
85715
85716
85717
85718
85719
85720
85721
85722
85723
85724
85725
85726
85727
85728
85729
85730
85731
85732
85733
85734
85735
85736
85737
85738
85739
85740
85741
85742
85743
85744
85745
85746
85747
85748
85749
85750
85751
85752
85753
85754
85755
85756
85757
85758
85759
85760
85761
85762
85763
85764
85765
85766
85767
85768
85769
85770
85771
85772
85773
85774
85775
85776
85777
85778
85779
85780
85781
85782
85783
85784
85785
85786
85787
85788
85789
85790
85791
85792
85793
85794
85795
85796
85797
85798
85799
85800
85801
85802
85803
85804
85805
85806
85807
85808
85809
85810
85811
85812
85813
85814
85815
85816
85817
85818
85819
85820
85821
85822
85823
85824
85825
85826
85827
85828
85829
85830
85831
85832
85833
85834
85835
85836
85837
85838
85839
85840
85841
85842
85843
85844
85845
85846
85847
85848
85849
85850
85851
85852
85853
85854
85855
85856
85857
85858
85859
85860
85861
85862
85863
85864
85865
85866
85867
85868
85869
85870
85871
85872
85873
85874
85875
85876
85877
85878
85879
85880
85881
85882
85883
85884
85885
85886
85887
85888
85889
85890
85891
85892
85893
85894
85895
85896
85897
85898
85899
85900
85901
85902
85903
85904
85905
85906
85907
85908
85909
85910
85911
85912
85913
85914
85915
85916
85917
85918
85919
85920
85921
85922
85923
85924
85925
85926
85927
85928
85929
85930
85931
85932
85933
85934
85935
85936
85937
85938
85939
85940
85941
85942
85943
85944
85945
85946
85947
85948
85949
85950
85951
85952
85953
85954
85955
85956
85957
85958
85959
85960
85961
85962
85963
85964
85965
85966
85967
85968
85969
85970
85971
85972
85973
85974
85975
85976
85977
85978
85979
85980
85981
85982
85983
85984
85985
85986
85987
85988
85989
85990
85991
85992
85993
85994
85995
85996
85997
85998
85999
86000
86001
86002
86003
86004
86005
86006
86007
86008
86009
86010
86011
86012
86013
86014
86015
86016
86017
86018
86019
86020
86021
86022
86023
86024
86025
86026
86027
86028
86029
86030
86031
86032
86033
86034
86035
86036
86037
86038
86039
86040
86041
86042
86043
86044
86045
86046
86047
86048
86049
86050
86051
86052
86053
86054
86055
86056
86057
86058
86059
86060
86061
86062
86063
86064
86065
86066
86067
86068
86069
86070
86071
86072
86073
86074
86075
86076
86077
86078
86079
86080
86081
86082
86083
86084
86085
86086
86087
86088
86089
86090
86091
86092
86093
86094
86095
86096
86097
86098
86099
86100
86101
86102
86103
86104
86105
86106
86107
86108
86109
86110
86111
86112
86113
86114
86115
86116
86117
86118
86119
86120
86121
86122
86123
86124
86125
86126
86127
86128
86129
86130
86131
86132
86133
86134
86135
86136
86137
86138
86139
86140
86141
86142
86143
86144
86145
86146
86147
86148
86149
86150
86151
86152
86153
86154
86155
86156
86157
86158
86159
86160
86161
86162
86163
86164
86165
86166
86167
86168
86169
86170
86171
86172
86173
86174
86175
86176
86177
86178
86179
86180
86181
86182
86183
86184
86185
86186
86187
86188
86189
86190
86191
86192
86193
86194
86195
86196
86197
86198
86199
86200
86201
86202
86203
86204
86205
86206
86207
86208
86209
86210
86211
86212
86213
86214
86215
86216
86217
86218
86219
86220
86221
86222
86223
86224
86225
86226
86227
86228
86229
86230
86231
86232
86233
86234
86235
86236
86237
86238
86239
86240
86241
86242
86243
86244
86245
86246
86247
86248
86249
86250
86251
86252
86253
86254
86255
86256
86257
86258
86259
86260
86261
86262
86263
86264
86265
86266
86267
86268
86269
86270
86271
86272
86273
86274
86275
86276
86277
86278
86279
86280
86281
86282
86283
86284
86285
86286
86287
86288
86289
86290
86291
86292
86293
86294
86295
86296
86297
86298
86299
86300
86301
86302
86303
86304
86305
86306
86307
86308
86309
86310
86311
86312
86313
86314
86315
86316
86317
86318
86319
86320
86321
86322
86323
86324
86325
86326
86327
86328
86329
86330
86331
86332
86333
86334
86335
86336
86337
86338
86339
86340
86341
86342
86343
86344
86345
86346
86347
86348
86349
86350
86351
86352
86353
86354
86355
86356
86357
86358
86359
86360
86361
86362
86363
86364
86365
86366
86367
86368
86369
86370
86371
86372
86373
86374
86375
86376
86377
86378
86379
86380
86381
86382
86383
86384
86385
86386
86387
86388
86389
86390
86391
86392
86393
86394
86395
86396
86397
86398
86399
86400
86401
86402
86403
86404
86405
86406
86407
86408
86409
86410
86411
86412
86413
86414
86415
86416
86417
86418
86419
86420
86421
86422
86423
86424
86425
86426
86427
86428
86429
86430
86431
86432
86433
86434
86435
86436
86437
86438
86439
86440
86441
86442
86443
86444
86445
86446
86447
86448
86449
86450
86451
86452
86453
86454
86455
86456
86457
86458
86459
86460
86461
86462
86463
86464
86465
86466
86467
86468
86469
86470
86471
86472
86473
86474
86475
86476
86477
86478
86479
86480
86481
86482
86483
86484
86485
86486
86487
86488
86489
86490
86491
86492
86493
86494
86495
86496
86497
86498
86499
86500
86501
86502
86503
86504
86505
86506
86507
86508
86509
86510
86511
86512
86513
86514
86515
86516
86517
86518
86519
86520
86521
86522
86523
86524
86525
86526
86527
86528
86529
86530
86531
86532
86533
86534
86535
86536
86537
86538
86539
86540
86541
86542
86543
86544
86545
86546
86547
86548
86549
86550
86551
86552
86553
86554
86555
86556
86557
86558
86559
86560
86561
86562
86563
86564
86565
86566
86567
86568
86569
86570
86571
86572
86573
86574
86575
86576
86577
86578
86579
86580
86581
86582
86583
86584
86585
86586
86587
86588
86589
86590
86591
86592
86593
86594
86595
86596
86597
86598
86599
86600
86601
86602
86603
86604
86605
86606
86607
86608
86609
86610
86611
86612
86613
86614
86615
86616
86617
86618
86619
86620
86621
86622
86623
86624
86625
86626
86627
86628
86629
86630
86631
86632
86633
86634
86635
86636
86637
86638
86639
86640
86641
86642
86643
86644
86645
86646
86647
86648
86649
86650
86651
86652
86653
86654
86655
86656
86657
86658
86659
86660
86661
86662
86663
86664
86665
86666
86667
86668
86669
86670
86671
86672
86673
86674
86675
86676
86677
86678
86679
86680
86681
86682
86683
86684
86685
86686
86687
86688
86689
86690
86691
86692
86693
86694
86695
86696
86697
86698
86699
86700
86701
86702
86703
86704
86705
86706
86707
86708
86709
86710
86711
86712
86713
86714
86715
86716
86717
86718
86719
86720
86721
86722
86723
86724
86725
86726
86727
86728
86729
86730
86731
86732
86733
86734
86735
86736
86737
86738
86739
86740
86741
86742
86743
86744
86745
86746
86747
86748
86749
86750
86751
86752
86753
86754
86755
86756
86757
86758
86759
86760
86761
86762
86763
86764
86765
86766
86767
86768
86769
86770
86771
86772
86773
86774
86775
86776
86777
86778
86779
86780
86781
86782
86783
86784
86785
86786
86787
86788
86789
86790
86791
86792
86793
86794
86795
86796
86797
86798
86799
86800
86801
86802
86803
86804
86805
86806
86807
86808
86809
86810
86811
86812
86813
86814
86815
86816
86817
86818
86819
86820
86821
86822
86823
86824
86825
86826
86827
86828
86829
86830
86831
86832
86833
86834
86835
86836
86837
86838
86839
86840
86841
86842
86843
86844
86845
86846
86847
86848
86849
86850
86851
86852
86853
86854
86855
86856
86857
86858
86859
86860
86861
86862
86863
86864
86865
86866
86867
86868
86869
86870
86871
86872
86873
86874
86875
86876
86877
86878
86879
86880
86881
86882
86883
86884
86885
86886
86887
86888
86889
86890
86891
86892
86893
86894
86895
86896
86897
86898
86899
86900
86901
86902
86903
86904
86905
86906
86907
86908
86909
86910
86911
86912
86913
86914
86915
86916
86917
86918
86919
86920
86921
86922
86923
86924
86925
86926
86927
86928
86929
86930
86931
86932
86933
86934
86935
86936
86937
86938
86939
86940
86941
86942
86943
86944
86945
86946
86947
86948
86949
86950
86951
86952
86953
86954
86955
86956
86957
86958
86959
86960
86961
86962
86963
86964
86965
86966
86967
86968
86969
86970
86971
86972
86973
86974
86975
86976
86977
86978
86979
86980
86981
86982
86983
86984
86985
86986
86987
86988
86989
86990
86991
86992
86993
86994
86995
86996
86997
86998
86999
87000
87001
87002
87003
87004
87005
87006
87007
87008
87009
87010
87011
87012
87013
87014
87015
87016
87017
87018
87019
87020
87021
87022
87023
87024
87025
87026
87027
87028
87029
87030
87031
87032
87033
87034
87035
87036
87037
87038
87039
87040
87041
87042
87043
87044
87045
87046
87047
87048
87049
87050
87051
87052
87053
87054
87055
87056
87057
87058
87059
87060
87061
87062
87063
87064
87065
87066
87067
87068
87069
87070
87071
87072
87073
87074
87075
87076
87077
87078
87079
87080
87081
87082
87083
87084
87085
87086
87087
87088
87089
87090
87091
87092
87093
87094
87095
87096
87097
87098
87099
87100
87101
87102
87103
87104
87105
87106
87107
87108
87109
87110
87111
87112
87113
87114
87115
87116
87117
87118
87119
87120
87121
87122
87123
87124
87125
87126
87127
87128
87129
87130
87131
87132
87133
87134
87135
87136
87137
87138
87139
87140
87141
87142
87143
87144
87145
87146
87147
87148
87149
87150
87151
87152
87153
87154
87155
87156
87157
87158
87159
87160
87161
87162
87163
87164
87165
87166
87167
87168
87169
87170
87171
87172
87173
87174
87175
87176
87177
87178
87179
87180
87181
87182
87183
87184
87185
87186
87187
87188
87189
87190
87191
87192
87193
87194
87195
87196
87197
87198
87199
87200
87201
87202
87203
87204
87205
87206
87207
87208
87209
87210
87211
87212
87213
87214
87215
87216
87217
87218
87219
87220
87221
87222
87223
87224
87225
87226
87227
87228
87229
87230
87231
87232
87233
87234
87235
87236
87237
87238
87239
87240
87241
87242
87243
87244
87245
87246
87247
87248
87249
87250
87251
87252
87253
87254
87255
87256
87257
87258
87259
87260
87261
87262
87263
87264
87265
87266
87267
87268
87269
87270
87271
87272
87273
87274
87275
87276
87277
87278
87279
87280
87281
87282
87283
87284
87285
87286
87287
87288
87289
87290
87291
87292
87293
87294
87295
87296
87297
87298
87299
87300
87301
87302
87303
87304
87305
87306
87307
87308
87309
87310
87311
87312
87313
87314
87315
87316
87317
87318
87319
87320
87321
87322
87323
87324
87325
87326
87327
87328
87329
87330
87331
87332
87333
87334
87335
87336
87337
87338
87339
87340
87341
87342
87343
87344
87345
87346
87347
87348
87349
87350
87351
87352
87353
87354
87355
87356
87357
87358
87359
87360
87361
87362
87363
87364
87365
87366
87367
87368
87369
87370
87371
87372
87373
87374
87375
87376
87377
87378
87379
87380
87381
87382
87383
87384
87385
87386
87387
87388
87389
87390
87391
87392
87393
87394
87395
87396
87397
87398
87399
87400
87401
87402
87403
87404
87405
87406
87407
87408
87409
87410
87411
87412
87413
87414
87415
87416
87417
87418
87419
87420
87421
87422
87423
87424
87425
87426
87427
87428
87429
87430
87431
87432
87433
87434
87435
87436
87437
87438
87439
87440
87441
87442
87443
87444
87445
87446
87447
87448
87449
87450
87451
87452
87453
87454
87455
87456
87457
87458
87459
87460
87461
87462
87463
87464
87465
87466
87467
87468
87469
87470
87471
87472
87473
87474
87475
87476
87477
87478
87479
87480
87481
87482
87483
87484
87485
87486
87487
87488
87489
87490
87491
87492
87493
87494
87495
87496
87497
87498
87499
87500
87501
87502
87503
87504
87505
87506
87507
87508
87509
87510
87511
87512
87513
87514
87515
87516
87517
87518
87519
87520
87521
87522
87523
87524
87525
87526
87527
87528
87529
87530
87531
87532
87533
87534
87535
87536
87537
87538
87539
87540
87541
87542
87543
87544
87545
87546
87547
87548
87549
87550
87551
87552
87553
87554
87555
87556
87557
87558
87559
87560
87561
87562
87563
87564
87565
87566
87567
87568
87569
87570
87571
87572
87573
87574
87575
87576
87577
87578
87579
87580
87581
87582
87583
87584
87585
87586
87587
87588
87589
87590
87591
87592
87593
87594
87595
87596
87597
87598
87599
87600
87601
87602
87603
87604
87605
87606
87607
87608
87609
87610
87611
87612
87613
87614
87615
87616
87617
87618
87619
87620
87621
87622
87623
87624
87625
87626
87627
87628
87629
87630
87631
87632
87633
87634
87635
87636
87637
87638
87639
87640
87641
87642
87643
87644
87645
87646
87647
87648
87649
87650
87651
87652
87653
87654
87655
87656
87657
87658
87659
87660
87661
87662
87663
87664
87665
87666
87667
87668
87669
87670
87671
87672
87673
87674
87675
87676
87677
87678
87679
87680
87681
87682
87683
87684
87685
87686
87687
87688
87689
87690
87691
87692
87693
87694
87695
87696
87697
87698
87699
87700
87701
87702
87703
87704
87705
87706
87707
87708
87709
87710
87711
87712
87713
87714
87715
87716
87717
87718
87719
87720
87721
87722
87723
87724
87725
87726
87727
87728
87729
87730
87731
87732
87733
87734
87735
87736
87737
87738
87739
87740
87741
87742
87743
87744
87745
87746
87747
87748
87749
87750
87751
87752
87753
87754
87755
87756
87757
87758
87759
87760
87761
87762
87763
87764
87765
87766
87767
87768
87769
87770
87771
87772
87773
87774
87775
87776
87777
87778
87779
87780
87781
87782
87783
87784
87785
87786
87787
87788
87789
87790
87791
87792
87793
87794
87795
87796
87797
87798
87799
87800
87801
87802
87803
87804
87805
87806
87807
87808
87809
87810
87811
87812
87813
87814
87815
87816
87817
87818
87819
87820
87821
87822
87823
87824
87825
87826
87827
87828
87829
87830
87831
87832
87833
87834
87835
87836
87837
87838
87839
87840
87841
87842
87843
87844
87845
87846
87847
87848
87849
87850
87851
87852
87853
87854
87855
87856
87857
87858
87859
87860
87861
87862
87863
87864
87865
87866
87867
87868
87869
87870
87871
87872
87873
87874
87875
87876
87877
87878
87879
87880
87881
87882
87883
87884
87885
87886
87887
87888
87889
87890
87891
87892
87893
87894
87895
87896
87897
87898
87899
87900
87901
87902
87903
87904
87905
87906
87907
87908
87909
87910
87911
87912
87913
87914
87915
87916
87917
87918
87919
87920
87921
87922
87923
87924
87925
87926
87927
87928
87929
87930
87931
87932
87933
87934
87935
87936
87937
87938
87939
87940
87941
87942
87943
87944
87945
87946
87947
87948
87949
87950
87951
87952
87953
87954
87955
87956
87957
87958
87959
87960
87961
87962
87963
87964
87965
87966
87967
87968
87969
87970
87971
87972
87973
87974
87975
87976
87977
87978
87979
87980
87981
87982
87983
87984
87985
87986
87987
87988
87989
87990
87991
87992
87993
87994
87995
87996
87997
87998
87999
88000
88001
88002
88003
88004
88005
88006
88007
88008
88009
88010
88011
88012
88013
88014
88015
88016
88017
88018
88019
88020
88021
88022
88023
88024
88025
88026
88027
88028
88029
88030
88031
88032
88033
88034
88035
88036
88037
88038
88039
88040
88041
88042
88043
88044
88045
88046
88047
88048
88049
88050
88051
88052
88053
88054
88055
88056
88057
88058
88059
88060
88061
88062
88063
88064
88065
88066
88067
88068
88069
88070
88071
88072
88073
88074
88075
88076
88077
88078
88079
88080
88081
88082
88083
88084
88085
88086
88087
88088
88089
88090
88091
88092
88093
88094
88095
88096
88097
88098
88099
88100
88101
88102
88103
88104
88105
88106
88107
88108
88109
88110
88111
88112
88113
88114
88115
88116
88117
88118
88119
88120
88121
88122
88123
88124
88125
88126
88127
88128
88129
88130
88131
88132
88133
88134
88135
88136
88137
88138
88139
88140
88141
88142
88143
88144
88145
88146
88147
88148
88149
88150
88151
88152
88153
88154
88155
88156
88157
88158
88159
88160
88161
88162
88163
88164
88165
88166
88167
88168
88169
88170
88171
88172
88173
88174
88175
88176
88177
88178
88179
88180
88181
88182
88183
88184
88185
88186
88187
88188
88189
88190
88191
88192
88193
88194
88195
88196
88197
88198
88199
88200
88201
88202
88203
88204
88205
88206
88207
88208
88209
88210
88211
88212
88213
88214
88215
88216
88217
88218
88219
88220
88221
88222
88223
88224
88225
88226
88227
88228
88229
88230
88231
88232
88233
88234
88235
88236
88237
88238
88239
88240
88241
88242
88243
88244
88245
88246
88247
88248
88249
88250
88251
88252
88253
88254
88255
88256
88257
88258
88259
88260
88261
88262
88263
88264
88265
88266
88267
88268
88269
88270
88271
88272
88273
88274
88275
88276
88277
88278
88279
88280
88281
88282
88283
88284
88285
88286
88287
88288
88289
88290
88291
88292
88293
88294
88295
88296
88297
88298
88299
88300
88301
88302
88303
88304
88305
88306
88307
88308
88309
88310
88311
88312
88313
88314
88315
88316
88317
88318
88319
88320
88321
88322
88323
88324
88325
88326
88327
88328
88329
88330
88331
88332
88333
88334
88335
88336
88337
88338
88339
88340
88341
88342
88343
88344
88345
88346
88347
88348
88349
88350
88351
88352
88353
88354
88355
88356
88357
88358
88359
88360
88361
88362
88363
88364
88365
88366
88367
88368
88369
88370
88371
88372
88373
88374
88375
88376
88377
88378
88379
88380
88381
88382
88383
88384
88385
88386
88387
88388
88389
88390
88391
88392
88393
88394
88395
88396
88397
88398
88399
88400
88401
88402
88403
88404
88405
88406
88407
88408
88409
88410
88411
88412
88413
88414
88415
88416
88417
88418
88419
88420
88421
88422
88423
88424
88425
88426
88427
88428
88429
88430
88431
88432
88433
88434
88435
88436
88437
88438
88439
88440
88441
88442
88443
88444
88445
88446
88447
88448
88449
88450
88451
88452
88453
88454
88455
88456
88457
88458
88459
88460
88461
88462
88463
88464
88465
88466
88467
88468
88469
88470
88471
88472
88473
88474
88475
88476
88477
88478
88479
88480
88481
88482
88483
88484
88485
88486
88487
88488
88489
88490
88491
88492
88493
88494
88495
88496
88497
88498
88499
88500
88501
88502
88503
88504
88505
88506
88507
88508
88509
88510
88511
88512
88513
88514
88515
88516
88517
88518
88519
88520
88521
88522
88523
88524
88525
88526
88527
88528
88529
88530
88531
88532
88533
88534
88535
88536
88537
88538
88539
88540
88541
88542
88543
88544
88545
88546
88547
88548
88549
88550
88551
88552
88553
88554
88555
88556
88557
88558
88559
88560
88561
88562
88563
88564
88565
88566
88567
88568
88569
88570
88571
88572
88573
88574
88575
88576
88577
88578
88579
88580
88581
88582
88583
88584
88585
88586
88587
88588
88589
88590
88591
88592
88593
88594
88595
88596
88597
88598
88599
88600
88601
88602
88603
88604
88605
88606
88607
88608
88609
88610
88611
88612
88613
88614
88615
88616
88617
88618
88619
88620
88621
88622
88623
88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
88634
88635
88636
88637
88638
88639
88640
88641
88642
88643
88644
88645
88646
88647
88648
88649
88650
88651
88652
88653
88654
88655
88656
88657
88658
88659
88660
88661
88662
88663
88664
88665
88666
88667
88668
88669
88670
88671
88672
88673
88674
88675
88676
88677
88678
88679
88680
88681
88682
88683
88684
88685
88686
88687
88688
88689
88690
88691
88692
88693
88694
88695
88696
88697
88698
88699
88700
88701
88702
88703
88704
88705
88706
88707
88708
88709
88710
88711
88712
88713
88714
88715
88716
88717
88718
88719
88720
88721
88722
88723
88724
88725
88726
88727
88728
88729
88730
88731
88732
88733
88734
88735
88736
88737
88738
88739
88740
88741
88742
88743
88744
88745
88746
88747
88748
88749
88750
88751
88752
88753
88754
88755
88756
88757
88758
88759
88760
88761
88762
88763
88764
88765
88766
88767
88768
88769
88770
88771
88772
88773
88774
88775
88776
88777
88778
88779
88780
88781
88782
88783
88784
88785
88786
88787
88788
88789
88790
88791
88792
88793
88794
88795
88796
88797
88798
88799
88800
88801
88802
88803
88804
88805
88806
88807
88808
88809
88810
88811
88812
88813
88814
88815
88816
88817
88818
88819
88820
88821
88822
88823
88824
88825
88826
88827
88828
88829
88830
88831
88832
88833
88834
88835
88836
88837
88838
88839
88840
88841
88842
88843
88844
88845
88846
88847
88848
88849
88850
88851
88852
88853
88854
88855
88856
88857
88858
88859
88860
88861
88862
88863
88864
88865
88866
88867
88868
88869
88870
88871
88872
88873
88874
88875
88876
88877
88878
88879
88880
88881
88882
88883
88884
88885
88886
88887
88888
88889
88890
88891
88892
88893
88894
88895
88896
88897
88898
88899
88900
88901
88902
88903
88904
88905
88906
88907
88908
88909
88910
88911
88912
88913
88914
88915
88916
88917
88918
88919
88920
88921
88922
88923
88924
88925
88926
88927
88928
88929
88930
88931
88932
88933
88934
88935
88936
88937
88938
88939
88940
88941
88942
88943
88944
88945
88946
88947
88948
88949
88950
88951
88952
88953
88954
88955
88956
88957
88958
88959
88960
88961
88962
88963
88964
88965
88966
88967
88968
88969
88970
88971
88972
88973
88974
88975
88976
88977
88978
88979
88980
88981
88982
88983
88984
88985
88986
88987
88988
88989
88990
88991
88992
88993
88994
88995
88996
88997
88998
88999
89000
89001
89002
89003
89004
89005
89006
89007
89008
89009
89010
89011
89012
89013
89014
89015
89016
89017
89018
89019
89020
89021
89022
89023
89024
89025
89026
89027
89028
89029
89030
89031
89032
89033
89034
89035
89036
89037
89038
89039
89040
89041
89042
89043
89044
89045
89046
89047
89048
89049
89050
89051
89052
89053
89054
89055
89056
89057
89058
89059
89060
89061
89062
89063
89064
89065
89066
89067
89068
89069
89070
89071
89072
89073
89074
89075
89076
89077
89078
89079
89080
89081
89082
89083
89084
89085
89086
89087
89088
89089
89090
89091
89092
89093
89094
89095
89096
89097
89098
89099
89100
89101
89102
89103
89104
89105
89106
89107
89108
89109
89110
89111
89112
89113
89114
89115
89116
89117
89118
89119
89120
89121
89122
89123
89124
89125
89126
89127
89128
89129
89130
89131
89132
89133
89134
89135
89136
89137
89138
89139
89140
89141
89142
89143
89144
89145
89146
89147
89148
89149
89150
89151
89152
89153
89154
89155
89156
89157
89158
89159
89160
89161
89162
89163
89164
89165
89166
89167
89168
89169
89170
89171
89172
89173
89174
89175
89176
89177
89178
89179
89180
89181
89182
89183
89184
89185
89186
89187
89188
89189
89190
89191
89192
89193
89194
89195
89196
89197
89198
89199
89200
89201
89202
89203
89204
89205
89206
89207
89208
89209
89210
89211
89212
89213
89214
89215
89216
89217
89218
89219
89220
89221
89222
89223
89224
89225
89226
89227
89228
89229
89230
89231
89232
89233
89234
89235
89236
89237
89238
89239
89240
89241
89242
89243
89244
89245
89246
89247
89248
89249
89250
89251
89252
89253
89254
89255
89256
89257
89258
89259
89260
89261
89262
89263
89264
89265
89266
89267
89268
89269
89270
89271
89272
89273
89274
89275
89276
89277
89278
89279
89280
89281
89282
89283
89284
89285
89286
89287
89288
89289
89290
89291
89292
89293
89294
89295
89296
89297
89298
89299
89300
89301
89302
89303
89304
89305
89306
89307
89308
89309
89310
89311
89312
89313
89314
89315
89316
89317
89318
89319
89320
89321
89322
89323
89324
89325
89326
89327
89328
89329
89330
89331
89332
89333
89334
89335
89336
89337
89338
89339
89340
89341
89342
89343
89344
89345
89346
89347
89348
89349
89350
89351
89352
89353
89354
89355
89356
89357
89358
89359
89360
89361
89362
89363
89364
89365
89366
89367
89368
89369
89370
89371
89372
89373
89374
89375
89376
89377
89378
89379
89380
89381
89382
89383
89384
89385
89386
89387
89388
89389
89390
89391
89392
89393
89394
89395
89396
89397
89398
89399
89400
89401
89402
89403
89404
89405
89406
89407
89408
89409
89410
89411
89412
89413
89414
89415
89416
89417
89418
89419
89420
89421
89422
89423
89424
89425
89426
89427
89428
89429
89430
89431
89432
89433
89434
89435
89436
89437
89438
89439
89440
89441
89442
89443
89444
89445
89446
89447
89448
89449
89450
89451
89452
89453
89454
89455
89456
89457
89458
89459
89460
89461
89462
89463
89464
89465
89466
89467
89468
89469
89470
89471
89472
89473
89474
89475
89476
89477
89478
89479
89480
89481
89482
89483
89484
89485
89486
89487
89488
89489
89490
89491
89492
89493
89494
89495
89496
89497
89498
89499
89500
89501
89502
89503
89504
89505
89506
89507
89508
89509
89510
89511
89512
89513
89514
89515
89516
89517
89518
89519
89520
89521
89522
89523
89524
89525
89526
89527
89528
89529
89530
89531
89532
89533
89534
89535
89536
89537
89538
89539
89540
89541
89542
89543
89544
89545
89546
89547
89548
89549
89550
89551
89552
89553
89554
89555
89556
89557
89558
89559
89560
89561
89562
89563
89564
89565
89566
89567
89568
89569
89570
89571
89572
89573
89574
89575
89576
89577
89578
89579
89580
89581
89582
89583
89584
89585
89586
89587
89588
89589
89590
89591
89592
89593
89594
89595
89596
89597
89598
89599
89600
89601
89602
89603
89604
89605
89606
89607
89608
89609
89610
89611
89612
89613
89614
89615
89616
89617
89618
89619
89620
89621
89622
89623
89624
89625
89626
89627
89628
89629
89630
89631
89632
89633
89634
89635
89636
89637
89638
89639
89640
89641
89642
89643
89644
89645
89646
89647
89648
89649
89650
89651
89652
89653
89654
89655
89656
89657
89658
89659
89660
89661
89662
89663
89664
89665
89666
89667
89668
89669
89670
89671
89672
89673
89674
89675
89676
89677
89678
89679
89680
89681
89682
89683
89684
89685
89686
89687
89688
89689
89690
89691
89692
89693
89694
89695
89696
89697
89698
89699
89700
89701
89702
89703
89704
89705
89706
89707
89708
89709
89710
89711
89712
89713
89714
89715
89716
89717
89718
89719
89720
89721
89722
89723
89724
89725
89726
89727
89728
89729
89730
89731
89732
89733
89734
89735
89736
89737
89738
89739
89740
89741
89742
89743
89744
89745
89746
89747
89748
89749
89750
89751
89752
89753
89754
89755
89756
89757
89758
89759
89760
89761
89762
89763
89764
89765
89766
89767
89768
89769
89770
89771
89772
89773
89774
89775
89776
89777
89778
89779
89780
89781
89782
89783
89784
89785
89786
89787
89788
89789
89790
89791
89792
89793
89794
89795
89796
89797
89798
89799
89800
89801
89802
89803
89804
89805
89806
89807
89808
89809
89810
89811
89812
89813
89814
89815
89816
89817
89818
89819
89820
89821
89822
89823
89824
89825
89826
89827
89828
89829
89830
89831
89832
89833
89834
89835
89836
89837
89838
89839
89840
89841
89842
89843
89844
89845
89846
89847
89848
89849
89850
89851
89852
89853
89854
89855
89856
89857
89858
89859
89860
89861
89862
89863
89864
89865
89866
89867
89868
89869
89870
89871
89872
89873
89874
89875
89876
89877
89878
89879
89880
89881
89882
89883
89884
89885
89886
89887
89888
89889
89890
89891
89892
89893
89894
89895
89896
89897
89898
89899
89900
89901
89902
89903
89904
89905
89906
89907
89908
89909
89910
89911
89912
89913
89914
89915
89916
89917
89918
89919
89920
89921
89922
89923
89924
89925
89926
89927
89928
89929
89930
89931
89932
89933
89934
89935
89936
89937
89938
89939
89940
89941
89942
89943
89944
89945
89946
89947
89948
89949
89950
89951
89952
89953
89954
89955
89956
89957
89958
89959
89960
89961
89962
89963
89964
89965
89966
89967
89968
89969
89970
89971
89972
89973
89974
89975
89976
89977
89978
89979
89980
89981
89982
89983
89984
89985
89986
89987
89988
89989
89990
89991
89992
89993
89994
89995
89996
89997
89998
89999
90000
90001
90002
90003
90004
90005
90006
90007
90008
90009
90010
90011
90012
90013
90014
90015
90016
90017
90018
90019
90020
90021
90022
90023
90024
90025
90026
90027
90028
90029
90030
90031
90032
90033
90034
90035
90036
90037
90038
90039
90040
90041
90042
90043
90044
90045
90046
90047
90048
90049
90050
90051
90052
90053
90054
90055
90056
90057
90058
90059
90060
90061
90062
90063
90064
90065
90066
90067
90068
90069
90070
90071
90072
90073
90074
90075
90076
90077
90078
90079
90080
90081
90082
90083
90084
90085
90086
90087
90088
90089
90090
90091
90092
90093
90094
90095
90096
90097
90098
90099
90100
90101
90102
90103
90104
90105
90106
90107
90108
90109
90110
90111
90112
90113
90114
90115
90116
90117
90118
90119
90120
90121
90122
90123
90124
90125
90126
90127
90128
90129
90130
90131
90132
90133
90134
90135
90136
90137
90138
90139
90140
90141
90142
90143
90144
90145
90146
90147
90148
90149
90150
90151
90152
90153
90154
90155
90156
90157
90158
90159
90160
90161
90162
90163
90164
90165
90166
90167
90168
90169
90170
90171
90172
90173
90174
90175
90176
90177
90178
90179
90180
90181
90182
90183
90184
90185
90186
90187
90188
90189
90190
90191
90192
90193
90194
90195
90196
90197
90198
90199
90200
90201
90202
90203
90204
90205
90206
90207
90208
90209
90210
90211
90212
90213
90214
90215
90216
90217
90218
90219
90220
90221
90222
90223
90224
90225
90226
90227
90228
90229
90230
90231
90232
90233
90234
90235
90236
90237
90238
90239
90240
90241
90242
90243
90244
90245
90246
90247
90248
90249
90250
90251
90252
90253
90254
90255
90256
90257
90258
90259
90260
90261
90262
90263
90264
90265
90266
90267
90268
90269
90270
90271
90272
90273
90274
90275
90276
90277
90278
90279
90280
90281
90282
90283
90284
90285
90286
90287
90288
90289
90290
90291
90292
90293
90294
90295
90296
90297
90298
90299
90300
90301
90302
90303
90304
90305
90306
90307
90308
90309
90310
90311
90312
90313
90314
90315
90316
90317
90318
90319
90320
90321
90322
90323
90324
90325
90326
90327
90328
90329
90330
90331
90332
90333
90334
90335
90336
90337
90338
90339
90340
90341
90342
90343
90344
90345
90346
90347
90348
90349
90350
90351
90352
90353
90354
90355
90356
90357
90358
90359
90360
90361
90362
90363
90364
90365
90366
90367
90368
90369
90370
90371
90372
90373
90374
90375
90376
90377
90378
90379
90380
90381
90382
90383
90384
90385
90386
90387
90388
90389
90390
90391
90392
90393
90394
90395
90396
90397
90398
90399
90400
90401
90402
90403
90404
90405
90406
90407
90408
90409
90410
90411
90412
90413
90414
90415
90416
90417
90418
90419
90420
90421
90422
90423
90424
90425
90426
90427
90428
90429
90430
90431
90432
90433
90434
90435
90436
90437
90438
90439
90440
90441
90442
90443
90444
90445
90446
90447
90448
90449
90450
90451
90452
90453
90454
90455
90456
90457
90458
90459
90460
90461
90462
90463
90464
90465
90466
90467
90468
90469
90470
90471
90472
90473
90474
90475
90476
90477
90478
90479
90480
90481
90482
90483
90484
90485
90486
90487
90488
90489
90490
90491
90492
90493
90494
90495
90496
90497
90498
90499
90500
90501
90502
90503
90504
90505
90506
90507
90508
90509
90510
90511
90512
90513
90514
90515
90516
90517
90518
90519
90520
90521
90522
90523
90524
90525
90526
90527
90528
90529
90530
90531
90532
90533
90534
90535
90536
90537
90538
90539
90540
90541
90542
90543
90544
90545
90546
90547
90548
90549
90550
90551
90552
90553
90554
90555
90556
90557
90558
90559
90560
90561
90562
90563
90564
90565
90566
90567
90568
90569
90570
90571
90572
90573
90574
90575
90576
90577
90578
90579
90580
90581
90582
90583
90584
90585
90586
90587
90588
90589
90590
90591
90592
90593
90594
90595
90596
90597
90598
90599
90600
90601
90602
90603
90604
90605
90606
90607
90608
90609
90610
90611
90612
90613
90614
90615
90616
90617
90618
90619
90620
90621
90622
90623
90624
90625
90626
90627
90628
90629
90630
90631
90632
90633
90634
90635
90636
90637
90638
90639
90640
90641
90642
90643
90644
90645
90646
90647
90648
90649
90650
90651
90652
90653
90654
90655
90656
90657
90658
90659
90660
90661
90662
90663
90664
90665
90666
90667
90668
90669
90670
90671
90672
90673
90674
90675
90676
90677
90678
90679
90680
90681
90682
90683
90684
90685
90686
90687
90688
90689
90690
90691
90692
90693
90694
90695
90696
90697
90698
90699
90700
90701
90702
90703
90704
90705
90706
90707
90708
90709
90710
90711
90712
90713
90714
90715
90716
90717
90718
90719
90720
90721
90722
90723
90724
90725
90726
90727
90728
90729
90730
90731
90732
90733
90734
90735
90736
90737
90738
90739
90740
90741
90742
90743
90744
90745
90746
90747
90748
90749
90750
90751
90752
90753
90754
90755
90756
90757
90758
90759
90760
90761
90762
90763
90764
90765
90766
90767
90768
90769
90770
90771
90772
90773
90774
90775
90776
90777
90778
90779
90780
90781
90782
90783
90784
90785
90786
90787
90788
90789
90790
90791
90792
90793
90794
90795
90796
90797
90798
90799
90800
90801
90802
90803
90804
90805
90806
90807
90808
90809
90810
90811
90812
90813
90814
90815
90816
90817
90818
90819
90820
90821
90822
90823
90824
90825
90826
90827
90828
90829
90830
90831
90832
90833
90834
90835
90836
90837
90838
90839
90840
90841
90842
90843
90844
90845
90846
90847
90848
90849
90850
90851
90852
90853
90854
90855
90856
90857
90858
90859
90860
90861
90862
90863
90864
90865
90866
90867
90868
90869
90870
90871
90872
90873
90874
90875
90876
90877
90878
90879
90880
90881
90882
90883
90884
90885
90886
90887
90888
90889
90890
90891
90892
90893
90894
90895
90896
90897
90898
90899
90900
90901
90902
90903
90904
90905
90906
90907
90908
90909
90910
90911
90912
90913
90914
90915
90916
90917
90918
90919
90920
90921
90922
90923
90924
90925
90926
90927
90928
90929
90930
90931
90932
90933
90934
90935
90936
90937
90938
90939
90940
90941
90942
90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
90956
90957
90958
90959
90960
90961
90962
90963
90964
90965
90966
90967
90968
90969
90970
90971
90972
90973
90974
90975
90976
90977
90978
90979
90980
90981
90982
90983
90984
90985
90986
90987
90988
90989
90990
90991
90992
90993
90994
90995
90996
90997
90998
90999
91000
91001
91002
91003
91004
91005
91006
91007
91008
91009
91010
91011
91012
91013
91014
91015
91016
91017
91018
91019
91020
91021
91022
91023
91024
91025
91026
91027
91028
91029
91030
91031
91032
91033
91034
91035
91036
91037
91038
91039
91040
91041
91042
91043
91044
91045
91046
91047
91048
91049
91050
91051
91052
91053
91054
91055
91056
91057
91058
91059
91060
91061
91062
91063
91064
91065
91066
91067
91068
91069
91070
91071
91072
91073
91074
91075
91076
91077
91078
91079
91080
91081
91082
91083
91084
91085
91086
91087
91088
91089
91090
91091
91092
91093
91094
91095
91096
91097
91098
91099
91100
91101
91102
91103
91104
91105
91106
91107
91108
91109
91110
91111
91112
91113
91114
91115
91116
91117
91118
91119
91120
91121
91122
91123
91124
91125
91126
91127
91128
91129
91130
91131
91132
91133
91134
91135
91136
91137
91138
91139
91140
91141
91142
91143
91144
91145
91146
91147
91148
91149
91150
91151
91152
91153
91154
91155
91156
91157
91158
91159
91160
91161
91162
91163
91164
91165
91166
91167
91168
91169
91170
91171
91172
91173
91174
91175
91176
91177
91178
91179
91180
91181
91182
91183
91184
91185
91186
91187
91188
91189
91190
91191
91192
91193
91194
91195
91196
91197
91198
91199
91200
91201
91202
91203
91204
91205
91206
91207
91208
91209
91210
91211
91212
91213
91214
91215
91216
91217
91218
91219
91220
91221
91222
91223
91224
91225
91226
91227
91228
91229
91230
91231
91232
91233
91234
91235
91236
91237
91238
91239
91240
91241
91242
91243
91244
91245
91246
91247
91248
91249
91250
91251
91252
91253
91254
91255
91256
91257
91258
91259
91260
91261
91262
91263
91264
91265
91266
91267
91268
91269
91270
91271
91272
91273
91274
91275
91276
91277
91278
91279
91280
91281
91282
91283
91284
91285
91286
91287
91288
91289
91290
91291
91292
91293
91294
91295
91296
91297
91298
91299
91300
91301
91302
91303
91304
91305
91306
91307
91308
91309
91310
91311
91312
91313
91314
91315
91316
91317
91318
91319
91320
91321
91322
91323
91324
91325
91326
91327
91328
91329
91330
91331
91332
91333
91334
91335
91336
91337
91338
91339
91340
91341
91342
91343
91344
91345
91346
91347
91348
91349
91350
91351
91352
91353
91354
91355
91356
91357
91358
91359
91360
91361
91362
91363
91364
91365
91366
91367
91368
91369
91370
91371
91372
91373
91374
91375
91376
91377
91378
91379
91380
91381
91382
91383
91384
91385
91386
91387
91388
91389
91390
91391
91392
91393
91394
91395
91396
91397
91398
91399
91400
91401
91402
91403
91404
91405
91406
91407
91408
91409
91410
91411
91412
91413
91414
91415
91416
91417
91418
91419
91420
91421
91422
91423
91424
91425
91426
91427
91428
91429
91430
91431
91432
91433
91434
91435
91436
91437
91438
91439
91440
91441
91442
91443
91444
91445
91446
91447
91448
91449
91450
91451
91452
91453
91454
91455
91456
91457
91458
91459
91460
91461
91462
91463
91464
91465
91466
91467
91468
91469
91470
91471
91472
91473
91474
91475
91476
91477
91478
91479
91480
91481
91482
91483
91484
91485
91486
91487
91488
91489
91490
91491
91492
91493
91494
91495
91496
91497
91498
91499
91500
91501
91502
91503
91504
91505
91506
91507
91508
91509
91510
91511
91512
91513
91514
91515
91516
91517
91518
91519
91520
91521
91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
91535
91536
91537
91538
91539
91540
91541
91542
91543
91544
91545
91546
91547
91548
91549
91550
91551
91552
91553
91554
91555
91556
91557
91558
91559
91560
91561
91562
91563
91564
91565
91566
91567
91568
91569
91570
91571
91572
91573
91574
91575
91576
91577
91578
91579
91580
91581
91582
91583
91584
91585
91586
91587
91588
91589
91590
91591
91592
91593
91594
91595
91596
91597
91598
91599
91600
91601
91602
91603
91604
91605
91606
91607
91608
91609
91610
91611
91612
91613
91614
91615
91616
91617
91618
91619
91620
91621
91622
91623
91624
91625
91626
91627
91628
91629
91630
91631
91632
91633
91634
91635
91636
91637
91638
91639
91640
91641
91642
91643
91644
91645
91646
91647
91648
91649
91650
91651
91652
91653
91654
91655
91656
91657
91658
91659
91660
91661
91662
91663
91664
91665
91666
91667
91668
91669
91670
91671
91672
91673
91674
91675
91676
91677
91678
91679
91680
91681
91682
91683
91684
91685
91686
91687
91688
91689
91690
91691
91692
91693
91694
91695
91696
91697
91698
91699
91700
91701
91702
91703
91704
91705
91706
91707
91708
91709
91710
91711
91712
91713
91714
91715
91716
91717
91718
91719
91720
91721
91722
91723
91724
91725
91726
91727
91728
91729
91730
91731
91732
91733
91734
91735
91736
91737
91738
91739
91740
91741
91742
91743
91744
91745
91746
91747
91748
91749
91750
91751
91752
91753
91754
91755
91756
91757
91758
91759
91760
91761
91762
91763
91764
91765
91766
91767
91768
91769
91770
91771
91772
91773
91774
91775
91776
91777
91778
91779
91780
91781
91782
91783
91784
91785
91786
91787
91788
91789
91790
91791
91792
91793
91794
91795
91796
91797
91798
91799
91800
91801
91802
91803
91804
91805
91806
91807
91808
91809
91810
91811
91812
91813
91814
91815
91816
91817
91818
91819
91820
91821
91822
91823
91824
91825
91826
91827
91828
91829
91830
91831
91832
91833
91834
91835
91836
91837
91838
91839
91840
91841
91842
91843
91844
91845
91846
91847
91848
91849
91850
91851
91852
91853
91854
91855
91856
91857
91858
91859
91860
91861
91862
91863
91864
91865
91866
91867
91868
91869
91870
91871
91872
91873
91874
91875
91876
91877
91878
91879
91880
91881
91882
91883
91884
91885
91886
91887
91888
91889
91890
91891
91892
91893
91894
91895
91896
91897
91898
91899
91900
91901
91902
91903
91904
91905
91906
91907
91908
91909
91910
91911
91912
91913
91914
91915
91916
91917
91918
91919
91920
91921
91922
91923
91924
91925
91926
91927
91928
91929
91930
91931
91932
91933
91934
91935
91936
91937
91938
91939
91940
91941
91942
91943
91944
91945
91946
91947
91948
91949
91950
91951
91952
91953
91954
91955
91956
91957
91958
91959
91960
91961
91962
91963
91964
91965
91966
91967
91968
91969
91970
91971
91972
91973
91974
91975
91976
91977
91978
91979
91980
91981
91982
91983
91984
91985
91986
91987
91988
91989
91990
91991
91992
91993
91994
91995
91996
91997
91998
91999
92000
92001
92002
92003
92004
92005
92006
92007
92008
92009
92010
92011
92012
92013
92014
92015
92016
92017
92018
92019
92020
92021
92022
92023
92024
92025
92026
92027
92028
92029
92030
92031
92032
92033
92034
92035
92036
92037
92038
92039
92040
92041
92042
92043
92044
92045
92046
92047
92048
92049
92050
92051
92052
92053
92054
92055
92056
92057
92058
92059
92060
92061
92062
92063
92064
92065
92066
92067
92068
92069
92070
92071
92072
92073
92074
92075
92076
92077
92078
92079
92080
92081
92082
92083
92084
92085
92086
92087
92088
92089
92090
92091
92092
92093
92094
92095
92096
92097
92098
92099
92100
92101
92102
92103
92104
92105
92106
92107
92108
92109
92110
92111
92112
92113
92114
92115
92116
92117
92118
92119
92120
92121
92122
92123
92124
92125
92126
92127
92128
92129
92130
92131
92132
92133
92134
92135
92136
92137
92138
92139
92140
92141
92142
92143
92144
92145
92146
92147
92148
92149
92150
92151
92152
92153
92154
92155
92156
92157
92158
92159
92160
92161
92162
92163
92164
92165
92166
92167
92168
92169
92170
92171
92172
92173
92174
92175
92176
92177
92178
92179
92180
92181
92182
92183
92184
92185
92186
92187
92188
92189
92190
92191
92192
92193
92194
92195
92196
92197
92198
92199
92200
92201
92202
92203
92204
92205
92206
92207
92208
92209
92210
92211
92212
92213
92214
92215
92216
92217
92218
92219
92220
92221
92222
92223
92224
92225
92226
92227
92228
92229
92230
92231
92232
92233
92234
92235
92236
92237
92238
92239
92240
92241
92242
92243
92244
92245
92246
92247
92248
92249
92250
92251
92252
92253
92254
92255
92256
92257
92258
92259
92260
92261
92262
92263
92264
92265
92266
92267
92268
92269
92270
92271
92272
92273
92274
92275
92276
92277
92278
92279
92280
92281
92282
92283
92284
92285
92286
92287
92288
92289
92290
92291
92292
92293
92294
92295
92296
92297
92298
92299
92300
92301
92302
92303
92304
92305
92306
92307
92308
92309
92310
92311
92312
92313
92314
92315
92316
92317
92318
92319
92320
92321
92322
92323
92324
92325
92326
92327
92328
92329
92330
92331
92332
92333
92334
92335
92336
92337
92338
92339
92340
92341
92342
92343
92344
92345
92346
92347
92348
92349
92350
92351
92352
92353
92354
92355
92356
92357
92358
92359
92360
92361
92362
92363
92364
92365
92366
92367
92368
92369
92370
92371
92372
92373
92374
92375
92376
92377
92378
92379
92380
92381
92382
92383
92384
92385
92386
92387
92388
92389
92390
92391
92392
92393
92394
92395
92396
92397
92398
92399
92400
92401
92402
92403
92404
92405
92406
92407
92408
92409
92410
92411
92412
92413
92414
92415
92416
92417
92418
92419
92420
92421
92422
92423
92424
92425
92426
92427
92428
92429
92430
92431
92432
92433
92434
92435
92436
92437
92438
92439
92440
92441
92442
92443
92444
92445
92446
92447
92448
92449
92450
92451
92452
92453
92454
92455
92456
92457
92458
92459
92460
92461
92462
92463
92464
92465
92466
92467
92468
92469
92470
92471
92472
92473
92474
92475
92476
92477
92478
92479
92480
92481
92482
92483
92484
92485
92486
92487
92488
92489
92490
92491
92492
92493
92494
92495
92496
92497
92498
92499
92500
92501
92502
92503
92504
92505
92506
92507
92508
92509
92510
92511
92512
92513
92514
92515
92516
92517
92518
92519
92520
92521
92522
92523
92524
92525
92526
92527
92528
92529
92530
92531
92532
92533
92534
92535
92536
92537
92538
92539
92540
92541
92542
92543
92544
92545
92546
92547
92548
92549
92550
92551
92552
92553
92554
92555
92556
92557
92558
92559
92560
92561
92562
92563
92564
92565
92566
92567
92568
92569
92570
92571
92572
92573
92574
92575
92576
92577
92578
92579
92580
92581
92582
92583
92584
92585
92586
92587
92588
92589
92590
92591
92592
92593
92594
92595
92596
92597
92598
92599
92600
92601
92602
92603
92604
92605
92606
92607
92608
92609
92610
92611
92612
92613
92614
92615
92616
92617
92618
92619
92620
92621
92622
92623
92624
92625
92626
92627
92628
92629
92630
92631
92632
92633
92634
92635
92636
92637
92638
92639
92640
92641
92642
92643
92644
92645
92646
92647
92648
92649
92650
92651
92652
92653
92654
92655
92656
92657
92658
92659
92660
92661
92662
92663
92664
92665
92666
92667
92668
92669
92670
92671
92672
92673
92674
92675
92676
92677
92678
92679
92680
92681
92682
92683
92684
92685
92686
92687
92688
92689
92690
92691
92692
92693
92694
92695
92696
92697
92698
92699
92700
92701
92702
92703
92704
92705
92706
92707
92708
92709
92710
92711
92712
92713
92714
92715
92716
92717
92718
92719
92720
92721
92722
92723
92724
92725
92726
92727
92728
92729
92730
92731
92732
92733
92734
92735
92736
92737
92738
92739
92740
92741
92742
92743
92744
92745
92746
92747
92748
92749
92750
92751
92752
92753
92754
92755
92756
92757
92758
92759
92760
92761
92762
92763
92764
92765
92766
92767
92768
92769
92770
92771
92772
92773
92774
92775
92776
92777
92778
92779
92780
92781
92782
92783
92784
92785
92786
92787
92788
92789
92790
92791
92792
92793
92794
92795
92796
92797
92798
92799
92800
92801
92802
92803
92804
92805
92806
92807
92808
92809
92810
92811
92812
92813
92814
92815
92816
92817
92818
92819
92820
92821
92822
92823
92824
92825
92826
92827
92828
92829
92830
92831
92832
92833
92834
92835
92836
92837
92838
92839
92840
92841
92842
92843
92844
92845
92846
92847
92848
92849
92850
92851
92852
92853
92854
92855
92856
92857
92858
92859
92860
92861
92862
92863
92864
92865
92866
92867
92868
92869
92870
92871
92872
92873
92874
92875
92876
92877
92878
92879
92880
92881
92882
92883
92884
92885
92886
92887
92888
92889
92890
92891
92892
92893
92894
92895
92896
92897
92898
92899
92900
92901
92902
92903
92904
92905
92906
92907
92908
92909
92910
92911
92912
92913
92914
92915
92916
92917
92918
92919
92920
92921
92922
92923
92924
92925
92926
92927
92928
92929
92930
92931
92932
92933
92934
92935
92936
92937
92938
92939
92940
92941
92942
92943
92944
92945
92946
92947
92948
92949
92950
92951
92952
92953
92954
92955
92956
92957
92958
92959
92960
92961
92962
92963
92964
92965
92966
92967
92968
92969
92970
92971
92972
92973
92974
92975
92976
92977
92978
92979
92980
92981
92982
92983
92984
92985
92986
92987
92988
92989
92990
92991
92992
92993
92994
92995
92996
92997
92998
92999
93000
93001
93002
93003
93004
93005
93006
93007
93008
93009
93010
93011
93012
93013
93014
93015
93016
93017
93018
93019
93020
93021
93022
93023
93024
93025
93026
93027
93028
93029
93030
93031
93032
93033
93034
93035
93036
93037
93038
93039
93040
93041
93042
93043
93044
93045
93046
93047
93048
93049
93050
93051
93052
93053
93054
93055
93056
93057
93058
93059
93060
93061
93062
93063
93064
93065
93066
93067
93068
93069
93070
93071
93072
93073
93074
93075
93076
93077
93078
93079
93080
93081
93082
93083
93084
93085
93086
93087
93088
93089
93090
93091
93092
93093
93094
93095
93096
93097
93098
93099
93100
93101
93102
93103
93104
93105
93106
93107
93108
93109
93110
93111
93112
93113
93114
93115
93116
93117
93118
93119
93120
93121
93122
93123
93124
93125
93126
93127
93128
93129
93130
93131
93132
93133
93134
93135
93136
93137
93138
93139
93140
93141
93142
93143
93144
93145
93146
93147
93148
93149
93150
93151
93152
93153
93154
93155
93156
93157
93158
93159
93160
93161
93162
93163
93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
93175
93176
93177
93178
93179
93180
93181
93182
93183
93184
93185
93186
93187
93188
93189
93190
93191
93192
93193
93194
93195
93196
93197
93198
93199
93200
93201
93202
93203
93204
93205
93206
93207
93208
93209
93210
93211
93212
93213
93214
93215
93216
93217
93218
93219
93220
93221
93222
93223
93224
93225
93226
93227
93228
93229
93230
93231
93232
93233
93234
93235
93236
93237
93238
93239
93240
93241
93242
93243
93244
93245
93246
93247
93248
93249
93250
93251
93252
93253
93254
93255
93256
93257
93258
93259
93260
93261
93262
93263
93264
93265
93266
93267
93268
93269
93270
93271
93272
93273
93274
93275
93276
93277
93278
93279
93280
93281
93282
93283
93284
93285
93286
93287
93288
93289
93290
93291
93292
93293
93294
93295
93296
93297
93298
93299
93300
93301
93302
93303
93304
93305
93306
93307
93308
93309
93310
93311
93312
93313
93314
93315
93316
93317
93318
93319
93320
93321
93322
93323
93324
93325
93326
93327
93328
93329
93330
93331
93332
93333
93334
93335
93336
93337
93338
93339
93340
93341
93342
93343
93344
93345
93346
93347
93348
93349
93350
93351
93352
93353
93354
93355
93356
93357
93358
93359
93360
93361
93362
93363
93364
93365
93366
93367
93368
93369
93370
93371
93372
93373
93374
93375
93376
93377
93378
93379
93380
93381
93382
93383
93384
93385
93386
93387
93388
93389
93390
93391
93392
93393
93394
93395
93396
93397
93398
93399
93400
93401
93402
93403
93404
93405
93406
93407
93408
93409
93410
93411
93412
93413
93414
93415
93416
93417
93418
93419
93420
93421
93422
93423
93424
93425
93426
93427
93428
93429
93430
93431
93432
93433
93434
93435
93436
93437
93438
93439
93440
93441
93442
93443
93444
93445
93446
93447
93448
93449
93450
93451
93452
93453
93454
93455
93456
93457
93458
93459
93460
93461
93462
93463
93464
93465
93466
93467
93468
93469
93470
93471
93472
93473
93474
93475
93476
93477
93478
93479
93480
93481
93482
93483
93484
93485
93486
93487
93488
93489
93490
93491
93492
93493
93494
93495
93496
93497
93498
93499
93500
93501
93502
93503
93504
93505
93506
93507
93508
93509
93510
93511
93512
93513
93514
93515
93516
93517
93518
93519
93520
93521
93522
93523
93524
93525
93526
93527
93528
93529
93530
93531
93532
93533
93534
93535
93536
93537
93538
93539
93540
93541
93542
93543
93544
93545
93546
93547
93548
93549
93550
93551
93552
93553
93554
93555
93556
93557
93558
93559
93560
93561
93562
93563
93564
93565
93566
93567
93568
93569
93570
93571
93572
93573
93574
93575
93576
93577
93578
93579
93580
93581
93582
93583
93584
93585
93586
93587
93588
93589
93590
93591
93592
93593
93594
93595
93596
93597
93598
93599
93600
93601
93602
93603
93604
93605
93606
93607
93608
93609
93610
93611
93612
93613
93614
93615
93616
93617
93618
93619
93620
93621
93622
93623
93624
93625
93626
93627
93628
93629
93630
93631
93632
93633
93634
93635
93636
93637
93638
93639
93640
93641
93642
93643
93644
93645
93646
93647
93648
93649
93650
93651
93652
93653
93654
93655
93656
93657
93658
93659
93660
93661
93662
93663
93664
93665
93666
93667
93668
93669
93670
93671
93672
93673
93674
93675
93676
93677
93678
93679
93680
93681
93682
93683
93684
93685
93686
93687
93688
93689
93690
93691
93692
93693
93694
93695
93696
93697
93698
93699
93700
93701
93702
93703
93704
93705
93706
93707
93708
93709
93710
93711
93712
93713
93714
93715
93716
93717
93718
93719
93720
93721
93722
93723
93724
93725
93726
93727
93728
93729
93730
93731
93732
93733
93734
93735
93736
93737
93738
93739
93740
93741
93742
93743
93744
93745
93746
93747
93748
93749
93750
93751
93752
93753
93754
93755
93756
93757
93758
93759
93760
93761
93762
93763
93764
93765
93766
93767
93768
93769
93770
93771
93772
93773
93774
93775
93776
93777
93778
93779
93780
93781
93782
93783
93784
93785
93786
93787
93788
93789
93790
93791
93792
93793
93794
93795
93796
93797
93798
93799
93800
93801
93802
93803
93804
93805
93806
93807
93808
93809
93810
93811
93812
93813
93814
93815
93816
93817
93818
93819
93820
93821
93822
93823
93824
93825
93826
93827
93828
93829
93830
93831
93832
93833
93834
93835
93836
93837
93838
93839
93840
93841
93842
93843
93844
93845
93846
93847
93848
93849
93850
93851
93852
93853
93854
93855
93856
93857
93858
93859
93860
93861
93862
93863
93864
93865
93866
93867
93868
93869
93870
93871
93872
93873
93874
93875
93876
93877
93878
93879
93880
93881
93882
93883
93884
93885
93886
93887
93888
93889
93890
93891
93892
93893
93894
93895
93896
93897
93898
93899
93900
93901
93902
93903
93904
93905
93906
93907
93908
93909
93910
93911
93912
93913
93914
93915
93916
93917
93918
93919
93920
93921
93922
93923
93924
93925
93926
93927
93928
93929
93930
93931
93932
93933
93934
93935
93936
93937
93938
93939
93940
93941
93942
93943
93944
93945
93946
93947
93948
93949
93950
93951
93952
93953
93954
93955
93956
93957
93958
93959
93960
93961
93962
93963
93964
93965
93966
93967
93968
93969
93970
93971
93972
93973
93974
93975
93976
93977
93978
93979
93980
93981
93982
93983
93984
93985
93986
93987
93988
93989
93990
93991
93992
93993
93994
93995
93996
93997
93998
93999
94000
94001
94002
94003
94004
94005
94006
94007
94008
94009
94010
94011
94012
94013
94014
94015
94016
94017
94018
94019
94020
94021
94022
94023
94024
94025
94026
94027
94028
94029
94030
94031
94032
94033
94034
94035
94036
94037
94038
94039
94040
94041
94042
94043
94044
94045
94046
94047
94048
94049
94050
94051
94052
94053
94054
94055
94056
94057
94058
94059
94060
94061
94062
94063
94064
94065
94066
94067
94068
94069
94070
94071
94072
94073
94074
94075
94076
94077
94078
94079
94080
94081
94082
94083
94084
94085
94086
94087
94088
94089
94090
94091
94092
94093
94094
94095
94096
94097
94098
94099
94100
94101
94102
94103
94104
94105
94106
94107
94108
94109
94110
94111
94112
94113
94114
94115
94116
94117
94118
94119
94120
94121
94122
94123
94124
94125
94126
94127
94128
94129
94130
94131
94132
94133
94134
94135
94136
94137
94138
94139
94140
94141
94142
94143
94144
94145
94146
94147
94148
94149
94150
94151
94152
94153
94154
94155
94156
94157
94158
94159
94160
94161
94162
94163
94164
94165
94166
94167
94168
94169
94170
94171
94172
94173
94174
94175
94176
94177
94178
94179
94180
94181
94182
94183
94184
94185
94186
94187
94188
94189
94190
94191
94192
94193
94194
94195
94196
94197
94198
94199
94200
94201
94202
94203
94204
94205
94206
94207
94208
94209
94210
94211
94212
94213
94214
94215
94216
94217
94218
94219
94220
94221
94222
94223
94224
94225
94226
94227
94228
94229
94230
94231
94232
94233
94234
94235
94236
94237
94238
94239
94240
94241
94242
94243
94244
94245
94246
94247
94248
94249
94250
94251
94252
94253
94254
94255
94256
94257
94258
94259
94260
94261
94262
94263
94264
94265
94266
94267
94268
94269
94270
94271
94272
94273
94274
94275
94276
94277
94278
94279
94280
94281
94282
94283
94284
94285
94286
94287
94288
94289
94290
94291
94292
94293
94294
94295
94296
94297
94298
94299
94300
94301
94302
94303
94304
94305
94306
94307
94308
94309
94310
94311
94312
94313
94314
94315
94316
94317
94318
94319
94320
94321
94322
94323
94324
94325
94326
94327
94328
94329
94330
94331
94332
94333
94334
94335
94336
94337
94338
94339
94340
94341
94342
94343
94344
94345
94346
94347
94348
94349
94350
94351
94352
94353
94354
94355
94356
94357
94358
94359
94360
94361
94362
94363
94364
94365
94366
94367
94368
94369
94370
94371
94372
94373
94374
94375
94376
94377
94378
94379
94380
94381
94382
94383
94384
94385
94386
94387
94388
94389
94390
94391
94392
94393
94394
94395
94396
94397
94398
94399
94400
94401
94402
94403
94404
94405
94406
94407
94408
94409
94410
94411
94412
94413
94414
94415
94416
94417
94418
94419
94420
94421
94422
94423
94424
94425
94426
94427
94428
94429
94430
94431
94432
94433
94434
94435
94436
94437
94438
94439
94440
94441
94442
94443
94444
94445
94446
94447
94448
94449
94450
94451
94452
94453
94454
94455
94456
94457
94458
94459
94460
94461
94462
94463
94464
94465
94466
94467
94468
94469
94470
94471
94472
94473
94474
94475
94476
94477
94478
94479
94480
94481
94482
94483
94484
94485
94486
94487
94488
94489
94490
94491
94492
94493
94494
94495
94496
94497
94498
94499
94500
94501
94502
94503
94504
94505
94506
94507
94508
94509
94510
94511
94512
94513
94514
94515
94516
94517
94518
94519
94520
94521
94522
94523
94524
94525
94526
94527
94528
94529
94530
94531
94532
94533
94534
94535
94536
94537
94538
94539
94540
94541
94542
94543
94544
94545
94546
94547
94548
94549
94550
94551
94552
94553
94554
94555
94556
94557
94558
94559
94560
94561
94562
94563
94564
94565
94566
94567
94568
94569
94570
94571
94572
94573
94574
94575
94576
94577
94578
94579
94580
94581
94582
94583
94584
94585
94586
94587
94588
94589
94590
94591
94592
94593
94594
94595
94596
94597
94598
94599
94600
94601
94602
94603
94604
94605
94606
94607
94608
94609
94610
94611
94612
94613
94614
94615
94616
94617
94618
94619
94620
94621
94622
94623
94624
94625
94626
94627
94628
94629
94630
94631
94632
94633
94634
94635
94636
94637
94638
94639
94640
94641
94642
94643
94644
94645
94646
94647
94648
94649
94650
94651
94652
94653
94654
94655
94656
94657
94658
94659
94660
94661
94662
94663
94664
94665
94666
94667
94668
94669
94670
94671
94672
94673
94674
94675
94676
94677
94678
94679
94680
94681
94682
94683
94684
94685
94686
94687
94688
94689
94690
94691
94692
94693
94694
94695
94696
94697
94698
94699
94700
94701
94702
94703
94704
94705
94706
94707
94708
94709
94710
94711
94712
94713
94714
94715
94716
94717
94718
94719
94720
94721
94722
94723
94724
94725
94726
94727
94728
94729
94730
94731
94732
94733
94734
94735
94736
94737
94738
94739
94740
94741
94742
94743
94744
94745
94746
94747
94748
94749
94750
94751
94752
94753
94754
94755
94756
94757
94758
94759
94760
94761
94762
94763
94764
94765
94766
94767
94768
94769
94770
94771
94772
94773
94774
94775
94776
94777
94778
94779
94780
94781
94782
94783
94784
94785
94786
94787
94788
94789
94790
94791
94792
94793
94794
94795
94796
94797
94798
94799
94800
94801
94802
94803
94804
94805
94806
94807
94808
94809
94810
94811
94812
94813
94814
94815
94816
94817
94818
94819
94820
94821
94822
94823
94824
94825
94826
94827
94828
94829
94830
94831
94832
94833
94834
94835
94836
94837
94838
94839
94840
94841
94842
94843
94844
94845
94846
94847
94848
94849
94850
94851
94852
94853
94854
94855
94856
94857
94858
94859
94860
94861
94862
94863
94864
94865
94866
94867
94868
94869
94870
94871
94872
94873
94874
94875
94876
94877
94878
94879
94880
94881
94882
94883
94884
94885
94886
94887
94888
94889
94890
94891
94892
94893
94894
94895
94896
94897
94898
94899
94900
94901
94902
94903
94904
94905
94906
94907
94908
94909
94910
94911
94912
94913
94914
94915
94916
94917
94918
94919
94920
94921
94922
94923
94924
94925
94926
94927
94928
94929
94930
94931
94932
94933
94934
94935
94936
94937
94938
94939
94940
94941
94942
94943
94944
94945
94946
94947
94948
94949
94950
94951
94952
94953
94954
94955
94956
94957
94958
94959
94960
94961
94962
94963
94964
94965
94966
94967
94968
94969
94970
94971
94972
94973
94974
94975
94976
94977
94978
94979
94980
94981
94982
94983
94984
94985
94986
94987
94988
94989
94990
94991
94992
94993
94994
94995
94996
94997
94998
94999
95000
95001
95002
95003
95004
95005
95006
95007
95008
95009
95010
95011
95012
95013
95014
95015
95016
95017
95018
95019
95020
95021
95022
95023
95024
95025
95026
95027
95028
95029
95030
95031
95032
95033
95034
95035
95036
95037
95038
95039
95040
95041
95042
95043
95044
95045
95046
95047
95048
95049
95050
95051
95052
95053
95054
95055
95056
95057
95058
95059
95060
95061
95062
95063
95064
95065
95066
95067
95068
95069
95070
95071
95072
95073
95074
95075
95076
95077
95078
95079
95080
95081
95082
95083
95084
95085
95086
95087
95088
95089
95090
95091
95092
95093
95094
95095
95096
95097
95098
95099
95100
95101
95102
95103
95104
95105
95106
95107
95108
95109
95110
95111
95112
95113
95114
95115
95116
95117
95118
95119
95120
95121
95122
95123
95124
95125
95126
95127
95128
95129
95130
95131
95132
95133
95134
95135
95136
95137
95138
95139
95140
95141
95142
95143
95144
95145
95146
95147
95148
95149
95150
95151
95152
95153
95154
95155
95156
95157
95158
95159
95160
95161
95162
95163
95164
95165
95166
95167
95168
95169
95170
95171
95172
95173
95174
95175
95176
95177
95178
95179
95180
95181
95182
95183
95184
95185
95186
95187
95188
95189
95190
95191
95192
95193
95194
95195
95196
95197
95198
95199
95200
95201
95202
95203
95204
95205
95206
95207
95208
95209
95210
95211
95212
95213
95214
95215
95216
95217
95218
95219
95220
95221
95222
95223
95224
95225
95226
95227
95228
95229
95230
95231
95232
95233
95234
95235
95236
95237
95238
95239
95240
95241
95242
95243
95244
95245
95246
95247
95248
95249
95250
95251
95252
95253
95254
95255
95256
95257
95258
95259
95260
95261
95262
95263
95264
95265
95266
95267
95268
95269
95270
95271
95272
95273
95274
95275
95276
95277
95278
95279
95280
95281
95282
95283
95284
95285
95286
95287
95288
95289
95290
95291
95292
95293
95294
95295
95296
95297
95298
95299
95300
95301
95302
95303
95304
95305
95306
95307
95308
95309
95310
95311
95312
95313
95314
95315
95316
95317
95318
95319
95320
95321
95322
95323
95324
95325
95326
95327
95328
95329
95330
95331
95332
95333
95334
95335
95336
95337
95338
95339
95340
95341
95342
95343
95344
95345
95346
95347
95348
95349
95350
95351
95352
95353
95354
95355
95356
95357
95358
95359
95360
95361
95362
95363
95364
95365
95366
95367
95368
95369
95370
95371
95372
95373
95374
95375
95376
95377
95378
95379
95380
95381
95382
95383
95384
95385
95386
95387
95388
95389
95390
95391
95392
95393
95394
95395
95396
95397
95398
95399
95400
95401
95402
95403
95404
95405
95406
95407
95408
95409
95410
95411
95412
95413
95414
95415
95416
95417
95418
95419
95420
95421
95422
95423
95424
95425
95426
95427
95428
95429
95430
95431
95432
95433
95434
95435
95436
95437
95438
95439
95440
95441
95442
95443
95444
95445
95446
95447
95448
95449
95450
95451
95452
95453
95454
95455
95456
95457
95458
95459
95460
95461
95462
95463
95464
95465
95466
95467
95468
95469
95470
95471
95472
95473
95474
95475
95476
95477
95478
95479
95480
95481
95482
95483
95484
95485
95486
95487
95488
95489
95490
95491
95492
95493
95494
95495
95496
95497
95498
95499
95500
95501
95502
95503
95504
95505
95506
95507
95508
95509
95510
95511
95512
95513
95514
95515
95516
95517
95518
95519
95520
95521
95522
95523
95524
95525
95526
95527
95528
95529
95530
95531
95532
95533
95534
95535
95536
95537
95538
95539
95540
95541
95542
95543
95544
95545
95546
95547
95548
95549
95550
95551
95552
95553
95554
95555
95556
95557
95558
95559
95560
95561
95562
95563
95564
95565
95566
95567
95568
95569
95570
95571
95572
95573
95574
95575
95576
95577
95578
95579
95580
95581
95582
95583
95584
95585
95586
95587
95588
95589
95590
95591
95592
95593
95594
95595
95596
95597
95598
95599
95600
95601
95602
95603
95604
95605
95606
95607
95608
95609
95610
95611
95612
95613
95614
95615
95616
95617
95618
95619
95620
95621
95622
95623
95624
95625
95626
95627
95628
95629
95630
95631
95632
95633
95634
95635
95636
95637
95638
95639
95640
95641
95642
95643
95644
95645
95646
95647
95648
95649
95650
95651
95652
95653
95654
95655
95656
95657
95658
95659
95660
95661
95662
95663
95664
95665
95666
95667
95668
95669
95670
95671
95672
95673
95674
95675
95676
95677
95678
95679
95680
95681
95682
95683
95684
95685
95686
95687
95688
95689
95690
95691
95692
95693
95694
95695
95696
95697
95698
95699
95700
95701
95702
95703
95704
95705
95706
95707
95708
95709
95710
95711
95712
95713
95714
95715
95716
95717
95718
95719
95720
95721
95722
95723
95724
95725
95726
95727
95728
95729
95730
95731
95732
95733
95734
95735
95736
95737
95738
95739
95740
95741
95742
95743
95744
95745
95746
95747
95748
95749
95750
95751
95752
95753
95754
95755
95756
95757
95758
95759
95760
95761
95762
95763
95764
95765
95766
95767
95768
95769
95770
95771
95772
95773
95774
95775
95776
95777
95778
95779
95780
95781
95782
95783
95784
95785
95786
95787
95788
95789
95790
95791
95792
95793
95794
95795
95796
95797
95798
95799
95800
95801
95802
95803
95804
95805
95806
95807
95808
95809
95810
95811
95812
95813
95814
95815
95816
95817
95818
95819
95820
95821
95822
95823
95824
95825
95826
95827
95828
95829
95830
95831
95832
95833
95834
95835
95836
95837
95838
95839
95840
95841
95842
95843
95844
95845
95846
95847
95848
95849
95850
95851
95852
95853
95854
95855
95856
95857
95858
95859
95860
95861
95862
95863
95864
95865
95866
95867
95868
95869
95870
95871
95872
95873
95874
95875
95876
95877
95878
95879
95880
95881
95882
95883
95884
95885
95886
95887
95888
95889
95890
95891
95892
95893
95894
95895
95896
95897
95898
95899
95900
95901
95902
95903
95904
95905
95906
95907
95908
95909
95910
95911
95912
95913
95914
95915
95916
95917
95918
95919
95920
95921
95922
95923
95924
95925
95926
95927
95928
95929
95930
95931
95932
95933
95934
95935
95936
95937
95938
95939
95940
95941
95942
95943
95944
95945
95946
95947
95948
95949
95950
95951
95952
95953
95954
95955
95956
95957
95958
95959
95960
95961
95962
95963
95964
95965
95966
95967
95968
95969
95970
95971
95972
95973
95974
95975
95976
95977
95978
95979
95980
95981
95982
95983
95984
95985
95986
95987
95988
95989
95990
95991
95992
95993
95994
95995
95996
95997
95998
95999
96000
96001
96002
96003
96004
96005
96006
96007
96008
96009
96010
96011
96012
96013
96014
96015
96016
96017
96018
96019
96020
96021
96022
96023
96024
96025
96026
96027
96028
96029
96030
96031
96032
96033
96034
96035
96036
96037
96038
96039
96040
96041
96042
96043
96044
96045
96046
96047
96048
96049
96050
96051
96052
96053
96054
96055
96056
96057
96058
96059
96060
96061
96062
96063
96064
96065
96066
96067
96068
96069
96070
96071
96072
96073
96074
96075
96076
96077
96078
96079
96080
96081
96082
96083
96084
96085
96086
96087
96088
96089
96090
96091
96092
96093
96094
96095
96096
96097
96098
96099
96100
96101
96102
96103
96104
96105
96106
96107
96108
96109
96110
96111
96112
96113
96114
96115
96116
96117
96118
96119
96120
96121
96122
96123
96124
96125
96126
96127
96128
96129
96130
96131
96132
96133
96134
96135
96136
96137
96138
96139
96140
96141
96142
96143
96144
96145
96146
96147
96148
96149
96150
96151
96152
96153
96154
96155
96156
96157
96158
96159
96160
96161
96162
96163
96164
96165
96166
96167
96168
96169
96170
96171
96172
96173
96174
96175
96176
96177
96178
96179
96180
96181
96182
96183
96184
96185
96186
96187
96188
96189
96190
96191
96192
96193
96194
96195
96196
96197
96198
96199
96200
96201
96202
96203
96204
96205
96206
96207
96208
96209
96210
96211
96212
96213
96214
96215
96216
96217
96218
96219
96220
96221
96222
96223
96224
96225
96226
96227
96228
96229
96230
96231
96232
96233
96234
96235
96236
96237
96238
96239
96240
96241
96242
96243
96244
96245
96246
96247
96248
96249
96250
96251
96252
96253
96254
96255
96256
96257
96258
96259
96260
96261
96262
96263
96264
96265
96266
96267
96268
96269
96270
96271
96272
96273
96274
96275
96276
96277
96278
96279
96280
96281
96282
96283
96284
96285
96286
96287
96288
96289
96290
96291
96292
96293
96294
96295
96296
96297
96298
96299
96300
96301
96302
96303
96304
96305
96306
96307
96308
96309
96310
96311
96312
96313
96314
96315
96316
96317
96318
96319
96320
96321
96322
96323
96324
96325
96326
96327
96328
96329
96330
96331
96332
96333
96334
96335
96336
96337
96338
96339
96340
96341
96342
96343
96344
96345
96346
96347
96348
96349
96350
96351
96352
96353
96354
96355
96356
96357
96358
96359
96360
96361
96362
96363
96364
96365
96366
96367
96368
96369
96370
96371
96372
96373
96374
96375
96376
96377
96378
96379
96380
96381
96382
96383
96384
96385
96386
96387
96388
96389
96390
96391
96392
96393
96394
96395
96396
96397
96398
96399
96400
96401
96402
96403
96404
96405
96406
96407
96408
96409
96410
96411
96412
96413
96414
96415
96416
96417
96418
96419
96420
96421
96422
96423
96424
96425
96426
96427
96428
96429
96430
96431
96432
96433
96434
96435
96436
96437
96438
96439
96440
96441
96442
96443
96444
96445
96446
96447
96448
96449
96450
96451
96452
96453
96454
96455
96456
96457
96458
96459
96460
96461
96462
96463
96464
96465
96466
96467
96468
96469
96470
96471
96472
96473
96474
96475
96476
96477
96478
96479
96480
96481
96482
96483
96484
96485
96486
96487
96488
96489
96490
96491
96492
96493
96494
96495
96496
96497
96498
96499
96500
96501
96502
96503
96504
96505
96506
96507
96508
96509
96510
96511
96512
96513
96514
96515
96516
96517
96518
96519
96520
96521
96522
96523
96524
96525
96526
96527
96528
96529
96530
96531
96532
96533
96534
96535
96536
96537
96538
96539
96540
96541
96542
96543
96544
96545
96546
96547
96548
96549
96550
96551
96552
96553
96554
96555
96556
96557
96558
96559
96560
96561
96562
96563
96564
96565
96566
96567
96568
96569
96570
96571
96572
96573
96574
96575
96576
96577
96578
96579
96580
96581
96582
96583
96584
96585
96586
96587
96588
96589
96590
96591
96592
96593
96594
96595
96596
96597
96598
96599
96600
96601
96602
96603
96604
96605
96606
96607
96608
96609
96610
96611
96612
96613
96614
96615
96616
96617
96618
96619
96620
96621
96622
96623
96624
96625
96626
96627
96628
96629
96630
96631
96632
96633
96634
96635
96636
96637
96638
96639
96640
96641
96642
96643
96644
96645
96646
96647
96648
96649
96650
96651
96652
96653
96654
96655
96656
96657
96658
96659
96660
96661
96662
96663
96664
96665
96666
96667
96668
96669
96670
96671
96672
96673
96674
96675
96676
96677
96678
96679
96680
96681
96682
96683
96684
96685
96686
96687
96688
96689
96690
96691
96692
96693
96694
96695
96696
96697
96698
96699
96700
96701
96702
96703
96704
96705
96706
96707
96708
96709
96710
96711
96712
96713
96714
96715
96716
96717
96718
96719
96720
96721
96722
96723
96724
96725
96726
96727
96728
96729
96730
96731
96732
96733
96734
96735
96736
96737
96738
96739
96740
96741
96742
96743
96744
96745
96746
96747
96748
96749
96750
96751
96752
96753
96754
96755
96756
96757
96758
96759
96760
96761
96762
96763
96764
96765
96766
96767
96768
96769
96770
96771
96772
96773
96774
96775
96776
96777
96778
96779
96780
96781
96782
96783
96784
96785
96786
96787
96788
96789
96790
96791
96792
96793
96794
96795
96796
96797
96798
96799
96800
96801
96802
96803
96804
96805
96806
96807
96808
96809
96810
96811
96812
96813
96814
96815
96816
96817
96818
96819
96820
96821
96822
96823
96824
96825
96826
96827
96828
96829
96830
96831
96832
96833
96834
96835
96836
96837
96838
96839
96840
96841
96842
96843
96844
96845
96846
96847
96848
96849
96850
96851
96852
96853
96854
96855
96856
96857
96858
96859
96860
96861
96862
96863
96864
96865
96866
96867
96868
96869
96870
96871
96872
96873
96874
96875
96876
96877
96878
96879
96880
96881
96882
96883
96884
96885
96886
96887
96888
96889
96890
96891
96892
96893
96894
96895
96896
96897
96898
96899
96900
96901
96902
96903
96904
96905
96906
96907
96908
96909
96910
96911
96912
96913
96914
96915
96916
96917
96918
96919
96920
96921
96922
96923
96924
96925
96926
96927
96928
96929
96930
96931
96932
96933
96934
96935
96936
96937
96938
96939
96940
96941
96942
96943
96944
96945
96946
96947
96948
96949
96950
96951
96952
96953
96954
96955
96956
96957
96958
96959
96960
96961
96962
96963
96964
96965
96966
96967
96968
96969
96970
96971
96972
96973
96974
96975
96976
96977
96978
96979
96980
96981
96982
96983
96984
96985
96986
96987
96988
96989
96990
96991
96992
96993
96994
96995
96996
96997
96998
96999
97000
97001
97002
97003
97004
97005
97006
97007
97008
97009
97010
97011
97012
97013
97014
97015
97016
97017
97018
97019
97020
97021
97022
97023
97024
97025
97026
97027
97028
97029
97030
97031
97032
97033
97034
97035
97036
97037
97038
97039
97040
97041
97042
97043
97044
97045
97046
97047
97048
97049
97050
97051
97052
97053
97054
97055
97056
97057
97058
97059
97060
97061
97062
97063
97064
97065
97066
97067
97068
97069
97070
97071
97072
97073
97074
97075
97076
97077
97078
97079
97080
97081
97082
97083
97084
97085
97086
97087
97088
97089
97090
97091
97092
97093
97094
97095
97096
97097
97098
97099
97100
97101
97102
97103
97104
97105
97106
97107
97108
97109
97110
97111
97112
97113
97114
97115
97116
97117
97118
97119
97120
97121
97122
97123
97124
97125
97126
97127
97128
97129
97130
97131
97132
97133
97134
97135
97136
97137
97138
97139
97140
97141
97142
97143
97144
97145
97146
97147
97148
97149
97150
97151
97152
97153
97154
97155
97156
97157
97158
97159
97160
97161
97162
97163
97164
97165
97166
97167
97168
97169
97170
97171
97172
97173
97174
97175
97176
97177
97178
97179
97180
97181
97182
97183
97184
97185
97186
97187
97188
97189
97190
97191
97192
97193
97194
97195
97196
97197
97198
97199
97200
97201
97202
97203
97204
97205
97206
97207
97208
97209
97210
97211
97212
97213
97214
97215
97216
97217
97218
97219
97220
97221
97222
97223
97224
97225
97226
97227
97228
97229
97230
97231
97232
97233
97234
97235
97236
97237
97238
97239
97240
97241
97242
97243
97244
97245
97246
97247
97248
97249
97250
97251
97252
97253
97254
97255
97256
97257
97258
97259
97260
97261
97262
97263
97264
97265
97266
97267
97268
97269
97270
97271
97272
97273
97274
97275
97276
97277
97278
97279
97280
97281
97282
97283
97284
97285
97286
97287
97288
97289
97290
97291
97292
97293
97294
97295
97296
97297
97298
97299
97300
97301
97302
97303
97304
97305
97306
97307
97308
97309
97310
97311
97312
97313
97314
97315
97316
97317
97318
97319
97320
97321
97322
97323
97324
97325
97326
97327
97328
97329
97330
97331
97332
97333
97334
97335
97336
97337
97338
97339
97340
97341
97342
97343
97344
97345
97346
97347
97348
97349
97350
97351
97352
97353
97354
97355
97356
97357
97358
97359
97360
97361
97362
97363
97364
97365
97366
97367
97368
97369
97370
97371
97372
97373
97374
97375
97376
97377
97378
97379
97380
97381
97382
97383
97384
97385
97386
97387
97388
97389
97390
97391
97392
97393
97394
97395
97396
97397
97398
97399
97400
97401
97402
97403
97404
97405
97406
97407
97408
97409
97410
97411
97412
97413
97414
97415
97416
97417
97418
97419
97420
97421
97422
97423
97424
97425
97426
97427
97428
97429
97430
97431
97432
97433
97434
97435
97436
97437
97438
97439
97440
97441
97442
97443
97444
97445
97446
97447
97448
97449
97450
97451
97452
97453
97454
97455
97456
97457
97458
97459
97460
97461
97462
97463
97464
97465
97466
97467
97468
97469
97470
97471
97472
97473
97474
97475
97476
97477
97478
97479
97480
97481
97482
97483
97484
97485
97486
97487
97488
97489
97490
97491
97492
97493
97494
97495
97496
97497
97498
97499
97500
97501
97502
97503
97504
97505
97506
97507
97508
97509
97510
97511
97512
97513
97514
97515
97516
97517
97518
97519
97520
97521
97522
97523
97524
97525
97526
97527
97528
97529
97530
97531
97532
97533
97534
97535
97536
97537
97538
97539
97540
97541
97542
97543
97544
97545
97546
97547
97548
97549
97550
97551
97552
97553
97554
97555
97556
97557
97558
97559
97560
97561
97562
97563
97564
97565
97566
97567
97568
97569
97570
97571
97572
97573
97574
97575
97576
97577
97578
97579
97580
97581
97582
97583
97584
97585
97586
97587
97588
97589
97590
97591
97592
97593
97594
97595
97596
97597
97598
97599
97600
97601
97602
97603
97604
97605
97606
97607
97608
97609
97610
97611
97612
97613
97614
97615
97616
97617
97618
97619
97620
97621
97622
97623
97624
97625
97626
97627
97628
97629
97630
97631
97632
97633
97634
97635
97636
97637
97638
97639
97640
97641
97642
97643
97644
97645
97646
97647
97648
97649
97650
97651
97652
97653
97654
97655
97656
97657
97658
97659
97660
97661
97662
97663
97664
97665
97666
97667
97668
97669
97670
97671
97672
97673
97674
97675
97676
97677
97678
97679
97680
97681
97682
97683
97684
97685
97686
97687
97688
97689
97690
97691
97692
97693
97694
97695
97696
97697
97698
97699
97700
97701
97702
97703
97704
97705
97706
97707
97708
97709
97710
97711
97712
97713
97714
97715
97716
97717
97718
97719
97720
97721
97722
97723
97724
97725
97726
97727
97728
97729
97730
97731
97732
97733
97734
97735
97736
97737
97738
97739
97740
97741
97742
97743
97744
97745
97746
97747
97748
97749
97750
97751
97752
97753
97754
97755
97756
97757
97758
97759
97760
97761
97762
97763
97764
97765
97766
97767
97768
97769
97770
97771
97772
97773
97774
97775
97776
97777
97778
97779
97780
97781
97782
97783
97784
97785
97786
97787
97788
97789
97790
97791
97792
97793
97794
97795
97796
97797
97798
97799
97800
97801
97802
97803
97804
97805
97806
97807
97808
97809
97810
97811
97812
97813
97814
97815
97816
97817
97818
97819
97820
97821
97822
97823
97824
97825
97826
97827
97828
97829
97830
97831
97832
97833
97834
97835
97836
97837
97838
97839
97840
97841
97842
97843
97844
97845
97846
97847
97848
97849
97850
97851
97852
97853
97854
97855
97856
97857
97858
97859
97860
97861
97862
97863
97864
97865
97866
97867
97868
97869
97870
97871
97872
97873
97874
97875
97876
97877
97878
97879
97880
97881
97882
97883
97884
97885
97886
97887
97888
97889
97890
97891
97892
97893
97894
97895
97896
97897
97898
97899
97900
97901
97902
97903
97904
97905
97906
97907
97908
97909
97910
97911
97912
97913
97914
97915
97916
97917
97918
97919
97920
97921
97922
97923
97924
97925
97926
97927
97928
97929
97930
97931
97932
97933
97934
97935
97936
97937
97938
97939
97940
97941
97942
97943
97944
97945
97946
97947
97948
97949
97950
97951
97952
97953
97954
97955
97956
97957
97958
97959
97960
97961
97962
97963
97964
97965
97966
97967
97968
97969
97970
97971
97972
97973
97974
97975
97976
97977
97978
97979
97980
97981
97982
97983
97984
97985
97986
97987
97988
97989
97990
97991
97992
97993
97994
97995
97996
97997
97998
97999
98000
98001
98002
98003
98004
98005
98006
98007
98008
98009
98010
98011
98012
98013
98014
98015
98016
98017
98018
98019
98020
98021
98022
98023
98024
98025
98026
98027
98028
98029
98030
98031
98032
98033
98034
98035
98036
98037
98038
98039
98040
98041
98042
98043
98044
98045
98046
98047
98048
98049
98050
98051
98052
98053
98054
98055
98056
98057
98058
98059
98060
98061
98062
98063
98064
98065
98066
98067
98068
98069
98070
98071
98072
98073
98074
98075
98076
98077
98078
98079
98080
98081
98082
98083
98084
98085
98086
98087
98088
98089
98090
98091
98092
98093
98094
98095
98096
98097
98098
98099
98100
98101
98102
98103
98104
98105
98106
98107
98108
98109
98110
98111
98112
98113
98114
98115
98116
98117
98118
98119
98120
98121
98122
98123
98124
98125
98126
98127
98128
98129
98130
98131
98132
98133
98134
98135
98136
98137
98138
98139
98140
98141
98142
98143
98144
98145
98146
98147
98148
98149
98150
98151
98152
98153
98154
98155
98156
98157
98158
98159
98160
98161
98162
98163
98164
98165
98166
98167
98168
98169
98170
98171
98172
98173
98174
98175
98176
98177
98178
98179
98180
98181
98182
98183
98184
98185
98186
98187
98188
98189
98190
98191
98192
98193
98194
98195
98196
98197
98198
98199
98200
98201
98202
98203
98204
98205
98206
98207
98208
98209
98210
98211
98212
98213
98214
98215
98216
98217
98218
98219
98220
98221
98222
98223
98224
98225
98226
98227
98228
98229
98230
98231
98232
98233
98234
98235
98236
98237
98238
98239
98240
98241
98242
98243
98244
98245
98246
98247
98248
98249
98250
98251
98252
98253
98254
98255
98256
98257
98258
98259
98260
98261
98262
98263
98264
98265
98266
98267
98268
98269
98270
98271
98272
98273
98274
98275
98276
98277
98278
98279
98280
98281
98282
98283
98284
98285
98286
98287
98288
98289
98290
98291
98292
98293
98294
98295
98296
98297
98298
98299
98300
98301
98302
98303
98304
98305
98306
98307
98308
98309
98310
98311
98312
98313
98314
98315
98316
98317
98318
98319
98320
98321
98322
98323
98324
98325
98326
98327
98328
98329
98330
98331
98332
98333
98334
98335
98336
98337
98338
98339
98340
98341
98342
98343
98344
98345
98346
98347
98348
98349
98350
98351
98352
98353
98354
98355
98356
98357
98358
98359
98360
98361
98362
98363
98364
98365
98366
98367
98368
98369
98370
98371
98372
98373
98374
98375
98376
98377
98378
98379
98380
98381
98382
98383
98384
98385
98386
98387
98388
98389
98390
98391
98392
98393
98394
98395
98396
98397
98398
98399
98400
98401
98402
98403
98404
98405
98406
98407
98408
98409
98410
98411
98412
98413
98414
98415
98416
98417
98418
98419
98420
98421
98422
98423
98424
98425
98426
98427
98428
98429
98430
98431
98432
98433
98434
98435
98436
98437
98438
98439
98440
98441
98442
98443
98444
98445
98446
98447
98448
98449
98450
98451
98452
98453
98454
98455
98456
98457
98458
98459
98460
98461
98462
98463
98464
98465
98466
98467
98468
98469
98470
98471
98472
98473
98474
98475
98476
98477
98478
98479
98480
98481
98482
98483
98484
98485
98486
98487
98488
98489
98490
98491
98492
98493
98494
98495
98496
98497
98498
98499
98500
98501
98502
98503
98504
98505
98506
98507
98508
98509
98510
98511
98512
98513
98514
98515
98516
98517
98518
98519
98520
98521
98522
98523
98524
98525
98526
98527
98528
98529
98530
98531
98532
98533
98534
98535
98536
98537
98538
98539
98540
98541
98542
98543
98544
98545
98546
98547
98548
98549
98550
98551
98552
98553
98554
98555
98556
98557
98558
98559
98560
98561
98562
98563
98564
98565
98566
98567
98568
98569
98570
98571
98572
98573
98574
98575
98576
98577
98578
98579
98580
98581
98582
98583
98584
98585
98586
98587
98588
98589
98590
98591
98592
98593
98594
98595
98596
98597
98598
98599
98600
98601
98602
98603
98604
98605
98606
98607
98608
98609
98610
98611
98612
98613
98614
98615
98616
98617
98618
98619
98620
98621
98622
98623
98624
98625
98626
98627
98628
98629
98630
98631
98632
98633
98634
98635
98636
98637
98638
98639
98640
98641
98642
98643
98644
98645
98646
98647
98648
98649
98650
98651
98652
98653
98654
98655
98656
98657
98658
98659
98660
98661
98662
98663
98664
98665
98666
98667
98668
98669
98670
98671
98672
98673
98674
98675
98676
98677
98678
98679
98680
98681
98682
98683
98684
98685
98686
98687
98688
98689
98690
98691
98692
98693
98694
98695
98696
98697
98698
98699
98700
98701
98702
98703
98704
98705
98706
98707
98708
98709
98710
98711
98712
98713
98714
98715
98716
98717
98718
98719
98720
98721
98722
98723
98724
98725
98726
98727
98728
98729
98730
98731
98732
98733
98734
98735
98736
98737
98738
98739
98740
98741
98742
98743
98744
98745
98746
98747
98748
98749
98750
98751
98752
98753
98754
98755
98756
98757
98758
98759
98760
98761
98762
98763
98764
98765
98766
98767
98768
98769
98770
98771
98772
98773
98774
98775
98776
98777
98778
98779
98780
98781
98782
98783
98784
98785
98786
98787
98788
98789
98790
98791
98792
98793
98794
98795
98796
98797
98798
98799
98800
98801
98802
98803
98804
98805
98806
98807
98808
98809
98810
98811
98812
98813
98814
98815
98816
98817
98818
98819
98820
98821
98822
98823
98824
98825
98826
98827
98828
98829
98830
98831
98832
98833
98834
98835
98836
98837
98838
98839
98840
98841
98842
98843
98844
98845
98846
98847
98848
98849
98850
98851
98852
98853
98854
98855
98856
98857
98858
98859
98860
98861
98862
98863
98864
98865
98866
98867
98868
98869
98870
98871
98872
98873
98874
98875
98876
98877
98878
98879
98880
98881
98882
98883
98884
98885
98886
98887
98888
98889
98890
98891
98892
98893
98894
98895
98896
98897
98898
98899
98900
98901
98902
98903
98904
98905
98906
98907
98908
98909
98910
98911
98912
98913
98914
98915
98916
98917
98918
98919
98920
98921
98922
98923
98924
98925
98926
98927
98928
98929
98930
98931
98932
98933
98934
98935
98936
98937
98938
98939
98940
98941
98942
98943
98944
98945
98946
98947
98948
98949
98950
98951
98952
98953
98954
98955
98956
98957
98958
98959
98960
98961
98962
98963
98964
98965
98966
98967
98968
98969
98970
98971
98972
98973
98974
98975
98976
98977
98978
98979
98980
98981
98982
98983
98984
98985
98986
98987
98988
98989
98990
98991
98992
98993
98994
98995
98996
98997
98998
98999
99000
99001
99002
99003
99004
99005
99006
99007
99008
99009
99010
99011
99012
99013
99014
99015
99016
99017
99018
99019
99020
99021
99022
99023
99024
99025
99026
99027
99028
99029
99030
99031
99032
99033
99034
99035
99036
99037
99038
99039
99040
99041
99042
99043
99044
99045
99046
99047
99048
99049
99050
99051
99052
99053
99054
99055
99056
99057
99058
99059
99060
99061
99062
99063
99064
99065
99066
99067
99068
99069
99070
99071
99072
99073
99074
99075
99076
99077
99078
99079
99080
99081
99082
99083
99084
99085
99086
99087
99088
99089
99090
99091
99092
99093
99094
99095
99096
99097
99098
99099
99100
99101
99102
99103
99104
99105
99106
99107
99108
99109
99110
99111
99112
99113
99114
99115
99116
99117
99118
99119
99120
99121
99122
99123
99124
99125
99126
99127
99128
99129
99130
99131
99132
99133
99134
99135
99136
99137
99138
99139
99140
99141
99142
99143
99144
99145
99146
99147
99148
99149
99150
99151
99152
99153
99154
99155
99156
99157
99158
99159
99160
99161
99162
99163
99164
99165
99166
99167
99168
99169
99170
99171
99172
99173
99174
99175
99176
99177
99178
99179
99180
99181
99182
99183
99184
99185
99186
99187
99188
99189
99190
99191
99192
99193
99194
99195
99196
99197
99198
99199
99200
99201
99202
99203
99204
99205
99206
99207
99208
99209
99210
99211
99212
99213
99214
99215
99216
99217
99218
99219
99220
99221
99222
99223
99224
99225
99226
99227
99228
99229
99230
99231
99232
99233
99234
99235
99236
99237
99238
99239
99240
99241
99242
99243
99244
99245
99246
99247
99248
99249
99250
99251
99252
99253
99254
99255
99256
99257
99258
99259
99260
99261
99262
99263
99264
99265
99266
99267
99268
99269
99270
99271
99272
99273
99274
99275
99276
99277
99278
99279
99280
99281
99282
99283
99284
99285
99286
99287
99288
99289
99290
99291
99292
99293
99294
99295
99296
99297
99298
99299
99300
99301
99302
99303
99304
99305
99306
99307
99308
99309
99310
99311
99312
99313
99314
99315
99316
99317
99318
99319
99320
99321
99322
99323
99324
99325
99326
99327
99328
99329
99330
99331
99332
99333
99334
99335
99336
99337
99338
99339
99340
99341
99342
99343
99344
99345
99346
99347
99348
99349
99350
99351
99352
99353
99354
99355
99356
99357
99358
99359
99360
99361
99362
99363
99364
99365
99366
99367
99368
99369
99370
99371
99372
99373
99374
99375
99376
99377
99378
99379
99380
99381
99382
99383
99384
99385
99386
99387
99388
99389
99390
99391
99392
99393
99394
99395
99396
99397
99398
99399
99400
99401
99402
99403
99404
99405
99406
99407
99408
99409
99410
99411
99412
99413
99414
99415
99416
99417
99418
99419
99420
99421
99422
99423
99424
99425
99426
99427
99428
99429
99430
99431
99432
99433
99434
99435
99436
99437
99438
99439
99440
99441
99442
99443
99444
99445
99446
99447
99448
99449
99450
99451
99452
99453
99454
99455
99456
99457
99458
99459
99460
99461
99462
99463
99464
99465
99466
99467
99468
99469
99470
99471
99472
99473
99474
99475
99476
99477
99478
99479
99480
99481
99482
99483
99484
99485
99486
99487
99488
99489
99490
99491
99492
99493
99494
99495
99496
99497
99498
99499
99500
99501
99502
99503
99504
99505
99506
99507
99508
99509
99510
99511
99512
99513
99514
99515
99516
99517
99518
99519
99520
99521
99522
99523
99524
99525
99526
99527
99528
99529
99530
99531
99532
99533
99534
99535
99536
99537
99538
99539
99540
99541
99542
99543
99544
99545
99546
99547
99548
99549
99550
99551
99552
99553
99554
99555
99556
99557
99558
99559
99560
99561
99562
99563
99564
99565
99566
99567
99568
99569
99570
99571
99572
99573
99574
99575
99576
99577
99578
99579
99580
99581
99582
99583
99584
99585
99586
99587
99588
99589
99590
99591
99592
99593
99594
99595
99596
99597
99598
99599
99600
99601
99602
99603
99604
99605
99606
99607
99608
99609
99610
99611
99612
99613
99614
99615
99616
99617
99618
99619
99620
99621
99622
99623
99624
99625
99626
99627
99628
99629
99630
99631
99632
99633
99634
99635
99636
99637
99638
99639
99640
99641
99642
99643
99644
99645
99646
99647
99648
99649
99650
99651
99652
99653
99654
99655
99656
99657
99658
99659
99660
99661
99662
99663
99664
99665
99666
99667
99668
99669
99670
99671
99672
99673
99674
99675
99676
99677
99678
99679
99680
99681
99682
99683
99684
99685
99686
99687
99688
99689
99690
99691
99692
99693
99694
99695
99696
99697
99698
99699
99700
99701
99702
99703
99704
99705
99706
99707
99708
99709
99710
99711
99712
99713
99714
99715
99716
99717
99718
99719
99720
99721
99722
99723
99724
99725
99726
99727
99728
99729
99730
99731
99732
99733
99734
99735
99736
99737
99738
99739
99740
99741
99742
99743
99744
99745
99746
99747
99748
99749
99750
99751
99752
99753
99754
99755
99756
99757
99758
99759
99760
99761
99762
99763
99764
99765
99766
99767
99768
99769
99770
99771
99772
99773
99774
99775
99776
99777
99778
99779
99780
99781
99782
99783
99784
99785
99786
99787
99788
99789
99790
99791
99792
99793
99794
99795
99796
99797
99798
99799
99800
99801
99802
99803
99804
99805
99806
99807
99808
99809
99810
99811
99812
99813
99814
99815
99816
99817
99818
99819
99820
99821
99822
99823
99824
99825
99826
99827
99828
99829
99830
99831
99832
99833
99834
99835
99836
99837
99838
99839
99840
99841
99842
99843
99844
99845
99846
99847
99848
99849
99850
99851
99852
99853
99854
99855
99856
99857
99858
99859
99860
99861
99862
99863
99864
99865
99866
99867
99868
99869
99870
99871
99872
99873
99874
99875
99876
99877
99878
99879
99880
99881
99882
99883
99884
99885
99886
99887
99888
99889
99890
99891
99892
99893
99894
99895
99896
99897
99898
99899
99900
99901
99902
99903
99904
99905
99906
99907
99908
99909
99910
99911
99912
99913
99914
99915
99916
99917
99918
99919
99920
99921
99922
99923
99924
99925
99926
99927
99928
99929
99930
99931
99932
99933
99934
99935
99936
99937
99938
99939
99940
99941
99942
99943
99944
99945
99946
99947
99948
99949
99950
99951
99952
99953
99954
99955
99956
99957
99958
99959
99960
99961
99962
99963
99964
99965
99966
99967
99968
99969
99970
99971
99972
99973
99974
99975
99976
99977
99978
99979
99980
99981
99982
99983
99984
99985
99986
99987
99988
99989
99990
99991
99992
99993
99994
99995
99996
99997
99998
99999
100000
100001
100002
100003
100004
100005
100006
100007
100008
100009
100010
100011
100012
100013
100014
100015
100016
100017
100018
100019
100020
100021
100022
100023
100024
100025
100026
100027
100028
100029
100030
100031
100032
100033
100034
100035
100036
100037
100038
100039
100040
100041
100042
100043
100044
100045
100046
100047
100048
100049
100050
100051
100052
100053
100054
100055
100056
100057
100058
100059
100060
100061
100062
100063
100064
100065
100066
100067
100068
100069
100070
100071
100072
100073
100074
100075
100076
100077
100078
100079
100080
100081
100082
100083
100084
100085
100086
100087
100088
100089
100090
100091
100092
100093
100094
100095
100096
100097
100098
100099
100100
100101
100102
100103
100104
100105
100106
100107
100108
100109
100110
100111
100112
100113
100114
100115
100116
100117
100118
100119
100120
100121
100122
100123
100124
100125
100126
100127
100128
100129
100130
100131
100132
100133
100134
100135
100136
100137
100138
100139
100140
100141
100142
100143
100144
100145
100146
100147
100148
100149
100150
100151
100152
100153
100154
100155
100156
100157
100158
100159
100160
100161
100162
100163
100164
100165
100166
100167
100168
100169
100170
100171
100172
100173
100174
100175
100176
100177
100178
100179
100180
100181
100182
100183
100184
100185
100186
100187
100188
100189
100190
100191
100192
100193
100194
100195
100196
100197
100198
100199
100200
100201
100202
100203
100204
100205
100206
100207
100208
100209
100210
100211
100212
100213
100214
100215
100216
100217
100218
100219
100220
100221
100222
100223
100224
100225
100226
100227
100228
100229
100230
100231
100232
100233
100234
100235
100236
100237
100238
100239
100240
100241
100242
100243
100244
100245
100246
100247
100248
100249
100250
100251
100252
100253
100254
100255
100256
100257
100258
100259
100260
100261
100262
100263
100264
100265
100266
100267
100268
100269
100270
100271
100272
100273
100274
100275
100276
100277
100278
100279
100280
100281
100282
100283
100284
100285
100286
100287
100288
100289
100290
100291
100292
100293
100294
100295
100296
100297
100298
100299
100300
100301
100302
100303
100304
100305
100306
100307
100308
100309
100310
100311
100312
100313
100314
100315
100316
100317
100318
100319
100320
100321
100322
100323
100324
100325
100326
100327
100328
100329
100330
100331
100332
100333
100334
100335
100336
100337
100338
100339
100340
100341
100342
100343
100344
100345
100346
100347
100348
100349
100350
100351
100352
100353
100354
100355
100356
100357
100358
100359
100360
100361
100362
100363
100364
100365
100366
100367
100368
100369
100370
100371
100372
100373
100374
100375
100376
100377
100378
100379
100380
100381
100382
100383
100384
100385
100386
100387
100388
100389
100390
100391
100392
100393
100394
100395
100396
100397
100398
100399
100400
100401
100402
100403
100404
100405
100406
100407
100408
100409
100410
100411
100412
100413
100414
100415
100416
100417
100418
100419
100420
100421
100422
100423
100424
100425
100426
100427
100428
100429
100430
100431
100432
100433
100434
100435
100436
100437
100438
100439
100440
100441
100442
100443
100444
100445
100446
100447
100448
100449
100450
100451
100452
100453
100454
100455
100456
100457
100458
100459
100460
100461
100462
100463
100464
100465
100466
100467
100468
100469
100470
100471
100472
100473
100474
100475
100476
100477
100478
100479
100480
100481
100482
100483
100484
100485
100486
100487
100488
100489
100490
100491
100492
100493
100494
100495
100496
100497
100498
100499
100500
100501
100502
100503
100504
100505
100506
100507
100508
100509
100510
100511
100512
100513
100514
100515
100516
100517
100518
100519
100520
100521
100522
100523
100524
100525
100526
100527
100528
100529
100530
100531
100532
100533
100534
100535
100536
100537
100538
100539
100540
100541
100542
100543
100544
100545
100546
100547
100548
100549
100550
100551
100552
100553
100554
100555
100556
100557
100558
100559
100560
100561
100562
100563
100564
100565
100566
100567
100568
100569
100570
100571
100572
100573
100574
100575
100576
100577
100578
100579
100580
100581
100582
100583
100584
100585
100586
100587
100588
100589
100590
100591
100592
100593
100594
100595
100596
100597
100598
100599
100600
100601
100602
100603
100604
100605
100606
100607
100608
100609
100610
100611
100612
100613
100614
100615
100616
100617
100618
100619
100620
100621
100622
100623
100624
100625
100626
100627
100628
100629
100630
100631
100632
100633
100634
100635
100636
100637
100638
100639
100640
100641
100642
100643
100644
100645
100646
100647
100648
100649
100650
100651
100652
100653
100654
100655
100656
100657
100658
100659
100660
100661
100662
100663
100664
100665
100666
100667
100668
100669
100670
100671
100672
100673
100674
100675
100676
100677
100678
100679
100680
100681
100682
100683
100684
100685
100686
100687
100688
100689
100690
100691
100692
100693
100694
100695
100696
100697
100698
100699
100700
100701
100702
100703
100704
100705
100706
100707
100708
100709
100710
100711
100712
100713
100714
100715
100716
100717
100718
100719
100720
100721
100722
100723
100724
100725
100726
100727
100728
100729
100730
100731
100732
100733
100734
100735
100736
100737
100738
100739
100740
100741
100742
100743
100744
100745
100746
100747
100748
100749
100750
100751
100752
100753
100754
100755
100756
100757
100758
100759
100760
100761
100762
100763
100764
100765
100766
100767
100768
100769
100770
100771
100772
100773
100774
100775
100776
100777
100778
100779
100780
100781
100782
100783
100784
100785
100786
100787
100788
100789
100790
100791
100792
100793
100794
100795
100796
100797
100798
100799
100800
100801
100802
100803
100804
100805
100806
100807
100808
100809
100810
100811
100812
100813
100814
100815
100816
100817
100818
100819
100820
100821
100822
100823
100824
100825
100826
100827
100828
100829
100830
100831
100832
100833
100834
100835
100836
100837
100838
100839
100840
100841
100842
100843
100844
100845
100846
100847
100848
100849
100850
100851
100852
100853
100854
100855
100856
100857
100858
100859
100860
100861
100862
100863
100864
100865
100866
100867
100868
100869
100870
100871
100872
100873
100874
100875
100876
100877
100878
100879
100880
100881
100882
100883
100884
100885
100886
100887
100888
100889
100890
100891
100892
100893
100894
100895
100896
100897
100898
100899
100900
100901
100902
100903
100904
100905
100906
100907
100908
100909
100910
100911
100912
100913
100914
100915
100916
100917
100918
100919
100920
100921
100922
100923
100924
100925
100926
100927
100928
100929
100930
100931
100932
100933
100934
100935
100936
100937
100938
100939
100940
100941
100942
100943
100944
100945
100946
100947
100948
100949
100950
100951
100952
100953
100954
100955
100956
100957
100958
100959
100960
100961
100962
100963
100964
100965
100966
100967
100968
100969
100970
100971
100972
100973
100974
100975
100976
100977
100978
100979
100980
100981
100982
100983
100984
100985
100986
100987
100988
100989
100990
100991
100992
100993
100994
100995
100996
100997
100998
100999
101000
101001
101002
101003
101004
101005
101006
101007
101008
101009
101010
101011
101012
101013
101014
101015
101016
101017
101018
101019
101020
101021
101022
101023
101024
101025
101026
101027
101028
101029
101030
101031
101032
101033
101034
101035
101036
101037
101038
101039
101040
101041
101042
101043
101044
101045
101046
101047
101048
101049
101050
101051
101052
101053
101054
101055
101056
101057
101058
101059
101060
101061
101062
101063
101064
101065
101066
101067
101068
101069
101070
101071
101072
101073
101074
101075
101076
101077
101078
101079
101080
101081
101082
101083
101084
101085
101086
101087
101088
101089
101090
101091
101092
101093
101094
101095
101096
101097
101098
101099
101100
101101
101102
101103
101104
101105
101106
101107
101108
101109
101110
101111
101112
101113
101114
101115
101116
101117
101118
101119
101120
101121
101122
101123
101124
101125
101126
101127
101128
101129
101130
101131
101132
101133
101134
101135
101136
101137
101138
101139
101140
101141
101142
101143
101144
101145
101146
101147
101148
101149
101150
101151
101152
101153
101154
101155
101156
101157
101158
101159
101160
101161
101162
101163
101164
101165
101166
101167
101168
101169
101170
101171
101172
101173
101174
101175
101176
101177
101178
101179
101180
101181
101182
101183
101184
101185
101186
101187
101188
101189
101190
101191
101192
101193
101194
101195
101196
101197
101198
101199
101200
101201
101202
101203
101204
101205
101206
101207
101208
101209
101210
101211
101212
101213
101214
101215
101216
101217
101218
101219
101220
101221
101222
101223
101224
101225
101226
101227
101228
101229
101230
101231
101232
101233
101234
101235
101236
101237
101238
101239
101240
101241
101242
101243
101244
101245
101246
101247
101248
101249
101250
101251
101252
101253
101254
101255
101256
101257
101258
101259
101260
101261
101262
101263
101264
101265
101266
101267
101268
101269
101270
101271
101272
101273
101274
101275
101276
101277
101278
101279
101280
101281
101282
101283
101284
101285
101286
101287
101288
101289
101290
101291
101292
101293
101294
101295
101296
101297
101298
101299
101300
101301
101302
101303
101304
101305
101306
101307
101308
101309
101310
101311
101312
101313
101314
101315
101316
101317
101318
101319
101320
101321
101322
101323
101324
101325
101326
101327
101328
101329
101330
101331
101332
101333
101334
101335
101336
101337
101338
101339
101340
101341
101342
101343
101344
101345
101346
101347
101348
101349
101350
101351
101352
101353
101354
101355
101356
101357
101358
101359
101360
101361
101362
101363
101364
101365
101366
101367
101368
101369
101370
101371
101372
101373
101374
101375
101376
101377
101378
101379
101380
101381
101382
101383
101384
101385
101386
101387
101388
101389
101390
101391
101392
101393
101394
101395
101396
101397
101398
101399
101400
101401
101402
101403
101404
101405
101406
101407
101408
101409
101410
101411
101412
101413
101414
101415
101416
101417
101418
101419
101420
101421
101422
101423
101424
101425
101426
101427
101428
101429
101430
101431
101432
101433
101434
101435
101436
101437
101438
101439
101440
101441
101442
101443
101444
101445
101446
101447
101448
101449
101450
101451
101452
101453
101454
101455
101456
101457
101458
101459
101460
101461
101462
101463
101464
101465
101466
101467
101468
101469
101470
101471
101472
101473
101474
101475
101476
101477
101478
101479
101480
101481
101482
101483
101484
101485
101486
101487
101488
101489
101490
101491
101492
101493
101494
101495
101496
101497
101498
101499
101500
101501
101502
101503
101504
101505
101506
101507
101508
101509
101510
101511
101512
101513
101514
101515
101516
101517
101518
101519
101520
101521
101522
101523
101524
101525
101526
101527
101528
101529
101530
101531
101532
101533
101534
101535
101536
101537
101538
101539
101540
101541
101542
101543
101544
101545
101546
101547
101548
101549
101550
101551
101552
101553
101554
101555
101556
101557
101558
101559
101560
101561
101562
101563
101564
101565
101566
101567
101568
101569
101570
101571
101572
101573
101574
101575
101576
101577
101578
101579
101580
101581
101582
101583
101584
101585
101586
101587
101588
101589
101590
101591
101592
101593
101594
101595
101596
101597
101598
101599
101600
101601
101602
101603
101604
101605
101606
101607
101608
101609
101610
101611
101612
101613
101614
101615
101616
101617
101618
101619
101620
101621
101622
101623
101624
101625
101626
101627
101628
101629
101630
101631
101632
101633
101634
101635
101636
101637
101638
101639
101640
101641
101642
101643
101644
101645
101646
101647
101648
101649
101650
101651
101652
101653
101654
101655
101656
101657
101658
101659
101660
101661
101662
101663
101664
101665
101666
101667
101668
101669
101670
101671
101672
101673
101674
101675
101676
101677
101678
101679
101680
101681
101682
101683
101684
101685
101686
101687
101688
101689
101690
101691
101692
101693
101694
101695
101696
101697
101698
101699
101700
101701
101702
101703
101704
101705
101706
101707
101708
101709
101710
101711
101712
101713
101714
101715
101716
101717
101718
101719
101720
101721
101722
101723
101724
101725
101726
101727
101728
101729
101730
101731
101732
101733
101734
101735
101736
101737
101738
101739
101740
101741
101742
101743
101744
101745
101746
101747
101748
101749
101750
101751
101752
101753
101754
101755
101756
101757
101758
101759
101760
101761
101762
101763
101764
101765
101766
101767
101768
101769
101770
101771
101772
101773
101774
101775
101776
101777
101778
101779
101780
101781
101782
101783
101784
101785
101786
101787
101788
101789
101790
101791
101792
101793
101794
101795
101796
101797
101798
101799
101800
101801
101802
101803
101804
101805
101806
101807
101808
101809
101810
101811
101812
101813
101814
101815
101816
101817
101818
101819
101820
101821
101822
101823
101824
101825
101826
101827
101828
101829
101830
101831
101832
101833
101834
101835
101836
101837
101838
101839
101840
101841
101842
101843
101844
101845
101846
101847
101848
101849
101850
101851
101852
101853
101854
101855
101856
101857
101858
101859
101860
101861
101862
101863
101864
101865
101866
101867
101868
101869
101870
101871
101872
101873
101874
101875
101876
101877
101878
101879
101880
101881
101882
101883
101884
101885
101886
101887
101888
101889
101890
101891
101892
101893
101894
101895
101896
101897
101898
101899
101900
101901
101902
101903
101904
101905
101906
101907
101908
101909
101910
101911
101912
101913
101914
101915
101916
101917
101918
101919
101920
101921
101922
101923
101924
101925
101926
101927
101928
101929
101930
101931
101932
101933
101934
101935
101936
101937
101938
101939
101940
101941
101942
101943
101944
101945
101946
101947
101948
101949
101950
101951
101952
101953
101954
101955
101956
101957
101958
101959
101960
101961
101962
101963
101964
101965
101966
101967
101968
101969
101970
101971
101972
101973
101974
101975
101976
101977
101978
101979
101980
101981
101982
101983
101984
101985
101986
101987
101988
101989
101990
101991
101992
101993
101994
101995
101996
101997
101998
101999
102000
102001
102002
102003
102004
102005
102006
102007
102008
102009
102010
102011
102012
102013
102014
102015
102016
102017
102018
102019
102020
102021
102022
102023
102024
102025
102026
102027
102028
102029
102030
102031
102032
102033
102034
102035
102036
102037
102038
102039
102040
102041
102042
102043
102044
102045
102046
102047
102048
102049
102050
102051
102052
102053
102054
102055
102056
102057
102058
102059
102060
102061
102062
102063
102064
102065
102066
102067
102068
102069
102070
102071
102072
102073
102074
102075
102076
102077
102078
102079
102080
102081
102082
102083
102084
102085
102086
102087
102088
102089
102090
102091
102092
102093
102094
102095
102096
102097
102098
102099
102100
102101
102102
102103
102104
102105
102106
102107
102108
102109
102110
102111
102112
102113
102114
102115
102116
102117
102118
102119
102120
102121
102122
102123
102124
102125
102126
102127
102128
102129
102130
102131
102132
102133
102134
102135
102136
102137
102138
102139
102140
102141
102142
102143
102144
102145
102146
102147
102148
102149
102150
102151
102152
102153
102154
102155
102156
102157
102158
102159
102160
102161
102162
102163
102164
102165
102166
102167
102168
102169
102170
102171
102172
102173
102174
102175
102176
102177
102178
102179
102180
102181
102182
102183
102184
102185
102186
102187
102188
102189
102190
102191
102192
102193
102194
102195
102196
102197
102198
102199
102200
102201
102202
102203
102204
102205
102206
102207
102208
102209
102210
102211
102212
102213
102214
102215
102216
102217
102218
102219
102220
102221
102222
102223
102224
102225
102226
102227
102228
102229
102230
102231
102232
102233
102234
102235
102236
102237
102238
102239
102240
102241
102242
102243
102244
102245
102246
102247
102248
102249
102250
102251
102252
102253
102254
102255
102256
102257
102258
102259
102260
102261
102262
102263
102264
102265
102266
102267
102268
102269
102270
102271
102272
102273
102274
102275
102276
102277
102278
102279
102280
102281
102282
102283
102284
102285
102286
102287
102288
102289
102290
102291
102292
102293
102294
102295
102296
102297
102298
102299
102300
102301
102302
102303
102304
102305
102306
102307
102308
102309
102310
102311
102312
102313
102314
102315
102316
102317
102318
102319
102320
102321
102322
102323
102324
102325
102326
102327
102328
102329
102330
102331
102332
102333
102334
102335
102336
102337
102338
102339
102340
102341
102342
102343
102344
102345
102346
102347
102348
102349
102350
102351
102352
102353
102354
102355
102356
102357
102358
102359
102360
102361
102362
102363
102364
102365
102366
102367
102368
102369
102370
102371
102372
102373
102374
102375
102376
102377
102378
102379
102380
102381
102382
102383
102384
102385
102386
102387
102388
102389
102390
102391
102392
102393
102394
102395
102396
102397
102398
102399
102400
102401
102402
102403
102404
102405
102406
102407
102408
102409
102410
102411
102412
102413
102414
102415
102416
102417
102418
102419
102420
102421
102422
102423
102424
102425
102426
102427
102428
102429
102430
102431
102432
102433
102434
102435
102436
102437
102438
102439
102440
102441
102442
102443
102444
102445
102446
102447
102448
102449
102450
102451
102452
102453
102454
102455
102456
102457
102458
102459
102460
102461
102462
102463
102464
102465
102466
102467
102468
102469
102470
102471
102472
102473
102474
102475
102476
102477
102478
102479
102480
102481
102482
102483
102484
102485
102486
102487
102488
102489
102490
102491
102492
102493
102494
102495
102496
102497
102498
102499
102500
102501
102502
102503
102504
102505
102506
102507
102508
102509
102510
102511
102512
102513
102514
102515
102516
102517
102518
102519
102520
102521
102522
102523
102524
102525
102526
102527
102528
102529
102530
102531
102532
102533
102534
102535
102536
102537
102538
102539
102540
102541
102542
102543
102544
102545
102546
102547
102548
102549
102550
102551
102552
102553
102554
102555
102556
102557
102558
102559
102560
102561
102562
102563
102564
102565
102566
102567
102568
102569
102570
102571
102572
102573
102574
102575
102576
102577
102578
102579
102580
102581
102582
102583
102584
102585
102586
102587
102588
102589
102590
102591
102592
102593
102594
102595
102596
102597
102598
102599
102600
102601
102602
102603
102604
102605
102606
102607
102608
102609
102610
102611
102612
102613
102614
102615
102616
102617
102618
102619
102620
102621
102622
102623
102624
102625
102626
102627
102628
102629
102630
102631
102632
102633
102634
102635
102636
102637
102638
102639
102640
102641
102642
102643
102644
102645
102646
102647
102648
102649
102650
102651
102652
102653
102654
102655
102656
102657
102658
102659
102660
102661
102662
102663
102664
102665
102666
102667
102668
102669
102670
102671
102672
102673
102674
102675
102676
102677
102678
102679
102680
102681
102682
102683
102684
102685
102686
102687
102688
102689
102690
102691
102692
102693
102694
102695
102696
102697
102698
102699
102700
102701
102702
102703
102704
102705
102706
102707
102708
102709
102710
102711
102712
102713
102714
102715
102716
102717
102718
102719
102720
102721
102722
102723
102724
102725
102726
102727
102728
102729
102730
102731
102732
102733
102734
102735
102736
102737
102738
102739
102740
102741
102742
102743
102744
102745
102746
102747
102748
102749
102750
102751
102752
102753
102754
102755
102756
102757
102758
102759
102760
102761
102762
102763
102764
102765
102766
102767
102768
102769
102770
102771
102772
102773
102774
102775
102776
102777
102778
102779
102780
102781
102782
102783
102784
102785
102786
102787
102788
102789
102790
102791
102792
102793
102794
102795
102796
102797
102798
102799
102800
102801
102802
102803
102804
102805
102806
102807
102808
102809
102810
102811
102812
102813
102814
102815
102816
102817
102818
102819
102820
102821
102822
102823
102824
102825
102826
102827
102828
102829
102830
102831
102832
102833
102834
102835
102836
102837
102838
102839
102840
102841
102842
102843
102844
102845
102846
102847
102848
102849
102850
102851
102852
102853
102854
102855
102856
102857
102858
102859
102860
102861
102862
102863
102864
102865
102866
102867
102868
102869
102870
102871
102872
102873
102874
102875
102876
102877
102878
102879
102880
102881
102882
102883
102884
102885
102886
102887
102888
102889
102890
102891
102892
102893
102894
102895
102896
102897
102898
102899
102900
102901
102902
102903
102904
102905
102906
102907
102908
102909
102910
102911
102912
102913
102914
102915
102916
102917
102918
102919
102920
102921
102922
102923
102924
102925
102926
102927
102928
102929
102930
102931
102932
102933
102934
102935
102936
102937
102938
102939
102940
102941
102942
102943
102944
102945
102946
102947
102948
102949
102950
102951
102952
102953
102954
102955
102956
102957
102958
102959
102960
102961
102962
102963
102964
102965
102966
102967
102968
102969
102970
102971
102972
102973
102974
102975
102976
102977
102978
102979
102980
102981
102982
102983
102984
102985
102986
102987
102988
102989
102990
102991
102992
102993
102994
102995
102996
102997
102998
102999
103000
103001
103002
103003
103004
103005
103006
103007
103008
103009
103010
103011
103012
103013
103014
103015
103016
103017
103018
103019
103020
103021
103022
103023
103024
103025
103026
103027
103028
103029
103030
103031
103032
103033
103034
103035
103036
103037
103038
103039
103040
103041
103042
103043
103044
103045
103046
103047
103048
103049
103050
103051
103052
103053
103054
103055
103056
103057
103058
103059
103060
103061
103062
103063
103064
103065
103066
103067
103068
103069
103070
103071
103072
103073
103074
103075
103076
103077
103078
103079
103080
103081
103082
103083
103084
103085
103086
103087
103088
103089
103090
103091
103092
103093
103094
103095
103096
103097
103098
103099
103100
103101
103102
103103
103104
103105
103106
103107
103108
103109
103110
103111
103112
103113
103114
103115
103116
103117
103118
103119
103120
103121
103122
103123
103124
103125
103126
103127
103128
103129
103130
103131
103132
103133
103134
103135
103136
103137
103138
103139
103140
103141
103142
103143
103144
103145
103146
103147
103148
103149
103150
103151
103152
103153
103154
103155
103156
103157
103158
103159
103160
103161
103162
103163
103164
103165
103166
103167
103168
103169
103170
103171
103172
103173
103174
103175
103176
103177
103178
103179
103180
103181
103182
103183
103184
103185
103186
103187
103188
103189
103190
103191
103192
103193
103194
103195
103196
103197
103198
103199
103200
103201
103202
103203
103204
103205
103206
103207
103208
103209
103210
103211
103212
103213
103214
103215
103216
103217
103218
103219
103220
103221
103222
103223
103224
103225
103226
103227
103228
103229
103230
103231
103232
103233
103234
103235
103236
103237
103238
103239
103240
103241
103242
103243
103244
103245
103246
103247
103248
103249
103250
103251
103252
103253
103254
103255
103256
103257
103258
103259
103260
103261
103262
103263
103264
103265
103266
103267
103268
103269
103270
103271
103272
103273
103274
103275
103276
103277
103278
103279
103280
103281
103282
103283
103284
103285
103286
103287
103288
103289
103290
103291
103292
103293
103294
103295
103296
103297
103298
103299
103300
103301
103302
103303
103304
103305
103306
103307
103308
103309
103310
103311
103312
103313
103314
103315
103316
103317
103318
103319
103320
103321
103322
103323
103324
103325
103326
103327
103328
103329
103330
103331
103332
103333
103334
103335
103336
103337
103338
103339
103340
103341
103342
103343
103344
103345
103346
103347
103348
103349
103350
103351
103352
103353
103354
103355
103356
103357
103358
103359
103360
103361
103362
103363
103364
103365
103366
103367
103368
103369
103370
103371
103372
103373
103374
103375
103376
103377
103378
103379
103380
103381
103382
103383
103384
103385
103386
103387
103388
103389
103390
103391
103392
103393
103394
103395
103396
103397
103398
103399
103400
103401
103402
103403
103404
103405
103406
103407
103408
103409
103410
103411
103412
103413
103414
103415
103416
103417
103418
103419
103420
103421
103422
103423
103424
103425
103426
103427
103428
103429
103430
103431
103432
103433
103434
103435
103436
103437
103438
103439
103440
103441
103442
103443
103444
103445
103446
103447
103448
103449
103450
103451
103452
103453
103454
103455
103456
103457
103458
103459
103460
103461
103462
103463
103464
103465
103466
103467
103468
103469
103470
103471
103472
103473
103474
103475
103476
103477
103478
103479
103480
103481
103482
103483
103484
103485
103486
103487
103488
103489
103490
103491
103492
103493
103494
103495
103496
103497
103498
103499
103500
103501
103502
103503
103504
103505
103506
103507
103508
103509
103510
103511
103512
103513
103514
103515
103516
103517
103518
103519
103520
103521
103522
103523
103524
103525
103526
103527
103528
103529
103530
103531
103532
103533
103534
103535
103536
103537
103538
103539
103540
103541
103542
103543
103544
103545
103546
103547
103548
103549
103550
103551
103552
103553
103554
103555
103556
103557
103558
103559
103560
103561
103562
103563
103564
103565
103566
103567
103568
103569
103570
103571
103572
103573
103574
103575
103576
103577
103578
103579
103580
103581
103582
103583
103584
103585
103586
103587
103588
103589
103590
103591
103592
103593
103594
103595
103596
103597
103598
103599
103600
103601
103602
103603
103604
103605
103606
103607
103608
103609
103610
103611
103612
103613
103614
103615
103616
103617
103618
103619
103620
103621
103622
103623
103624
103625
103626
103627
103628
103629
103630
103631
103632
103633
103634
103635
103636
103637
103638
103639
103640
103641
103642
103643
103644
103645
103646
103647
103648
103649
103650
103651
103652
103653
103654
103655
103656
103657
103658
103659
103660
103661
103662
103663
103664
103665
103666
103667
103668
103669
103670
103671
103672
103673
103674
103675
103676
103677
103678
103679
103680
103681
103682
103683
103684
103685
103686
103687
103688
103689
103690
103691
103692
103693
103694
103695
103696
103697
103698
103699
103700
103701
103702
103703
103704
103705
103706
103707
103708
103709
103710
103711
103712
103713
103714
103715
103716
103717
103718
103719
103720
103721
103722
103723
103724
103725
103726
103727
103728
103729
103730
103731
103732
103733
103734
103735
103736
103737
103738
103739
103740
103741
103742
103743
103744
103745
103746
103747
103748
103749
103750
103751
103752
103753
103754
103755
103756
103757
103758
103759
103760
103761
103762
103763
103764
103765
103766
103767
103768
103769
103770
103771
103772
103773
103774
103775
103776
103777
103778
103779
103780
103781
103782
103783
103784
103785
103786
103787
103788
103789
103790
103791
103792
103793
103794
103795
103796
103797
103798
103799
103800
103801
103802
103803
103804
103805
103806
103807
103808
103809
103810
103811
103812
103813
103814
103815
103816
103817
103818
103819
103820
103821
103822
103823
103824
103825
103826
103827
103828
103829
103830
103831
103832
103833
103834
103835
103836
103837
103838
103839
103840
103841
103842
103843
103844
103845
103846
103847
103848
103849
103850
103851
103852
103853
103854
103855
103856
103857
103858
103859
103860
103861
103862
103863
103864
103865
103866
103867
103868
103869
103870
103871
103872
103873
103874
103875
103876
103877
103878
103879
103880
103881
103882
103883
103884
103885
103886
103887
103888
103889
103890
103891
103892
103893
103894
103895
103896
103897
103898
103899
103900
103901
103902
103903
103904
103905
103906
103907
103908
103909
103910
103911
103912
103913
103914
103915
103916
103917
103918
103919
103920
103921
103922
103923
103924
103925
103926
103927
103928
103929
103930
103931
103932
103933
103934
103935
103936
103937
103938
103939
103940
103941
103942
103943
103944
103945
103946
103947
103948
103949
103950
103951
103952
103953
103954
103955
103956
103957
103958
103959
103960
103961
103962
103963
103964
103965
103966
103967
103968
103969
103970
103971
103972
103973
103974
103975
103976
103977
103978
103979
103980
103981
103982
103983
103984
103985
103986
103987
103988
103989
103990
103991
103992
103993
103994
103995
103996
103997
103998
103999
104000
104001
104002
104003
104004
104005
104006
104007
104008
104009
104010
104011
104012
104013
104014
104015
104016
104017
104018
104019
104020
104021
104022
104023
104024
104025
104026
104027
104028
104029
104030
104031
104032
104033
104034
104035
104036
104037
104038
104039
104040
104041
104042
104043
104044
104045
104046
104047
104048
104049
104050
104051
104052
104053
104054
104055
104056
104057
104058
104059
104060
104061
104062
104063
104064
104065
104066
104067
104068
104069
104070
104071
104072
104073
104074
104075
104076
104077
104078
104079
104080
104081
104082
104083
104084
104085
104086
104087
104088
104089
104090
104091
104092
104093
104094
104095
104096
104097
104098
104099
104100
104101
104102
104103
104104
104105
104106
104107
104108
104109
104110
104111
104112
104113
104114
104115
104116
104117
104118
104119
104120
104121
104122
104123
104124
104125
104126
104127
104128
104129
104130
104131
104132
104133
104134
104135
104136
104137
104138
104139
104140
104141
104142
104143
104144
104145
104146
104147
104148
104149
104150
104151
104152
104153
104154
104155
104156
104157
104158
104159
104160
104161
104162
104163
104164
104165
104166
104167
104168
104169
104170
104171
104172
104173
104174
104175
104176
104177
104178
104179
104180
104181
104182
104183
104184
104185
104186
104187
104188
104189
104190
104191
104192
104193
104194
104195
104196
104197
104198
104199
104200
104201
104202
104203
104204
104205
104206
104207
104208
104209
104210
104211
104212
104213
104214
104215
104216
104217
104218
104219
104220
104221
104222
104223
104224
104225
104226
104227
104228
104229
104230
104231
104232
104233
104234
104235
104236
104237
104238
104239
104240
104241
104242
104243
104244
104245
104246
104247
104248
104249
104250
104251
104252
104253
104254
104255
104256
104257
104258
104259
104260
104261
104262
104263
104264
104265
104266
104267
104268
104269
104270
104271
104272
104273
104274
104275
104276
104277
104278
104279
104280
104281
104282
104283
104284
104285
104286
104287
104288
104289
104290
104291
104292
104293
104294
104295
104296
104297
104298
104299
104300
104301
104302
104303
104304
104305
104306
104307
104308
104309
104310
104311
104312
104313
104314
104315
104316
104317
104318
104319
104320
104321
104322
104323
104324
104325
104326
104327
104328
104329
104330
104331
104332
104333
104334
104335
104336
104337
104338
104339
104340
104341
104342
104343
104344
104345
104346
104347
104348
104349
104350
104351
104352
104353
104354
104355
104356
104357
104358
104359
104360
104361
104362
104363
104364
104365
104366
104367
104368
104369
104370
104371
104372
104373
104374
104375
104376
104377
104378
104379
104380
104381
104382
104383
104384
104385
104386
104387
104388
104389
104390
104391
104392
104393
104394
104395
104396
104397
104398
104399
104400
104401
104402
104403
104404
104405
104406
104407
104408
104409
104410
104411
104412
104413
104414
104415
104416
104417
104418
104419
104420
104421
104422
104423
104424
104425
104426
104427
104428
104429
104430
104431
104432
104433
104434
104435
104436
104437
104438
104439
104440
104441
104442
104443
104444
104445
104446
104447
104448
104449
104450
104451
104452
104453
104454
104455
104456
104457
104458
104459
104460
104461
104462
104463
104464
104465
104466
104467
104468
104469
104470
104471
104472
104473
104474
104475
104476
104477
104478
104479
104480
104481
104482
104483
104484
104485
104486
104487
104488
104489
104490
104491
104492
104493
104494
104495
104496
104497
104498
104499
104500
104501
104502
104503
104504
104505
104506
104507
104508
104509
104510
104511
104512
104513
104514
104515
104516
104517
104518
104519
104520
104521
104522
104523
104524
104525
104526
104527
104528
104529
104530
104531
104532
104533
104534
104535
104536
104537
104538
104539
104540
104541
104542
104543
104544
104545
104546
104547
104548
104549
104550
104551
104552
104553
104554
104555
104556
104557
104558
104559
104560
104561
104562
104563
104564
104565
104566
104567
104568
104569
104570
104571
104572
104573
104574
104575
104576
104577
104578
104579
104580
104581
104582
104583
104584
104585
104586
104587
104588
104589
104590
104591
104592
104593
104594
104595
104596
104597
104598
104599
104600
104601
104602
104603
104604
104605
104606
104607
104608
104609
104610
104611
104612
104613
104614
104615
104616
104617
104618
104619
104620
104621
104622
104623
104624
104625
104626
104627
104628
104629
104630
104631
104632
104633
104634
104635
104636
104637
104638
104639
104640
104641
104642
104643
104644
104645
104646
104647
104648
104649
104650
104651
104652
104653
104654
104655
104656
104657
104658
104659
104660
104661
104662
104663
104664
104665
104666
104667
104668
104669
104670
104671
104672
104673
104674
104675
104676
104677
104678
104679
104680
104681
104682
104683
104684
104685
104686
104687
104688
104689
104690
104691
104692
104693
104694
104695
104696
104697
104698
104699
104700
104701
104702
104703
104704
104705
104706
104707
104708
104709
104710
104711
104712
104713
104714
104715
104716
104717
104718
104719
104720
104721
104722
104723
104724
104725
104726
104727
104728
104729
104730
104731
104732
104733
104734
104735
104736
104737
104738
104739
104740
104741
104742
104743
104744
104745
104746
104747
104748
104749
104750
104751
104752
104753
104754
104755
104756
104757
104758
104759
104760
104761
104762
104763
104764
104765
104766
104767
104768
104769
104770
104771
104772
104773
104774
104775
104776
104777
104778
104779
104780
104781
104782
104783
104784
104785
104786
104787
104788
104789
104790
104791
104792
104793
104794
104795
104796
104797
104798
104799
104800
104801
104802
104803
104804
104805
104806
104807
104808
104809
104810
104811
104812
104813
104814
104815
104816
104817
104818
104819
104820
104821
104822
104823
104824
104825
104826
104827
104828
104829
104830
104831
104832
104833
104834
104835
104836
104837
104838
104839
104840
104841
104842
104843
104844
104845
104846
104847
104848
104849
104850
104851
104852
104853
104854
104855
104856
104857
104858
104859
104860
104861
104862
104863
104864
104865
104866
104867
104868
104869
104870
104871
104872
104873
104874
104875
104876
104877
104878
104879
104880
104881
104882
104883
104884
104885
104886
104887
104888
104889
104890
104891
104892
104893
104894
104895
104896
104897
104898
104899
104900
104901
104902
104903
104904
104905
104906
104907
104908
104909
104910
104911
104912
104913
104914
104915
104916
104917
104918
104919
104920
104921
104922
104923
104924
104925
104926
104927
104928
104929
104930
104931
104932
104933
104934
104935
104936
104937
104938
104939
104940
104941
104942
104943
104944
104945
104946
104947
104948
104949
104950
104951
104952
104953
104954
104955
104956
104957
104958
104959
104960
104961
104962
104963
104964
104965
104966
104967
104968
104969
104970
104971
104972
104973
104974
104975
104976
104977
104978
104979
104980
104981
104982
104983
104984
104985
104986
104987
104988
104989
104990
104991
104992
104993
104994
104995
104996
104997
104998
104999
105000
105001
105002
105003
105004
105005
105006
105007
105008
105009
105010
105011
105012
105013
105014
105015
105016
105017
105018
105019
105020
105021
105022
105023
105024
105025
105026
105027
105028
105029
105030
105031
105032
105033
105034
105035
105036
105037
105038
105039
105040
105041
105042
105043
105044
105045
105046
105047
105048
105049
105050
105051
105052
105053
105054
105055
105056
105057
105058
105059
105060
105061
105062
105063
105064
105065
105066
105067
105068
105069
105070
105071
105072
105073
105074
105075
105076
105077
105078
105079
105080
105081
105082
105083
105084
105085
105086
105087
105088
105089
105090
105091
105092
105093
105094
105095
105096
105097
105098
105099
105100
105101
105102
105103
105104
105105
105106
105107
105108
105109
105110
105111
105112
105113
105114
105115
105116
105117
105118
105119
105120
105121
105122
105123
105124
105125
105126
105127
105128
105129
105130
105131
105132
105133
105134
105135
105136
105137
105138
105139
105140
105141
105142
105143
105144
105145
105146
105147
105148
105149
105150
105151
105152
105153
105154
105155
105156
105157
105158
105159
105160
105161
105162
105163
105164
105165
105166
105167
105168
105169
105170
105171
105172
105173
105174
105175
105176
105177
105178
105179
105180
105181
105182
105183
105184
105185
105186
105187
105188
105189
105190
105191
105192
105193
105194
105195
105196
105197
105198
105199
105200
105201
105202
105203
105204
105205
105206
105207
105208
105209
105210
105211
105212
105213
105214
105215
105216
105217
105218
105219
105220
105221
105222
105223
105224
105225
105226
105227
105228
105229
105230
105231
105232
105233
105234
105235
105236
105237
105238
105239
105240
105241
105242
105243
105244
105245
105246
105247
105248
105249
105250
105251
105252
105253
105254
105255
105256
105257
105258
105259
105260
105261
105262
105263
105264
105265
105266
105267
105268
105269
105270
105271
105272
105273
105274
105275
105276
105277
105278
105279
105280
105281
105282
105283
105284
105285
105286
105287
105288
105289
105290
105291
105292
105293
105294
105295
105296
105297
105298
105299
105300
105301
105302
105303
105304
105305
105306
105307
105308
105309
105310
105311
105312
105313
105314
105315
105316
105317
105318
105319
105320
105321
105322
105323
105324
105325
105326
105327
105328
105329
105330
105331
105332
105333
105334
105335
105336
105337
105338
105339
105340
105341
105342
105343
105344
105345
105346
105347
105348
105349
105350
105351
105352
105353
105354
105355
105356
105357
105358
105359
105360
105361
105362
105363
105364
105365
105366
105367
105368
105369
105370
105371
105372
105373
105374
105375
105376
105377
105378
105379
105380
105381
105382
105383
105384
105385
105386
105387
105388
105389
105390
105391
105392
105393
105394
105395
105396
105397
105398
105399
105400
105401
105402
105403
105404
105405
105406
105407
105408
105409
105410
105411
105412
105413
105414
105415
105416
105417
105418
105419
105420
105421
105422
105423
105424
105425
105426
105427
105428
105429
105430
105431
105432
105433
105434
105435
105436
105437
105438
105439
105440
105441
105442
105443
105444
105445
105446
105447
105448
105449
105450
105451
105452
105453
105454
105455
105456
105457
105458
105459
105460
105461
105462
105463
105464
105465
105466
105467
105468
105469
105470
105471
105472
105473
105474
105475
105476
105477
105478
105479
105480
105481
105482
105483
105484
105485
105486
105487
105488
105489
105490
105491
105492
105493
105494
105495
105496
105497
105498
105499
105500
105501
105502
105503
105504
105505
105506
105507
105508
105509
105510
105511
105512
105513
105514
105515
105516
105517
105518
105519
105520
105521
105522
105523
105524
105525
105526
105527
105528
105529
105530
105531
105532
105533
105534
105535
105536
105537
105538
105539
105540
105541
105542
105543
105544
105545
105546
105547
105548
105549
105550
105551
105552
105553
105554
105555
105556
105557
105558
105559
105560
105561
105562
105563
105564
105565
105566
105567
105568
105569
105570
105571
105572
105573
105574
105575
105576
105577
105578
105579
105580
105581
105582
105583
105584
105585
105586
105587
105588
105589
105590
105591
105592
105593
105594
105595
105596
105597
105598
105599
105600
105601
105602
105603
105604
105605
105606
105607
105608
105609
105610
105611
105612
105613
105614
105615
105616
105617
105618
105619
105620
105621
105622
105623
105624
105625
105626
105627
105628
105629
105630
105631
105632
105633
105634
105635
105636
105637
105638
105639
105640
105641
105642
105643
105644
105645
105646
105647
105648
105649
105650
105651
105652
105653
105654
105655
105656
105657
105658
105659
105660
105661
105662
105663
105664
105665
105666
105667
105668
105669
105670
105671
105672
105673
105674
105675
105676
105677
105678
105679
105680
105681
105682
105683
105684
105685
105686
105687
105688
105689
105690
105691
105692
105693
105694
105695
105696
105697
105698
105699
105700
105701
105702
105703
105704
105705
105706
105707
105708
105709
105710
105711
105712
105713
105714
105715
105716
105717
105718
105719
105720
105721
105722
105723
105724
105725
105726
105727
105728
105729
105730
105731
105732
105733
105734
105735
105736
105737
105738
105739
105740
105741
105742
105743
105744
105745
105746
105747
105748
105749
105750
105751
105752
105753
105754
105755
105756
105757
105758
105759
105760
105761
105762
105763
105764
105765
105766
105767
105768
105769
105770
105771
105772
105773
105774
105775
105776
105777
105778
105779
105780
105781
105782
105783
105784
105785
105786
105787
105788
105789
105790
105791
105792
105793
105794
105795
105796
105797
105798
105799
105800
105801
105802
105803
105804
105805
105806
105807
105808
105809
105810
105811
105812
105813
105814
105815
105816
105817
105818
105819
105820
105821
105822
105823
105824
105825
105826
105827
105828
105829
105830
105831
105832
105833
105834
105835
105836
105837
105838
105839
105840
105841
105842
105843
105844
105845
105846
105847
105848
105849
105850
105851
105852
105853
105854
105855
105856
105857
105858
105859
105860
105861
105862
105863
105864
105865
105866
105867
105868
105869
105870
105871
105872
105873
105874
105875
105876
105877
105878
105879
105880
105881
105882
105883
105884
105885
105886
105887
105888
105889
105890
105891
105892
105893
105894
105895
105896
105897
105898
105899
105900
105901
105902
105903
105904
105905
105906
105907
105908
105909
105910
105911
105912
105913
105914
105915
105916
105917
105918
105919
105920
105921
105922
105923
105924
105925
105926
105927
105928
105929
105930
105931
105932
105933
105934
105935
105936
105937
105938
105939
105940
105941
105942
105943
105944
105945
105946
105947
105948
105949
105950
105951
105952
105953
105954
105955
105956
105957
105958
105959
105960
105961
105962
105963
105964
105965
105966
105967
105968
105969
105970
105971
105972
105973
105974
105975
105976
105977
105978
105979
105980
105981
105982
105983
105984
105985
105986
105987
105988
105989
105990
105991
105992
105993
105994
105995
105996
105997
105998
105999
106000
106001
106002
106003
106004
106005
106006
106007
106008
106009
106010
106011
106012
106013
106014
106015
106016
106017
106018
106019
106020
106021
106022
106023
106024
106025
106026
106027
106028
106029
106030
106031
106032
106033
106034
106035
106036
106037
106038
106039
106040
106041
106042
106043
106044
106045
106046
106047
106048
106049
106050
106051
106052
106053
106054
106055
106056
106057
106058
106059
106060
106061
106062
106063
106064
106065
106066
106067
106068
106069
106070
106071
106072
106073
106074
106075
106076
106077
106078
106079
106080
106081
106082
106083
106084
106085
106086
106087
106088
106089
106090
106091
106092
106093
106094
106095
106096
106097
106098
106099
106100
106101
106102
106103
106104
106105
106106
106107
106108
106109
106110
106111
106112
106113
106114
106115
106116
106117
106118
106119
106120
106121
106122
106123
106124
106125
106126
106127
106128
106129
106130
106131
106132
106133
106134
106135
106136
106137
106138
106139
106140
106141
106142
106143
106144
106145
106146
106147
106148
106149
106150
106151
106152
106153
106154
106155
106156
106157
106158
106159
106160
106161
106162
106163
106164
106165
106166
106167
106168
106169
106170
106171
106172
106173
106174
106175
106176
106177
106178
106179
106180
106181
106182
106183
106184
106185
106186
106187
106188
106189
106190
106191
106192
106193
106194
106195
106196
106197
106198
106199
106200
106201
106202
106203
106204
106205
106206
106207
106208
106209
106210
106211
106212
106213
106214
106215
106216
106217
106218
106219
106220
106221
106222
106223
106224
106225
106226
106227
106228
106229
106230
106231
106232
106233
106234
106235
106236
106237
106238
106239
106240
106241
106242
106243
106244
106245
106246
106247
106248
106249
106250
106251
106252
106253
106254
106255
106256
106257
106258
106259
106260
106261
106262
106263
106264
106265
106266
106267
106268
106269
106270
106271
106272
106273
106274
106275
106276
106277
106278
106279
106280
106281
106282
106283
106284
106285
106286
106287
106288
106289
106290
106291
106292
106293
106294
106295
106296
106297
106298
106299
106300
106301
106302
106303
106304
106305
106306
106307
106308
106309
106310
106311
106312
106313
106314
106315
106316
106317
106318
106319
106320
106321
106322
106323
106324
106325
106326
106327
106328
106329
106330
106331
106332
106333
106334
106335
106336
106337
106338
106339
106340
106341
106342
106343
106344
106345
106346
106347
106348
106349
106350
106351
106352
106353
106354
106355
106356
106357
106358
106359
106360
106361
106362
106363
106364
106365
106366
106367
106368
106369
106370
106371
106372
106373
106374
106375
106376
106377
106378
106379
106380
106381
106382
106383
106384
106385
106386
106387
106388
106389
106390
106391
106392
106393
106394
106395
106396
106397
106398
106399
106400
106401
106402
106403
106404
106405
106406
106407
106408
106409
106410
106411
106412
106413
106414
106415
106416
106417
106418
106419
106420
106421
106422
106423
106424
106425
106426
106427
106428
106429
106430
106431
106432
106433
106434
106435
106436
106437
106438
106439
106440
106441
106442
106443
106444
106445
106446
106447
106448
106449
106450
106451
106452
106453
106454
106455
106456
106457
106458
106459
106460
106461
106462
106463
106464
106465
106466
106467
106468
106469
106470
106471
106472
106473
106474
106475
106476
106477
106478
106479
106480
106481
106482
106483
106484
106485
106486
106487
106488
106489
106490
106491
106492
106493
106494
106495
106496
106497
106498
106499
106500
106501
106502
106503
106504
106505
106506
106507
106508
106509
106510
106511
106512
106513
106514
106515
106516
106517
106518
106519
106520
106521
106522
106523
106524
106525
106526
106527
106528
106529
106530
106531
106532
106533
106534
106535
106536
106537
106538
106539
106540
106541
106542
106543
106544
106545
106546
106547
106548
106549
106550
106551
106552
106553
106554
106555
106556
106557
106558
106559
106560
106561
106562
106563
106564
106565
106566
106567
106568
106569
106570
106571
106572
106573
106574
106575
106576
106577
106578
106579
106580
106581
106582
106583
106584
106585
106586
106587
106588
106589
106590
106591
106592
106593
106594
106595
106596
106597
106598
106599
106600
106601
106602
106603
106604
106605
106606
106607
106608
106609
106610
106611
106612
106613
106614
106615
106616
106617
106618
106619
106620
106621
106622
106623
106624
106625
106626
106627
106628
106629
106630
106631
106632
106633
106634
106635
106636
106637
106638
106639
106640
106641
106642
106643
106644
106645
106646
106647
106648
106649
106650
106651
106652
106653
106654
106655
106656
106657
106658
106659
106660
106661
106662
106663
106664
106665
106666
106667
106668
106669
106670
106671
106672
106673
106674
106675
106676
106677
106678
106679
106680
106681
106682
106683
106684
106685
106686
106687
106688
106689
106690
106691
106692
106693
106694
106695
106696
106697
106698
106699
106700
106701
106702
106703
106704
106705
106706
106707
106708
106709
106710
106711
106712
106713
106714
106715
106716
106717
106718
106719
106720
106721
106722
106723
106724
106725
106726
106727
106728
106729
106730
106731
106732
106733
106734
106735
106736
106737
106738
106739
106740
106741
106742
106743
106744
106745
106746
106747
106748
106749
106750
106751
106752
106753
106754
106755
106756
106757
106758
106759
106760
106761
106762
106763
106764
106765
106766
106767
106768
106769
106770
106771
106772
106773
106774
106775
106776
106777
106778
106779
106780
106781
106782
106783
106784
106785
106786
106787
106788
106789
106790
106791
106792
106793
106794
106795
106796
106797
106798
106799
106800
106801
106802
106803
106804
106805
106806
106807
106808
106809
106810
106811
106812
106813
106814
106815
106816
106817
106818
106819
106820
106821
106822
106823
106824
106825
106826
106827
106828
106829
106830
106831
106832
106833
106834
106835
106836
106837
106838
106839
106840
106841
106842
106843
106844
106845
106846
106847
106848
106849
106850
106851
106852
106853
106854
106855
106856
106857
106858
106859
106860
106861
106862
106863
106864
106865
106866
106867
106868
106869
106870
106871
106872
106873
106874
106875
106876
106877
106878
106879
106880
106881
106882
106883
106884
106885
106886
106887
106888
106889
106890
106891
106892
106893
106894
106895
106896
106897
106898
106899
106900
106901
106902
106903
106904
106905
106906
106907
106908
106909
106910
106911
106912
106913
106914
106915
106916
106917
106918
106919
106920
106921
106922
106923
106924
106925
106926
106927
106928
106929
106930
106931
106932
106933
106934
106935
106936
106937
106938
106939
106940
106941
106942
106943
106944
106945
106946
106947
106948
106949
106950
106951
106952
106953
106954
106955
106956
106957
106958
106959
106960
106961
106962
106963
106964
106965
106966
106967
106968
106969
106970
106971
106972
106973
106974
106975
106976
106977
106978
106979
106980
106981
106982
106983
106984
106985
106986
106987
106988
106989
106990
106991
106992
106993
106994
106995
106996
106997
106998
106999
107000
107001
107002
107003
107004
107005
107006
107007
107008
107009
107010
107011
107012
107013
107014
107015
107016
107017
107018
107019
107020
107021
107022
107023
107024
107025
107026
107027
107028
107029
107030
107031
107032
107033
107034
107035
107036
107037
107038
107039
107040
107041
107042
107043
107044
107045
107046
107047
107048
107049
107050
107051
107052
107053
107054
107055
107056
107057
107058
107059
107060
107061
107062
107063
107064
107065
107066
107067
107068
107069
107070
107071
107072
107073
107074
107075
107076
107077
107078
107079
107080
107081
107082
107083
107084
107085
107086
107087
107088
107089
107090
107091
107092
107093
107094
107095
107096
107097
107098
107099
107100
107101
107102
107103
107104
107105
107106
107107
107108
107109
107110
107111
107112
107113
107114
107115
107116
107117
107118
107119
107120
107121
107122
107123
107124
107125
107126
107127
107128
107129
107130
107131
107132
107133
107134
107135
107136
107137
107138
107139
107140
107141
107142
107143
107144
107145
107146
107147
107148
107149
107150
107151
107152
107153
107154
107155
107156
107157
107158
107159
107160
107161
107162
107163
107164
107165
107166
107167
107168
107169
107170
107171
107172
107173
107174
107175
107176
107177
107178
107179
107180
107181
107182
107183
107184
107185
107186
107187
107188
107189
107190
107191
107192
107193
107194
107195
107196
107197
107198
107199
107200
107201
107202
107203
107204
107205
107206
107207
107208
107209
107210
107211
107212
107213
107214
107215
107216
107217
107218
107219
107220
107221
107222
107223
107224
107225
107226
107227
107228
107229
107230
107231
107232
107233
107234
107235
107236
107237
107238
107239
107240
107241
107242
107243
107244
107245
107246
107247
107248
107249
107250
107251
107252
107253
107254
107255
107256
107257
107258
107259
107260
107261
107262
107263
107264
107265
107266
107267
107268
107269
107270
107271
107272
107273
107274
107275
107276
107277
107278
107279
107280
107281
107282
107283
107284
107285
107286
107287
107288
107289
107290
107291
107292
107293
107294
107295
107296
107297
107298
107299
107300
107301
107302
107303
107304
107305
107306
107307
107308
107309
107310
107311
107312
107313
107314
107315
107316
107317
107318
107319
107320
107321
107322
107323
107324
107325
107326
107327
107328
107329
107330
107331
107332
107333
107334
107335
107336
107337
107338
107339
107340
107341
107342
107343
107344
107345
107346
107347
107348
107349
107350
107351
107352
107353
107354
107355
107356
107357
107358
107359
107360
107361
107362
107363
107364
107365
107366
107367
107368
107369
107370
107371
107372
107373
107374
107375
107376
107377
107378
107379
107380
107381
107382
107383
107384
107385
107386
107387
107388
107389
107390
107391
107392
107393
107394
107395
107396
107397
107398
107399
107400
107401
107402
107403
107404
107405
107406
107407
107408
107409
107410
107411
107412
107413
107414
107415
107416
107417
107418
107419
107420
107421
107422
107423
107424
107425
107426
107427
107428
107429
107430
107431
107432
107433
107434
107435
107436
107437
107438
107439
107440
107441
107442
107443
107444
107445
107446
107447
107448
107449
107450
107451
107452
107453
107454
107455
107456
107457
107458
107459
107460
107461
107462
107463
107464
107465
107466
107467
107468
107469
107470
107471
107472
107473
107474
107475
107476
107477
107478
107479
107480
107481
107482
107483
107484
107485
107486
107487
107488
107489
107490
107491
107492
107493
107494
107495
107496
107497
107498
107499
107500
107501
107502
107503
107504
107505
107506
107507
107508
107509
107510
107511
107512
107513
107514
107515
107516
107517
107518
107519
107520
107521
107522
107523
107524
107525
107526
107527
107528
107529
107530
107531
107532
107533
107534
107535
107536
107537
107538
107539
107540
107541
107542
107543
107544
107545
107546
107547
107548
107549
107550
107551
107552
107553
107554
107555
107556
107557
107558
107559
107560
107561
107562
107563
107564
107565
107566
107567
107568
107569
107570
107571
107572
107573
107574
107575
107576
107577
107578
107579
107580
107581
107582
107583
107584
107585
107586
107587
107588
107589
107590
107591
107592
107593
107594
107595
107596
107597
107598
107599
107600
107601
107602
107603
107604
107605
107606
107607
107608
107609
107610
107611
107612
107613
107614
107615
107616
107617
107618
107619
107620
107621
107622
107623
107624
107625
107626
107627
107628
107629
107630
107631
107632
107633
107634
107635
107636
107637
107638
107639
107640
107641
107642
107643
107644
107645
107646
107647
107648
107649
107650
107651
107652
107653
107654
107655
107656
107657
107658
107659
107660
107661
107662
107663
107664
107665
107666
107667
107668
107669
107670
107671
107672
107673
107674
107675
107676
107677
107678
107679
107680
107681
107682
107683
107684
107685
107686
107687
107688
107689
107690
107691
107692
107693
107694
107695
107696
107697
107698
107699
107700
107701
107702
107703
107704
107705
107706
107707
107708
107709
107710
107711
107712
107713
107714
107715
107716
107717
107718
107719
107720
107721
107722
107723
107724
107725
107726
107727
107728
107729
107730
107731
107732
107733
107734
107735
107736
107737
107738
107739
107740
107741
107742
107743
107744
107745
107746
107747
107748
107749
107750
107751
107752
107753
107754
107755
107756
107757
107758
107759
107760
107761
107762
107763
107764
107765
107766
107767
107768
107769
107770
107771
107772
107773
107774
107775
107776
107777
107778
107779
107780
107781
107782
107783
107784
107785
107786
107787
107788
107789
107790
107791
107792
107793
107794
107795
107796
107797
107798
107799
107800
107801
107802
107803
107804
107805
107806
107807
107808
107809
107810
107811
107812
107813
107814
107815
107816
107817
107818
107819
107820
107821
107822
107823
107824
107825
107826
107827
107828
107829
107830
107831
107832
107833
107834
107835
107836
107837
107838
107839
107840
107841
107842
107843
107844
107845
107846
107847
107848
107849
107850
107851
107852
107853
107854
107855
107856
107857
107858
107859
107860
107861
107862
107863
107864
107865
107866
107867
107868
107869
107870
107871
107872
107873
107874
107875
107876
107877
107878
107879
107880
107881
107882
107883
107884
107885
107886
107887
107888
107889
107890
107891
107892
107893
107894
107895
107896
107897
107898
107899
107900
107901
107902
107903
107904
107905
107906
107907
107908
107909
107910
107911
107912
107913
107914
107915
107916
107917
107918
107919
107920
107921
107922
107923
107924
107925
107926
107927
107928
107929
107930
107931
107932
107933
107934
107935
107936
107937
107938
107939
107940
107941
107942
107943
107944
107945
107946
107947
107948
107949
107950
107951
107952
107953
107954
107955
107956
107957
107958
107959
107960
107961
107962
107963
107964
107965
107966
107967
107968
107969
107970
107971
107972
107973
107974
107975
107976
107977
107978
107979
107980
107981
107982
107983
107984
107985
107986
107987
107988
107989
107990
107991
107992
107993
107994
107995
107996
107997
107998
107999
108000
108001
108002
108003
108004
108005
108006
108007
108008
108009
108010
108011
108012
108013
108014
108015
108016
108017
108018
108019
108020
108021
108022
108023
108024
108025
108026
108027
108028
108029
108030
108031
108032
108033
108034
108035
108036
108037
108038
108039
108040
108041
108042
108043
108044
108045
108046
108047
108048
108049
108050
108051
108052
108053
108054
108055
108056
108057
108058
108059
108060
108061
108062
108063
108064
108065
108066
108067
108068
108069
108070
108071
108072
108073
108074
108075
108076
108077
108078
108079
108080
108081
108082
108083
108084
108085
108086
108087
108088
108089
108090
108091
108092
108093
108094
108095
108096
108097
108098
108099
108100
108101
108102
108103
108104
108105
108106
108107
108108
108109
108110
108111
108112
108113
108114
108115
108116
108117
108118
108119
108120
108121
108122
108123
108124
108125
108126
108127
108128
108129
108130
108131
108132
108133
108134
108135
108136
108137
108138
108139
108140
108141
108142
108143
108144
108145
108146
108147
108148
108149
108150
108151
108152
108153
108154
108155
108156
108157
108158
108159
108160
108161
108162
108163
108164
108165
108166
108167
108168
108169
108170
108171
108172
108173
108174
108175
108176
108177
108178
108179
108180
108181
108182
108183
108184
108185
108186
108187
108188
108189
108190
108191
108192
108193
108194
108195
108196
108197
108198
108199
108200
108201
108202
108203
108204
108205
108206
108207
108208
108209
108210
108211
108212
108213
108214
108215
108216
108217
108218
108219
108220
108221
108222
108223
108224
108225
108226
108227
108228
108229
108230
108231
108232
108233
108234
108235
108236
108237
108238
108239
108240
108241
108242
108243
108244
108245
108246
108247
108248
108249
108250
108251
108252
108253
108254
108255
108256
108257
108258
108259
108260
108261
108262
108263
108264
108265
108266
108267
108268
108269
108270
108271
108272
108273
108274
108275
108276
108277
108278
108279
108280
108281
108282
108283
108284
108285
108286
108287
108288
108289
108290
108291
108292
108293
108294
108295
108296
108297
108298
108299
108300
108301
108302
108303
108304
108305
108306
108307
108308
108309
108310
108311
108312
108313
108314
108315
108316
108317
108318
108319
108320
108321
108322
108323
108324
108325
108326
108327
108328
108329
108330
108331
108332
108333
108334
108335
108336
108337
108338
108339
108340
108341
108342
108343
108344
108345
108346
108347
108348
108349
108350
108351
108352
108353
108354
108355
108356
108357
108358
108359
108360
108361
108362
108363
108364
108365
108366
108367
108368
108369
108370
108371
108372
108373
108374
108375
108376
108377
108378
108379
108380
108381
108382
108383
108384
108385
108386
108387
108388
108389
108390
108391
108392
108393
108394
108395
108396
108397
108398
108399
108400
108401
108402
108403
108404
108405
108406
108407
108408
108409
108410
108411
108412
108413
108414
108415
108416
108417
108418
108419
108420
108421
108422
108423
108424
108425
108426
108427
108428
108429
108430
108431
108432
108433
108434
108435
108436
108437
108438
108439
108440
108441
108442
108443
108444
108445
108446
108447
108448
108449
108450
108451
108452
108453
108454
108455
108456
108457
108458
108459
108460
108461
108462
108463
108464
108465
108466
108467
108468
108469
108470
108471
108472
108473
108474
108475
108476
108477
108478
108479
108480
108481
108482
108483
108484
108485
108486
108487
108488
108489
108490
108491
108492
108493
108494
108495
108496
108497
108498
108499
108500
108501
108502
108503
108504
108505
108506
108507
108508
108509
108510
108511
108512
108513
108514
108515
108516
108517
108518
108519
108520
108521
108522
108523
108524
108525
108526
108527
108528
108529
108530
108531
108532
108533
108534
108535
108536
108537
108538
108539
108540
108541
108542
108543
108544
108545
108546
108547
108548
108549
108550
108551
108552
108553
108554
108555
108556
108557
108558
108559
108560
108561
108562
108563
108564
108565
108566
108567
108568
108569
108570
108571
108572
108573
108574
108575
108576
108577
108578
108579
108580
108581
108582
108583
108584
108585
108586
108587
108588
108589
108590
108591
108592
108593
108594
108595
108596
108597
108598
108599
108600
108601
108602
108603
108604
108605
108606
108607
108608
108609
108610
108611
108612
108613
108614
108615
108616
108617
108618
108619
108620
108621
108622
108623
108624
108625
108626
108627
108628
108629
108630
108631
108632
108633
108634
108635
108636
108637
108638
108639
108640
108641
108642
108643
108644
108645
108646
108647
108648
108649
108650
108651
108652
108653
108654
108655
108656
108657
108658
108659
108660
108661
108662
108663
108664
108665
108666
108667
108668
108669
108670
108671
108672
108673
108674
108675
108676
108677
108678
108679
108680
108681
108682
108683
108684
108685
108686
108687
108688
108689
108690
108691
108692
108693
108694
108695
108696
108697
108698
108699
108700
108701
108702
108703
108704
108705
108706
108707
108708
108709
108710
108711
108712
108713
108714
108715
108716
108717
108718
108719
108720
108721
108722
108723
108724
108725
108726
108727
108728
108729
108730
108731
108732
108733
108734
108735
108736
108737
108738
108739
108740
108741
108742
108743
108744
108745
108746
108747
108748
108749
108750
108751
108752
108753
108754
108755
108756
108757
108758
108759
108760
108761
108762
108763
108764
108765
108766
108767
108768
108769
108770
108771
108772
108773
108774
108775
108776
108777
108778
108779
108780
108781
108782
108783
108784
108785
108786
108787
108788
108789
108790
108791
108792
108793
108794
108795
108796
108797
108798
108799
108800
108801
108802
108803
108804
108805
108806
108807
108808
108809
108810
108811
108812
108813
108814
108815
108816
108817
108818
108819
108820
108821
108822
108823
108824
108825
108826
108827
108828
108829
108830
108831
108832
108833
108834
108835
108836
108837
108838
108839
108840
108841
108842
108843
108844
108845
108846
108847
108848
108849
108850
108851
108852
108853
108854
108855
108856
108857
108858
108859
108860
108861
108862
108863
108864
108865
108866
108867
108868
108869
108870
108871
108872
108873
108874
108875
108876
108877
108878
108879
108880
108881
108882
108883
108884
108885
108886
108887
108888
108889
108890
108891
108892
108893
108894
108895
108896
108897
108898
108899
108900
108901
108902
108903
108904
108905
108906
108907
108908
108909
108910
108911
108912
108913
108914
108915
108916
108917
108918
108919
108920
108921
108922
108923
108924
108925
108926
108927
108928
108929
108930
108931
108932
108933
108934
108935
108936
108937
108938
108939
108940
108941
108942
108943
108944
108945
108946
108947
108948
108949
108950
108951
108952
108953
108954
108955
108956
108957
108958
108959
108960
108961
108962
108963
108964
108965
108966
108967
108968
108969
108970
108971
108972
108973
108974
108975
108976
108977
108978
108979
108980
108981
108982
108983
108984
108985
108986
108987
108988
108989
108990
108991
108992
108993
108994
108995
108996
108997
108998
108999
109000
109001
109002
109003
109004
109005
109006
109007
109008
109009
109010
109011
109012
109013
109014
109015
109016
109017
109018
109019
109020
109021
109022
109023
109024
109025
109026
109027
109028
109029
109030
109031
109032
109033
109034
109035
109036
109037
109038
109039
109040
109041
109042
109043
109044
109045
109046
109047
109048
109049
109050
109051
109052
109053
109054
109055
109056
109057
109058
109059
109060
109061
109062
109063
109064
109065
109066
109067
109068
109069
109070
109071
109072
109073
109074
109075
109076
109077
109078
109079
109080
109081
109082
109083
109084
109085
109086
109087
109088
109089
109090
109091
109092
109093
109094
109095
109096
109097
109098
109099
109100
109101
109102
109103
109104
109105
109106
109107
109108
109109
109110
109111
109112
109113
109114
109115
109116
109117
109118
109119
109120
109121
109122
109123
109124
109125
109126
109127
109128
109129
109130
109131
109132
109133
109134
109135
109136
109137
109138
109139
109140
109141
109142
109143
109144
109145
109146
109147
109148
109149
109150
109151
109152
109153
109154
109155
109156
109157
109158
109159
109160
109161
109162
109163
109164
109165
109166
109167
109168
109169
109170
109171
109172
109173
109174
109175
109176
109177
109178
109179
109180
109181
109182
109183
109184
109185
109186
109187
109188
109189
109190
109191
109192
109193
109194
109195
109196
109197
109198
109199
109200
109201
109202
109203
109204
109205
109206
109207
109208
109209
109210
109211
109212
109213
109214
109215
109216
109217
109218
109219
109220
109221
109222
109223
109224
109225
109226
109227
109228
109229
109230
109231
109232
109233
109234
109235
109236
109237
109238
109239
109240
109241
109242
109243
109244
109245
109246
109247
109248
109249
109250
109251
109252
109253
109254
109255
109256
109257
109258
109259
109260
109261
109262
109263
109264
109265
109266
109267
109268
109269
109270
109271
109272
109273
109274
109275
109276
109277
109278
109279
109280
109281
109282
109283
109284
109285
109286
109287
109288
109289
109290
109291
109292
109293
109294
109295
109296
109297
109298
109299
109300
109301
109302
109303
109304
109305
109306
109307
109308
109309
109310
109311
109312
109313
109314
109315
109316
109317
109318
109319
109320
109321
109322
109323
109324
109325
109326
109327
109328
109329
109330
109331
109332
109333
109334
109335
109336
109337
109338
109339
109340
109341
109342
109343
109344
109345
109346
109347
109348
109349
109350
109351
109352
109353
109354
109355
109356
109357
109358
109359
109360
109361
109362
109363
109364
109365
109366
109367
109368
109369
109370
109371
109372
109373
109374
109375
109376
109377
109378
109379
109380
109381
109382
109383
109384
109385
109386
109387
109388
109389
109390
109391
109392
109393
109394
109395
109396
109397
109398
109399
109400
109401
109402
109403
109404
109405
109406
109407
109408
109409
109410
109411
109412
109413
109414
109415
109416
109417
109418
109419
109420
109421
109422
109423
109424
109425
109426
109427
109428
109429
109430
109431
109432
109433
109434
109435
109436
109437
109438
109439
109440
109441
109442
109443
109444
109445
109446
109447
109448
109449
109450
109451
109452
109453
109454
109455
109456
109457
109458
109459
109460
109461
109462
109463
109464
109465
109466
109467
109468
109469
109470
109471
109472
109473
109474
109475
109476
109477
109478
109479
109480
109481
109482
109483
109484
109485
109486
109487
109488
109489
109490
109491
109492
109493
109494
109495
109496
109497
109498
109499
109500
109501
109502
109503
109504
109505
109506
109507
109508
109509
109510
109511
109512
109513
109514
109515
109516
109517
109518
109519
109520
109521
109522
109523
109524
109525
109526
109527
109528
109529
109530
109531
109532
109533
109534
109535
109536
109537
109538
109539
109540
109541
109542
109543
109544
109545
109546
109547
109548
109549
109550
109551
109552
109553
109554
109555
109556
109557
109558
109559
109560
109561
109562
109563
109564
109565
109566
109567
109568
109569
109570
109571
109572
109573
109574
109575
109576
109577
109578
109579
109580
109581
109582
109583
109584
109585
109586
109587
109588
109589
109590
109591
109592
109593
109594
109595
109596
109597
109598
109599
109600
109601
109602
109603
109604
109605
109606
109607
109608
109609
109610
109611
109612
109613
109614
109615
109616
109617
109618
109619
109620
109621
109622
109623
109624
109625
109626
109627
109628
109629
109630
109631
109632
109633
109634
109635
109636
109637
109638
109639
109640
109641
109642
109643
109644
109645
109646
109647
109648
109649
109650
109651
109652
109653
109654
109655
109656
109657
109658
109659
109660
109661
109662
109663
109664
109665
109666
109667
109668
109669
109670
109671
109672
109673
109674
109675
109676
109677
109678
109679
109680
109681
109682
109683
109684
109685
109686
109687
109688
109689
109690
109691
109692
109693
109694
109695
109696
109697
109698
109699
109700
109701
109702
109703
109704
109705
109706
109707
109708
109709
109710
109711
109712
109713
109714
109715
109716
109717
109718
109719
109720
109721
109722
109723
109724
109725
109726
109727
109728
109729
109730
109731
109732
109733
109734
109735
109736
109737
109738
109739
109740
109741
109742
109743
109744
109745
109746
109747
109748
109749
109750
109751
109752
109753
109754
109755
109756
109757
109758
109759
109760
109761
109762
109763
109764
109765
109766
109767
109768
109769
109770
109771
109772
109773
109774
109775
109776
109777
109778
109779
109780
109781
109782
109783
109784
109785
109786
109787
109788
109789
109790
109791
109792
109793
109794
109795
109796
109797
109798
109799
109800
109801
109802
109803
109804
109805
109806
109807
109808
109809
109810
109811
109812
109813
109814
109815
109816
109817
109818
109819
109820
109821
109822
109823
109824
109825
109826
109827
109828
109829
109830
109831
109832
109833
109834
109835
109836
109837
109838
109839
109840
109841
109842
109843
109844
109845
109846
109847
109848
109849
109850
109851
109852
109853
109854
109855
109856
109857
109858
109859
109860
109861
109862
109863
109864
109865
109866
109867
109868
109869
109870
109871
109872
109873
109874
109875
109876
109877
109878
109879
109880
109881
109882
109883
109884
109885
109886
109887
109888
109889
109890
109891
109892
109893
109894
109895
109896
109897
109898
109899
109900
109901
109902
109903
109904
109905
109906
109907
109908
109909
109910
109911
109912
109913
109914
109915
109916
109917
109918
109919
109920
109921
109922
109923
109924
109925
109926
109927
109928
109929
109930
109931
109932
109933
109934
109935
109936
109937
109938
109939
109940
109941
109942
109943
109944
109945
109946
109947
109948
109949
109950
109951
109952
109953
109954
109955
109956
109957
109958
109959
109960
109961
109962
109963
109964
109965
109966
109967
109968
109969
109970
109971
109972
109973
109974
109975
109976
109977
109978
109979
109980
109981
109982
109983
109984
109985
109986
109987
109988
109989
109990
109991
109992
109993
109994
109995
109996
109997
109998
109999
110000
110001
110002
110003
110004
110005
110006
110007
110008
110009
110010
110011
110012
110013
110014
110015
110016
110017
110018
110019
110020
110021
110022
110023
110024
110025
110026
110027
110028
110029
110030
110031
110032
110033
110034
110035
110036
110037
110038
110039
110040
110041
110042
110043
110044
110045
110046
110047
110048
110049
110050
110051
110052
110053
110054
110055
110056
110057
110058
110059
110060
110061
110062
110063
110064
110065
110066
110067
110068
110069
110070
110071
110072
110073
110074
110075
110076
110077
110078
110079
110080
110081
110082
110083
110084
110085
110086
110087
110088
110089
110090
110091
110092
110093
110094
110095
110096
110097
110098
110099
110100
110101
110102
110103
110104
110105
110106
110107
110108
110109
110110
110111
110112
110113
110114
110115
110116
110117
110118
110119
110120
110121
110122
110123
110124
110125
110126
110127
110128
110129
110130
110131
110132
110133
110134
110135
110136
110137
110138
110139
110140
110141
110142
110143
110144
110145
110146
110147
110148
110149
110150
110151
110152
110153
110154
110155
110156
110157
110158
110159
110160
110161
110162
110163
110164
110165
110166
110167
110168
110169
110170
110171
110172
110173
110174
110175
110176
110177
110178
110179
110180
110181
110182
110183
110184
110185
110186
110187
110188
110189
110190
110191
110192
110193
110194
110195
110196
110197
110198
110199
110200
110201
110202
110203
110204
110205
110206
110207
110208
110209
110210
110211
110212
110213
110214
110215
110216
110217
110218
110219
110220
110221
110222
110223
110224
110225
110226
110227
110228
110229
110230
110231
110232
110233
110234
110235
110236
110237
110238
110239
110240
110241
110242
110243
110244
110245
110246
110247
110248
110249
110250
110251
110252
110253
110254
110255
110256
110257
110258
110259
110260
110261
110262
110263
110264
110265
110266
110267
110268
110269
110270
110271
110272
110273
110274
110275
110276
110277
110278
110279
110280
110281
110282
110283
110284
110285
110286
110287
110288
110289
110290
110291
110292
110293
110294
110295
110296
110297
110298
110299
110300
110301
110302
110303
110304
110305
110306
110307
110308
110309
110310
110311
110312
110313
110314
110315
110316
110317
110318
110319
110320
110321
110322
110323
110324
110325
110326
110327
110328
110329
110330
110331
110332
110333
110334
110335
110336
110337
110338
110339
110340
110341
110342
110343
110344
110345
110346
110347
110348
110349
110350
110351
110352
110353
110354
110355
110356
110357
110358
110359
110360
110361
110362
110363
110364
110365
110366
110367
110368
110369
110370
110371
110372
110373
110374
110375
110376
110377
110378
110379
110380
110381
110382
110383
110384
110385
110386
110387
110388
110389
110390
110391
110392
110393
110394
110395
110396
110397
110398
110399
110400
110401
110402
110403
110404
110405
110406
110407
110408
110409
110410
110411
110412
110413
110414
110415
110416
110417
110418
110419
110420
110421
110422
110423
110424
110425
110426
110427
110428
110429
110430
110431
110432
110433
110434
110435
110436
110437
110438
110439
110440
110441
110442
110443
110444
110445
110446
110447
110448
110449
110450
110451
110452
110453
110454
110455
110456
110457
110458
110459
110460
110461
110462
110463
110464
110465
110466
110467
110468
110469
110470
110471
110472
110473
110474
110475
110476
110477
110478
110479
110480
110481
110482
110483
110484
110485
110486
110487
110488
110489
110490
110491
110492
110493
110494
110495
110496
110497
110498
110499
110500
110501
110502
110503
110504
110505
110506
110507
110508
110509
110510
110511
110512
110513
110514
110515
110516
110517
110518
110519
110520
110521
110522
110523
110524
110525
110526
110527
110528
110529
110530
110531
110532
110533
110534
110535
110536
110537
110538
110539
110540
110541
110542
110543
110544
110545
110546
110547
110548
110549
110550
110551
110552
110553
110554
110555
110556
110557
110558
110559
110560
110561
110562
110563
110564
110565
110566
110567
110568
110569
110570
110571
110572
110573
110574
110575
110576
110577
110578
110579
110580
110581
110582
110583
110584
110585
110586
110587
110588
110589
110590
110591
110592
110593
110594
110595
110596
110597
110598
110599
110600
110601
110602
110603
110604
110605
110606
110607
110608
110609
110610
110611
110612
110613
110614
110615
110616
110617
110618
110619
110620
110621
110622
110623
110624
110625
110626
110627
110628
110629
110630
110631
110632
110633
110634
110635
110636
110637
110638
110639
110640
110641
110642
110643
110644
110645
110646
110647
110648
110649
110650
110651
110652
110653
110654
110655
110656
110657
110658
110659
110660
110661
110662
110663
110664
110665
110666
110667
110668
110669
110670
110671
110672
110673
110674
110675
110676
110677
110678
110679
110680
110681
110682
110683
110684
110685
110686
110687
110688
110689
110690
110691
110692
110693
110694
110695
110696
110697
110698
110699
110700
110701
110702
110703
110704
110705
110706
110707
110708
110709
110710
110711
110712
110713
110714
110715
110716
110717
110718
110719
110720
110721
110722
110723
110724
110725
110726
110727
110728
110729
110730
110731
110732
110733
110734
110735
110736
110737
110738
110739
110740
110741
110742
110743
110744
110745
110746
110747
110748
110749
110750
110751
110752
110753
110754
110755
110756
110757
110758
110759
110760
110761
110762
110763
110764
110765
110766
110767
110768
110769
110770
110771
110772
110773
110774
110775
110776
110777
110778
110779
110780
110781
110782
110783
110784
110785
110786
110787
110788
110789
110790
110791
110792
110793
110794
110795
110796
110797
110798
110799
110800
110801
110802
110803
110804
110805
110806
110807
110808
110809
110810
110811
110812
110813
110814
110815
110816
110817
110818
110819
110820
110821
110822
110823
110824
110825
110826
110827
110828
110829
110830
110831
110832
110833
110834
110835
110836
110837
110838
110839
110840
110841
110842
110843
110844
110845
110846
110847
110848
110849
110850
110851
110852
110853
110854
110855
110856
110857
110858
110859
110860
110861
110862
110863
110864
110865
110866
110867
110868
110869
110870
110871
110872
110873
110874
110875
110876
110877
110878
110879
110880
110881
110882
110883
110884
110885
110886
110887
110888
110889
110890
110891
110892
110893
110894
110895
110896
110897
110898
110899
110900
110901
110902
110903
110904
110905
110906
110907
110908
110909
110910
110911
110912
110913
110914
110915
110916
110917
110918
110919
110920
110921
110922
110923
110924
110925
110926
110927
110928
110929
110930
110931
110932
110933
110934
110935
110936
110937
110938
110939
110940
110941
110942
110943
110944
110945
110946
110947
110948
110949
110950
110951
110952
110953
110954
110955
110956
110957
110958
110959
110960
110961
110962
110963
110964
110965
110966
110967
110968
110969
110970
110971
110972
110973
110974
110975
110976
110977
110978
110979
110980
110981
110982
110983
110984
110985
110986
110987
110988
110989
110990
110991
110992
110993
110994
110995
110996
110997
110998
110999
111000
111001
111002
111003
111004
111005
111006
111007
111008
111009
111010
111011
111012
111013
111014
111015
111016
111017
111018
111019
111020
111021
111022
111023
111024
111025
111026
111027
111028
111029
111030
111031
111032
111033
111034
111035
111036
111037
111038
111039
111040
111041
111042
111043
111044
111045
111046
111047
111048
111049
111050
111051
111052
111053
111054
111055
111056
111057
111058
111059
111060
111061
111062
111063
111064
111065
111066
111067
111068
111069
111070
111071
111072
111073
111074
111075
111076
111077
111078
111079
111080
111081
111082
111083
111084
111085
111086
111087
111088
111089
111090
111091
111092
111093
111094
111095
111096
111097
111098
111099
111100
111101
111102
111103
111104
111105
111106
111107
111108
111109
111110
111111
111112
111113
111114
111115
111116
111117
111118
111119
111120
111121
111122
111123
111124
111125
111126
111127
111128
111129
111130
111131
111132
111133
111134
111135
111136
111137
111138
111139
111140
111141
111142
111143
111144
111145
111146
111147
111148
111149
111150
111151
111152
111153
111154
111155
111156
111157
111158
111159
111160
111161
111162
111163
111164
111165
111166
111167
111168
111169
111170
111171
111172
111173
111174
111175
111176
111177
111178
111179
111180
111181
111182
111183
111184
111185
111186
111187
111188
111189
111190
111191
111192
111193
111194
111195
111196
111197
111198
111199
111200
111201
111202
111203
111204
111205
111206
111207
111208
111209
111210
111211
111212
111213
111214
111215
111216
111217
111218
111219
111220
111221
111222
111223
111224
111225
111226
111227
111228
111229
111230
111231
111232
111233
111234
111235
111236
111237
111238
111239
111240
111241
111242
111243
111244
111245
111246
111247
111248
111249
111250
111251
111252
111253
111254
111255
111256
111257
111258
111259
111260
111261
111262
111263
111264
111265
111266
111267
111268
111269
111270
111271
111272
111273
111274
111275
111276
111277
111278
111279
111280
111281
111282
111283
111284
111285
111286
111287
111288
111289
111290
111291
111292
111293
111294
111295
111296
111297
111298
111299
111300
111301
111302
111303
111304
111305
111306
111307
111308
111309
111310
111311
111312
111313
111314
111315
111316
111317
111318
111319
111320
111321
111322
111323
111324
111325
111326
111327
111328
111329
111330
111331
111332
111333
111334
111335
111336
111337
111338
111339
111340
111341
111342
111343
111344
111345
111346
111347
111348
111349
111350
111351
111352
111353
111354
111355
111356
111357
111358
111359
111360
111361
111362
111363
111364
111365
111366
111367
111368
111369
111370
111371
111372
111373
111374
111375
111376
111377
111378
111379
111380
111381
111382
111383
111384
111385
111386
111387
111388
111389
111390
111391
111392
111393
111394
111395
111396
111397
111398
111399
111400
111401
111402
111403
111404
111405
111406
111407
111408
111409
111410
111411
111412
111413
111414
111415
111416
111417
111418
111419
111420
111421
111422
111423
111424
111425
111426
111427
111428
111429
111430
111431
111432
111433
111434
111435
111436
111437
111438
111439
111440
111441
111442
111443
111444
111445
111446
111447
111448
111449
111450
111451
111452
111453
111454
111455
111456
111457
111458
111459
111460
111461
111462
111463
111464
111465
111466
111467
111468
111469
111470
111471
111472
111473
111474
111475
111476
111477
111478
111479
111480
111481
111482
111483
111484
111485
111486
111487
111488
111489
111490
111491
111492
111493
111494
111495
111496
111497
111498
111499
111500
111501
111502
111503
111504
111505
111506
111507
111508
111509
111510
111511
111512
111513
111514
111515
111516
111517
111518
111519
111520
111521
111522
111523
111524
111525
111526
111527
111528
111529
111530
111531
111532
111533
111534
111535
111536
111537
111538
111539
111540
111541
111542
111543
111544
111545
111546
111547
111548
111549
111550
111551
111552
111553
111554
111555
111556
111557
111558
111559
111560
111561
111562
111563
111564
111565
111566
111567
111568
111569
111570
111571
111572
111573
111574
111575
111576
111577
111578
111579
111580
111581
111582
111583
111584
111585
111586
111587
111588
111589
111590
111591
111592
111593
111594
111595
111596
111597
111598
111599
111600
111601
111602
111603
111604
111605
111606
111607
111608
111609
111610
111611
111612
111613
111614
111615
111616
111617
111618
111619
111620
111621
111622
111623
111624
111625
111626
111627
111628
111629
111630
111631
111632
111633
111634
111635
111636
111637
111638
111639
111640
111641
111642
111643
111644
111645
111646
111647
111648
111649
111650
111651
111652
111653
111654
111655
111656
111657
111658
111659
111660
111661
111662
111663
111664
111665
111666
111667
111668
111669
111670
111671
111672
111673
111674
111675
111676
111677
111678
111679
111680
111681
111682
111683
111684
111685
111686
111687
111688
111689
111690
111691
111692
111693
111694
111695
111696
111697
111698
111699
111700
111701
111702
111703
111704
111705
111706
111707
111708
111709
111710
111711
111712
111713
111714
111715
111716
111717
111718
111719
111720
111721
111722
111723
111724
111725
111726
111727
111728
111729
111730
111731
111732
111733
111734
111735
111736
111737
111738
111739
111740
111741
111742
111743
111744
111745
111746
111747
111748
111749
111750
111751
111752
111753
111754
111755
111756
111757
111758
111759
111760
111761
111762
111763
111764
111765
111766
111767
111768
111769
111770
111771
111772
111773
111774
111775
111776
111777
111778
111779
111780
111781
111782
111783
111784
111785
111786
111787
111788
111789
111790
111791
111792
111793
111794
111795
111796
111797
111798
111799
111800
111801
111802
111803
111804
111805
111806
111807
111808
111809
111810
111811
111812
111813
111814
111815
111816
111817
111818
111819
111820
111821
111822
111823
111824
111825
111826
111827
111828
111829
111830
111831
111832
111833
111834
111835
111836
111837
111838
111839
111840
111841
111842
111843
111844
111845
111846
111847
111848
111849
111850
111851
111852
111853
111854
111855
111856
111857
111858
111859
111860
111861
111862
111863
111864
111865
111866
111867
111868
111869
111870
111871
111872
111873
111874
111875
111876
111877
111878
111879
111880
111881
111882
111883
111884
111885
111886
111887
111888
111889
111890
111891
111892
111893
111894
111895
111896
111897
111898
111899
111900
111901
111902
111903
111904
111905
111906
111907
111908
111909
111910
111911
111912
111913
111914
111915
111916
111917
111918
111919
111920
111921
111922
111923
111924
111925
111926
111927
111928
111929
111930
111931
111932
111933
111934
111935
111936
111937
111938
111939
111940
111941
111942
111943
111944
111945
111946
111947
111948
111949
111950
111951
111952
111953
111954
111955
111956
111957
111958
111959
111960
111961
111962
111963
111964
111965
111966
111967
111968
111969
111970
111971
111972
111973
111974
111975
111976
111977
111978
111979
111980
111981
111982
111983
111984
111985
111986
111987
111988
111989
111990
111991
111992
111993
111994
111995
111996
111997
111998
111999
112000
112001
112002
112003
112004
112005
112006
112007
112008
112009
112010
112011
112012
112013
112014
112015
112016
112017
112018
112019
112020
112021
112022
112023
112024
112025
112026
112027
112028
112029
112030
112031
112032
112033
112034
112035
112036
112037
112038
112039
112040
112041
112042
112043
112044
112045
112046
112047
112048
112049
112050
112051
112052
112053
112054
112055
112056
112057
112058
112059
112060
112061
112062
112063
112064
112065
112066
112067
112068
112069
112070
112071
112072
112073
112074
112075
112076
112077
112078
112079
112080
112081
112082
112083
112084
112085
112086
112087
112088
112089
112090
112091
112092
112093
112094
112095
112096
112097
112098
112099
112100
112101
112102
112103
112104
112105
112106
112107
112108
112109
112110
112111
112112
112113
112114
112115
112116
112117
112118
112119
112120
112121
112122
112123
112124
112125
112126
112127
112128
112129
112130
112131
112132
112133
112134
112135
112136
112137
112138
112139
112140
112141
112142
112143
112144
112145
112146
112147
112148
112149
112150
112151
112152
112153
112154
112155
112156
112157
112158
112159
112160
112161
112162
112163
112164
112165
112166
112167
112168
112169
112170
112171
112172
112173
112174
112175
112176
112177
112178
112179
112180
112181
112182
112183
112184
112185
112186
112187
112188
112189
112190
112191
112192
112193
112194
112195
112196
112197
112198
112199
112200
112201
112202
112203
112204
112205
112206
112207
112208
112209
112210
112211
112212
112213
112214
112215
112216
112217
112218
112219
112220
112221
112222
112223
112224
112225
112226
112227
112228
112229
112230
112231
112232
112233
112234
112235
112236
112237
112238
112239
112240
112241
112242
112243
112244
112245
112246
112247
112248
112249
112250
112251
112252
112253
112254
112255
112256
112257
112258
112259
112260
112261
112262
112263
112264
112265
112266
112267
112268
112269
112270
112271
112272
112273
112274
112275
112276
112277
112278
112279
112280
112281
112282
112283
112284
112285
112286
112287
112288
112289
112290
112291
112292
112293
112294
112295
112296
112297
112298
112299
112300
112301
112302
112303
112304
112305
112306
112307
112308
112309
112310
112311
112312
112313
112314
112315
112316
112317
112318
112319
112320
112321
112322
112323
112324
112325
112326
112327
112328
112329
112330
112331
112332
112333
112334
112335
112336
112337
112338
112339
112340
112341
112342
112343
112344
112345
112346
112347
112348
112349
112350
112351
112352
112353
112354
112355
112356
112357
112358
112359
112360
112361
112362
112363
112364
112365
112366
112367
112368
112369
112370
112371
112372
112373
112374
112375
112376
112377
112378
112379
112380
112381
112382
112383
112384
112385
112386
112387
112388
112389
112390
112391
112392
112393
112394
112395
112396
112397
112398
112399
112400
112401
112402
112403
112404
112405
112406
112407
112408
112409
112410
112411
112412
112413
112414
112415
112416
112417
112418
112419
112420
112421
112422
112423
112424
112425
112426
112427
112428
112429
112430
112431
112432
112433
112434
112435
112436
112437
112438
112439
112440
112441
112442
112443
112444
112445
112446
112447
112448
112449
112450
112451
112452
112453
112454
112455
112456
112457
112458
112459
112460
112461
112462
112463
112464
112465
112466
112467
112468
112469
112470
112471
112472
112473
112474
112475
112476
112477
112478
112479
112480
112481
112482
112483
112484
112485
112486
112487
112488
112489
112490
112491
112492
112493
112494
112495
112496
112497
112498
112499
112500
112501
112502
112503
112504
112505
112506
112507
112508
112509
112510
112511
112512
112513
112514
112515
112516
112517
112518
112519
112520
112521
112522
112523
112524
112525
112526
112527
112528
112529
112530
112531
112532
112533
112534
112535
112536
112537
112538
112539
112540
112541
112542
112543
112544
112545
112546
112547
112548
112549
112550
112551
112552
112553
112554
112555
112556
112557
112558
112559
112560
112561
112562
112563
112564
112565
112566
112567
112568
112569
112570
112571
112572
112573
112574
112575
112576
112577
112578
112579
112580
112581
112582
112583
112584
112585
112586
112587
112588
112589
112590
112591
112592
112593
112594
112595
112596
112597
112598
112599
112600
112601
112602
112603
112604
112605
112606
112607
112608
112609
112610
112611
112612
112613
112614
112615
112616
112617
112618
112619
112620
112621
112622
112623
112624
112625
112626
112627
112628
112629
112630
112631
112632
112633
112634
112635
112636
112637
112638
112639
112640
112641
112642
112643
112644
112645
112646
112647
112648
112649
112650
112651
112652
112653
112654
112655
112656
112657
112658
112659
112660
112661
112662
112663
112664
112665
112666
112667
112668
112669
112670
112671
112672
112673
112674
112675
112676
112677
112678
112679
112680
112681
112682
112683
112684
112685
112686
112687
112688
112689
112690
112691
112692
112693
112694
112695
112696
112697
112698
112699
112700
112701
112702
112703
112704
112705
112706
112707
112708
112709
112710
112711
112712
112713
112714
112715
112716
112717
112718
112719
112720
112721
112722
112723
112724
112725
112726
112727
112728
112729
112730
112731
112732
112733
112734
112735
112736
112737
112738
112739
112740
112741
112742
112743
112744
112745
112746
112747
112748
112749
112750
112751
112752
112753
112754
112755
112756
112757
112758
112759
112760
112761
112762
112763
112764
112765
112766
112767
112768
112769
112770
112771
112772
112773
112774
112775
112776
112777
112778
112779
112780
112781
112782
112783
112784
112785
112786
112787
112788
112789
112790
112791
112792
112793
112794
112795
112796
112797
112798
112799
112800
112801
112802
112803
112804
112805
112806
112807
112808
112809
112810
112811
112812
112813
112814
112815
112816
112817
112818
112819
112820
112821
112822
112823
112824
112825
112826
112827
112828
112829
112830
112831
112832
112833
112834
112835
112836
112837
112838
112839
112840
112841
112842
112843
112844
112845
112846
112847
112848
112849
112850
112851
112852
112853
112854
112855
112856
112857
112858
112859
112860
112861
112862
112863
112864
112865
112866
112867
112868
112869
112870
112871
112872
112873
112874
112875
112876
112877
112878
112879
112880
112881
112882
112883
112884
112885
112886
112887
112888
112889
112890
112891
112892
112893
112894
112895
112896
112897
112898
112899
112900
112901
112902
112903
112904
112905
112906
112907
112908
112909
112910
112911
112912
112913
112914
112915
112916
112917
112918
112919
112920
112921
112922
112923
112924
112925
112926
112927
112928
112929
112930
112931
112932
112933
112934
112935
112936
112937
112938
112939
112940
112941
112942
112943
112944
112945
112946
112947
112948
112949
112950
112951
112952
112953
112954
112955
112956
112957
112958
112959
112960
112961
112962
112963
112964
112965
112966
112967
112968
112969
112970
112971
112972
112973
112974
112975
112976
112977
112978
112979
112980
112981
112982
112983
112984
112985
112986
112987
112988
112989
112990
112991
112992
112993
112994
112995
112996
112997
112998
112999
113000
113001
113002
113003
113004
113005
113006
113007
113008
113009
113010
113011
113012
113013
113014
113015
113016
113017
113018
113019
113020
113021
113022
113023
113024
113025
113026
113027
113028
113029
113030
113031
113032
113033
113034
113035
113036
113037
113038
113039
113040
113041
113042
113043
113044
113045
113046
113047
113048
113049
113050
113051
113052
113053
113054
113055
113056
113057
113058
113059
113060
113061
113062
113063
113064
113065
113066
113067
113068
113069
113070
113071
113072
113073
113074
113075
113076
113077
113078
113079
113080
113081
113082
113083
113084
113085
113086
113087
113088
113089
113090
113091
113092
113093
113094
113095
113096
113097
113098
113099
113100
113101
113102
113103
113104
113105
113106
113107
113108
113109
113110
113111
113112
113113
113114
113115
113116
113117
113118
113119
113120
113121
113122
113123
113124
113125
113126
113127
113128
113129
113130
113131
113132
113133
113134
113135
113136
113137
113138
113139
113140
113141
113142
113143
113144
113145
113146
113147
113148
113149
113150
113151
113152
113153
113154
113155
113156
113157
113158
113159
113160
113161
113162
113163
113164
113165
113166
113167
113168
113169
113170
113171
113172
113173
113174
113175
113176
113177
113178
113179
113180
113181
113182
113183
113184
113185
113186
113187
113188
113189
113190
113191
113192
113193
113194
113195
113196
113197
113198
113199
113200
113201
113202
113203
113204
113205
113206
113207
113208
113209
113210
113211
113212
113213
113214
113215
113216
113217
113218
113219
113220
113221
113222
113223
113224
113225
113226
113227
113228
113229
113230
113231
113232
113233
113234
113235
113236
113237
113238
113239
113240
113241
113242
113243
113244
113245
113246
113247
113248
113249
113250
113251
113252
113253
113254
113255
113256
113257
113258
113259
113260
113261
113262
113263
113264
113265
113266
113267
113268
113269
113270
113271
113272
113273
113274
113275
113276
113277
113278
113279
113280
113281
113282
113283
113284
113285
113286
113287
113288
113289
113290
113291
113292
113293
113294
113295
113296
113297
113298
113299
113300
113301
113302
113303
113304
113305
113306
113307
113308
113309
113310
113311
113312
113313
113314
113315
113316
113317
113318
113319
113320
113321
113322
113323
113324
113325
113326
113327
113328
113329
113330
113331
113332
113333
113334
113335
113336
113337
113338
113339
113340
113341
113342
113343
113344
113345
113346
113347
113348
113349
113350
113351
113352
113353
113354
113355
113356
113357
113358
113359
113360
113361
113362
113363
113364
113365
113366
113367
113368
113369
113370
113371
113372
113373
113374
113375
113376
113377
113378
113379
113380
113381
113382
113383
113384
113385
113386
113387
113388
113389
113390
113391
113392
113393
113394
113395
113396
113397
113398
113399
113400
113401
113402
113403
113404
113405
113406
113407
113408
113409
113410
113411
113412
113413
113414
113415
113416
113417
113418
113419
113420
113421
113422
113423
113424
113425
113426
113427
113428
113429
113430
113431
113432
113433
113434
113435
113436
113437
113438
113439
113440
113441
113442
113443
113444
113445
113446
113447
113448
113449
113450
113451
113452
113453
113454
113455
113456
113457
113458
113459
113460
113461
113462
113463
113464
113465
113466
113467
113468
113469
113470
113471
113472
113473
113474
113475
113476
113477
113478
113479
113480
113481
113482
113483
113484
113485
113486
113487
113488
113489
113490
113491
113492
113493
113494
113495
113496
113497
113498
113499
113500
113501
113502
113503
113504
113505
113506
113507
113508
113509
113510
113511
113512
113513
113514
113515
113516
113517
113518
113519
113520
113521
113522
113523
113524
113525
113526
113527
113528
113529
113530
113531
113532
113533
113534
113535
113536
113537
113538
113539
113540
113541
113542
113543
113544
113545
113546
113547
113548
113549
113550
113551
113552
113553
113554
113555
113556
113557
113558
113559
113560
113561
113562
113563
113564
113565
113566
113567
113568
113569
113570
113571
113572
113573
113574
113575
113576
113577
113578
113579
113580
113581
113582
113583
113584
113585
113586
113587
113588
113589
113590
113591
113592
113593
113594
113595
113596
113597
113598
113599
113600
113601
113602
113603
113604
113605
113606
113607
113608
113609
113610
113611
113612
113613
113614
113615
113616
113617
113618
113619
113620
113621
113622
113623
113624
113625
113626
113627
113628
113629
113630
113631
113632
113633
113634
113635
113636
113637
113638
113639
113640
113641
113642
113643
113644
113645
113646
113647
113648
113649
113650
113651
113652
113653
113654
113655
113656
113657
113658
113659
113660
113661
113662
113663
113664
113665
113666
113667
113668
113669
113670
113671
113672
113673
113674
113675
113676
113677
113678
113679
113680
113681
113682
113683
113684
113685
113686
113687
113688
113689
113690
113691
113692
113693
113694
113695
113696
113697
113698
113699
113700
113701
113702
113703
113704
113705
113706
113707
113708
113709
113710
113711
113712
113713
113714
113715
113716
113717
113718
113719
113720
113721
113722
113723
113724
113725
113726
113727
113728
113729
113730
113731
113732
113733
113734
113735
113736
113737
113738
113739
113740
113741
113742
113743
113744
113745
113746
113747
113748
113749
113750
113751
113752
113753
113754
113755
113756
113757
113758
113759
113760
113761
113762
113763
113764
113765
113766
113767
113768
113769
113770
113771
113772
113773
113774
113775
113776
113777
113778
113779
113780
113781
113782
113783
113784
113785
113786
113787
113788
113789
113790
113791
113792
113793
113794
113795
113796
113797
113798
113799
113800
113801
113802
113803
113804
113805
113806
113807
113808
113809
113810
113811
113812
113813
113814
113815
113816
113817
113818
113819
113820
113821
113822
113823
113824
113825
113826
113827
113828
113829
113830
113831
113832
113833
113834
113835
113836
113837
113838
113839
113840
113841
113842
113843
113844
113845
113846
113847
113848
113849
113850
113851
113852
113853
113854
113855
113856
113857
113858
113859
113860
113861
113862
113863
113864
113865
113866
113867
113868
113869
113870
113871
113872
113873
113874
113875
113876
113877
113878
113879
113880
113881
113882
113883
113884
113885
113886
113887
113888
113889
113890
113891
113892
113893
113894
113895
113896
113897
113898
113899
113900
113901
113902
113903
113904
113905
113906
113907
113908
113909
113910
113911
113912
113913
113914
113915
113916
113917
113918
113919
113920
113921
113922
113923
113924
113925
113926
113927
113928
113929
113930
113931
113932
113933
113934
113935
113936
113937
113938
113939
113940
113941
113942
113943
113944
113945
113946
113947
113948
113949
113950
113951
113952
113953
113954
113955
113956
113957
113958
113959
113960
113961
113962
113963
113964
113965
113966
113967
113968
113969
113970
113971
113972
113973
113974
113975
113976
113977
113978
113979
113980
113981
113982
113983
113984
113985
113986
113987
113988
113989
113990
113991
113992
113993
113994
113995
113996
113997
113998
113999
114000
114001
114002
114003
114004
114005
114006
114007
114008
114009
114010
114011
114012
114013
114014
114015
114016
114017
114018
114019
114020
114021
114022
114023
114024
114025
114026
114027
114028
114029
114030
114031
114032
114033
114034
114035
114036
114037
114038
114039
114040
114041
114042
114043
114044
114045
114046
114047
114048
114049
114050
114051
114052
114053
114054
114055
114056
114057
114058
114059
114060
114061
114062
114063
114064
114065
114066
114067
114068
114069
114070
114071
114072
114073
114074
114075
114076
114077
114078
114079
114080
114081
114082
114083
114084
114085
114086
114087
114088
114089
114090
114091
114092
114093
114094
114095
114096
114097
114098
114099
114100
114101
114102
114103
114104
114105
114106
114107
114108
114109
114110
114111
114112
114113
114114
114115
114116
114117
114118
114119
114120
114121
114122
114123
114124
114125
114126
114127
114128
114129
114130
114131
114132
114133
114134
114135
114136
114137
114138
114139
114140
114141
114142
114143
114144
114145
114146
114147
114148
114149
114150
114151
114152
114153
114154
114155
114156
114157
114158
114159
114160
114161
114162
114163
114164
114165
114166
114167
114168
114169
114170
114171
114172
114173
114174
114175
114176
114177
114178
114179
114180
114181
114182
114183
114184
114185
114186
114187
114188
114189
114190
114191
114192
114193
114194
114195
114196
114197
114198
114199
114200
114201
114202
114203
114204
114205
114206
114207
114208
114209
114210
114211
114212
114213
114214
114215
114216
114217
114218
114219
114220
114221
114222
114223
114224
114225
114226
114227
114228
114229
114230
114231
114232
114233
114234
114235
114236
114237
114238
114239
114240
114241
114242
114243
114244
114245
114246
114247
114248
114249
114250
114251
114252
114253
114254
114255
114256
114257
114258
114259
114260
114261
114262
114263
114264
114265
114266
114267
114268
114269
114270
114271
114272
114273
114274
114275
114276
114277
114278
114279
114280
114281
114282
114283
114284
114285
114286
114287
114288
114289
114290
114291
114292
114293
114294
114295
114296
114297
114298
114299
114300
114301
114302
114303
114304
114305
114306
114307
114308
114309
114310
114311
114312
114313
114314
114315
114316
114317
114318
114319
114320
114321
114322
114323
114324
114325
114326
114327
114328
114329
114330
114331
114332
114333
114334
114335
114336
114337
114338
114339
114340
114341
114342
114343
114344
114345
114346
114347
114348
114349
114350
114351
114352
114353
114354
114355
114356
114357
114358
114359
114360
114361
114362
114363
114364
114365
114366
114367
114368
114369
114370
114371
114372
114373
114374
114375
114376
114377
114378
114379
114380
114381
114382
114383
114384
114385
114386
114387
114388
114389
114390
114391
114392
114393
114394
114395
114396
114397
114398
114399
114400
114401
114402
114403
114404
114405
114406
114407
114408
114409
114410
114411
114412
114413
114414
114415
114416
114417
114418
114419
114420
114421
114422
114423
114424
114425
114426
114427
114428
114429
114430
114431
114432
114433
114434
114435
114436
114437
114438
114439
114440
114441
114442
114443
114444
114445
114446
114447
114448
114449
114450
114451
114452
114453
114454
114455
114456
114457
114458
114459
114460
114461
114462
114463
114464
114465
114466
114467
114468
114469
114470
114471
114472
114473
114474
114475
114476
114477
114478
114479
114480
114481
114482
114483
114484
114485
114486
114487
114488
114489
114490
114491
114492
114493
114494
114495
114496
114497
114498
114499
114500
114501
114502
114503
114504
114505
114506
114507
114508
114509
114510
114511
114512
114513
114514
114515
114516
114517
114518
114519
114520
114521
114522
114523
114524
114525
114526
114527
114528
114529
114530
114531
114532
114533
114534
114535
114536
114537
114538
114539
114540
114541
114542
114543
114544
114545
114546
114547
114548
114549
114550
114551
114552
114553
114554
114555
114556
114557
114558
114559
114560
114561
114562
114563
114564
114565
114566
114567
114568
114569
114570
114571
114572
114573
114574
114575
114576
114577
114578
114579
114580
114581
114582
114583
114584
114585
114586
114587
114588
114589
114590
114591
114592
114593
114594
114595
114596
114597
114598
114599
114600
114601
114602
114603
114604
114605
114606
114607
114608
114609
114610
114611
114612
114613
114614
114615
114616
114617
114618
114619
114620
114621
114622
114623
114624
114625
114626
114627
114628
114629
114630
114631
114632
114633
114634
114635
114636
114637
114638
114639
114640
114641
114642
114643
114644
114645
114646
114647
114648
114649
114650
114651
114652
114653
114654
114655
114656
114657
114658
114659
114660
114661
114662
114663
114664
114665
114666
114667
114668
114669
114670
114671
114672
114673
114674
114675
114676
114677
114678
114679
114680
114681
114682
114683
114684
114685
114686
114687
114688
114689
114690
114691
114692
114693
114694
114695
114696
114697
114698
114699
114700
114701
114702
114703
114704
114705
114706
114707
114708
114709
114710
114711
114712
114713
114714
114715
114716
114717
114718
114719
114720
114721
114722
114723
114724
114725
114726
114727
114728
114729
114730
114731
114732
114733
114734
114735
114736
114737
114738
114739
114740
114741
114742
114743
114744
114745
114746
114747
114748
114749
114750
114751
114752
114753
114754
114755
114756
114757
114758
114759
114760
114761
114762
114763
114764
114765
114766
114767
114768
114769
114770
114771
114772
114773
114774
114775
114776
114777
114778
114779
114780
114781
114782
114783
114784
114785
114786
114787
114788
114789
114790
114791
114792
114793
114794
114795
114796
114797
114798
114799
114800
114801
114802
114803
114804
114805
114806
114807
114808
114809
114810
114811
114812
114813
114814
114815
114816
114817
114818
114819
114820
114821
114822
114823
114824
114825
114826
114827
114828
114829
114830
114831
114832
114833
114834
114835
114836
114837
114838
114839
114840
114841
114842
114843
114844
114845
114846
114847
114848
114849
114850
114851
114852
114853
114854
114855
114856
114857
114858
114859
114860
114861
114862
114863
114864
114865
114866
114867
114868
114869
114870
114871
114872
114873
114874
114875
114876
114877
114878
114879
114880
114881
114882
114883
114884
114885
114886
114887
114888
114889
114890
114891
114892
114893
114894
114895
114896
114897
114898
114899
114900
114901
114902
114903
114904
114905
114906
114907
114908
114909
114910
114911
114912
114913
114914
114915
114916
114917
114918
114919
114920
114921
114922
114923
114924
114925
114926
114927
114928
114929
114930
114931
114932
114933
114934
114935
114936
114937
114938
114939
114940
114941
114942
114943
114944
114945
114946
114947
114948
114949
114950
114951
114952
114953
114954
114955
114956
114957
114958
114959
114960
114961
114962
114963
114964
114965
114966
114967
114968
114969
114970
114971
114972
114973
114974
114975
114976
114977
114978
114979
114980
114981
114982
114983
114984
114985
114986
114987
114988
114989
114990
114991
114992
114993
114994
114995
114996
114997
114998
114999
115000
115001
115002
115003
115004
115005
115006
115007
115008
115009
115010
115011
115012
115013
115014
115015
115016
115017
115018
115019
115020
115021
115022
115023
115024
115025
115026
115027
115028
115029
115030
115031
115032
115033
115034
115035
115036
115037
115038
115039
115040
115041
115042
115043
115044
115045
115046
115047
115048
115049
115050
115051
115052
115053
115054
115055
115056
115057
115058
115059
115060
115061
115062
115063
115064
115065
115066
115067
115068
115069
115070
115071
115072
115073
115074
115075
115076
115077
115078
115079
115080
115081
115082
115083
115084
115085
115086
115087
115088
115089
115090
115091
115092
115093
115094
115095
115096
115097
115098
115099
115100
115101
115102
115103
115104
115105
115106
115107
115108
115109
115110
115111
115112
115113
115114
115115
115116
115117
115118
115119
115120
115121
115122
115123
115124
115125
115126
115127
115128
115129
115130
115131
115132
115133
115134
115135
115136
115137
115138
115139
115140
115141
115142
115143
115144
115145
115146
115147
115148
115149
115150
115151
115152
115153
115154
115155
115156
115157
115158
115159
115160
115161
115162
115163
115164
115165
115166
115167
115168
115169
115170
115171
115172
115173
115174
115175
115176
115177
115178
115179
115180
115181
115182
115183
115184
115185
115186
115187
115188
115189
115190
115191
115192
115193
115194
115195
115196
115197
115198
115199
115200
115201
115202
115203
115204
115205
115206
115207
115208
115209
115210
115211
115212
115213
115214
115215
115216
115217
115218
115219
115220
115221
115222
115223
115224
115225
115226
115227
115228
115229
115230
115231
115232
115233
115234
115235
115236
115237
115238
115239
115240
115241
115242
115243
115244
115245
115246
115247
115248
115249
115250
115251
115252
115253
115254
115255
115256
115257
115258
115259
115260
115261
115262
115263
115264
115265
115266
115267
115268
115269
115270
115271
115272
115273
115274
115275
115276
115277
115278
115279
115280
115281
115282
115283
115284
115285
115286
115287
115288
115289
115290
115291
115292
115293
115294
115295
115296
115297
115298
115299
115300
115301
115302
115303
115304
115305
115306
115307
115308
115309
115310
115311
115312
115313
115314
115315
115316
115317
115318
115319
115320
115321
115322
115323
115324
115325
115326
115327
115328
115329
115330
115331
115332
115333
115334
115335
115336
115337
115338
115339
115340
115341
115342
115343
115344
115345
115346
115347
115348
115349
115350
115351
115352
115353
115354
115355
115356
115357
115358
115359
115360
115361
115362
115363
115364
115365
115366
115367
115368
115369
115370
115371
115372
115373
115374
115375
115376
115377
115378
115379
115380
115381
115382
115383
115384
115385
115386
115387
115388
115389
115390
115391
115392
115393
115394
115395
115396
115397
115398
115399
115400
115401
115402
115403
115404
115405
115406
115407
115408
115409
115410
115411
115412
115413
115414
115415
115416
115417
115418
115419
115420
115421
115422
115423
115424
115425
115426
115427
115428
115429
115430
115431
115432
115433
115434
115435
115436
115437
115438
115439
115440
115441
115442
115443
115444
115445
115446
115447
115448
115449
115450
115451
115452
115453
115454
115455
115456
115457
115458
115459
115460
115461
115462
115463
115464
115465
115466
115467
115468
115469
115470
115471
115472
115473
115474
115475
115476
115477
115478
115479
115480
115481
115482
115483
115484
115485
115486
115487
115488
115489
115490
115491
115492
115493
115494
115495
115496
115497
115498
115499
115500
115501
115502
115503
115504
115505
115506
115507
115508
115509
115510
115511
115512
115513
115514
115515
115516
115517
115518
115519
115520
115521
115522
115523
115524
115525
115526
115527
115528
115529
115530
115531
115532
115533
115534
115535
115536
115537
115538
115539
115540
115541
115542
115543
115544
115545
115546
115547
115548
115549
115550
115551
115552
115553
115554
115555
115556
115557
115558
115559
115560
115561
115562
115563
115564
115565
115566
115567
115568
115569
115570
115571
115572
115573
115574
115575
115576
115577
115578
115579
115580
115581
115582
115583
115584
115585
115586
115587
115588
115589
115590
115591
115592
115593
115594
115595
115596
115597
115598
115599
115600
115601
115602
115603
115604
115605
115606
115607
115608
115609
115610
115611
115612
115613
115614
115615
115616
115617
115618
115619
115620
115621
115622
115623
115624
115625
115626
115627
115628
115629
115630
115631
115632
115633
115634
115635
115636
115637
115638
115639
115640
115641
115642
115643
115644
115645
115646
115647
115648
115649
115650
115651
115652
115653
115654
115655
115656
115657
115658
115659
115660
115661
115662
115663
115664
115665
115666
115667
115668
115669
115670
115671
115672
115673
115674
115675
115676
115677
115678
115679
115680
115681
115682
115683
115684
115685
115686
115687
115688
115689
115690
115691
115692
115693
115694
115695
115696
115697
115698
115699
115700
115701
115702
115703
115704
115705
115706
115707
115708
115709
115710
115711
115712
115713
115714
115715
115716
115717
115718
115719
115720
115721
115722
115723
115724
115725
115726
115727
115728
115729
115730
115731
115732
115733
115734
115735
115736
115737
115738
115739
115740
115741
115742
115743
115744
115745
115746
115747
115748
115749
115750
115751
115752
115753
115754
115755
115756
115757
115758
115759
115760
115761
115762
115763
115764
115765
115766
115767
115768
115769
115770
115771
115772
115773
115774
115775
115776
115777
115778
115779
115780
115781
115782
115783
115784
115785
115786
115787
115788
115789
115790
115791
115792
115793
115794
115795
115796
115797
115798
115799
115800
115801
115802
115803
115804
115805
115806
115807
115808
115809
115810
115811
115812
115813
115814
115815
115816
115817
115818
115819
115820
115821
115822
115823
115824
115825
115826
115827
115828
115829
115830
115831
115832
115833
115834
115835
115836
115837
115838
115839
115840
115841
115842
115843
115844
115845
115846
115847
115848
115849
115850
115851
115852
115853
115854
115855
115856
115857
115858
115859
115860
115861
115862
115863
115864
115865
115866
115867
115868
115869
115870
115871
115872
115873
115874
115875
115876
115877
115878
115879
115880
115881
115882
115883
115884
115885
115886
115887
115888
115889
115890
115891
115892
115893
115894
115895
115896
115897
115898
115899
115900
115901
115902
115903
115904
115905
115906
115907
115908
115909
115910
115911
115912
115913
115914
115915
115916
115917
115918
115919
115920
115921
115922
115923
115924
115925
115926
115927
115928
115929
115930
115931
115932
115933
115934
115935
115936
115937
115938
115939
115940
115941
115942
115943
115944
115945
115946
115947
115948
115949
115950
115951
115952
115953
115954
115955
115956
115957
115958
115959
115960
115961
115962
115963
115964
115965
115966
115967
115968
115969
115970
115971
115972
115973
115974
115975
115976
115977
115978
115979
115980
115981
115982
115983
115984
115985
115986
115987
115988
115989
115990
115991
115992
115993
115994
115995
115996
115997
115998
115999
116000
116001
116002
116003
116004
116005
116006
116007
116008
116009
116010
116011
116012
116013
116014
116015
116016
116017
116018
116019
116020
116021
116022
116023
116024
116025
116026
116027
116028
116029
116030
116031
116032
116033
116034
116035
116036
116037
116038
116039
116040
116041
116042
116043
116044
116045
116046
116047
116048
116049
116050
116051
116052
116053
116054
116055
116056
116057
116058
116059
116060
116061
116062
116063
116064
116065
116066
116067
116068
116069
116070
116071
116072
116073
116074
116075
116076
116077
116078
116079
116080
116081
116082
116083
116084
116085
116086
116087
116088
116089
116090
116091
116092
116093
116094
116095
116096
116097
116098
116099
116100
116101
116102
116103
116104
116105
116106
116107
116108
116109
116110
116111
116112
116113
116114
116115
116116
116117
116118
116119
116120
116121
116122
116123
116124
116125
116126
116127
116128
116129
116130
116131
116132
116133
116134
116135
116136
116137
116138
116139
116140
116141
116142
116143
116144
116145
116146
116147
116148
116149
116150
116151
116152
116153
116154
116155
116156
116157
116158
116159
116160
116161
116162
116163
116164
116165
116166
116167
116168
116169
116170
116171
116172
116173
116174
116175
116176
116177
116178
116179
116180
116181
116182
116183
116184
116185
116186
116187
116188
116189
116190
116191
116192
116193
116194
116195
116196
116197
116198
116199
116200
116201
116202
116203
116204
116205
116206
116207
116208
116209
116210
116211
116212
116213
116214
116215
116216
116217
116218
116219
116220
116221
116222
116223
116224
116225
116226
116227
116228
116229
116230
116231
116232
116233
116234
116235
116236
116237
116238
116239
116240
116241
116242
116243
116244
116245
116246
116247
116248
116249
116250
116251
116252
116253
116254
116255
116256
116257
116258
116259
116260
116261
116262
116263
116264
116265
116266
116267
116268
116269
116270
116271
116272
116273
116274
116275
116276
116277
116278
116279
116280
116281
116282
116283
116284
116285
116286
116287
116288
116289
116290
116291
116292
116293
116294
116295
116296
116297
116298
116299
116300
116301
116302
116303
116304
116305
116306
116307
116308
116309
116310
116311
116312
116313
116314
116315
116316
116317
116318
116319
116320
116321
116322
116323
116324
116325
116326
116327
116328
116329
116330
116331
116332
116333
116334
116335
116336
116337
116338
116339
116340
116341
116342
116343
116344
116345
116346
116347
116348
116349
116350
116351
116352
116353
116354
116355
116356
116357
116358
116359
116360
116361
116362
116363
116364
116365
116366
116367
116368
116369
116370
116371
116372
116373
116374
116375
116376
116377
116378
116379
116380
116381
116382
116383
116384
116385
116386
116387
116388
116389
116390
116391
116392
116393
116394
116395
116396
116397
116398
116399
116400
116401
116402
116403
116404
116405
116406
116407
116408
116409
116410
116411
116412
116413
116414
116415
116416
116417
116418
116419
116420
116421
116422
116423
116424
116425
116426
116427
116428
116429
116430
116431
116432
116433
116434
116435
116436
116437
116438
116439
116440
116441
116442
116443
116444
116445
116446
116447
116448
116449
116450
116451
116452
116453
116454
116455
116456
116457
116458
116459
116460
116461
116462
116463
116464
116465
116466
116467
116468
116469
116470
116471
116472
116473
116474
116475
116476
116477
116478
116479
116480
116481
116482
116483
116484
116485
116486
116487
116488
116489
116490
116491
116492
116493
116494
116495
116496
116497
116498
116499
116500
116501
116502
116503
116504
116505
116506
116507
116508
116509
116510
116511
116512
116513
116514
116515
116516
116517
116518
116519
116520
116521
116522
116523
116524
116525
116526
116527
116528
116529
116530
116531
116532
116533
116534
116535
116536
116537
116538
116539
116540
116541
116542
116543
116544
116545
116546
116547
116548
116549
116550
116551
116552
116553
116554
116555
116556
116557
116558
116559
116560
116561
116562
116563
116564
116565
116566
116567
116568
116569
116570
116571
116572
116573
116574
116575
116576
116577
116578
116579
116580
116581
116582
116583
116584
116585
116586
116587
116588
116589
116590
116591
116592
116593
116594
116595
116596
116597
116598
116599
116600
116601
116602
116603
116604
116605
116606
116607
116608
116609
116610
116611
116612
116613
116614
116615
116616
116617
116618
116619
116620
116621
116622
116623
116624
116625
116626
116627
116628
116629
116630
116631
116632
116633
116634
116635
116636
116637
116638
116639
116640
116641
116642
116643
116644
116645
116646
116647
116648
116649
116650
116651
116652
116653
116654
116655
116656
116657
116658
116659
116660
116661
116662
116663
116664
116665
116666
116667
116668
116669
116670
116671
116672
116673
116674
116675
116676
116677
116678
116679
116680
116681
116682
116683
116684
116685
116686
116687
116688
116689
116690
116691
116692
116693
116694
116695
116696
116697
116698
116699
116700
116701
116702
116703
116704
116705
116706
116707
116708
116709
116710
116711
116712
116713
116714
116715
116716
116717
116718
116719
116720
116721
116722
116723
116724
116725
116726
116727
116728
116729
116730
116731
116732
116733
116734
116735
116736
116737
116738
116739
116740
116741
116742
116743
116744
116745
116746
116747
116748
116749
116750
116751
116752
116753
116754
116755
116756
116757
116758
116759
116760
116761
116762
116763
116764
116765
116766
116767
116768
116769
116770
116771
116772
116773
116774
116775
116776
116777
116778
116779
116780
116781
116782
116783
116784
116785
116786
116787
116788
116789
116790
116791
116792
116793
116794
116795
116796
116797
116798
116799
116800
116801
116802
116803
116804
116805
116806
116807
116808
116809
116810
116811
116812
116813
116814
116815
116816
116817
116818
116819
116820
116821
116822
116823
116824
116825
116826
116827
116828
116829
116830
116831
116832
116833
116834
116835
116836
116837
116838
116839
116840
116841
116842
116843
116844
116845
116846
116847
116848
116849
116850
116851
116852
116853
116854
116855
116856
116857
116858
116859
116860
116861
116862
116863
116864
116865
116866
116867
116868
116869
116870
116871
116872
116873
116874
116875
116876
116877
116878
116879
116880
116881
116882
116883
116884
116885
116886
116887
116888
116889
116890
116891
116892
116893
116894
116895
116896
116897
116898
116899
116900
116901
116902
116903
116904
116905
116906
116907
116908
116909
116910
116911
116912
116913
116914
116915
116916
116917
116918
116919
116920
116921
116922
116923
116924
116925
116926
116927
116928
116929
116930
116931
116932
116933
116934
116935
116936
116937
116938
116939
116940
116941
116942
116943
116944
116945
116946
116947
116948
116949
116950
116951
116952
116953
116954
116955
116956
116957
116958
116959
116960
116961
116962
116963
116964
116965
116966
116967
116968
116969
116970
116971
116972
116973
116974
116975
116976
116977
116978
116979
116980
116981
116982
116983
116984
116985
116986
116987
116988
116989
116990
116991
116992
116993
116994
116995
116996
116997
116998
116999
117000
117001
117002
117003
117004
117005
117006
117007
117008
117009
117010
117011
117012
117013
117014
117015
117016
117017
117018
117019
117020
117021
117022
117023
117024
117025
117026
117027
117028
117029
117030
117031
117032
117033
117034
117035
117036
117037
117038
117039
117040
117041
117042
117043
117044
117045
117046
117047
117048
117049
117050
117051
117052
117053
117054
117055
117056
117057
117058
117059
117060
117061
117062
117063
117064
117065
117066
117067
117068
117069
117070
117071
117072
117073
117074
117075
117076
117077
117078
117079
117080
117081
117082
117083
117084
117085
117086
117087
117088
117089
117090
117091
117092
117093
117094
117095
117096
117097
117098
117099
117100
117101
117102
117103
117104
117105
117106
117107
117108
117109
117110
117111
117112
117113
117114
117115
117116
117117
117118
117119
117120
117121
117122
117123
117124
117125
117126
117127
117128
117129
117130
117131
117132
117133
117134
117135
117136
117137
117138
117139
117140
117141
117142
117143
117144
117145
117146
117147
117148
117149
117150
117151
117152
117153
117154
117155
117156
117157
117158
117159
117160
117161
117162
117163
117164
117165
117166
117167
117168
117169
117170
117171
117172
117173
117174
117175
117176
117177
117178
117179
117180
117181
117182
117183
117184
117185
117186
117187
117188
117189
117190
117191
117192
117193
117194
117195
117196
117197
117198
117199
117200
117201
117202
117203
117204
117205
117206
117207
117208
117209
117210
117211
117212
117213
117214
117215
117216
117217
117218
117219
117220
117221
117222
117223
117224
117225
117226
117227
117228
117229
117230
117231
117232
117233
117234
117235
117236
117237
117238
117239
117240
117241
117242
117243
117244
117245
117246
117247
117248
117249
117250
117251
117252
117253
117254
117255
117256
117257
117258
117259
117260
117261
117262
117263
117264
117265
117266
117267
117268
117269
117270
117271
117272
117273
117274
117275
117276
117277
117278
117279
117280
117281
117282
117283
117284
117285
117286
117287
117288
117289
117290
117291
117292
117293
117294
117295
117296
117297
117298
117299
117300
117301
117302
117303
117304
117305
117306
117307
117308
117309
117310
117311
117312
117313
117314
117315
117316
117317
117318
117319
117320
117321
117322
117323
117324
117325
117326
117327
117328
117329
117330
117331
117332
117333
117334
117335
117336
117337
117338
117339
117340
117341
117342
117343
117344
117345
117346
117347
117348
117349
117350
117351
117352
117353
117354
117355
117356
117357
117358
117359
117360
117361
117362
117363
117364
117365
117366
117367
117368
117369
117370
117371
117372
117373
117374
117375
117376
117377
117378
117379
117380
117381
117382
117383
117384
117385
117386
117387
117388
117389
117390
117391
117392
117393
117394
117395
117396
117397
117398
117399
117400
117401
117402
117403
117404
117405
117406
117407
117408
117409
117410
117411
117412
117413
117414
117415
117416
117417
117418
117419
117420
117421
117422
117423
117424
117425
117426
117427
117428
117429
117430
117431
117432
117433
117434
117435
117436
117437
117438
117439
117440
117441
117442
117443
117444
117445
117446
117447
117448
117449
117450
117451
117452
117453
117454
117455
117456
117457
117458
117459
117460
117461
117462
117463
117464
117465
117466
117467
117468
117469
117470
117471
117472
117473
117474
117475
117476
117477
117478
117479
117480
117481
117482
117483
117484
117485
117486
117487
117488
117489
117490
117491
117492
117493
117494
117495
117496
117497
117498
117499
117500
117501
117502
117503
117504
117505
117506
117507
117508
117509
117510
117511
117512
117513
117514
117515
117516
117517
117518
117519
117520
117521
117522
117523
117524
117525
117526
117527
117528
117529
117530
117531
117532
117533
117534
117535
117536
117537
117538
117539
117540
117541
117542
117543
117544
117545
117546
117547
117548
117549
117550
117551
117552
117553
117554
117555
117556
117557
117558
117559
117560
117561
117562
117563
117564
117565
117566
117567
117568
117569
117570
117571
117572
117573
117574
117575
117576
117577
117578
117579
117580
117581
117582
117583
117584
117585
117586
117587
117588
117589
117590
117591
117592
117593
117594
117595
117596
117597
117598
117599
117600
117601
117602
117603
117604
117605
117606
117607
117608
117609
117610
117611
117612
117613
117614
117615
117616
117617
117618
117619
117620
117621
117622
117623
117624
117625
117626
117627
117628
117629
117630
117631
117632
117633
117634
117635
117636
117637
117638
117639
117640
117641
117642
117643
117644
117645
117646
117647
117648
117649
117650
117651
117652
117653
117654
117655
117656
117657
117658
117659
117660
117661
117662
117663
117664
117665
117666
117667
117668
117669
117670
117671
117672
117673
117674
117675
117676
117677
117678
117679
117680
117681
117682
117683
117684
117685
117686
117687
117688
117689
117690
117691
117692
117693
117694
117695
117696
117697
117698
117699
117700
117701
117702
117703
117704
117705
117706
117707
117708
117709
117710
117711
117712
117713
117714
117715
117716
117717
117718
117719
117720
117721
117722
117723
117724
117725
117726
117727
117728
117729
117730
117731
117732
117733
117734
117735
117736
117737
117738
117739
117740
117741
117742
117743
117744
117745
117746
117747
117748
117749
117750
117751
117752
117753
117754
117755
117756
117757
117758
117759
117760
117761
117762
117763
117764
117765
117766
117767
117768
117769
117770
117771
117772
117773
117774
117775
117776
117777
117778
117779
117780
117781
117782
117783
117784
117785
117786
117787
117788
117789
117790
117791
117792
117793
117794
117795
117796
117797
117798
117799
117800
117801
117802
117803
117804
117805
117806
117807
117808
117809
117810
117811
117812
117813
117814
117815
117816
117817
117818
117819
117820
117821
117822
117823
117824
117825
117826
117827
117828
117829
117830
117831
117832
117833
117834
117835
117836
117837
117838
117839
117840
117841
117842
117843
117844
117845
117846
117847
117848
117849
117850
117851
117852
117853
117854
117855
117856
117857
117858
117859
117860
117861
117862
117863
117864
117865
117866
117867
117868
117869
117870
117871
117872
117873
117874
117875
117876
117877
117878
117879
117880
117881
117882
117883
117884
117885
117886
117887
117888
117889
117890
117891
117892
117893
117894
117895
117896
117897
117898
117899
117900
117901
117902
117903
117904
117905
117906
117907
117908
117909
117910
117911
117912
117913
117914
117915
117916
117917
117918
117919
117920
117921
117922
117923
117924
117925
117926
117927
117928
117929
117930
117931
117932
117933
117934
117935
117936
117937
117938
117939
117940
117941
117942
117943
117944
117945
117946
117947
117948
117949
117950
117951
117952
117953
117954
117955
117956
117957
117958
117959
117960
117961
117962
117963
117964
117965
117966
117967
117968
117969
117970
117971
117972
117973
117974
117975
117976
117977
117978
117979
117980
117981
117982
117983
117984
117985
117986
117987
117988
117989
117990
117991
117992
117993
117994
117995
117996
117997
117998
117999
118000
118001
118002
118003
118004
118005
118006
118007
118008
118009
118010
118011
118012
118013
118014
118015
118016
118017
118018
118019
118020
118021
118022
118023
118024
118025
118026
118027
118028
118029
118030
118031
118032
118033
118034
118035
118036
118037
118038
118039
118040
118041
118042
118043
118044
118045
118046
118047
118048
118049
118050
118051
118052
118053
118054
118055
118056
118057
118058
118059
118060
118061
118062
118063
118064
118065
118066
118067
118068
118069
118070
118071
118072
118073
118074
118075
118076
118077
118078
118079
118080
118081
118082
118083
118084
118085
118086
118087
118088
118089
118090
118091
118092
118093
118094
118095
118096
118097
118098
118099
118100
118101
118102
118103
118104
118105
118106
118107
118108
118109
118110
118111
118112
118113
118114
118115
118116
118117
118118
118119
118120
118121
118122
118123
118124
118125
118126
118127
118128
118129
118130
118131
118132
118133
118134
118135
118136
118137
118138
118139
118140
118141
118142
118143
118144
118145
118146
118147
118148
118149
118150
118151
118152
118153
118154
118155
118156
118157
118158
118159
118160
118161
118162
118163
118164
118165
118166
118167
118168
118169
118170
118171
118172
118173
118174
118175
118176
118177
118178
118179
118180
118181
118182
118183
118184
118185
118186
118187
118188
118189
118190
118191
118192
118193
118194
118195
118196
118197
118198
118199
118200
118201
118202
118203
118204
118205
118206
118207
118208
118209
118210
118211
118212
118213
118214
118215
118216
118217
118218
118219
118220
118221
118222
118223
118224
118225
118226
118227
118228
118229
118230
118231
118232
118233
118234
118235
118236
118237
118238
118239
118240
118241
118242
118243
118244
118245
118246
118247
118248
118249
118250
118251
118252
118253
118254
118255
118256
118257
118258
118259
118260
118261
118262
118263
118264
118265
118266
118267
118268
118269
118270
118271
118272
118273
118274
118275
118276
118277
118278
118279
118280
118281
118282
118283
118284
118285
118286
118287
118288
118289
118290
118291
118292
118293
118294
118295
118296
118297
118298
118299
118300
118301
118302
118303
118304
118305
118306
118307
118308
118309
118310
118311
118312
118313
118314
118315
118316
118317
118318
118319
118320
118321
118322
118323
118324
118325
118326
118327
118328
118329
118330
118331
118332
118333
118334
118335
118336
118337
118338
118339
118340
118341
118342
118343
118344
118345
118346
118347
118348
118349
118350
118351
118352
118353
118354
118355
118356
118357
118358
118359
118360
118361
118362
118363
118364
118365
118366
118367
118368
118369
118370
118371
118372
118373
118374
118375
118376
118377
118378
118379
118380
118381
118382
118383
118384
118385
118386
118387
118388
118389
118390
118391
118392
118393
118394
118395
118396
118397
118398
118399
118400
118401
118402
118403
118404
118405
118406
118407
118408
118409
118410
118411
118412
118413
118414
118415
118416
118417
118418
118419
118420
118421
118422
118423
118424
118425
118426
118427
118428
118429
118430
118431
118432
118433
118434
118435
118436
118437
118438
118439
118440
118441
118442
118443
118444
118445
118446
118447
118448
118449
118450
118451
118452
118453
118454
118455
118456
118457
118458
118459
118460
118461
118462
118463
118464
118465
118466
118467
118468
118469
118470
118471
118472
118473
118474
118475
118476
118477
118478
118479
118480
118481
118482
118483
118484
118485
118486
118487
118488
118489
118490
118491
118492
118493
118494
118495
118496
118497
118498
118499
118500
118501
118502
118503
118504
118505
118506
118507
118508
118509
118510
118511
118512
118513
118514
118515
118516
118517
118518
118519
118520
118521
118522
118523
118524
118525
118526
118527
118528
118529
118530
118531
118532
118533
118534
118535
118536
118537
118538
118539
118540
118541
118542
118543
118544
118545
118546
118547
118548
118549
118550
118551
118552
118553
118554
118555
118556
118557
118558
118559
118560
118561
118562
118563
118564
118565
118566
118567
118568
118569
118570
118571
118572
118573
118574
118575
118576
118577
118578
118579
118580
118581
118582
118583
118584
118585
118586
118587
118588
118589
118590
118591
118592
118593
118594
118595
118596
118597
118598
118599
118600
118601
118602
118603
118604
118605
118606
118607
118608
118609
118610
118611
118612
118613
118614
118615
118616
118617
118618
118619
118620
118621
118622
118623
118624
118625
118626
118627
118628
118629
118630
118631
118632
118633
118634
118635
118636
118637
118638
118639
118640
118641
118642
118643
118644
118645
118646
118647
118648
118649
118650
118651
118652
118653
118654
118655
118656
118657
118658
118659
118660
118661
118662
118663
118664
118665
118666
118667
118668
118669
118670
118671
118672
118673
118674
118675
118676
118677
118678
118679
118680
118681
118682
118683
118684
118685
118686
118687
118688
118689
118690
118691
118692
118693
118694
118695
118696
118697
118698
118699
118700
118701
118702
118703
118704
118705
118706
118707
118708
118709
118710
118711
118712
118713
118714
118715
118716
118717
118718
118719
118720
118721
118722
118723
118724
118725
118726
118727
118728
118729
118730
118731
118732
118733
118734
118735
118736
118737
118738
118739
118740
118741
118742
118743
118744
118745
118746
118747
118748
118749
118750
118751
118752
118753
118754
118755
118756
118757
118758
118759
118760
118761
118762
118763
118764
118765
118766
118767
118768
118769
118770
118771
118772
118773
118774
118775
118776
118777
118778
118779
118780
118781
118782
118783
118784
118785
118786
118787
118788
118789
118790
118791
118792
118793
118794
118795
118796
118797
118798
118799
118800
118801
118802
118803
118804
118805
118806
118807
118808
118809
118810
118811
118812
118813
118814
118815
118816
118817
118818
118819
118820
118821
118822
118823
118824
118825
118826
118827
118828
118829
118830
118831
118832
118833
118834
118835
118836
118837
118838
118839
118840
118841
118842
118843
118844
118845
118846
118847
118848
118849
118850
118851
118852
118853
118854
118855
118856
118857
118858
118859
118860
118861
118862
118863
118864
118865
118866
118867
118868
118869
118870
118871
118872
118873
118874
118875
118876
118877
118878
118879
118880
118881
118882
118883
118884
118885
118886
118887
118888
118889
118890
118891
118892
118893
118894
118895
118896
118897
118898
118899
118900
118901
118902
118903
118904
118905
118906
118907
118908
118909
118910
118911
118912
118913
118914
118915
118916
118917
118918
118919
118920
118921
118922
118923
118924
118925
118926
118927
118928
118929
118930
118931
118932
118933
118934
118935
118936
118937
118938
118939
118940
118941
118942
118943
118944
118945
118946
118947
118948
118949
118950
118951
118952
118953
118954
118955
118956
118957
118958
118959
118960
118961
118962
118963
118964
118965
118966
118967
118968
118969
118970
118971
118972
118973
118974
118975
118976
118977
118978
118979
118980
118981
118982
118983
118984
118985
118986
118987
118988
118989
118990
118991
118992
118993
118994
118995
118996
118997
118998
118999
119000
119001
119002
119003
119004
119005
119006
119007
119008
119009
119010
119011
119012
119013
119014
119015
119016
119017
119018
119019
119020
119021
119022
119023
119024
119025
119026
119027
119028
119029
119030
119031
119032
119033
119034
119035
119036
119037
119038
119039
119040
119041
119042
119043
119044
119045
119046
119047
119048
119049
119050
119051
119052
119053
119054
119055
119056
119057
119058
119059
119060
119061
119062
119063
119064
119065
119066
119067
119068
119069
119070
119071
119072
119073
119074
119075
119076
119077
119078
119079
119080
119081
119082
119083
119084
119085
119086
119087
119088
119089
119090
119091
119092
119093
119094
119095
119096
119097
119098
119099
119100
119101
119102
119103
119104
119105
119106
119107
119108
119109
119110
119111
119112
119113
119114
119115
119116
119117
119118
119119
119120
119121
119122
119123
119124
119125
119126
119127
119128
119129
119130
119131
119132
119133
119134
119135
119136
119137
119138
119139
119140
119141
119142
119143
119144
119145
119146
119147
119148
119149
119150
119151
119152
119153
119154
119155
119156
119157
119158
119159
119160
119161
119162
119163
119164
119165
119166
119167
119168
119169
119170
119171
119172
119173
119174
119175
119176
119177
119178
119179
119180
119181
119182
119183
119184
119185
119186
119187
119188
119189
119190
119191
119192
119193
119194
119195
119196
119197
119198
119199
119200
119201
119202
119203
119204
119205
119206
119207
119208
119209
119210
119211
119212
119213
119214
119215
119216
119217
119218
119219
119220
119221
119222
119223
119224
119225
119226
119227
119228
119229
119230
119231
119232
119233
119234
119235
119236
119237
119238
119239
119240
119241
119242
119243
119244
119245
119246
119247
119248
119249
119250
119251
119252
119253
119254
119255
119256
119257
119258
119259
119260
119261
119262
119263
119264
119265
119266
119267
119268
119269
119270
119271
119272
119273
119274
119275
119276
119277
119278
119279
119280
119281
119282
119283
119284
119285
119286
119287
119288
119289
119290
119291
119292
119293
119294
119295
119296
119297
119298
119299
119300
119301
119302
119303
119304
119305
119306
119307
119308
119309
119310
119311
119312
119313
119314
119315
119316
119317
119318
119319
119320
119321
119322
119323
119324
119325
119326
119327
119328
119329
119330
119331
119332
119333
119334
119335
119336
119337
119338
119339
119340
119341
119342
119343
119344
119345
119346
119347
119348
119349
119350
119351
119352
119353
119354
119355
119356
119357
119358
119359
119360
119361
119362
119363
119364
119365
119366
119367
119368
119369
119370
119371
119372
119373
119374
119375
119376
119377
119378
119379
119380
119381
119382
119383
119384
119385
119386
119387
119388
119389
119390
119391
119392
119393
119394
119395
119396
119397
119398
119399
119400
119401
119402
119403
119404
119405
119406
119407
119408
119409
119410
119411
119412
119413
119414
119415
119416
119417
119418
119419
119420
119421
119422
119423
119424
119425
119426
119427
119428
119429
119430
119431
119432
119433
119434
119435
119436
119437
119438
119439
119440
119441
119442
119443
119444
119445
119446
119447
119448
119449
119450
119451
119452
119453
119454
119455
119456
119457
119458
119459
119460
119461
119462
119463
119464
119465
119466
119467
119468
119469
119470
119471
119472
119473
119474
119475
119476
119477
119478
119479
119480
119481
119482
119483
119484
119485
119486
119487
119488
119489
119490
119491
119492
119493
119494
119495
119496
119497
119498
119499
119500
119501
119502
119503
119504
119505
119506
119507
119508
119509
119510
119511
119512
119513
119514
119515
119516
119517
119518
119519
119520
119521
119522
119523
119524
119525
119526
119527
119528
119529
119530
119531
119532
119533
119534
119535
119536
119537
119538
119539
119540
119541
119542
119543
119544
119545
119546
119547
119548
119549
119550
119551
119552
119553
119554
119555
119556
119557
119558
119559
119560
119561
119562
119563
119564
119565
119566
119567
119568
119569
119570
119571
119572
119573
119574
119575
119576
119577
119578
119579
119580
119581
119582
119583
119584
119585
119586
119587
119588
119589
119590
119591
119592
119593
119594
119595
119596
119597
119598
119599
119600
119601
119602
119603
119604
119605
119606
119607
119608
119609
119610
119611
119612
119613
119614
119615
119616
119617
119618
119619
119620
119621
119622
119623
119624
119625
119626
119627
119628
119629
119630
119631
119632
119633
119634
119635
119636
119637
119638
119639
119640
119641
119642
119643
119644
119645
119646
119647
119648
119649
119650
119651
119652
119653
119654
119655
119656
119657
119658
119659
119660
119661
119662
119663
119664
119665
119666
119667
119668
119669
119670
119671
119672
119673
119674
119675
119676
119677
119678
119679
119680
119681
119682
119683
119684
119685
119686
119687
119688
119689
119690
119691
119692
119693
119694
119695
119696
119697
119698
119699
119700
119701
119702
119703
119704
119705
119706
119707
119708
119709
119710
119711
119712
119713
119714
119715
119716
119717
119718
119719
119720
119721
119722
119723
119724
119725
119726
119727
119728
119729
119730
119731
119732
119733
119734
119735
119736
119737
119738
119739
119740
119741
119742
119743
119744
119745
119746
119747
119748
119749
119750
119751
119752
119753
119754
119755
119756
119757
119758
119759
119760
119761
119762
119763
119764
119765
119766
119767
119768
119769
119770
119771
119772
119773
119774
119775
119776
119777
119778
119779
119780
119781
119782
119783
119784
119785
119786
119787
119788
119789
119790
119791
119792
119793
119794
119795
119796
119797
119798
119799
119800
119801
119802
119803
119804
119805
119806
119807
119808
119809
119810
119811
119812
119813
119814
119815
119816
119817
119818
119819
119820
119821
119822
119823
119824
119825
119826
119827
119828
119829
119830
119831
119832
119833
119834
119835
119836
119837
119838
119839
119840
119841
119842
119843
119844
119845
119846
119847
119848
119849
119850
119851
119852
119853
119854
119855
119856
119857
119858
119859
119860
119861
119862
119863
119864
119865
119866
119867
119868
119869
119870
119871
119872
119873
119874
119875
119876
119877
119878
119879
119880
119881
119882
119883
119884
119885
119886
119887
119888
119889
119890
119891
119892
119893
119894
119895
119896
119897
119898
119899
119900
119901
119902
119903
119904
119905
119906
119907
119908
119909
119910
119911
119912
119913
119914
119915
119916
119917
119918
119919
119920
119921
119922
119923
119924
119925
119926
119927
119928
119929
119930
119931
119932
119933
119934
119935
119936
119937
119938
119939
119940
119941
119942
119943
119944
119945
119946
119947
119948
119949
119950
119951
119952
119953
119954
119955
119956
119957
119958
119959
119960
119961
119962
119963
119964
119965
119966
119967
119968
119969
119970
119971
119972
119973
119974
119975
119976
119977
119978
119979
119980
119981
119982
119983
119984
119985
119986
119987
119988
119989
119990
119991
119992
119993
119994
119995
119996
119997
119998
119999
120000
120001
120002
120003
120004
120005
120006
120007
120008
120009
120010
120011
120012
120013
120014
120015
120016
120017
120018
120019
120020
120021
120022
120023
120024
120025
120026
120027
120028
120029
120030
120031
120032
120033
120034
120035
120036
120037
120038
120039
120040
120041
120042
120043
120044
120045
120046
120047
120048
120049
120050
120051
120052
120053
120054
120055
120056
120057
120058
120059
120060
120061
120062
120063
120064
120065
120066
120067
120068
120069
120070
120071
120072
120073
120074
120075
120076
120077
120078
120079
120080
120081
120082
120083
120084
120085
120086
120087
120088
120089
120090
120091
120092
120093
120094
120095
120096
120097
120098
120099
120100
120101
120102
120103
120104
120105
120106
120107
120108
120109
120110
120111
120112
120113
120114
120115
120116
120117
120118
120119
120120
120121
120122
120123
120124
120125
120126
120127
120128
120129
120130
120131
120132
120133
120134
120135
120136
120137
120138
120139
120140
120141
120142
120143
120144
120145
120146
120147
120148
120149
120150
120151
120152
120153
120154
120155
120156
120157
120158
120159
120160
120161
120162
120163
120164
120165
120166
120167
120168
120169
120170
120171
120172
120173
120174
120175
120176
120177
120178
120179
120180
120181
120182
120183
120184
120185
120186
120187
120188
120189
120190
120191
120192
120193
120194
120195
120196
120197
120198
120199
120200
120201
120202
120203
120204
120205
120206
120207
120208
120209
120210
120211
120212
120213
120214
120215
120216
120217
120218
120219
120220
120221
120222
120223
120224
120225
120226
120227
120228
120229
120230
120231
120232
120233
120234
120235
120236
120237
120238
120239
120240
120241
120242
120243
120244
120245
120246
120247
120248
120249
120250
120251
120252
120253
120254
120255
120256
120257
120258
120259
120260
120261
120262
120263
120264
120265
120266
120267
120268
120269
120270
120271
120272
120273
120274
120275
120276
120277
120278
120279
120280
120281
120282
120283
120284
120285
120286
120287
120288
120289
120290
120291
120292
120293
120294
120295
120296
120297
120298
120299
120300
120301
120302
120303
120304
120305
120306
120307
120308
120309
120310
120311
120312
120313
120314
120315
120316
120317
120318
120319
120320
120321
120322
120323
120324
120325
120326
120327
120328
120329
120330
120331
120332
120333
120334
120335
120336
120337
120338
120339
120340
120341
120342
120343
120344
120345
120346
120347
120348
120349
120350
120351
120352
120353
120354
120355
120356
120357
120358
120359
120360
120361
120362
120363
120364
120365
120366
120367
120368
120369
120370
120371
120372
120373
120374
120375
120376
120377
120378
120379
120380
120381
120382
120383
120384
120385
120386
120387
120388
120389
120390
120391
120392
120393
120394
120395
120396
120397
120398
120399
120400
120401
120402
120403
120404
120405
120406
120407
120408
120409
120410
120411
120412
120413
120414
120415
120416
120417
120418
120419
120420
120421
120422
120423
120424
120425
120426
120427
120428
120429
120430
120431
120432
120433
120434
120435
120436
120437
120438
120439
120440
120441
120442
120443
120444
120445
120446
120447
120448
120449
120450
120451
120452
120453
120454
120455
120456
120457
120458
120459
120460
120461
120462
120463
120464
120465
120466
120467
120468
120469
120470
120471
120472
120473
120474
120475
120476
120477
120478
120479
120480
120481
120482
120483
120484
120485
120486
120487
120488
120489
120490
120491
120492
120493
120494
120495
120496
120497
120498
120499
120500
120501
120502
120503
120504
120505
120506
120507
120508
120509
120510
120511
120512
120513
120514
120515
120516
120517
120518
120519
120520
120521
120522
120523
120524
120525
120526
120527
120528
120529
120530
120531
120532
120533
120534
120535
120536
120537
120538
120539
120540
120541
120542
120543
120544
120545
120546
120547
120548
120549
120550
120551
120552
120553
120554
120555
120556
120557
120558
120559
120560
120561
120562
120563
120564
120565
120566
120567
120568
120569
120570
120571
120572
120573
120574
120575
120576
120577
120578
120579
120580
120581
120582
120583
120584
120585
120586
120587
120588
120589
120590
120591
120592
120593
120594
120595
120596
120597
120598
120599
120600
120601
120602
120603
120604
120605
120606
120607
120608
120609
120610
120611
120612
120613
120614
120615
120616
120617
120618
120619
120620
120621
120622
120623
120624
120625
120626
120627
120628
120629
120630
120631
120632
120633
120634
120635
120636
120637
120638
120639
120640
120641
120642
120643
120644
120645
120646
120647
120648
120649
120650
120651
120652
120653
120654
120655
120656
120657
120658
120659
120660
120661
120662
120663
120664
120665
120666
120667
120668
120669
120670
120671
120672
120673
120674
120675
120676
120677
120678
120679
120680
120681
120682
120683
120684
120685
120686
120687
120688
120689
120690
120691
120692
120693
120694
120695
120696
120697
120698
120699
120700
120701
120702
120703
120704
120705
120706
120707
120708
120709
120710
120711
120712
120713
120714
120715
120716
120717
120718
120719
120720
120721
120722
120723
120724
120725
120726
120727
120728
120729
120730
120731
120732
120733
120734
120735
120736
120737
120738
120739
120740
120741
120742
120743
120744
120745
120746
120747
120748
120749
120750
120751
120752
120753
120754
120755
120756
120757
120758
120759
120760
120761
120762
120763
120764
120765
120766
120767
120768
120769
120770
120771
120772
120773
120774
120775
120776
120777
120778
120779
120780
120781
120782
120783
120784
120785
120786
120787
120788
120789
120790
120791
120792
120793
120794
120795
120796
120797
120798
120799
120800
120801
120802
120803
120804
120805
120806
120807
120808
120809
120810
120811
120812
120813
120814
120815
120816
120817
120818
120819
120820
120821
120822
120823
120824
120825
120826
120827
120828
120829
120830
120831
120832
120833
120834
120835
120836
120837
120838
120839
120840
120841
120842
120843
120844
120845
120846
120847
120848
120849
120850
120851
120852
120853
120854
120855
120856
120857
120858
120859
120860
120861
120862
120863
120864
120865
120866
120867
120868
120869
120870
120871
120872
120873
120874
120875
120876
120877
120878
120879
120880
120881
120882
120883
120884
120885
120886
120887
120888
120889
120890
120891
120892
120893
120894
120895
120896
120897
120898
120899
120900
120901
120902
120903
120904
120905
120906
120907
120908
120909
120910
120911
120912
120913
120914
120915
120916
120917
120918
120919
120920
120921
120922
120923
120924
120925
120926
120927
120928
120929
120930
120931
120932
120933
120934
120935
120936
120937
120938
120939
120940
120941
120942
120943
120944
120945
120946
120947
120948
120949
120950
120951
120952
120953
120954
120955
120956
120957
120958
120959
120960
120961
120962
120963
120964
120965
120966
120967
120968
120969
120970
120971
120972
120973
120974
120975
120976
120977
120978
120979
120980
120981
120982
120983
120984
120985
120986
120987
120988
120989
120990
120991
120992
120993
120994
120995
120996
120997
120998
120999
121000
121001
121002
121003
121004
121005
121006
121007
121008
121009
121010
121011
121012
121013
121014
121015
121016
121017
121018
121019
121020
121021
121022
121023
121024
121025
121026
121027
121028
121029
121030
121031
121032
121033
121034
121035
121036
121037
121038
121039
121040
121041
121042
121043
121044
121045
121046
121047
121048
121049
121050
121051
121052
121053
121054
121055
121056
121057
121058
121059
121060
121061
121062
121063
121064
121065
121066
121067
121068
121069
121070
121071
121072
121073
121074
121075
121076
121077
121078
121079
121080
121081
121082
121083
121084
121085
121086
121087
121088
121089
121090
121091
121092
121093
121094
121095
121096
121097
121098
121099
121100
121101
121102
121103
121104
121105
121106
121107
121108
121109
121110
121111
121112
121113
121114
121115
121116
121117
121118
121119
121120
121121
121122
121123
121124
121125
121126
121127
121128
121129
121130
121131
121132
121133
121134
121135
121136
121137
121138
121139
121140
121141
121142
121143
121144
121145
121146
121147
121148
121149
121150
121151
121152
121153
121154
121155
121156
121157
121158
121159
121160
121161
121162
121163
121164
121165
121166
121167
121168
121169
121170
121171
121172
121173
121174
121175
121176
121177
121178
121179
121180
121181
121182
121183
121184
121185
121186
121187
121188
121189
121190
121191
121192
121193
121194
121195
121196
121197
121198
121199
121200
121201
121202
121203
121204
121205
121206
121207
121208
121209
121210
121211
121212
121213
121214
121215
121216
121217
121218
121219
121220
121221
121222
121223
121224
121225
121226
121227
121228
121229
121230
121231
121232
121233
121234
121235
121236
121237
121238
121239
121240
121241
121242
121243
121244
121245
121246
121247
121248
121249
121250
121251
121252
121253
121254
121255
121256
121257
121258
121259
121260
121261
121262
121263
121264
121265
121266
121267
121268
121269
121270
121271
121272
121273
121274
121275
121276
121277
121278
121279
121280
121281
121282
121283
121284
121285
121286
121287
121288
121289
121290
121291
121292
121293
121294
121295
121296
121297
121298
121299
121300
121301
121302
121303
121304
121305
121306
121307
121308
121309
121310
121311
121312
121313
121314
121315
121316
121317
121318
121319
121320
121321
121322
121323
121324
121325
121326
121327
121328
121329
121330
121331
121332
121333
121334
121335
121336
121337
121338
121339
121340
121341
121342
121343
121344
121345
121346
121347
121348
121349
121350
121351
121352
121353
121354
121355
121356
121357
121358
121359
121360
121361
121362
121363
121364
121365
121366
121367
121368
121369
121370
121371
121372
121373
121374
121375
121376
121377
121378
121379
121380
121381
121382
121383
121384
121385
121386
121387
121388
121389
121390
121391
121392
121393
121394
121395
121396
121397
121398
121399
121400
121401
121402
121403
121404
121405
121406
121407
121408
121409
121410
121411
121412
121413
121414
121415
121416
121417
121418
121419
121420
121421
121422
121423
121424
121425
121426
121427
121428
121429
121430
121431
121432
121433
121434
121435
121436
121437
121438
121439
121440
121441
121442
121443
121444
121445
121446
121447
121448
121449
121450
121451
121452
121453
121454
121455
121456
121457
121458
121459
121460
121461
121462
121463
121464
121465
121466
121467
121468
121469
121470
121471
121472
121473
121474
121475
121476
121477
121478
121479
121480
121481
121482
121483
121484
121485
121486
121487
121488
121489
121490
121491
121492
121493
121494
121495
121496
121497
121498
121499
121500
121501
121502
121503
121504
121505
121506
121507
121508
121509
121510
121511
121512
121513
121514
121515
121516
121517
121518
121519
121520
121521
121522
121523
121524
121525
121526
121527
121528
121529
121530
121531
121532
121533
121534
121535
121536
121537
121538
121539
121540
121541
121542
121543
121544
121545
121546
121547
121548
121549
121550
121551
121552
121553
121554
121555
121556
121557
121558
121559
121560
121561
121562
121563
121564
121565
121566
121567
121568
121569
121570
121571
121572
121573
121574
121575
121576
121577
121578
121579
121580
121581
121582
121583
121584
121585
121586
121587
121588
121589
121590
121591
121592
121593
121594
121595
121596
121597
121598
121599
121600
121601
121602
121603
121604
121605
121606
121607
121608
121609
121610
121611
121612
121613
121614
121615
121616
121617
121618
121619
121620
121621
121622
121623
121624
121625
121626
121627
121628
121629
121630
121631
121632
121633
121634
121635
121636
121637
121638
121639
121640
121641
121642
121643
121644
121645
121646
121647
121648
121649
121650
121651
121652
121653
121654
121655
121656
121657
121658
121659
121660
121661
121662
121663
121664
121665
121666
121667
121668
121669
121670
121671
121672
121673
121674
121675
121676
121677
121678
121679
121680
121681
121682
121683
121684
121685
121686
121687
121688
121689
121690
121691
121692
121693
121694
121695
121696
121697
121698
121699
121700
121701
121702
121703
121704
121705
121706
121707
121708
121709
121710
121711
121712
121713
121714
121715
121716
121717
121718
121719
121720
121721
121722
121723
121724
121725
121726
121727
121728
121729
121730
121731
121732
121733
121734
121735
121736
121737
121738
121739
121740
121741
121742
121743
121744
121745
121746
121747
121748
121749
121750
121751
121752
121753
121754
121755
121756
121757
121758
121759
121760
121761
121762
121763
121764
121765
121766
121767
121768
121769
121770
121771
121772
121773
121774
121775
121776
121777
121778
121779
121780
121781
121782
121783
121784
121785
121786
121787
121788
121789
121790
121791
121792
121793
121794
121795
121796
121797
121798
121799
121800
121801
121802
121803
121804
121805
121806
121807
121808
121809
121810
121811
121812
121813
121814
121815
121816
121817
121818
121819
121820
121821
121822
121823
121824
121825
121826
121827
121828
121829
121830
121831
121832
121833
121834
121835
121836
121837
121838
121839
121840
121841
121842
121843
121844
121845
121846
121847
121848
121849
121850
121851
121852
121853
121854
121855
121856
121857
121858
121859
121860
121861
121862
121863
121864
121865
121866
121867
121868
121869
121870
121871
121872
121873
121874
121875
121876
121877
121878
121879
121880
121881
121882
121883
121884
121885
121886
121887
121888
121889
121890
121891
121892
121893
121894
121895
121896
121897
121898
121899
121900
121901
121902
121903
121904
121905
121906
121907
121908
121909
121910
121911
121912
121913
121914
121915
121916
121917
121918
121919
121920
121921
121922
121923
121924
121925
121926
121927
121928
121929
121930
121931
121932
121933
121934
121935
121936
121937
121938
121939
121940
121941
121942
121943
121944
121945
121946
121947
121948
121949
121950
121951
121952
121953
121954
121955
121956
121957
121958
121959
121960
121961
121962
121963
121964
121965
121966
121967
121968
121969
121970
121971
121972
121973
121974
121975
121976
121977
121978
121979
121980
121981
121982
121983
121984
121985
121986
121987
121988
121989
121990
121991
121992
121993
121994
121995
121996
121997
121998
121999
122000
122001
122002
122003
122004
122005
122006
122007
122008
122009
122010
122011
122012
122013
122014
122015
122016
122017
122018
122019
122020
122021
122022
122023
122024
122025
122026
122027
122028
122029
122030
122031
122032
122033
122034
122035
122036
122037
122038
122039
122040
122041
122042
122043
122044
122045
122046
122047
122048
122049
122050
122051
122052
122053
122054
122055
122056
122057
122058
122059
122060
122061
122062
122063
122064
122065
122066
122067
122068
122069
122070
122071
122072
122073
122074
122075
122076
122077
122078
122079
122080
122081
122082
122083
122084
122085
122086
122087
122088
122089
122090
122091
122092
122093
122094
122095
122096
122097
122098
122099
122100
122101
122102
122103
122104
122105
122106
122107
122108
122109
122110
122111
122112
122113
122114
122115
122116
122117
122118
122119
122120
122121
122122
122123
122124
122125
122126
122127
122128
122129
122130
122131
122132
122133
122134
122135
122136
122137
122138
122139
122140
122141
122142
122143
122144
122145
122146
122147
122148
122149
122150
122151
122152
122153
122154
122155
122156
122157
122158
122159
122160
122161
122162
122163
122164
122165
122166
122167
122168
122169
122170
122171
122172
122173
122174
122175
122176
122177
122178
122179
122180
122181
122182
122183
122184
122185
122186
122187
122188
122189
122190
122191
122192
122193
122194
122195
122196
122197
122198
122199
122200
122201
122202
122203
122204
122205
122206
122207
122208
122209
122210
122211
122212
122213
122214
122215
122216
122217
122218
122219
122220
122221
122222
122223
122224
122225
122226
122227
122228
122229
122230
122231
122232
122233
122234
122235
122236
122237
122238
122239
122240
122241
122242
122243
122244
122245
122246
122247
122248
122249
122250
122251
122252
122253
122254
122255
122256
122257
122258
122259
122260
122261
122262
122263
122264
122265
122266
122267
122268
122269
122270
122271
122272
122273
122274
122275
122276
122277
122278
122279
122280
122281
122282
122283
122284
122285
122286
122287
122288
122289
122290
122291
122292
122293
122294
122295
122296
122297
122298
122299
122300
122301
122302
122303
122304
122305
122306
122307
122308
122309
122310
122311
122312
122313
122314
122315
122316
122317
122318
122319
122320
122321
122322
122323
122324
122325
122326
122327
122328
122329
122330
122331
122332
122333
122334
122335
122336
122337
122338
122339
122340
122341
122342
122343
122344
122345
122346
122347
122348
122349
122350
122351
122352
122353
122354
122355
122356
122357
122358
122359
122360
122361
122362
122363
122364
122365
122366
122367
122368
122369
122370
122371
122372
122373
122374
122375
122376
122377
122378
122379
122380
122381
122382
122383
122384
122385
122386
122387
122388
122389
122390
122391
122392
122393
122394
122395
122396
122397
122398
122399
122400
122401
122402
122403
122404
122405
122406
122407
122408
122409
122410
122411
122412
122413
122414
122415
122416
122417
122418
122419
122420
122421
122422
122423
122424
122425
122426
122427
122428
122429
122430
122431
122432
122433
122434
122435
122436
122437
122438
122439
122440
122441
122442
122443
122444
122445
122446
122447
122448
122449
122450
122451
122452
122453
122454
122455
122456
122457
122458
122459
122460
122461
122462
122463
122464
122465
122466
122467
122468
122469
122470
122471
122472
122473
122474
122475
122476
122477
122478
122479
122480
122481
122482
122483
122484
122485
122486
122487
122488
122489
122490
122491
122492
122493
122494
122495
122496
122497
122498
122499
122500
122501
122502
122503
122504
122505
122506
122507
122508
122509
122510
122511
122512
122513
122514
122515
122516
122517
122518
122519
122520
122521
122522
122523
122524
122525
122526
122527
122528
122529
122530
122531
122532
122533
122534
122535
122536
122537
122538
122539
122540
122541
122542
122543
122544
122545
122546
122547
122548
122549
122550
122551
122552
122553
122554
122555
122556
122557
122558
122559
122560
122561
122562
122563
122564
122565
122566
122567
122568
122569
122570
122571
122572
122573
122574
122575
122576
122577
122578
122579
122580
122581
122582
122583
122584
122585
122586
122587
122588
122589
122590
122591
122592
122593
122594
122595
122596
122597
122598
122599
122600
122601
122602
122603
122604
122605
122606
122607
122608
122609
122610
122611
122612
122613
122614
122615
122616
122617
122618
122619
122620
122621
122622
122623
122624
122625
122626
122627
122628
122629
122630
122631
122632
122633
122634
122635
122636
122637
122638
122639
122640
122641
122642
122643
122644
122645
122646
122647
122648
122649
122650
122651
122652
122653
122654
122655
122656
122657
122658
122659
122660
122661
122662
122663
122664
122665
122666
122667
122668
122669
122670
122671
122672
122673
122674
122675
122676
122677
122678
122679
122680
122681
122682
122683
122684
122685
122686
122687
122688
122689
122690
122691
122692
122693
122694
122695
122696
122697
122698
122699
122700
122701
122702
122703
122704
122705
122706
122707
122708
122709
122710
122711
122712
122713
122714
122715
122716
122717
122718
122719
122720
122721
122722
122723
122724
122725
122726
122727
122728
122729
122730
122731
122732
122733
122734
122735
122736
122737
122738
122739
122740
122741
122742
122743
122744
122745
122746
122747
122748
122749
122750
122751
122752
122753
122754
122755
122756
122757
122758
122759
122760
122761
122762
122763
122764
122765
122766
122767
122768
122769
122770
122771
122772
122773
122774
122775
122776
122777
122778
122779
122780
122781
122782
122783
122784
122785
122786
122787
122788
122789
122790
122791
122792
122793
122794
122795
122796
122797
122798
122799
122800
122801
122802
122803
122804
122805
122806
122807
122808
122809
122810
122811
122812
122813
122814
122815
122816
122817
122818
122819
122820
122821
122822
122823
122824
122825
122826
122827
122828
122829
122830
122831
122832
122833
122834
122835
122836
122837
122838
122839
122840
122841
122842
122843
122844
122845
122846
122847
122848
122849
122850
122851
122852
122853
122854
122855
122856
122857
122858
122859
122860
122861
122862
122863
122864
122865
122866
122867
122868
122869
122870
122871
122872
122873
122874
122875
122876
122877
122878
122879
122880
122881
122882
122883
122884
122885
122886
122887
122888
122889
122890
122891
122892
122893
122894
122895
122896
122897
122898
122899
122900
122901
122902
122903
122904
122905
122906
122907
122908
122909
122910
122911
122912
122913
122914
122915
122916
122917
122918
122919
122920
122921
122922
122923
122924
122925
122926
122927
122928
122929
122930
122931
122932
122933
122934
122935
122936
122937
122938
122939
122940
122941
122942
122943
122944
122945
122946
122947
122948
122949
122950
122951
122952
122953
122954
122955
122956
122957
122958
122959
122960
122961
122962
122963
122964
122965
122966
122967
122968
122969
122970
122971
122972
122973
122974
122975
122976
122977
122978
122979
122980
122981
122982
122983
122984
122985
122986
122987
122988
122989
122990
122991
122992
122993
122994
122995
122996
122997
122998
122999
123000
123001
123002
123003
123004
123005
123006
123007
123008
123009
123010
123011
123012
123013
123014
123015
123016
123017
123018
123019
123020
123021
123022
123023
123024
123025
123026
123027
123028
123029
123030
123031
123032
123033
123034
123035
123036
123037
123038
123039
123040
123041
123042
123043
123044
123045
123046
123047
123048
123049
123050
123051
123052
123053
123054
123055
123056
123057
123058
123059
123060
123061
123062
123063
123064
123065
123066
123067
123068
123069
123070
123071
123072
123073
123074
123075
123076
123077
123078
123079
123080
123081
123082
123083
123084
123085
123086
123087
123088
123089
123090
123091
123092
123093
123094
123095
123096
123097
123098
123099
123100
123101
123102
123103
123104
123105
123106
123107
123108
123109
123110
123111
123112
123113
123114
123115
123116
123117
123118
123119
123120
123121
123122
123123
123124
123125
123126
123127
123128
123129
123130
123131
123132
123133
123134
123135
123136
123137
123138
123139
123140
123141
123142
123143
123144
123145
123146
123147
123148
123149
123150
123151
123152
123153
123154
123155
123156
123157
123158
123159
123160
123161
123162
123163
123164
123165
123166
123167
123168
123169
123170
123171
123172
123173
123174
123175
123176
123177
123178
123179
123180
123181
123182
123183
123184
123185
123186
123187
123188
123189
123190
123191
123192
123193
123194
123195
123196
123197
123198
123199
123200
123201
123202
123203
123204
123205
123206
123207
123208
123209
123210
123211
123212
123213
123214
123215
123216
123217
123218
123219
123220
123221
123222
123223
123224
123225
123226
123227
123228
123229
123230
123231
123232
123233
123234
123235
123236
123237
123238
123239
123240
123241
123242
123243
123244
123245
123246
123247
123248
123249
123250
123251
123252
123253
123254
123255
123256
123257
123258
123259
123260
123261
123262
123263
123264
123265
123266
123267
123268
123269
123270
123271
123272
123273
123274
123275
123276
123277
123278
123279
123280
123281
123282
123283
123284
123285
123286
123287
123288
123289
123290
123291
123292
123293
123294
123295
123296
123297
123298
123299
123300
123301
123302
123303
123304
123305
123306
123307
123308
123309
123310
123311
123312
123313
123314
123315
123316
123317
123318
123319
123320
123321
123322
123323
123324
123325
123326
123327
123328
123329
123330
123331
123332
123333
123334
123335
123336
123337
123338
123339
123340
123341
123342
123343
123344
123345
123346
123347
123348
123349
123350
123351
123352
123353
123354
123355
123356
123357
123358
123359
123360
123361
123362
123363
123364
123365
123366
123367
123368
123369
123370
123371
123372
123373
123374
123375
123376
123377
123378
123379
123380
123381
123382
123383
123384
123385
123386
123387
123388
123389
123390
123391
123392
123393
123394
123395
123396
123397
123398
123399
123400
123401
123402
123403
123404
123405
123406
123407
123408
123409
123410
123411
123412
123413
123414
123415
123416
123417
123418
123419
123420
123421
123422
123423
123424
123425
123426
123427
123428
123429
123430
123431
123432
123433
123434
123435
123436
123437
123438
123439
123440
123441
123442
123443
123444
123445
123446
123447
123448
123449
123450
123451
123452
123453
123454
123455
123456
123457
123458
123459
123460
123461
123462
123463
123464
123465
123466
123467
123468
123469
123470
123471
123472
123473
123474
123475
123476
123477
123478
123479
123480
123481
123482
123483
123484
123485
123486
123487
123488
123489
123490
123491
123492
123493
123494
123495
123496
123497
123498
123499
123500
123501
123502
123503
123504
123505
123506
123507
123508
123509
123510
123511
123512
123513
123514
123515
123516
123517
123518
123519
123520
123521
123522
123523
123524
123525
123526
123527
123528
123529
123530
123531
123532
123533
123534
123535
123536
123537
123538
123539
123540
123541
123542
123543
123544
123545
123546
123547
123548
123549
123550
123551
123552
123553
123554
123555
123556
123557
123558
123559
123560
123561
123562
123563
123564
123565
123566
123567
123568
123569
123570
123571
123572
123573
123574
123575
123576
123577
123578
123579
123580
123581
123582
123583
123584
123585
123586
123587
123588
123589
123590
123591
123592
123593
123594
123595
123596
123597
123598
123599
123600
123601
123602
123603
123604
123605
123606
123607
123608
123609
123610
123611
123612
123613
123614
123615
123616
123617
123618
123619
123620
123621
123622
123623
123624
123625
123626
123627
123628
123629
123630
123631
123632
123633
123634
123635
123636
123637
123638
123639
123640
123641
123642
123643
123644
123645
123646
123647
123648
123649
123650
123651
123652
123653
123654
123655
123656
123657
123658
123659
123660
123661
123662
123663
123664
123665
123666
123667
123668
123669
123670
123671
123672
123673
123674
123675
123676
123677
123678
123679
123680
123681
123682
123683
123684
123685
123686
123687
123688
123689
123690
123691
123692
123693
123694
123695
123696
123697
123698
123699
123700
123701
123702
123703
123704
123705
123706
123707
123708
123709
123710
123711
123712
123713
123714
123715
123716
123717
123718
123719
123720
123721
123722
123723
123724
123725
123726
123727
123728
123729
123730
123731
123732
123733
123734
123735
123736
123737
123738
123739
123740
123741
123742
123743
123744
123745
123746
123747
123748
123749
123750
123751
123752
123753
123754
123755
123756
123757
123758
123759
123760
123761
123762
123763
123764
123765
123766
123767
123768
123769
123770
123771
123772
123773
123774
123775
123776
123777
123778
123779
123780
123781
123782
123783
123784
123785
123786
123787
123788
123789
123790
123791
123792
123793
123794
123795
123796
123797
123798
123799
123800
123801
123802
123803
123804
123805
123806
123807
123808
123809
123810
123811
123812
123813
123814
123815
123816
123817
123818
123819
123820
123821
123822
123823
123824
123825
123826
123827
123828
123829
123830
123831
123832
123833
123834
123835
123836
123837
123838
123839
123840
123841
123842
123843
123844
123845
123846
123847
123848
123849
123850
123851
123852
123853
123854
123855
123856
123857
123858
123859
123860
123861
123862
123863
123864
123865
123866
123867
123868
123869
123870
123871
123872
123873
123874
123875
123876
123877
123878
123879
123880
123881
123882
123883
123884
123885
123886
123887
123888
123889
123890
123891
123892
123893
123894
123895
123896
123897
123898
123899
123900
123901
123902
123903
123904
123905
123906
123907
123908
123909
123910
123911
123912
123913
123914
123915
123916
123917
123918
123919
123920
123921
123922
123923
123924
123925
123926
123927
123928
123929
123930
123931
123932
123933
123934
123935
123936
123937
123938
123939
123940
123941
123942
123943
123944
123945
123946
123947
123948
123949
123950
123951
123952
123953
123954
123955
123956
123957
123958
123959
123960
123961
123962
123963
123964
123965
123966
123967
123968
123969
123970
123971
123972
123973
123974
123975
123976
123977
123978
123979
123980
123981
123982
123983
123984
123985
123986
123987
123988
123989
123990
123991
123992
123993
123994
123995
123996
123997
123998
123999
124000
124001
124002
124003
124004
124005
124006
124007
124008
124009
124010
124011
124012
124013
124014
124015
124016
124017
124018
124019
124020
124021
124022
124023
124024
124025
124026
124027
124028
124029
124030
124031
124032
124033
124034
124035
124036
124037
124038
124039
124040
124041
124042
124043
124044
124045
124046
124047
124048
124049
124050
124051
124052
124053
124054
124055
124056
124057
124058
124059
124060
124061
124062
124063
124064
124065
124066
124067
124068
124069
124070
124071
124072
124073
124074
124075
124076
124077
124078
124079
124080
124081
124082
124083
124084
124085
124086
124087
124088
124089
124090
124091
124092
124093
124094
124095
124096
124097
124098
124099
124100
124101
124102
124103
124104
124105
124106
124107
124108
124109
124110
124111
124112
124113
124114
124115
124116
124117
124118
124119
124120
124121
124122
124123
124124
124125
124126
124127
124128
124129
124130
124131
124132
124133
124134
124135
124136
124137
124138
124139
124140
124141
124142
124143
124144
124145
124146
124147
124148
124149
124150
124151
124152
124153
124154
124155
124156
124157
124158
124159
124160
124161
124162
124163
124164
124165
124166
124167
124168
124169
124170
124171
124172
124173
124174
124175
124176
124177
124178
124179
124180
124181
124182
124183
124184
124185
124186
124187
124188
124189
124190
124191
124192
124193
124194
124195
124196
124197
124198
124199
124200
124201
124202
124203
124204
124205
124206
124207
124208
124209
124210
124211
124212
124213
124214
124215
124216
124217
124218
124219
124220
124221
124222
124223
124224
124225
124226
124227
124228
124229
124230
124231
124232
124233
124234
124235
124236
124237
124238
124239
124240
124241
124242
124243
124244
124245
124246
124247
124248
124249
124250
124251
124252
124253
124254
124255
124256
124257
124258
124259
124260
124261
124262
124263
124264
124265
124266
124267
124268
124269
124270
124271
124272
124273
124274
124275
124276
124277
124278
124279
124280
124281
124282
124283
124284
124285
124286
124287
124288
124289
124290
124291
124292
124293
124294
124295
124296
124297
124298
124299
124300
124301
124302
124303
124304
124305
124306
124307
124308
124309
124310
124311
124312
124313
124314
124315
124316
124317
124318
124319
124320
124321
124322
124323
124324
124325
124326
124327
124328
124329
124330
124331
124332
124333
124334
124335
124336
124337
124338
124339
124340
124341
124342
124343
124344
124345
124346
124347
124348
124349
124350
124351
124352
124353
124354
124355
124356
124357
124358
124359
124360
124361
124362
124363
124364
124365
124366
124367
124368
124369
124370
124371
124372
124373
124374
124375
124376
124377
124378
124379
124380
124381
124382
124383
124384
124385
124386
124387
124388
124389
124390
124391
124392
124393
124394
124395
124396
124397
124398
124399
124400
124401
124402
124403
124404
124405
124406
124407
124408
124409
124410
124411
124412
124413
124414
124415
124416
124417
124418
124419
124420
124421
124422
124423
124424
124425
124426
124427
124428
124429
124430
124431
124432
124433
124434
124435
124436
124437
124438
124439
124440
124441
124442
124443
124444
124445
124446
124447
124448
124449
124450
124451
124452
124453
124454
124455
124456
124457
124458
124459
124460
124461
124462
124463
124464
124465
124466
124467
124468
124469
124470
124471
124472
124473
124474
124475
124476
124477
124478
124479
124480
124481
124482
124483
124484
124485
124486
124487
124488
124489
124490
124491
124492
124493
124494
124495
124496
124497
124498
124499
124500
124501
124502
124503
124504
124505
124506
124507
124508
124509
124510
124511
124512
124513
124514
124515
124516
124517
124518
124519
124520
124521
124522
124523
124524
124525
124526
124527
124528
124529
124530
124531
124532
124533
124534
124535
124536
124537
124538
124539
124540
124541
124542
124543
124544
124545
124546
124547
124548
124549
124550
124551
124552
124553
124554
124555
124556
124557
124558
124559
124560
124561
124562
124563
124564
124565
124566
124567
124568
124569
124570
124571
124572
124573
124574
124575
124576
124577
124578
124579
124580
124581
124582
124583
124584
124585
124586
124587
124588
124589
124590
124591
124592
124593
124594
124595
124596
124597
124598
124599
124600
124601
124602
124603
124604
124605
124606
124607
124608
124609
124610
124611
124612
124613
124614
124615
124616
124617
124618
124619
124620
124621
124622
124623
124624
124625
124626
124627
124628
124629
124630
124631
124632
124633
124634
124635
124636
124637
124638
124639
124640
124641
124642
124643
124644
124645
124646
124647
124648
124649
124650
124651
124652
124653
124654
124655
124656
124657
124658
124659
124660
124661
124662
124663
124664
124665
124666
124667
124668
124669
124670
124671
124672
124673
124674
124675
124676
124677
124678
124679
124680
124681
124682
124683
124684
124685
124686
124687
124688
124689
124690
124691
124692
124693
124694
124695
124696
124697
124698
124699
124700
124701
124702
124703
124704
124705
124706
124707
124708
124709
124710
124711
124712
124713
124714
124715
124716
124717
124718
124719
124720
124721
124722
124723
124724
124725
124726
124727
124728
124729
124730
124731
124732
124733
124734
124735
124736
124737
124738
124739
124740
124741
124742
124743
124744
124745
124746
124747
124748
124749
124750
124751
124752
124753
124754
124755
124756
124757
124758
124759
124760
124761
124762
124763
124764
124765
124766
124767
124768
124769
124770
124771
124772
124773
124774
124775
124776
124777
124778
124779
124780
124781
124782
124783
124784
124785
124786
124787
124788
124789
124790
124791
124792
124793
124794
124795
124796
124797
124798
124799
124800
124801
124802
124803
124804
124805
124806
124807
124808
124809
124810
124811
124812
124813
124814
124815
124816
124817
124818
124819
124820
124821
124822
124823
124824
124825
124826
124827
124828
124829
124830
124831
124832
124833
124834
124835
124836
124837
124838
124839
124840
124841
124842
124843
124844
124845
124846
124847
124848
124849
124850
124851
124852
124853
124854
124855
124856
124857
124858
124859
124860
124861
124862
124863
124864
124865
124866
124867
124868
124869
124870
124871
124872
124873
124874
124875
124876
124877
124878
124879
124880
124881
124882
124883
124884
124885
124886
124887
124888
124889
124890
124891
124892
124893
124894
124895
124896
124897
124898
124899
124900
124901
124902
124903
124904
124905
124906
124907
124908
124909
124910
124911
124912
124913
124914
124915
124916
124917
124918
124919
124920
124921
124922
124923
124924
124925
124926
124927
124928
124929
124930
124931
124932
124933
124934
124935
124936
124937
124938
124939
124940
124941
124942
124943
124944
124945
124946
124947
124948
124949
124950
124951
124952
124953
124954
124955
124956
124957
124958
124959
124960
124961
124962
124963
124964
124965
124966
124967
124968
124969
124970
124971
124972
124973
124974
124975
124976
124977
124978
124979
124980
124981
124982
124983
124984
124985
124986
124987
124988
124989
124990
124991
124992
124993
124994
124995
124996
124997
124998
124999
125000
125001
125002
125003
125004
125005
125006
125007
125008
125009
125010
125011
125012
125013
125014
125015
125016
125017
125018
125019
125020
125021
125022
125023
125024
125025
125026
125027
125028
125029
125030
125031
125032
125033
125034
125035
125036
125037
125038
125039
125040
125041
125042
125043
125044
125045
125046
125047
125048
125049
125050
125051
125052
125053
125054
125055
125056
125057
125058
125059
125060
125061
125062
125063
125064
125065
125066
125067
125068
125069
125070
125071
125072
125073
125074
125075
125076
125077
125078
125079
125080
125081
125082
125083
125084
125085
125086
125087
125088
125089
125090
125091
125092
125093
125094
125095
125096
125097
125098
125099
125100
125101
125102
125103
125104
125105
125106
125107
125108
125109
125110
125111
125112
125113
125114
125115
125116
125117
125118
125119
125120
125121
125122
125123
125124
125125
125126
125127
125128
125129
125130
125131
125132
125133
125134
125135
125136
125137
125138
125139
125140
125141
125142
125143
125144
125145
125146
125147
125148
125149
125150
125151
125152
125153
125154
125155
125156
125157
125158
125159
125160
125161
125162
125163
125164
125165
125166
125167
125168
125169
125170
125171
125172
125173
125174
125175
125176
125177
125178
125179
125180
125181
125182
125183
125184
125185
125186
125187
125188
125189
125190
125191
125192
125193
125194
125195
125196
125197
125198
125199
125200
125201
125202
125203
125204
125205
125206
125207
125208
125209
125210
125211
125212
125213
125214
125215
125216
125217
125218
125219
125220
125221
125222
125223
125224
125225
125226
125227
125228
125229
125230
125231
125232
125233
125234
125235
125236
125237
125238
125239
125240
125241
125242
125243
125244
125245
125246
125247
125248
125249
125250
125251
125252
125253
125254
125255
125256
125257
125258
125259
125260
125261
125262
125263
125264
125265
125266
125267
125268
125269
125270
125271
125272
125273
125274
125275
125276
125277
125278
125279
125280
125281
125282
125283
125284
125285
125286
125287
125288
125289
125290
125291
125292
125293
125294
125295
125296
125297
125298
125299
125300
125301
125302
125303
125304
125305
125306
125307
125308
125309
125310
125311
125312
125313
125314
125315
125316
125317
125318
125319
125320
125321
125322
125323
125324
125325
125326
125327
125328
125329
125330
125331
125332
125333
125334
125335
125336
125337
125338
125339
125340
125341
125342
125343
125344
125345
125346
125347
125348
125349
125350
125351
125352
125353
125354
125355
125356
125357
125358
125359
125360
125361
125362
125363
125364
125365
125366
125367
125368
125369
125370
125371
125372
125373
125374
125375
125376
125377
125378
125379
125380
125381
125382
125383
125384
125385
125386
125387
125388
125389
125390
125391
125392
125393
125394
125395
125396
125397
125398
125399
125400
125401
125402
125403
125404
125405
125406
125407
125408
125409
125410
125411
125412
125413
125414
125415
125416
125417
125418
125419
125420
125421
125422
125423
125424
125425
125426
125427
125428
125429
125430
125431
125432
125433
125434
125435
125436
125437
125438
125439
125440
125441
125442
125443
125444
125445
125446
125447
125448
125449
125450
125451
125452
125453
125454
125455
125456
125457
125458
125459
125460
125461
125462
125463
125464
125465
125466
125467
125468
125469
125470
125471
125472
125473
125474
125475
125476
125477
125478
125479
125480
125481
125482
125483
125484
125485
125486
125487
125488
125489
125490
125491
125492
125493
125494
125495
125496
125497
125498
125499
125500
125501
125502
125503
125504
125505
125506
125507
125508
125509
125510
125511
125512
125513
125514
125515
125516
125517
125518
125519
125520
125521
125522
125523
125524
125525
125526
125527
125528
125529
125530
125531
125532
125533
125534
125535
125536
125537
125538
125539
125540
125541
125542
125543
125544
125545
125546
125547
125548
125549
125550
125551
125552
125553
125554
125555
125556
125557
125558
125559
125560
125561
125562
125563
125564
125565
125566
125567
125568
125569
125570
125571
125572
125573
125574
125575
125576
125577
125578
125579
125580
125581
125582
125583
125584
125585
125586
125587
125588
125589
125590
125591
125592
125593
125594
125595
125596
125597
125598
125599
125600
125601
125602
125603
125604
125605
125606
125607
125608
125609
125610
125611
125612
125613
125614
125615
125616
125617
125618
125619
125620
125621
125622
125623
125624
125625
125626
125627
125628
125629
125630
125631
125632
125633
125634
125635
125636
125637
125638
125639
125640
125641
125642
125643
125644
125645
125646
125647
125648
125649
125650
125651
125652
125653
125654
125655
125656
125657
125658
125659
125660
125661
125662
125663
125664
125665
125666
125667
125668
125669
125670
125671
125672
125673
125674
125675
125676
125677
125678
125679
125680
125681
125682
125683
125684
125685
125686
125687
125688
125689
125690
125691
125692
125693
125694
125695
125696
125697
125698
125699
125700
125701
125702
125703
125704
125705
125706
125707
125708
125709
125710
125711
125712
125713
125714
125715
125716
125717
125718
125719
125720
125721
125722
125723
125724
125725
125726
125727
125728
125729
125730
125731
125732
125733
125734
125735
125736
125737
125738
125739
125740
125741
125742
125743
125744
125745
125746
125747
125748
125749
125750
125751
125752
125753
125754
125755
125756
125757
125758
125759
125760
125761
125762
125763
125764
125765
125766
125767
125768
125769
125770
125771
125772
125773
125774
125775
125776
125777
125778
125779
125780
125781
125782
125783
125784
125785
125786
125787
125788
125789
125790
125791
125792
125793
125794
125795
125796
125797
125798
125799
125800
125801
125802
125803
125804
125805
125806
125807
125808
125809
125810
125811
125812
125813
125814
125815
125816
125817
125818
125819
125820
125821
125822
125823
125824
125825
125826
125827
125828
125829
125830
125831
125832
125833
125834
125835
125836
125837
125838
125839
125840
125841
125842
125843
125844
125845
125846
125847
125848
125849
125850
125851
125852
125853
125854
125855
125856
125857
125858
125859
125860
125861
125862
125863
125864
125865
125866
125867
125868
125869
125870
125871
125872
125873
125874
125875
125876
125877
125878
125879
125880
125881
125882
125883
125884
125885
125886
125887
125888
125889
125890
125891
125892
125893
125894
125895
125896
125897
125898
125899
125900
125901
125902
125903
125904
125905
125906
125907
125908
125909
125910
125911
125912
125913
125914
125915
125916
125917
125918
125919
125920
125921
125922
125923
125924
125925
125926
125927
125928
125929
125930
125931
125932
125933
125934
125935
125936
125937
125938
125939
125940
125941
125942
125943
125944
125945
125946
125947
125948
125949
125950
125951
125952
125953
125954
125955
125956
125957
125958
125959
125960
125961
125962
125963
125964
125965
125966
125967
125968
125969
125970
125971
125972
125973
125974
125975
125976
125977
125978
125979
125980
125981
125982
125983
125984
125985
125986
125987
125988
125989
125990
125991
125992
125993
125994
125995
125996
125997
125998
125999
126000
126001
126002
126003
126004
126005
126006
126007
126008
126009
126010
126011
126012
126013
126014
126015
126016
126017
126018
126019
126020
126021
126022
126023
126024
126025
126026
126027
126028
126029
126030
126031
126032
126033
126034
126035
126036
126037
126038
126039
126040
126041
126042
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2022 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2016-2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2020-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2018, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
;;; Copyright © 2022 Simon South <simon@simonsouth.net>
;;; Copyright © 2022 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2022 Fabio Natali <me@fabionatali.com>
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2023 Thomas Albers Raviola <thomas@thomaslabs.org>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Timothy Sample <samplet@ngyro.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages tex)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix gexp)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system copy)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system perl)
  #:use-module (guix build-system pyproject)
  #:use-module (guix build-system python)
  #:use-module (guix build-system qt)
  #:use-module (guix build-system trivial)
  #:use-module (guix build-system texlive)
  #:use-module (guix utils)
  #:use-module (guix deprecation)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix svn-download)
  #:use-module (gnu packages)
  #:use-module (gnu packages algebra)
  #:use-module (gnu packages aspell)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages boost)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages cpp)
  #:use-module (gnu packages digest)
  #:use-module (gnu packages lisp)
  #:use-module (gnu packages fonts)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages gd)
  #:use-module (gnu packages ghostscript)
  #:use-module (gnu packages graphviz)
  #:use-module (gnu packages groff)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages icu4c)
  #:use-module (gnu packages image)
  #:use-module (gnu packages java)
  #:use-module (gnu packages libreoffice)
  #:use-module (gnu packages lua)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages multiprecision)
  #:use-module (gnu packages pdf)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages perl-check)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages plotutils)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages readline)
  #:use-module (gnu packages ruby)
  #:use-module (gnu packages shells)
  #:use-module (gnu packages tcl)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages base)
  #:use-module (gnu packages gawk)
  #:use-module (gnu packages web)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages xdisorg)
  #:use-module (gnu packages texinfo)
  #:use-module (ice-9 ftw)
  #:use-module (ice-9 match)
  #:use-module ((srfi srfi-1) #:hide (zip)))

;;; Commentary:
;;;
;;; Guix provides two different TeX Live systems: one monolithic, the TEXLIVE
;;; package, and the other modular.  This module is about the latter.  It aims
;;; at being as faithful as possible to TeX Live distribution.  Yet, some of
;;; the packages defined here are Guix specific.  The following paragraphs
;;; describe them.
;;;
;;; Source for all TeX Live binaries is located in TEXLIVE-SOURCE, which is
;;; therefore the starting point of any TeX Live update.  This is first used
;;; to build TEXLIVE-LIBKPATHSEA and TEXLIVE-LIBPTEXENC.
;;;
;;; Both TEXLIVE-SOURCE and TEXLIVE-LIBKPATHSEA---which takes care of creating
;;; a search path for GUIX_TEXMF environment variable---are used to compile
;;; TEXLIVE-BIN.  In turn, TEXLIVE-BIN propagates TEXLIVE-SCRIPTS, which
;;; contains core scripts and related files, including "texlive.tldb"
;;; database.  TEXLIVE-BIN is a mandatory native input in the `texlive' build
;;; system.
;;;
;;; Then, the system builds its way towards regular TEXLIVE-LATEX-BIN package,
;;; which is a convenient native input---that can be ignored using
;;; `texlive-latex-bin?' keyword argument---for most TeX Live packages.  For
;;; obvious reasons, packages used to build TEXLIVE-LATEX-BIN must be set it
;;; to `#f'.
;;;
;;; The TEXLIVE-BIN package provides a few Web2C tools, Metafont and some TeX
;;; engines---i.e, TeX, pdfLaTeX, LuaTeX and LuaHBTeX.  The rest of the
;;; binaries are built in separate packages, from TEXLIVE-SOURCE, and possibly
;;; with the help of TEXLIVE-LIBKPATHSEA and TEXLIVE-LIBPTEXENC.  Those
;;; packages inherit their phases from TEXLIVE-BIN.  As a convention, the
;;; package named "texlive-NAME-bin" provides binaries for "texlive-NAME",
;;; TEXLIVE-LATEX-BIN being the obvious exception to this scheme.
;;;
;;; Unlike font map files, TeX formats are not built from a profile hook, as
;;; the process would be too time-consuming, e.g., when invoking "guix shell".
;;; Instead, those are generated when the corresponding package is built.  It
;;; is therefore not possible for the build system to take into consideration
;;; hyphenation rules installed after a given format has been built.  To work
;;; around this, all hyphenations rules are packed into
;;; TEXLIVE-HYPHEN-COMPLETE, and all formats, being built with it, include all
;;; rules right from the start.
;;;
;;; Any other "texlive-NAME" package matches "NAME" TeX Live package, as
;;; defined in the "texlive.tlpdb" database.
;;;
;;; The following piece of art illustrates the bootstrap process of the
;;; modular Guix TeX Live distribution.  All "texlive-" prefixes have been
;;; dropped for brevity.
;;;
;;;
;;;           ,-- libptexenc-----------------------.
;;;           |                                    |
;;;           |                                    |
;;;  source --|                    ,-- all "*-bin" minus latex-bin
;;;    |      |                    |   ___________________________
;;;    |      |                    |               |
;;;    |      `-- libkpathsea --.  |               |
;;;    |                        |--|    (inherit phases from bin)
;;;    `------------------------’  |
;;;                                |
;;;                                |
;;;                                `-- bin -- hyphen-complete, etc. -- latex-bin
;;;                                     |     _____________________
;;;  scripts --------(propagated)-------’               |
;;;                                                     |
;;;                                          (#:texlive-latex-bin? #f)
;;;
;;;
;;; Default font map files are updated in a profile hook (see
;;; `texlive-font-maps' in "profiles.scm").  However, this option is not
;;; available when building documentation for a package.  Consequently, this
;;; module also provides TEXLIVE-UPDMAP.CFG function, which creates a TeX Live
;;; tree with font map files updates.  It should be used exclusively for
;;; package definitions, as a native input.  It is possible to augment that
;;; tree, in particular with additional font packages.
;;;
;;;
;;; Notes about updating TeX Live distribution:
;;; -------------------------------------------
;;;
;;; Thanks to the `texlive' updater, the more tedious part of that task, i.e.,
;;; refreshing version strings, hashes, possibly locations and inputs, is
;;; automated.  Yet, the following additional steps are required; they can
;;; keep one busy for a while:
;;;
;;; 1. First and foremost, run the updater:
;;;
;;;      ./pre-inst-env guix refresh -t texlive -u
;;;
;;;    This takes care of updating all binaries and all TeX Live packages,
;;;    barring "collections" and "schemes", in a single run.
;;;
;;; 2. Then delete packages absent from the new TeX Live version.  Those are
;;;    usually indicated by a failed update, or, more obviously, by their
;;;    outdated version in the module.
;;;
;;;    Since "collections" and "schemes" are not updated automatically, all
;;;    references to deleted packages must also be cleared from their
;;;    propagated inputs.
;;;
;;; 3. Conversely, import newly integrated packages with, e.g.,
;;;
;;;       ./pre-inst-env guix import texlive -r scheme-full
;;;
;;;    Those must be added to their respective "collections", too.
;;;
;;; 4. Handle inputs issues.  No updater is allowed to create an input field
;;;    in a package if it didn't exist beforehand.  `texlive' updater is no
;;;    exception; it cannot update, e.g., propagated inputs if the relative
;;;    package don't propagate inputs already.  Double check updater's output,
;;;    such issues are mentioned, and resolve them manually.
;;;
;;;    Likewise, look for (list) artefacts the updater may have scattered
;;;    throughout this module.  They usually appear when all elements have
;;;    been removed from an input field.  In this situation, for aesthetics,
;;;    the whole field can be suppressed.
;;;
;;; 5. Last, but not least, test and fix the new packages, progressively.  For
;;;    example, it is possible to consider the following packages as
;;;    milestones:
;;;
;;;      libkpathsea > bin > latex-bin > scheme-basic > scheme-small
;;;
;;;    Also, for good measure, it is advisable to check some common
;;;    "collections" such as "pictures" and (gulp!) "latexextra".
;;;
;;;    At this point, if all is fine, send the update to the ML and let the CI
;;;    sort the rest out.
;;;
;;;    Don't forget to pat yourself on the back!
;;;
;;;
;;; Code:

(define-syntax-rule (define-deprecated-package old-name name)
  "Define OLD-NAME as a deprecated package alias for NAME."
  (define-deprecated/public old-name name
    (deprecated-package (symbol->string 'old-name) name)))

(define-public texlive-source
  (package
    (name "texlive-source")
    (version "2024.2")
    (source
     (origin
       ;; This could be written as a SVN reference, but with a multi-reference
       ;; the package can benefit from the `texlive' updater.
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (string-append %texlive-repository
                                 "tags/texlive-" version "/Build/source"))
             (revision 70951)
             (locations (list "./"))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1qrbdghbi0r43l4yparr3wld98pgb3fmbdwx7yb1hv8cx6wlwl9l"))))
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Source code for all TeX Live programs")
    (description
     "This package fetches the source for all TeX Live programs provided by
the TeX Live repository.  It is meant to be used as a source-only package; it
should not be installed in a profile.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-libkpathsea
  (package
    (name "texlive-libkpathsea")
    (version (package-version texlive-source))
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("kpathsea"))))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:out-of-source? #t
      #:configure-flags
      #~(list "--disable-static"
              "--disable-native-texlive-build"
              "--enable-shared"
              "--with-banner-add=/GNU Guix"
              "--disable-all-pkgs"
              "--enable-kpathsea")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'customize-texmf.cnf
            ;; The default "texmf.cnf" file is provided by this package.
            ;; Every variable of interest is set relatively to the GUIX_TEXMF
            ;; environment variable defined via a search path below.
            ;;
            ;; This phase must happen before the `configure' phase, because
            ;; the value of the TEXMFCNF variable is used at compile time to
            ;; generate "paths.h" file.
            (lambda _
              (substitute* "texk/kpathsea/texmf.cnf"
                (("^TEXMFROOT = .*") "TEXMFROOT = {$GUIX_TEXMF}/..\n")
                (("^TEXMFDIST = .*") "TEXMFDIST = {$GUIX_TEXMF}\n")
                ;; "ls-R" files are to be expected only in the TEXMFDIST
                ;; directories.  However, those are not always present, e.g.,
                ;; when building a package with `texlive-build-system' or when
                ;; generating a profile.  Since both situations need to be
                ;; handled, drop the "!!" prefixes.
                (("^TEXMF = .*")
                 "TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,$TEXMFSYSVAR,$TEXMFDIST}\n")
                (("^TEXMFDBS = .*") "TEXMFDBS = {$TEXMFDIST}\n")
                ;; Ignore system-wide cache, which is not writable.  Use local
                ;; one instead, i.e. "$HOME/.texliveYYYY/texmf-var/".
                (("^TEXMFCACHE = .*") "TEXMFCACHE = $TEXMFVAR\n")
                ;; Set TEXMFCNF.  Since earlier values of variables have
                ;; precedence over later ones, insert the desired value first.
                (("^TEXMFCNF =")
                 (string-append
                  "TEXMFCNF = " #$output "/share/texmf-dist/web2c\n"
                  "TEXMFCNF ="))
                ;; Help TeX finding fonts installed on the system.
                (("^OSFONTDIR = .*") "OSFONTDIR = {$XDG_DATA_DIRS}\n")
                ;; Don't truncate lines.
                (("^error_line = .*$") "error_line = 254\n")
                (("^half_error_line = .*$") "half_error_line = 238\n")
                (("^max_print_line = .*$") "max_print_line = 1000\n"))))
          (add-after 'unpack 'patch-directory-traversal
            ;; When ST_NLINK_TRICK is set, kpathsea attempts to avoid work
            ;; when searching files by assuming that a directory with exactly
            ;; two links has no sub-directories.  This assumption does not
            ;; hold in our case, so some directories with symlinked
            ;; sub-directories would not be traversed.
            (lambda _
              (substitute* "texk/kpathsea/config.h"
                (("#define ST_NLINK_TRICK") ""))))
          (replace 'install
            (lambda _
              (with-directory-excursion "texk/kpathsea"
                (invoke "make" "install"))))
          (add-after 'install 'remove-documentation
            ;; Documentation is provided by TEXLIVE-KPATHSEA, in a dedicated
            ;; "doc" output.  Remove duplicates.
            (lambda _
              (with-directory-excursion #$output
                (for-each delete-file-recursively
                          '("share/info" "share/man"))))))))
    (native-search-paths
     (list (search-path-specification
            (variable "GUIX_TEXMF")
            (files '("share/texmf-dist")))))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Path searching library")
    (description
     "Kpathsea is a library whose purpose is to return a filename from a list
of user-specified directories similar to how shells look up executables.")
    (license license:lgpl2.1)))

(define-public texlive-libptexenc
  (package
    (name "texlive-libptexenc")
    (version (package-version texlive-source))
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs with-files?)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append '("." "..") dirs)))
                              (or with-files?
                                  (eq? 'directory (stat:type (stat file))))))))))))
            (delete-other-directories "libs" '() #f)
            (delete-other-directories "utils" '() #f)
            ;; Tests require "texmf.cnf" to be present in the tree.  Also test
            ;; data is spread across multiple directories, which need to be
            ;; preserved.
            (delete-other-directories "texk"
                                      '("bibtex-x" "ptexenc" "kpathsea" "tests"
                                        "web2c")
                                      #f)
            (delete-other-directories "texk/web2c" '("tests") #t)
            (delete-other-directories "texk/bibtex-x" '("tests") #t)
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:out-of-source? #t
      #:configure-flags
      #~(list "--disable-static"
              "--disable-native-texlive-build"
              "--enable-shared"
              "--with-banner-add=/GNU Guix"
              "--disable-all-pkgs")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'install-missing-files
            ;; These two files are not installed (on purpose, see ChangeLog),
            ;; but are required nonetheless if this library is meant to be
            ;; used externally.
            (lambda _
              (with-directory-excursion "texk/ptexenc/ptexenc"
                (let ((inc (string-append #$output "/include/ptexenc")))
                  (for-each (lambda (f) (install-file f inc))
                            '("kanjicnv.h" "unicode-jp.h"))))))
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (with-directory-excursion "texk/ptexenc"
                  (invoke "make" "check")))))
          (replace 'install
            (lambda* (#:key inputs #:allow-other-keys)
              (with-directory-excursion "texk/ptexenc"
                (invoke "make" "install")))))))
    (native-inputs (list pkg-config texlive-libkpathsea))
    (inputs (list libiconv))
    (home-page "http://tutimura.ath.cx/ptexlive/?ptexenc%2FDetails")
    (synopsis "Library for Japanese pTeX")
    (description
     "This package provides a library for Japanese pTeX and its surrounding tools.")
    (license license:gpl2)))

(define-public texlive-scripts
  (package
    (name "texlive-scripts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (string-append %texlive-repository
                                        "tags/texlive-" version "/Master/"))
                    (revision 70951)
                    (locations
                     (list "texmf-dist/doc/man/man1/fmtutil-sys.1"
                           "texmf-dist/doc/man/man1/fmtutil-sys.man1.pdf"
                           "texmf-dist/doc/man/man1/fmtutil-user.1"
                           "texmf-dist/doc/man/man1/fmtutil-user.man1.pdf"
                           "texmf-dist/doc/man/man1/fmtutil.1"
                           "texmf-dist/doc/man/man1/fmtutil.man1.pdf"
                           "texmf-dist/doc/man/man1/install-tl.1"
                           "texmf-dist/doc/man/man1/install-tl.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexfmt.1"
                           "texmf-dist/doc/man/man1/mktexfmt.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexlsr.1"
                           "texmf-dist/doc/man/man1/mktexlsr.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexmf.1"
                           "texmf-dist/doc/man/man1/mktexmf.man1.pdf"
                           "texmf-dist/doc/man/man1/mktexpk.1"
                           "texmf-dist/doc/man/man1/mktexpk.man1.pdf"
                           "texmf-dist/doc/man/man1/mktextfm.1"
                           "texmf-dist/doc/man/man1/mktextfm.man1.pdf"
                           "texmf-dist/doc/man/man1/texhash.1"
                           "texmf-dist/doc/man/man1/texhash.man1.pdf"
                           "texmf-dist/doc/man/man1/tlmgr.1"
                           "texmf-dist/doc/man/man1/tlmgr.man1.pdf"
                           "texmf-dist/doc/man/man1/updmap-sys.1"
                           "texmf-dist/doc/man/man1/updmap-sys.man1.pdf"
                           "texmf-dist/doc/man/man1/updmap-user.1"
                           "texmf-dist/doc/man/man1/updmap-user.man1.pdf"
                           "texmf-dist/doc/man/man1/updmap.1"
                           "texmf-dist/doc/man/man1/updmap.man1.pdf"
                           "texmf-dist/doc/man/man5/fmtutil.cnf.5"
                           "texmf-dist/doc/man/man5/fmtutil.cnf.man5.pdf"
                           "texmf-dist/doc/man/man5/updmap.cfg.5"
                           "texmf-dist/doc/man/man5/updmap.cfg.man5.pdf"
                           "texmf-dist/dvips/tetex/"
                           "texmf-dist/fonts/enc/dvips/tetex/"
                           "texmf-dist/fonts/map/dvips/tetex/"
                           "texmf-dist/scripts/texlive/fmtutil-sys.sh"
                           "texmf-dist/scripts/texlive/fmtutil-user.sh"
                           "texmf-dist/scripts/texlive/fmtutil.pl"
                           "texmf-dist/scripts/texlive/mktexlsr.pl"
                           "texmf-dist/scripts/texlive/mktexmf"
                           "texmf-dist/scripts/texlive/mktexpk"
                           "texmf-dist/scripts/texlive/mktextfm"
                           "texmf-dist/scripts/texlive/tlmgr.pl"
                           "texmf-dist/scripts/texlive/updmap-sys.sh"
                           "texmf-dist/scripts/texlive/updmap-user.sh"
                           "texmf-dist/scripts/texlive/updmap.pl"
                           "texmf-dist/web2c/fmtutil-hdr.cnf"
                           "texmf-dist/web2c/updmap-hdr.cfg"
                           "texmf-dist/web2c/updmap.cfg"
                           "tlpkg/TeXLive/"
                           "tlpkg/gpg/"
                           "tlpkg/installer/config.guess"
                           "tlpkg/installer/curl/curl-ca-bundle.crt"
                           "tlpkg/texlive.tlpdb"))))
              (file-name (git-file-name name version))
              (sha256
               "0ld5nsns6ms639pig2l5989997n1hg0afs1wh8z9yi7mdhn2ak0p")))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system copy-build-system)
    (arguments
     (list
      #:imported-modules `(,@%copy-build-system-modules
                           (guix build texlive-build-system)
                           (guix build union))
      #:modules '((guix build copy-build-system)
                  ((guix build texlive-build-system) #:prefix tex:)
                  (guix build utils))
      #:install-plan
      #~'(("texmf-dist/dvips/"   "share/texmf-dist/dvips")
          ("texmf-dist/fonts/"   "share/texmf-dist/fonts")
          ("texmf-dist/scripts/" "share/texmf-dist/scripts")
          ("texmf-dist/web2c/"   "share/texmf-dist/web2c")
          ("tlpkg/"              "share/tlpkg"))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-scripts
            (lambda _
              ;; First patch shell scripts with ".sh" extension.
              (with-directory-excursion "texmf-dist"
                ((assoc-ref tex:%standard-phases 'patch-shell-scripts)))
              ;; Then patch scripts without such extension.
              (let ((dirs (map (compose dirname which)
                               (list "awk" "cat" "grep" "sed"))))
                (substitute*
                    (find-files "texmf-dist/scripts/" "^mktex(mf|pk|tfm)$")
                  (("^version=" m)
                   (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
                           dirs m))))
              ;; Make sure that fmtutil can find its Perl modules.
              (substitute* "texmf-dist/scripts/texlive/fmtutil.pl"
                (("\\$TEXMFROOT/")
                 (string-append #$output "/share/")))
              ;; Likewise for updmap.pl.
              (substitute* "texmf-dist/scripts/texlive/updmap.pl"
                (("\\$TEXMFROOT/tlpkg")
                 (string-append #$output "/share/tlpkg")))
              ;; Likewise for the tlmgr.
              (substitute* "texmf-dist/scripts/texlive/tlmgr.pl"
                ((".*\\$::installerdir = \\$Master.*" all)
                 (format #f "  $Master = ~s;~%~a"
                         (string-append #$output "/share")
                         all)))))
          (add-after 'unpack 'fix-fmtutil
            ;; The line below generates an error when running "fmtutil".
            (lambda _
              (substitute* "texmf-dist/scripts/texlive/fmtutil.pl"
                (("require TeXLive::TLWinGoo if .*") ""))))
          (add-after 'install 'install-doc
            (lambda _
              (let ((doc (string-append #$output:doc "/share/texmf-dist/doc")))
                (mkdir-p doc)
                (copy-recursively "texmf-dist/doc/" doc))))
          (add-after 'install-doc 'link-scripts
            (lambda* (#:key outputs #:allow-other-keys)
              (with-directory-excursion "texmf-dist"
                (apply (assoc-ref tex:%standard-phases 'link-scripts)
                       (list #:outputs outputs
                             #:link-scripts
                             (find-files "scripts"))))
              (with-directory-excursion (string-append #$output "/bin")
                (symlink "fmtutil" "mktexfmt")))))))
    (inputs (list perl))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "TeX Live infrastructure programs")
    (description
     "This package provides core TeX Live scripts such as @code{updmap},
@code{fmtutil}, and @code{tlmgr}.  It is automatically installed alongside
@code{texlive-bin}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-hyphen-complete
  (package
    (name "texlive-hyphen-complete")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dehyph-exptl/"
                                     "doc/generic/elhyphen/"
                                     "doc/generic/huhyphen/"
                                     "doc/generic/hyph-utf8/"
                                     "doc/generic/ukrhyph/"
                                     "doc/luatex/hyph-utf8/"
                                     "source/generic/hyph-utf8/"
                                     "source/generic/ruhyphen/"
                                     "source/luatex/hyph-utf8/"
                                     "tex/generic/config/"
                                     "tex/generic/dehyph-exptl/"
                                     "tex/generic/dehyph/"
                                     "tex/generic/hyph-utf8/"
                                     "tex/generic/hyphen/"
                                     "tex/generic/ruhyphen/"
                                     "tex/generic/ukrhyph/"
                                     "tex/luatex/hyph-utf8/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18i12gzlss0myj3c0lb5i0xwpmcffanj1lwyq7pk59ss6mcax2y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:tex-engine "tex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'remove-ruby-byebug-dependency
            ;; Avoid dependency on byebug to reduce package closure
            ;; significantly, see <https://issues.guix.gnu.org/55997>.
            (lambda _
              (substitute* "source/generic/hyph-utf8/lib/tex/hyphen/language.rb"
                (("require 'byebug'") ""))))
          (add-before 'build 'include-docstrip.tex
            (lambda* (#:key inputs native-inputs #:allow-other-keys)
              (let ((docstrip.tex
                     (search-input-file (or native-inputs inputs)
                                        "tex/latex/base/docstrip.tex")))
                (setenv "TEXINPUTS"
                        (string-append (dirname docstrip.tex) ":")))))
          (add-before 'build 'regenerate-converters
            (lambda _
              (let ((root (getcwd)))
                (for-each delete-file
                          (find-files "tex/generic/hyph-utf8/conversions/"))
                (with-directory-excursion "source/generic/hyph-utf8"
                  (substitute* "generate-converters.rb"
                    (("\\$path_root=File.*")
                     (string-append "$path_root=\"" root "\"\n"))
                    ;; Avoid error with newer Ruby.
                    (("#1\\{%") "#1{%%"))
                  (invoke "ruby" "generate-converters.rb")))))
          (add-before 'build 'regenerate-patterns
            (lambda* (#:key inputs #:allow-other-keys)
              (let* ((root (getcwd))
                     (hyph-utf8 (string-append root "/tex/generic/hyph-utf8"))
                     (loaders (string-append hyph-utf8 "/loadhyph"))
                     (patterns (string-append hyph-utf8 "/patterns/txt"))
                     (ptex (string-append hyph-utf8 "/patterns/ptex"))
                     (quote (string-append hyph-utf8 "/patterns/quote")))
                ;; Initial clean-up.  Some files are not generated and need to
                ;; be preserved.
                (for-each delete-file (find-files loaders))
                (let ((preserved (list "hyph-sr-cyrl.hyp.txt"
                                       "hyph-sr-cyrl.pat.txt"
                                       "hyph-de-1901.ec.tex"
                                       "hyph-de-1996.ec.tex"
                                       "hyph-ru.t2a.tex"
                                       "hyph-uk.t2a.tex"
                                       "hyph-zh-latn-pinyin.ec.tex")))
                  (for-each
                   (lambda (directory)
                     (for-each delete-file
                               (find-files directory
                                           (lambda (f _)
                                             (not (member (basename f)
                                                          preserved))))))
                   (list patterns ptex quote)))
                ;; Generate plain patterns.  Write to the local directory.
                ;; Install phase will take care of moving the files to the
                ;; output.
                (with-directory-excursion "source/generic/hyph-utf8/"
                  (substitute* "lib/tex/hyphen/path.rb"
                    (("^([[:blank:]]+)TeXROOT = .*" _ indent)
                     (string-append indent "TeXROOT = \"" root "\"\n")))
                  (substitute* "generate-plain-patterns.rb"
                    ;; Ruby 2 does not need this.
                    (("require 'unicode'") "")
                    (("File\\.join\\(PATH::TXT")
                     (string-append "File.join(\"" patterns "\""))
                    (("File\\.join\\(PATH::QUOTE")
                     (string-append "File.join(\"" quote "\"")))
                  (invoke "ruby" "generate-plain-patterns.rb")
                  ;; Build pattern loaders.
                  (substitute* "generate-pattern-loaders.rb"
                    (("File\\.join\\(PATH::LOADER")
                     (string-append "File.join(\"" loaders "\"")))
                  (invoke "ruby" "generate-pattern-loaders.rb")
                  ;; Build ptex patterns.
                  (substitute* "generate-ptex-patterns.rb"
                    (("File\\.join\\(PATH::PTEX")
                     (string-append "File.join(\"" ptex "\"")))
                  (invoke "ruby" "generate-ptex-patterns.rb"))))))))
    (native-inputs
     (list ruby-2.7
           ruby-hydra-minimal/pinned
           ;; Build phase requires "docstrip.tex" from TEXLIVE-LATEX.
           ;; However, adding this package to native inputs would initiate
           ;; a circular dependency.  To work around this, use TEXLIVE-LATEX
           ;; source, then add "docstrip.tex" to TEXINPUTS before build.
           (package-source texlive-latex)
           texlive-tex))
    (home-page "https://ctan.org/pkg/hyph-utf8")
    (synopsis "Hyphenation patterns expressed in UTF-8")
    (description
     "Modern native UTF-8 engines such as XeTeX and LuaTeX need hyphenation
patterns in UTF-8 format, whereas older systems require hyphenation patterns
in the 8-bit encoding of the font in use (such encodings are codified in the
LaTeX scheme with names like OT1, T2A, TS1, OML, LY1, etc).  The present
package offers a collection of conversions of existing patterns to UTF-8
format, together with converters for use with 8-bit fonts in older systems.

This Guix-specific package provides hyphenation patterns for all languages
supported in TeX Live.  It is a strict super-set of code{hyphen-base} package
and should be preferred to it whenever a package would otherwise depend on
@code{hyph-utf8}.")
    ;; Individual files each have their own license.  Most of these files are
    ;; independent hyphenation patterns.
    (license
     (list license:asl2.0
           license:bsd-3
           license:cc0
           license:expat
           license:gpl2
           license:gpl2+
           license:gpl3+
           license:knuth
           license:lgpl2.1
           license:lgpl2.1+
           license:lgpl3+
           license:lppl
           license:lppl1.0+
           license:lppl1.2+
           license:lppl1.3
           license:lppl1.3+
           license:lppl1.3a+
           license:mpl1.1
           license:public-domain
           license:wtfpl2
           (license:fsf-free
            "/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex")
           (license:non-copyleft
            "file:///tex/generic/hyph-utf8/patterns/tex/hyph-bg.tex"
            "Ancestral BSD variant")
           (license:non-copyleft
            "file:///tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex"
            "FSF all permissive license")
           (license:non-copyleft
            "/tex/generic/hyph-utf8/patterns/tex/hyph-no.tex"
            "FSF All permissive license")
           (license:non-copyleft
            "file:///tex/generic/hyph-utf8/patterns/tex/hyph-sa.tex")))))

(define-deprecated-package texlive-dehyph texlive-hyphen-complete)
(define-deprecated-package texlive-generic-dehyph-exptl texlive-hyphen-complete)
(define-deprecated-package texlive-generic-hyph-utf8 texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-afrikaans texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-ancientgreek texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-armenian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-basque texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-belarusian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-bulgarian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-catalan texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-chinese texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-churchslavonic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-coptic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-croatian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-czech texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-danish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-dutch texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-english texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-esperanto texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-estonian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-ethiopic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-finnish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-french texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-friulan texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-galician texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-georgian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-german texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-greek texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-hungarian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-icelandic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-indic texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-indonesian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-interlingua texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-irish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-italian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-kurmanji texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-latin texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-latvian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-lithuanian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-macedonian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-mongolian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-norwegian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-occitan texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-pali texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-piedmontese texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-polish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-portuguese texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-romanian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-romansh texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-russian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-sanskrit texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-schoolfinnish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-serbian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-slovak texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-slovenian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-spanish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-swedish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-thai texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-turkish texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-turkmen texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-ukrainian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-uppersorbian texlive-hyphen-complete)
(define-deprecated-package texlive-hyphen-welsh texlive-hyphen-complete)
(define-deprecated-package texlive-ruhyphen texlive-hyphen-complete)
(define-deprecated-package texlive-ukrhyph texlive-hyphen-complete)

(define-public texlive-bin
  (package
    (name "texlive-bin")
    (version (package-version texlive-source))
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file
                                                   (append '("." "..") dirs)))
                                      (eq? 'directory
                                           (stat:type (stat file)))))))))))
            ;; Delete bundled software, except Lua which cannot easily be used
            ;; as an external dependency, pplib and xpdf which aren't
            ;; supported as system libraries (see m4/kpse-xpdf-flags.m4).
            (delete-other-directories "libs" '("lua53" "luajit" "pplib" "xpdf"))
            ;; Remove all packages: they are installed through their
            ;; respective regular TeX Live package.
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("kpathsea" "tests" "web2c"))
            ;; Tests require the "texmf.cnf" file to still be present in the
            ;; tree.
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:out-of-source? #t
      #:configure-flags
      #~(let ((kpathsea #$(this-package-input "texlive-libkpathsea")))
          (list "--with-banner-add=/GNU Guix"
                "--enable-shared"
                "--disable-native-texlive-build"
                "--disable-static"
                "--disable-linked-scripts"
                "--disable-all-pkgs"
                ;; Help locating external kpathsea.  For some reason
                ;; PKG-CONFIG is unable to find it.
                "--with-system-kpathsea"
                (format #f "--with-kpathsea-includes=~a/include" kpathsea)
                (format #f "--with-kpathsea-libdir=~a/lib" kpathsea)
                "--enable-web2c"
                ;; Disable web2c parts provided in their own packages.  See
                ;; "texk/web2c/ac/web2c.ac" in source.
                "--disable-aleph"
                "--disable-eptex"
                "--disable-euptex"
                "--disable-hitex"
                "--disable-luajithbtex"
                "--disable-luajittex"
                "--disable-mflua"
                "--disable-mfluajit"
                "--disable-mp"
                "--disable-pmp"
                "--disable-ptex"
                "--disable-upmp"
                "--disable-uptex"
                "--disable-web-progs"
                "--disable-xetex"))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-external-kpathsea
            ;; Despite our best efforts, the configure script below is not
            ;; able to find an external Kpathsea library.  Set include
            ;; directory when appropriate.
            (lambda _
              (when (file-exists? "texk/web2c/configure")
                (substitute* "texk/web2c/configure"
                  (("/usr/include /usr/local/include")
                   (string-append #$(this-package-input "texlive-libkpathsea")
                                  "/include"))))))
          ;; XXX: Fix a failing test where "kpsewhich" location is hard-coded
          ;; in the source tree.
          (add-after 'unpack 'fix-failing-test
            (lambda _
              (substitute* (find-files "texk/" "wcfname\\.test$")
                (("_kpsewhich=.*")
                 (format #f "_kpsewhich=~a/bin/kpsewhich\n"
                         #$(this-package-input "texlive-libkpathsea"))))))
          (add-after 'install 'maybe-clear-symlinks
            ;; XXX: No matter the combination of configure flags, process
            ;; insists on creating those dangling links, resulting in an error
            ;; during `validate-runpath' phase.
            ;;
            ;; Make it specific to TEXLIVE-BIN package by verifying the
            ;; existence of "tex" binary so that packages inheriting from this
            ;; one do not need to remove the phase.
            (lambda _
              (let ((bin (string-append #$output "/bin/")))
                (when (file-exists? (string-append bin "tex"))
                  (with-directory-excursion bin
                    (for-each delete-file
                              '("pbibtex" "pdvitype" "ppltotf" "ptftopl")))))))
          (add-after 'install 'remove-documentation
            ;; Documentation is provided by specific TeX Live packages, in
            ;; a dedicated "doc" output.  Ignore documentation generated when
            ;; building TEXLIVE-BIN and its derivatives.
            (lambda _
              (with-directory-excursion #$output
                (for-each (lambda (d)
                            (when (file-exists? d)
                              (delete-file-recursively d)))
                          '("share/info"
                            "share/man"
                            "share/texmf-dist/doc"))))))))
    (native-inputs (list perl pkg-config))
    (inputs
     (list fontconfig
           harfbuzz
           icu4c
           libpng
           libxt
           zlib
           zziplib))
    (propagated-inputs (list texlive-libkpathsea texlive-scripts))
    (synopsis "TeX Live, a package of the TeX typesetting system")
    (description
     "TeX Live provides a comprehensive TeX document production system.
It includes all the major TeX-related programs, macro packages, and fonts that
are free software, including support for many languages around the world.

This package contains some Web2C binaries and Metafont.  TeX engines, in
addition to TeX itself, are limited to LuaHBTeX, LuaTeX and pdfTeX.  For
a self-sufficient TeX installation, users are advised to add at least a TeX
Live collection or scheme package to their profile instead of this package.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))
    (home-page "https://www.tug.org/texlive/")))

;; This package must be located before `texlive-updmap.cfg' in the module.
(define-public texlive-scheme-basic
  (package
    (name "texlive-scheme-basic")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs (list texlive-collection-basic texlive-collection-latex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Basic scheme (plain and latex)")
    (description
     "This is the basic TeX Live scheme: it is a small set of files sufficient
to typeset plain TeX or LaTeX documents in PostScript or PDF, using the
Computer Modern fonts.  This scheme corresponds to @code{collection-basic} and
@code{collection-latex}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-deprecated-package texlive-base texlive-scheme-basic)

(define-public texlive-scheme-bookpub
  (package
    (name "texlive-scheme-bookpub")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-barcodes
           texlive-biber
           texlive-biblatex
           texlive-bookcover
           texlive-caption
           texlive-collection-basic
           texlive-collection-latex
           texlive-enumitem
           texlive-fontspec
           texlive-latexmk
           texlive-lipsum
           texlive-listings
           texlive-markdown
           texlive-memoir
           texlive-microtype
           texlive-minted
           texlive-novel
           texlive-octavo
           texlive-pdfpages
           texlive-pgf
           texlive-qrcode
           texlive-shapes
           texlive-titlesec
           texlive-tocloft
           texlive-tufte-latex
           texlive-willowtreebook))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Book publishing scheme (core LaTeX and add-ons)")
    (description
     "This is a book publishing scheme, containing core (Lua)LaTeX and
selected additional packages likely to be useful for non-technical book
publication.  It does not contain additional fonts (different books need
different fonts, and the packages are large), nor does it contain additional
mathematical or other technical packages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-context
  (package
    (name "texlive-scheme-context")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-antt
           texlive-asana-math
           texlive-ccicons
           texlive-collection-context
           texlive-collection-metapost
           texlive-dejavu
           texlive-eulervm
           texlive-gentium-tug
           texlive-iwona
           texlive-kurier
           texlive-ly1
           texlive-manfnt-font
           texlive-marvosym
           texlive-mflogo-font
           texlive-poltawski
           texlive-pxfonts
           texlive-tex-gyre
           texlive-tex-gyre-math
           texlive-txfonts
           texlive-wasy
           texlive-xits))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "ConTeXt scheme")
    (description "This is the TeX Live scheme for installing ConTeXt.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-full
  (package
    (name "texlive-scheme-full")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-collection-basic
           texlive-collection-bibtexextra
           texlive-collection-binextra
           texlive-collection-context
           texlive-collection-fontsextra
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-formatsextra
           texlive-collection-games
           texlive-collection-humanities
           texlive-collection-langarabic
           texlive-collection-langchinese
           texlive-collection-langcjk
           texlive-collection-langcyrillic
           texlive-collection-langczechslovak
           texlive-collection-langenglish
           texlive-collection-langeuropean
           texlive-collection-langfrench
           texlive-collection-langgerman
           texlive-collection-langgreek
           texlive-collection-langitalian
           texlive-collection-langjapanese
           texlive-collection-langkorean
           texlive-collection-langother
           texlive-collection-langpolish
           texlive-collection-langportuguese
           texlive-collection-langspanish
           texlive-collection-latex
           texlive-collection-latexextra
           texlive-collection-latexrecommended
           texlive-collection-luatex
           texlive-collection-mathscience
           texlive-collection-metapost
           texlive-collection-music
           texlive-collection-pictures
           texlive-collection-plaingeneric
           texlive-collection-pstricks
           texlive-collection-publishers
           texlive-collection-xetex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "TeX Live full scheme (everything)")
    (description
     "This is the full TeX Live scheme: it installs everything available.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-gust
  (package
    (name "texlive-scheme-gust")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-amslatex-primer
           texlive-amstex
           texlive-antt
           texlive-bibtex8
           texlive-collection-basic
           texlive-collection-context
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-langpolish
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-metapost
           texlive-collection-plaingeneric
           texlive-collection-xetex
           texlive-comment
           texlive-comprehensive
           texlive-concrete
           texlive-cyklop
           texlive-dvidvi
           texlive-dviljk
           texlive-fontinstallationguide
           texlive-gustprog
           texlive-impatient
           texlive-iwona
           texlive-metafont-beginners
           texlive-metapost-examples
           texlive-poltawski
           texlive-seetexk
           texlive-seminar
           texlive-tds
           texlive-tex4ht
           texlive-texdoc))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "GUST TeX Live scheme")
    (description
     "This is the GUST TeX Live scheme: it is a set of files sufficient to
typeset Polish plain TeX, LaTeX and ConTeXt documents in PostScript or PDF.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-medium
  (package
    (name "texlive-scheme-medium")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-collection-basic
           texlive-collection-binextra
           texlive-collection-context
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-langczechslovak
           texlive-collection-langenglish
           texlive-collection-langeuropean
           texlive-collection-langfrench
           texlive-collection-langgerman
           texlive-collection-langitalian
           texlive-collection-langpolish
           texlive-collection-langportuguese
           texlive-collection-langspanish
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-luatex
           texlive-collection-mathscience
           texlive-collection-metapost
           texlive-collection-plaingeneric
           texlive-collection-xetex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Small scheme with additional packages and languages")
    (description
     "This is the medium TeX Live collection: it contains plain TeX,
LaTeX, many recommended packages, and support for most European languages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-minimal
  (package
    (name "texlive-scheme-minimal")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs (list texlive-collection-basic))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Minimal scheme (plain only)")
    (description
     "This is the minimal TeX Live scheme, with support for only plain
TeX. (No LaTeX macros.) LuaTeX is included because Lua scripts are used in TeX
Live infrastructure.  This scheme corresponds exactly to
@code{collection-basic}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-small
  (package
    (name "texlive-scheme-small")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-basque
           texlive-babel-czech
           texlive-babel-danish
           texlive-babel-dutch
           texlive-babel-english
           texlive-babel-finnish
           texlive-babel-french
           texlive-babel-german
           texlive-babel-hungarian
           texlive-babel-italian
           texlive-babel-norsk
           texlive-babel-polish
           texlive-babel-portuges
           texlive-babel-spanish
           texlive-babel-swedish
           texlive-collection-basic
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-metapost
           texlive-collection-xetex
           texlive-ec
           texlive-eurosym
           texlive-hyphen-complete
           texlive-lm
           texlive-lualibs
           texlive-luaotfload
           texlive-luatexbase
           texlive-revtex
           texlive-synctex
           texlive-times
           texlive-tipa
           texlive-ulem
           texlive-upquote
           texlive-zapfding))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Small scheme (basic, XeTeX, Metapost, and a few languages)")
    (description
     "This is a small TeX Live scheme, corresponding to MacTeX's BasicTeX
variant.  It adds XeTeX, MetaPost, and some recommended packages to
@code{scheme-basic}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-scheme-tetex
  (package
    (name "texlive-scheme-tetex")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-acronym
           texlive-amslatex-primer
           texlive-bbm
           texlive-bbm-macros
           texlive-bbold
           texlive-bibtex8
           texlive-cmbright
           texlive-collection-basic
           texlive-collection-context
           texlive-collection-fontsrecommended
           texlive-collection-fontutils
           texlive-collection-formatsextra
           texlive-collection-langcjk
           texlive-collection-langcyrillic
           texlive-collection-langczechslovak
           texlive-collection-langenglish
           texlive-collection-langeuropean
           texlive-collection-langfrench
           texlive-collection-langgerman
           texlive-collection-langgreek
           texlive-collection-langitalian
           texlive-collection-langother
           texlive-collection-langpolish
           texlive-collection-langportuguese
           texlive-collection-langspanish
           texlive-collection-latex
           texlive-collection-latexrecommended
           texlive-collection-mathscience
           texlive-collection-metapost
           texlive-collection-pictures
           texlive-collection-plaingeneric
           texlive-collection-pstricks
           texlive-ctie
           texlive-cweb
           texlive-detex
           texlive-dtl
           texlive-dvi2tty
           texlive-dvicopy
           texlive-dvidvi
           texlive-dviljk
           texlive-eplain
           texlive-eulervm
           texlive-gentle
           texlive-lshort-english
           texlive-mltex
           texlive-multirow
           texlive-nomencl
           texlive-patgen
           texlive-pst-pdf
           texlive-rsfs
           texlive-seetexk
           texlive-siunits
           texlive-subfigure
           texlive-supertabular
           texlive-tamethebeast
           texlive-tds
           texlive-tex-refs
           texlive-tie
           texlive-web
           texlive-xpdfopen))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "teTeX scheme (more than medium, but nowhere near full)")
    (description
     "Larger than medium, this TeX Live scheme is nearly equivalent to the
teTeX distribution that was maintained by Thomas Esser.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

;; This package must be located before any package adding it to its native
;; inputs.
(define-public texlive-updmap.cfg
  (lambda* (#:optional (packages '()))
    "Return a 'texlive-updmap.cfg' package which contains the fonts map and
mktex scripts configuration, along with a base set of packages plus additional
PACKAGES.

This function is meant to be used in packages as a native input, to build
documentation in the TeX format."
    (let ((default-packages (list texlive-scheme-basic)))
      (package
        (version (package-version texlive-source))
        (source (package-source texlive-scripts))
        (name "texlive-updmap.cfg")
        (build-system copy-build-system)
        (arguments
         (list
          #:modules '((guix build copy-build-system)
                      (guix build utils)
                      (ice-9 popen)
                      (ice-9 textual-ports))
          #:install-plan
          #~'(("texmf-dist/web2c/updmap.cfg" "share/texmf-config/web2c/")
              ("texmf-dist/web2c/mktex.cnf"  "share/texmf-config/web2c/")
              ("texmf-dist/web2c/map"        "share/texmf-dist/fonts/map"))
          #:phases
          #~(modify-phases %standard-phases
              (add-after 'unpack 'generate-mktex.cnf
                ;; When building a package, mktex programs try to create files
                ;; in TEXMFVAR, which is unavailable.  Force creating those
                ;; files in the working directory instead.
                (lambda _
                  (with-directory-excursion "texmf-dist/web2c"
                    (with-output-to-file "mktex.cnf"
                      (lambda _ (display ": ${MT_DESTROOT=''}"))))))
              (add-before 'install 'regenerate-updmap.cfg
                (lambda _
                  (with-directory-excursion "texmf-dist/web2c"
                    (make-file-writable "updmap.cfg")

                    ;; Disable unavailable map files.
                    (let* ((port (open-pipe* OPEN_WRITE "updmap-sys"
                                             "--syncwithtrees"
                                             "--nohash"
                                             "--cnffile" "updmap.cfg")))
                      (display "Y\n" port)
                      (when (not (zero? (status:exit-val (close-pipe port))))
                        (error "failed to filter updmap.cfg")))

                    ;; Set TEXMFSYSVAR to a sane and writable value; updmap
                    ;; fails if it cannot create its log file.
                    (setenv "TEXMFSYSVAR" (getcwd))

                    ;; Generate maps.
                    (invoke "updmap-sys"
                            "--cnffile"           "updmap.cfg"
                            "--dvipdfmxoutputdir" "map/dvipdfmx/updmap/"
                            "--dvipsoutputdir"    "map/dvips/updmap/"
                            "--pdftexoutputdir"   "map/pdftex/updmap/")))))))
        (native-inputs (list texlive-scripts))
        (propagated-inputs (map (lambda (package)
                                  (list (package-name package) package))
                                (append default-packages packages)))
        (home-page (package-home-page texlive-bin))
        (synopsis "TeX Live fonts map configuration")
        (description "This package contains the fonts map configuration file
generated for the base TeX Live packages as well as, optionally, user-provided
ones.")
        (license (delete-duplicates
                  (fold (lambda (package result)
                          (match (package-license package)
                            ((lst ...)
                             (append lst result))
                            ((? license:license? license)
                             (cons license result))))
                        '()
                        (append default-packages packages))))))))

(define-deprecated-package texlive-tiny texlive-scheme-basic)
(define-deprecated/alias texlive-union texlive-updmap.cfg)
(export texlive-union)

(define-public texlive-12many
  (package
    (name "texlive-12many")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/12many/" "source/latex/12many/"
                                     "tex/latex/12many/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "104vqgl5kqdbwfa5wxj7gpxfrqa3k4ky4806mg6zscd6palf2gi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/one2many")
    (synopsis "Generalising mathematical index sets")
    (description
     "In the discrete branches of mathematics and the computer sciences, it
will only take some seconds before you're faced with a set like
@samp{@{1,...,m@}}.  Some people write @samp{$1\\ldotp\\ldotp m$}, others
@samp{$\\{j:1\\leq j\\leq m\\}$}, and the journal you're submitting to might
want something else entirely.  The @code{12many} package provides an interface
that makes changing from one to another a one-line change.")
    (license license:lppl)))

(define-public texlive-a2ping
  (package
    (name "texlive-a2ping")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/a2ping.1"
                                     "doc/man/man1/a2ping.man1.pdf"
                                     "doc/support/a2ping/" "scripts/a2ping/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhmh1rnykmi6i5mklj7fwhndw1xxmwy2xsy8j1px8ishf5czhvq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "a2ping.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/a2ping")
    (synopsis "Advanced PS, PDF, EPS converter")
    (description
     "@command{a2ping} is a Perl script command line utility written for Unix
that converts many raster image and vector graphics formats to EPS or PDF and
other page description formats.  Accepted input file formats are:
PS (PostScript), EPS, PDF, PNG, JPEG, TIFF, PNM, BMP, GIF, LBM, XPM, PCX,
TGA. Accepted output formats are: EPS, PCL5, PDF, PDF1, PBM, PGM, PPM, PS,
markedEPS, markedPS, PNG, XWD, BMP, TIFF, JPEG, GIF, XPM.")
    (license license:gpl3+)))

(define-public texlive-aaai-named
  (package
    (name "texlive-aaai-named")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aaai-named/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xs2iki0v1mh0kbqjxnv9r24bcfmgj6myfw7h368h8g0s1n8d5v6"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aaai-named")
    (synopsis "BibTeX style for AAAI")
    (description
     "This package provides a BibTeX style derived from the standard master,
presumably for use with the @code{aaai} package.")
    (license license:knuth)))

(define-public texlive-aalok
  (package
    (name "texlive-aalok")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aalok/" "source/latex/aalok/"
                                     "tex/latex/aalok/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vpvqv60p5v3frdqa5r8k9k4zxk0icma5blw9dr6jhqfzf6lc3jy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aalok")
    (synopsis "LaTeX class file for the Marathi journal @emph{Aalok}")
    (description
     "This package provides the class file for typesetting @emph{Aalok},
a Marathi journal, with LaTeX.")
    (license (list license:gpl3+
                   ;; Aalok (आलोक) copyleft license v1.0+.
                   (license:fsf-free "file://doc/latex/aalok/README.txt")
                   license:fdl1.3+))))

(define-public texlive-aastex
  (package
    (name "texlive-aastex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aastex/" "doc/latex/aastex/"
                                     "tex/latex/aastex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07kbrv0vhlpdaxqkiwn2q4psldn5p2x5mmpaw70g6pgcbhk7r74h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aastex")
    (synopsis "Macros for manuscript preparation for AAS journals")
    (description
     "The bundle provides a document class for preparing papers for
@acronym{AAS, American Astronomical Society} publications.  Authors who wish
to submit papers to AAS journals are strongly urged to use this class in
preference to any of the alternatives available.")
    (license license:lppl1.3+)))

(define-public texlive-abc
  (package
    (name "texlive-abc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abc/" "source/latex/abc/"
                                     "tex/latex/abc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vywrv35h65gkxipc7d26k32r04fk61kfkkk9bj3zsmxsw1v3r8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abc")
    (synopsis "Support ABC music notation in LaTeX")
    (description
     "The abc package lets you include lines of music written in the ABC Plus
language.  The package will then employ the @code{\\write18} facility to
convert your notation to PostScript (using the established utility
@command{abcm2ps}) and hence to the format needed for inclusion in your
document.")
    (license license:lppl1.2+)))

(define-public texlive-abnt
  (package
    (name "texlive-abnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abnt/" "tex/latex/abnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zjsvp6ng6vf87mmnv18q435h6p3ygs512pk0m05yd8gyrmhmrxr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abnt")
    (synopsis "Typesetting academic works according to ABNT rules")
    (description
     "The ABNT package provides a clean and practical implementation of the
@acronym{ABNT, Associacao Brasileira de Normas Tecnicas} rules for academic
texts.")
    (license license:lppl1.3c)))

(define-public texlive-abntex2
  (package
    (name "texlive-abntex2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/abntex2/" "bibtex/bst/abntex2/"
                                     "doc/latex/abntex2/" "tex/latex/abntex2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07752n6s2nl4h8j1wg7hjx2wisn505asb1r1i38z7qjbzg7lwqq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abntex2")
    (synopsis
     "Typeset technical and scientific Brazilian documents based on ABNT rules")
    (description
     "The bundle provides support for typesetting technical and scientific
Brazilian documents (like academic thesis, articles, reports, research project
and others) based on the @acronym{ABNT, Associacao Brasileira de Normas
Tecnicas} rules.  It replaces the old @code{abntex}.")
    (license license:lppl1.3+)))

(define-public texlive-abntexto
  (package
    (name "texlive-abntexto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abntexto/" "tex/latex/abntexto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p5fkcgcfxqdznigj947dxgpy6vw52ahpqs5j58li0dlgp01k8l9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abntexto")
    (synopsis "LaTeX class for formatting academic papers in ABNT standards")
    (description
     "This is a LaTeX class created for Brazilian students to facilitate the
use of standards from the @acronym{ABNT, Associacao Brasileira de Normas
Tecnicas} in academic works like TCCs, dissertations, theses.")
    (license license:public-domain)))

(define-public texlive-aboensis
  (package
    (name "texlive-aboensis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/aboensis/"
                                     "fonts/opentype/public/aboensis/"
                                     "tex/latex/aboensis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14333k6bkfywdka3h2a2yd2nw0521q0lwl3x38612j7cb82izyi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aboensis")
    (synopsis "Late medieval OpenType cursive font")
    (description
     "The package contains the OpenType medieval cursive font Aboensis and
a style file to use it in XeLaTeX documents.  The font is based on @emph{Codex
Aboensis}, that is a law book written in Sweden in the 1430s.  Since medieval
cursive is very difficult to read for modern people, the font is not suitable
for use as an ordinary book font, but is intended for emulating late medieval
manuscripts.

The font contains two sets of initials: lombardic and cursive to go with the
basic alphabet, and there is support for writing two-colored initials and
capitals.  There are also a large number of abbreviation sigla that can be
accessed as ligature substitutions.  The style file contains macros that help
to use the extended features of the font such as initials and two-colored
capitals.  There are also macros to help achieve even pages with consistent
line spacing.")
    (license
     (list license:silofl1.1
           license:lppl1.3c
           license:cc-by4.0
           license:public-domain))))

(define-public texlive-academicons
  (package
    (name "texlive-academicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/academicons/"
                                     "fonts/truetype/public/academicons/"
                                     "tex/latex/academicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gxgj0ppyrf6pj9qvhk02ybwf68yzlh2110r41iwsai5by2iczhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/academicons")
    (synopsis "Font containing high quality icons of online academic profiles")
    (description
     "The @code{academicons} package provides access in (La)TeX to 124 high
quality icons of online academic profiles included in the free Academicons
font.  This package requires either the Xe(La)TeX or Lua(La)TeX engine to load
the Academicons font from the system.  The @code{academicons} package provides
the generic @code{\\aiicon} command to access icons, which takes as mandatory
argument the name of the desired icon.  It also provides individual direct
commands for each specific icon.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-accanthis
  (package
    (name "texlive-accanthis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/accanthis/"
                                     "fonts/enc/dvips/accanthis/"
                                     "fonts/map/dvips/accanthis/"
                                     "fonts/opentype/arkandis/accanthis/"
                                     "fonts/tfm/arkandis/accanthis/"
                                     "fonts/type1/arkandis/accanthis/"
                                     "fonts/vf/arkandis/accanthis/"
                                     "tex/latex/accanthis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xpy3bs8wwb6ncw4c8kc5vvddl77rmjwfjq66xw12sc8mgg9grmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/accanthis")
    (synopsis "Accanthis fonts, with LaTeX support")
    (description
     "Accanthis No.@: 3, designed by Hirwin Harendal, is suitable as an
alternative to fonts such as Garamond, Galliard, Horley old style, Sabon, and
Bembo.  The package provides support files for use with all LaTeX engines.")
    (license (list license:gpl2+ license:lppl))))

(define-public texlive-accents
  (package
    (name "texlive-accents")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/accents/" "tex/latex/accents/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p8g86xbfladz52dwbssmw3w9mbl987d1b740d25miphvj4ia9y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/accents")
    (synopsis "Multiple mathematical accents")
    (description
     "This package provides a package for multiple accents in mathematics,
with nice features concerning the creation of accents and placement of
scripts.")
    (license license:expat)))

(define-public texlive-accfonts
  (package
    (name "texlive-accfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/accfonts/" "scripts/accfonts/"
                                     "tex/latex/accfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kja24rh0ysljwgkyg9mf47h64ayi2kmb1jb3dmvb42ywvg0w9i7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkt1font" "vpl2ovp" "vpl2vpl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/accfonts")
    (synopsis "Utilities to derive new fonts from existing ones")
    (description
     "The @code{accfonts} package contains three utilities to permit easy
manipulation of fonts, in particular the creation of unusual accented
characters. @command{mkt1font} works on Adobe Type 1 fonts, @command{vpl2vpl}
works on TeX virtual fonts and @command{vpl2ovp} transforms a TeX font to an
Omega one.")
    (license license:gpl3+)))

(define-public texlive-accsupp
  (package
    (name "texlive-accsupp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/accsupp/" "source/latex/accsupp/"
                                     "tex/latex/accsupp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10xdg3gk5madpb131lhc9x2sxzby4rvqycbfzb5kl2zkwr1qw5v7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/accsupp")
    (synopsis "Better accessibility support for PDF files")
    (description
     "Since PDF 1.5 portions of a page can be marked for better accessibility
support.  For example, replacement texts or expansions of abbreviations can be
provided.  This package starts with providing a minimal low-level interface
for programmers; its status is experimental.")
    (license license:lppl1.3c)))

(define-public texlive-abbr
  (package
    (name "texlive-abbr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/abbr/" "tex/generic/abbr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zi5qkgr2nnb3jp5adv42d84w7yav1dw0lgg2vdxfsz03j1bmlsb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abbr")
    (synopsis "Simple macros supporting abreviations for Plain and LaTeX")
    (description
     "The package provides some simple macros to support abbreviations in
Plain TeX or LaTeX.  It allows writing, e.g., @samp{\\<TEX>} instead of
@samp{\\TeX}, hence frees users from having to escape space after
parameterless macros.")
    (license license:public-domain)))

(define-public texlive-abstyles
  (package
    (name "texlive-abstyles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/abstyles/"
                                     "bibtex/bst/abstyles/"
                                     "doc/bibtex/abstyles/"
                                     "tex/generic/abstyles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ij4cp3pydfs4lch0f93gi2q7msafxyqfvv44whw1ppczidicnn2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abstyles-orig")
    (synopsis "Adaptable BibTeX styles")
    (description
     "This package provides a family of modifications of the standard BibTeX
styles whose behaviour may be changed by changing the user document, without
change to the styles themselves.  The package is largely used nowadays in its
adaptation for working with Babel.")
    (license
     (list license:isc                  ;apreamble
           license:knuth                ;bxabst
           license:public-domain))))    ;docmac

(define-public texlive-acmconf
  (package
    (name "texlive-acmconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/acmconf/" "source/latex/acmconf/"
                                     "tex/latex/acmconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j30krvxzps7ka3xzv0qifrzxhxzkr3b3f9gska6najp1dvygs3a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/acmconf")
    (synopsis "Class for ACM conference proceedings")
    (description
     "This class may be used to typeset articles to be published in the
proceedings of @acronym{ACM, Association for Computing Machinery} conferences
and workshops.  The layout produced by the @code{acmconf} class is based on
the ACM's own specification.")
    (license license:lppl)))

(define-public texlive-active-conf
  (package
    (name "texlive-active-conf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/active-conf/"
                                     "source/latex/active-conf/"
                                     "tex/latex/active-conf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12krmwspwkhcwk5q0qf2hldnsk44vd2jfssfdiwm97alicc3cpj1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/active-conf")
    (synopsis "Class for typesetting ACTIVE conference papers")
    (description
     "Active-conf is a class for typesetting papers for the Active conference
on noise and vibration control.  The class is based on @code{article} with
more flexible front-matter, and can be customised for conferences in future
years with a header file.")
    (license license:lppl)))

(define-public texlive-adfathesis
  (package
    (name "texlive-adfathesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/adfathesis/"
                                     "doc/latex/adfathesis/"
                                     "source/latex/adfathesis/"
                                     "tex/latex/adfathesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zi91xc3sbdjvp87zgrb7g3l5hxqig33fchlhg2i8gjya9ij67p6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adfathesis")
    (synopsis "Australian Defence Force Academy thesis format")
    (description "The package provides the Australian Defence Force Academy
thesis format.  The bundle also includes a BibTeX style file.")
    (license license:public-domain)))

(define-public texlive-adforn
  (package
    (name "texlive-adforn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/adforn/"
                                     "fonts/afm/arkandis/adforn/"
                                     "fonts/enc/dvips/adforn/"
                                     "fonts/map/dvips/adforn/"
                                     "fonts/tfm/arkandis/adforn/"
                                     "fonts/type1/arkandis/adforn/"
                                     "tex/latex/adforn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dpdbqlc7p3mwm1bj1m5sbkwi5qjsvsfzfb0wnq4flvz1gc09245"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adforn")
    (synopsis "OrnementsADF font with TeX and LaTeX support")
    (description
     "The bundle provides the Ornements ADF font in PostScript Type 1 format
with TeX and LaTeX support files.")
    (license (list license:lppl license:gpl2+))))

(define-public texlive-adfsymbols
  (package
    (name "texlive-adfsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/adfsymbols/"
                                     "fonts/afm/arkandis/adfsymbols/"
                                     "fonts/enc/dvips/adfsymbols/"
                                     "fonts/map/dvips/adfsymbols/"
                                     "fonts/tfm/arkandis/adfsymbols/"
                                     "fonts/type1/arkandis/adfsymbols/"
                                     "tex/latex/adfsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "188is31d2zcd8kk339x4wvhhm98gbfkvq6pi25d9mva4vz3w1vf5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adfsymbols")
    (synopsis "SymbolsADF with TeX and LaTeX support")
    (description
     "The package provides Arkandis foundry's ArrowsADF and BulletsADF fonts
in Adobe Type 1 format, together with TeX and LaTeX support files.")
    (license (list license:lppl license:gpl2))))

(define-public texlive-adhocfilelist
  (package
    (name "texlive-adhocfilelist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/adhocfilelist/"
                                     "scripts/adhocfilelist/"
                                     "source/support/adhocfilelist/"
                                     "tex/support/adhocfilelist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "097yy38571fa2hzp4s3p125xknqgjmkhv1vgi0q9vz83b6175hc4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "adhocfilelist.sh")))
    (home-page "https://ctan.org/pkg/adhocfilelist")
    (synopsis "@code{\\listfiles} entries from the command line")
    (description
     "The package provides a Unix shell script to display a list of LaTeX
@code{\\Provides}...-command contexts on screen.  Provision is made for
controlling the searches that the package does.")
    (license license:lppl)))

(define-public texlive-adtrees
  (package
    (name "texlive-adtrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/adtrees/" "tex/latex/adtrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ypb609wvw3mvs7bf2mwa7r7v4frxjhfll8d1sqfry3dv3kr13pq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adtrees")
    (synopsis "Macros for drawing adpositional trees")
    (description
     "This package provides a means to write adpositional trees, a formalism
devoted to representing natural language expressions.")
    (license license:gpl3+)))

(define-public texlive-adobemapping
  (package
    (name "texlive-adobemapping")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/cmap/adobemapping/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yvf74mlmxmnq9m0wvda9xcna8xnn382bbrzizzjm5w7bk8c4g98"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adobemapping")
    (synopsis "Adobe CMap and PDF mapping files")
    (description
     "The package comprises the collection of CMap and PDF mapping files made
available for distribution by Adobe.")
    (license license:bsd-3)))

(define-public texlive-aesupp
  (package
    (name "texlive-aesupp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/aesupp/"
                                     "fonts/enc/dvips/aesupp/"
                                     "fonts/map/dvips/aesupp/"
                                     "fonts/opentype/public/aesupp/"
                                     "fonts/tfm/public/aesupp/"
                                     "fonts/type1/public/aesupp/"
                                     "source/fonts/aesupp/"
                                     "tex/latex/aesupp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sx5802d1ib72i0ssjpr0c54pgq1s980wg3q1685pjniw68ns1vj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aesupp")
    (synopsis "Special support for the @samp{ae} character")
    (description
     "This package provides special support for the italic @samp{ae} character
in some fonts, due to design flaws (in the author's opinion) regarding this
character.  At the moment only the fonts TeX Gyre Bonum, TeX Gyre Schola, TeX
Gyre Pagella, and the Latin Modern fonts are supported.  The other fonts in
the TeX Gyre bundle do not need this support.")
    (license (list license:gfl1.0 license:gpl3+))))

(define-public texlive-afm2pl
  (package
    (name "texlive-afm2pl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/afm2pl.1"
                                     "doc/man/man1/afm2pl.man1.pdf"
                                     "fonts/enc/dvips/afm2pl/"
                                     "fonts/lig/afm2pl/" "tex/fontinst/afm2pl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19llzzr4kmmyf7l18ngx1rhaqaqvgm3md924m4dxcv7nmrvga2b2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-afm2pl-bin))
    (home-page "https://ctan.org/pkg/afm2pl")
    (synopsis "Convert AFM to TeX property list (@file{.pl}) metrics")
    (description
     "@command{afm2pl} converts a @file{.afm} (Adobe Font Metric) file into
a @file{.pl} (Property List) file, which in its turn can be converted to
a @file{.tfm} (TeX Font Metric) file.  It normally preserves kerns and
ligatures, but also offers additional control over them.")
    (license license:gpl2)))

(define-public texlive-afm2pl-bin
  (package
    (inherit texlive-bin)
    (name "texlive-afm2pl-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("afm2pl"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-afm2pl" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/afm2pl"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/afm2pl"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (synopsis "Binary for @code{texlive-afm2pl}")
    (description
     "This package provides the binary for @code{texlive-afm2pl}.")
    (license (package-license texlive-afm2pl))))

(define-public texlive-afparticle
  (package
    (name "texlive-afparticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/afparticle/"
                                     "source/latex/afparticle/"
                                     "tex/latex/afparticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g7dk32la2zlspdsw1pz15bf90jjycblgpg91m24bx70svdv67kv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/afparticle")
    (synopsis "Typesetting articles for @emph{Archives of Forensic Psychology}")
    (description
     "This package provides a class for typesetting articles for the open
access journal @emph{Archives of Forensic Psychology}.")
    (license license:lppl1.3+)))

(define-public texlive-afthesis
  (package
    (name "texlive-afthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/afthesis/" "doc/latex/afthesis/"
                                     "tex/latex/afthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1db9fzs4rf1d86n2gcn0zs255nlwc8i1yl5n9qzsn6xf5as7zz1i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/afthesis")
    (synopsis "Air Force Institute of Technology thesis class")
    (description
     "This is a LaTeX thesis and dissertation class for US Air Force Institute
Of Technology.")
    (license license:public-domain)))

(define-public texlive-aguplus
  (package
    (name "texlive-aguplus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aguplus/" "doc/latex/aguplus/"
                                     "tex/latex/aguplus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qpi5r4y70cmxinr9y46rw6dfd337l5xhnqfvbkz27nw98j87fi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aguplus")
    (synopsis "Styles for American Geophysical Union")
    (description
     "This bundle started as an extension to the @acronym{AGU, American
Geophysical Union}'s own published styles, providing extra facilities and
improved usability.  The AGU now publishes satisfactory LaTeX materials of its
own; it is recommended to switch to the official distribution.")
    (license license:lppl)))

(define-public texlive-aiaa
  (package
    (name "texlive-aiaa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aiaa/" "doc/latex/aiaa/"
                                     "source/latex/aiaa/" "tex/latex/aiaa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6sp7q53nr1ppxaynfc0q3kf1hg5v22yxyvzjdg028rf1nvbhww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aiaa")
    (synopsis "Typeset AIAA conference papers")
    (description
     "This package provides a bundle of LaTeX and BibTeX files and sample
documents to aid those producing papers and journal articles according to the
guidelines of the @acronym{AIAA, American Institute of Aeronautics and
Astronautics}.")
    (license license:lppl)))

(define-public texlive-aichej
  (package
    (name "texlive-aichej")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aichej/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pr92pq3yjsrbax6ah01cqg7131fp2rkqqjnxwcrm4119z2ic0gf"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aichej")
    (synopsis "Bibliography style file for the AIChE Journal")
    (description
     "The style was generated using custom-bib, and implements the style of
the American Institute of Chemical Engineers Journal (or @code{AIChE} Journal
or @code{AIChE} J or @code{AIChEJ).}")
    (license license:lppl)))

(define-public texlive-ajl
  (package
    (name "texlive-ajl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ajl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xkrvy06lw4ngj94zybs14ysal2pg7g71h864gq9bjw0zwq2yjzs"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ajl")
    (synopsis "BibTeX style for AJL")
    (description
     "This package provides bibliographic style references in style of
Australian Journal of Linguistics.")
    (license license:lppl)))

(define-public texlive-akshar
  (package
    (name "texlive-akshar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/akshar/" "source/latex/akshar/"
                                     "tex/latex/akshar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17xiqalqpw64pgvmpsa41qf6y5fhg720rpbr57kv8ipvvm1fn3n5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/akshar")
    (synopsis "Support for syllables in the Devanagari script")
    (description
     "This LaTeX3 package provides macros and interfaces to work with
Devanagari characters and syllables in a more correct way.")
    (license license:lppl1.3c)))

(define-public texlive-albatross
  (package
    (name "texlive-albatross")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/albatross.1"
                                     "doc/man/man1/albatross.man1.pdf"
                                     "doc/support/albatross/"
                                     "scripts/albatross/"
                                     "source/support/albatross/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gg7abaixfxmwhdj3z84sg1vkglh8a8q2p3ql1hy74f5rpkyf3yg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "albatross.sh")))
    (home-page "https://ctan.org/pkg/albatross")
    (synopsis "Find fonts that contain a given glyph")
    (description
     "This is a command line tool for finding fonts that contain
a given (Unicode) glyph.  It relies on Fontconfig.")
    (license license:bsd-3)))

(define-public texlive-alegreya
  (package
    (name "texlive-alegreya")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/alegreya/"
                                     "fonts/enc/dvips/alegreya/"
                                     "fonts/map/dvips/alegreya/"
                                     "fonts/opentype/huerta/alegreya/"
                                     "fonts/tfm/huerta/alegreya/"
                                     "fonts/type1/huerta/alegreya/"
                                     "fonts/vf/huerta/alegreya/"
                                     "tex/latex/alegreya/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n09fq89nxw3jaglmvjfl7ysflqi0rh6mmp6q0zn57m72sza9rra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alegreya")
    (synopsis "Alegreya fonts with LaTeX support")
    (description
     "Alegreya, designed by Juan Pablo del Peral, is a typeface originally
intended for literature.  It conveys a dynamic and varied rhythm which
facilitates the reading of long texts.  Bold, black, small caps and five
number styles are available.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-aleph
  (package
    (name "texlive-aleph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/aleph/base/" "doc/man/man1/aleph.1"
                                     "doc/man/man1/aleph.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "096p2kcfmdvf09xpijwsrhkhmaggvd04jxrs2abag45wsrj75h0s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "aleph")))
    (propagated-inputs
     (list texlive-aleph-bin
           texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-lambda
           texlive-latex
           texlive-plain))
    (home-page "https://ctan.org/pkg/aleph")
    (synopsis "Extended TeX")
    (description
     "This package provides a development of Omega, using most of the
extensions of TeX, itself developed for e-TeX.")
    (license license:gpl3+)))

(define-public texlive-aleph-bin
  (package
    (inherit texlive-bin)
    (name "texlive-aleph-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-aleph"
                 (delete "--disable-aleph"
                         (delete "--enable-web2c" #$flags))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (invoke "make" "aleph")
                  (install-file "aleph" (string-append #$output "/bin")))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-aleph))
    (synopsis "Binary for @code{texlive-aleph}")
    (description
     "This package provides the binary for @code{texlive-aleph}.")
    (license (package-license texlive-aleph))))

(define-public texlive-alfaslabone
  (package
    (name "texlive-alfaslabone")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/alfaslabone/"
                                     "fonts/enc/dvips/alfaslabone/"
                                     "fonts/map/dvips/alfaslabone/"
                                     "fonts/opentype/public/alfaslabone/"
                                     "fonts/tfm/public/alfaslabone/"
                                     "fonts/type1/public/alfaslabone/"
                                     "fonts/vf/public/alfaslabone/"
                                     "tex/latex/alfaslabone/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wpn96dd1rca52dqwngvyyvnmvak32sjz2id6lcra2jnz5jhk01g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alfaslabone")
    (synopsis "Alfa Slab One font face with support for LaTeX and pdfLaTeX")
    (description
     "The @code{alfaslabone} package supports the Alfa Slab One font face for
LaTeX.  There is only a Regular font face.  It's useful for book-chapter
headlines.")
    (license license:silofl1.1)))

(define-public texlive-alg
  (package
    (name "texlive-alg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/alg/" "source/latex/alg/"
                                     "tex/latex/alg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jqk9sgw2m4c6hssfc5c3qfxqvpyppvcmy8i5crm7fsmkv0y6wkg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alg")
    (synopsis "LaTeX environments for typesetting algorithms")
    (description
     "The package defines two environments for typesetting algorithms in LaTeX2e.
The @code{algtab} environment is used to typeset an algorithm with
automatically numbered lines.  The @code{algorithm} environment can be used to
encapsulate the @code{algtab} environment algorithm in a floating body
together with a header, a caption, etc.  @code{\\listofalgorithms} is
defined.")
    (license license:lppl)))

(define-public texlive-algobox
  (package
    (name "texlive-algobox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algobox/" "source/latex/algobox/"
                                     "tex/latex/algobox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03z5s4v1asfp6rm51wfkmax69rlggfdyb3p1acdy8cx1gwd10f2w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algobox")
    (synopsis "Typeset Algobox programs")
    (description
     "This LaTeX package can typeset Algobox programs almost exactly as
displayed when editing with Algobox itself, using an input syntax very similar
to the actual Algobox program text.  It gives better results than Algobox's
own LaTeX export which does not look like the editor rendition, produces
standalone documents cumbersome to customize, and has arbitrary and
inconsistent differences between the input syntax and the program text.")
    (license license:gpl3+)))

(define-public texlive-algolrevived
  (package
    (name "texlive-algolrevived")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/algolrevived/"
                                     "fonts/enc/dvips/algolrevived/"
                                     "fonts/map/dvips/algolrevived/"
                                     "fonts/opentype/public/algolrevived/"
                                     "fonts/tfm/public/algolrevived/"
                                     "fonts/type1/public/algolrevived/"
                                     "fonts/vf/public/algolrevived/"
                                     "tex/latex/algolrevived/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0709ijp5jqajwdc9ryhjp4jky0pqynj9wj3rryxk9z6sm63pbq1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algolrevived")
    (synopsis "Revival of Frutiger's Algol alphabet")
    (description
     "The package revives Frutiger's Algol alphabet, designed in 1963 for the
code segments in an ALGOL manual.  It provides OpenType and Type 1, regular
and medium weights, upright and slanted variations.  Albeit not monospaced,
this font is good for listings if you don't need code to be aligned with
specific columns.  It also makes a passable but limited text font.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-algorithm2e
  (package
    (name "texlive-algorithm2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algorithm2e/"
                                     "tex/latex/algorithm2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bf4fc9p84zy2zdl0hiklcbbxn17j3qyl02kyj5ya00lrf6sv93n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algorithm2e")
    (synopsis "Floating algorithm environment with algorithmic keywords")
    (description
     "Algorithm2e is an environment for writing algorithms.  An algorithm
becomes a floating object (like figure, table, etc.).  The package provides
macros that allow you to create different keywords, and a set of predefined
key words is provided; you can change the typography of the keywords.  The
package allows vertical lines delimiting a block of instructions in an
algorithm, and defines different sorts of algorithms such as @samp{Procedure}
or @samp{Function}; the name of these functions may be reused in the text or
in other algorithms.")
    (license license:lppl)))

(define-public texlive-algorithmicx
  (package
    (name "texlive-algorithmicx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algorithmicx/"
                                     "tex/latex/algorithmicx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q0qkzc88479y5dqifnpfxhclk48gf1c4shxi1xhgqbvjp2gqgza"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algorithmicx")
    (synopsis "The algorithmic style you always wanted")
    (description
     "Algorithmicx provides a flexible, yet easy to use, way for inserting
good looking pseudocode or source code in your papers.  It has built in
support for pseudocode, Pascal and C, and offers powerful means to create
definitions for any programming language.  The user can adapt a pseudocode
style to his native language.")
    (license license:lppl)))

(define-public texlive-algorithms
  (package
    (name "texlive-algorithms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algorithms/"
                                     "source/latex/algorithms/"
                                     "tex/latex/algorithms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yw0alkigq77a2ha4hdrvpagqvyy0cv61ddhvf227wlwmvw5ch2w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algorithms")
    (synopsis "A suite of tools for typesetting algorithms in pseudo-code")
    (description
     "The package consists of two environments: @code{algorithm} and
@code{algorithmic}.  The @code{algorithm} package defines a floating
@code{algorithm} environment designed to work with the @code{algorithmic}
style.  Within an @code{algorithmic} environment a number of commands for
typesetting popular algorithmic constructs are available.")
    (license license:lgpl2.1)))

(define-public texlive-algpseudocodex
  (package
    (name "texlive-algpseudocodex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algpseudocodex/"
                                     "tex/latex/algpseudocodex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03k0ynz63gqgmm6ylikpaq28cd70qfq3advv8n1nbi8bjgz7xrd4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algpseudocodex")
    (synopsis "Package for typesetting pseudocode")
    (description
     "This package allows typesetting pseudocode in LaTeX.  It is based on
@code{algpseudocode} from the @code{algorithmicx} package and uses the same
syntax, but adds several new features and improvements.  Notable features
include customizable indent guide lines and the ability to draw boxes around
parts of the code for highlighting differences.  This package also has better
support for long code lines spanning several lines and improved comments.")
    (license license:lppl1.3c)))

(define-public texlive-algxpar
  (package
    (name "texlive-algxpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/algxpar/"
                                     "tex/latex/algxpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hspzx0bd2p2aahfa54jz0f97nz1wbjykjrgb5l8ncmr11hr09h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/algxpar")
    (synopsis "Support multiple lines pseudocode")
    (description
     "This package extends the package @code{algorithmicx} to support long
text which spans over multiple lines.")
    (license license:lppl1.3+)))

(define-public texlive-aligned-overset
  (package
    (name "texlive-aligned-overset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aligned-overset/"
                                     "source/latex/aligned-overset/"
                                     "tex/latex/aligned-overset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1awawz0ypq15r16mx949g7r7pp9a60xhi8hciy1xsa6dvvj47h5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aligned-overset")
    (synopsis "Fix alignment at @code{\\overset} or @code{\\underset}")
    (description
     "This package allows the base character of @code{\\underset} or
@code{\\overset} to be used as the alignment position for the @code{aligned}
math environments.")
    (license license:lppl1.3c)))

(define-public texlive-alkalami
  (package
    (name "texlive-alkalami")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/alkalami/"
                                     "fonts/truetype/public/alkalami/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0979xhsjar0gwjp9yqp0kaf4gp4z715gr2kdb8dkqg8zzlkqhgzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alkalami")
    (synopsis "Font for Arabic-based writing systems in Nigeria and Niger")
    (description
     "This font is designed for Arabic-based writing systems in the Kano
region of Nigeria and Niger.")
    (license license:silofl1.1)))

(define-public texlive-allrunes
  (package
    (name "texlive-allrunes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/allrunes/"
                                     "fonts/map/dvips/allrunes/"
                                     "fonts/source/public/allrunes/"
                                     "fonts/type1/public/allrunes/"
                                     "source/fonts/allrunes/"
                                     "tex/latex/allrunes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14a1qaa30s4dzmg4dlrjd3faa3bcrl2gdpp700i8pghj3pjk7gp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/allrunes")
    (synopsis "Fonts and LaTeX package for almost all runes")
    (description
     "This large collection of fonts (in Adobe Type 1 format), with the LaTeX
package gives access to almost all runes ever used in Europe.  The bundle
covers not only the main forms but also a lot of varieties.")
    (license license:lppl)))

(define-public texlive-almendra
  (package
    (name "texlive-almendra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/almendra/"
                                     "fonts/enc/dvips/almendra/"
                                     "fonts/map/dvips/almendra/"
                                     "fonts/tfm/public/almendra/"
                                     "fonts/truetype/public/almendra/"
                                     "fonts/type1/public/almendra/"
                                     "fonts/vf/public/almendra/"
                                     "tex/latex/almendra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mkj0cjpry0hdynlpf719haczm1csv0yvla6nhlgp3dq5k28hvp2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/almendra")
    (synopsis "Almendra fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
the Almendra family of fonts, designed by Ana Sanfelippo.  Almendra is
a typeface design based on calligraphy.  Its style is related to the Chancery
and Gothic hands.  There are regular and bold weights with matching italics.
There is also a regular-weight small-caps.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-almfixed
  (package
    (name "texlive-almfixed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/almfixed/"
                                     "fonts/opentype/public/almfixed/"
                                     "fonts/truetype/public/almfixed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ihyldbdz89swj8lm75kb3n3nqqgzkydwlppsndfpib74pvp6s97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/almfixed")
    (synopsis "Extend TeX-Gyre Latin Modern to full Arabic Unicode support")
    (description
     "Arabic-Latin Modern Fixed is an extension of TeX-Gyre Latin Modern Mono
10 Regular.  Every glyph and OpenType feature of the Latin Modern Mono has
been retained, with minor improvements.  On the other hand, we have changed
the vertical metrics of the font.

The unique feature of Arabic-Latin Modern is its treatment of vowels and
diacritics.  Each vowel and diacritic (ALM Fixed contains a total of 68 such
glyphs) may now be edited horizontally within any text editor or processor.
Editing complex Arabic texts will now be much easier to input and to
proofread.")
    (license license:gfl1.0)))

(define-public texlive-alpha-persian
  (package
    (name "texlive-alpha-persian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/alpha-persian/"
                                     "doc/bibtex/alpha-persian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15ynmgh3fp6s40c200kgr6v0q84bkzp9cv45yg90mr9d7mq72djv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alpha-persian")
    (synopsis "Persian version of @file{alpha.bst}")
    (description
     "The package provides a Persian version of the alpha BibTeX style and
offers several enhancements.  It is compatible with the @code{hyperref},
@code{url}, @code{natbib}, and @code{cite} packages.")
    (license license:lppl1.3c)))

(define-public texlive-amscdx
  (package
    (name "texlive-amscdx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amscdx/" "source/latex/amscdx/"
                                     "tex/latex/amscdx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13gxllncd46w4kscb7isivw6x82pw9yfamcv3sq6wnx68z03n2q3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amscdx")
    (synopsis "Enhanced commutative diagrams")
    (description
     "The original @code{amscd} package provides a @code{CD} environment that
emulates the commutative diagram capabilities of AMS-TeX version 2.x.  This
means that only simple rectangular diagrams are supported, with no diagonal
arrows or more exotic features.  This enhancement package implements double,
dashed, and bidirectional arrows (left-right and up-down), and color
attributes for arrows and their annotations.  The restriction to rectangular
geometry remains.  This nevertheless allows the drawing of a much broader
class of commutative diagrams and alike.")
    (license license:lppl1.3c)))

(define-public texlive-amscls-doc
  (package
    (name "texlive-amscls-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amscls-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0allim05cp20zhn480df2mivd3p9gnc069d7hbjlzv660bw7mapx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amscls-doc")
    (synopsis "User documentation for AMS document classes")
    (description
     "This collection comprises a set of four manuals, or Author Handbooks,
each documenting the use of a class of publications based on one of the AMS
document classes @code{amsart}, @code{amsbook}, @code{amsproc} and one hybrid,
as well as a guide to the generation of the four manuals from a coordinated
set of LaTeX source files.  The Handbooks comprise the user documentation for
the pertinent document classes.  As the source for the Handbooks consists of
a large number of files, and the intended output is multiple different
documents, the principles underlying this collection can be used as a model
for similar projects.  The manual @emph{Compiling the AMS Author Handbooks}
provides information about the structure of and interaction between the
various components.")
    (license license:lppl1.3c)))

(define-public texlive-amslatex-primer
  (package
    (name "texlive-amslatex-primer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amslatex-primer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kzayyh1bycmq43s2xn81jf05r18azidbk3gv6igf2vaq37fmxil"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amslatex-primer")
    (synopsis "Getting up and running with AMS-LaTeX")
    (description
     "The document aims to get you up and running with AMS-LaTeX as quickly as
possible.  These instructions are not a substitute for the full documentation,
but they may get you started quickly enough so that you will only need to
refer to the main documentation occasionally.  In addition to AMS-LaTeX out of
the box, the document contains a section describing how to draw commutative
diagrams using Xy-pic and a section describing how to use @code{amsrefs} to
create a bibliography.")
    (license license:lppl)))

(define-public texlive-amsldoc-it
  (package
    (name "texlive-amsldoc-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsldoc-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d4hwb7hywy56d6934448lcr6fdx7qchkfzs806dr7wfzfy36yix"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsldoc-it")
    (synopsis "Italian translation of @code{amsldoc}")
    (description
     "This package provides an Italian translation of @code{amsldoc}.")
    ;; Use same license as `amsmath'.
    (license license:lppl1.3c)))

(define-public texlive-amsldoc-vn
  (package
    (name "texlive-amsldoc-vn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsldoc-vn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iz0zjn1v7izwbsq0zb6cvpnkbvk0nxw1b24j7dzqwk3m9j43i6x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amslatexdoc-vietnamese")
    (synopsis "Vietnamese translation of AMSLaTeX documentation")
    (description
     "This is a Vietnamese translation of @code{amsldoc}, the users guide to
@code{amsmath}.")
    (license license:lppl1.3+)))

(define-public texlive-amstex
  (package
    (name "texlive-amstex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/amstex/base/" "doc/man/man1/amstex.1"
                                     "doc/man/man1/amstex.man1.pdf"
                                     "tex/amstex/base/" "tex/amstex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19wmfij3g3kaqnhypczpda7i2c3nhin1h6fjwjb5raimr9g5qyql"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "amstex")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "amstex"))))))))
    (propagated-inputs
     (list texlive-amsfonts
           texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-pdftex
           texlive-plain
           texlive-tex))
    (home-page "https://ctan.org/pkg/amstex")
    (synopsis "American Mathematical Society plain TeX macros")
    (description
     "AMS-TeX is a TeX macro package based on Plain TeX: it provides many
features for producing more professional-looking maths formulas with less
burden on authors.

This is the final archival distribution of AMS-TeX.  AMS-TeX is no longer
supported by the AMS, nor is it used by the AMS publishing program.  The AMS
does not recommend creating any new documents using AMS-TeX; this distribution
will be left on CTAN to facilitate processing of legacy documents and as
a historical record of a pioneering TeX macro collection that played a key
role in popularizing TeX and revolutionizing mathematics publishing.  AMS-TeX
is the historical basis of @code{amslatex}, which should now be used to
prepare submissions for the AMS.")
    (license license:lppl)))

(define-public texlive-amsthdoc-it
  (package
    (name "texlive-amsthdoc-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsthdoc-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ic88gs89m3d9ys40c4k7sgx6wy82c8isg2qkmd4snw5yms6fpaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsthdoc-it")
    (synopsis "Italian translation of @code{amsthdoc}")
    (description
     "This package provides an Italian translation of @code{amsthdoc}.")
    ;; Use same license as `amscls'.
    (license license:lppl1.3c)))

(define-public texlive-andika
  (package
    (name "texlive-andika")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/andika/"
                                     "fonts/enc/dvips/andika/"
                                     "fonts/map/dvips/andika/"
                                     "fonts/tfm/SIL/andika/"
                                     "fonts/truetype/SIL/andika/"
                                     "fonts/type1/SIL/andika/"
                                     "fonts/vf/SIL/andika/"
                                     "tex/latex/andika/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gjahg3xwzwrj9cp6l0zmhfqxwzl4m89vvngmpq4ym0f6rg5pb4i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/andika")
    (synopsis "Andika fonts with support for all LaTeX engines")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Andika family of fonts designed by SIL International especially for
literacy use, taking into account the needs of beginning readers.  The focus
is on clear, easy-to-perceive letterforms that will not be readily confused
with one another.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-annee-scolaire
  (package
    (name "texlive-annee-scolaire")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/annee-scolaire/"
                                     "source/latex/annee-scolaire/"
                                     "tex/latex/annee-scolaire/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nwm67p4s822d7r4kr3rbvnm9vlkvzjbikqy8hq2fqsc9bdx34ib"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/annee-scolaire")
    (synopsis "Automatically typeset the academic year (French way)")
    (description
     "This package provides a macro @code{\\anneescolaire} to automatically
write the academic year in the French way, according to the date of
compilation, two other macros to obtain the first and the second calendar year
of the academic year, a macro to be redefined to change the presentation of
the years.")
    (license license:lppl1.3c)))

(define-public texlive-annotate
  (package
    (name "texlive-annotate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/annotate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12q3xk08ycz57vsrcr2glk7y48w8sbc4n8lrqaicd46cxfd4jdqm"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/annotate")
    (synopsis "Bibliography style with annotations")
    (description
     "The style is a derivative of the standard @code{alpha} style, which
processes an entry's annotate field as part of the printed output.")
    ;; There is no explicit license in the "annotate.bst" file, but it
    ;; mentions being derived from "alpha.bst", which is released under
    ;; Knuth's terms.  We therefore use the same license.
    (license license:knuth)))

(define-public texlive-annotate-equations
  (package
    (name "texlive-annotate-equations")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/annotate-equations/"
                                     "tex/latex/annotate-equations/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07cdj0sqx796gsjmrpq8bzkmiqbli24593y4axcmrr8kngfki9f2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/annotate-equations")
    (synopsis "Easily annotate math equations using TikZ")
    (description
     "This package provides commands that make it easy to highlight terms in
equations and add annotation labels using TikZ.  It should work with pdfLaTeX
as well as LuaLaTeX.")
    (license license:expat)))

(define-public texlive-anonymous-acm
  (package
    (name "texlive-anonymous-acm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anonymous-acm/"
                                     "tex/latex/anonymous-acm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05csmx485sjky64d2hwlb5f7mrkixhw1gn3nl7p7lng9sd8qh25k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anonymous-acm")
    (synopsis "Typeset anonymous versions for ACM articles")
    (description
     "Academics often need to submit anonymous versions of their papers for
peer-review.  This often requires anonymization which at some future date
needs to be reversed.  However de-anonymizing an anonymized paper can be
laborious and error-prone.  This LaTeX package allows anonymization options to
be specified at the time of writing for authors using @code{acmart.cls}, the
official @acronym{ACM, Association of Computing Machinery} master
@code{article} template.  Anonymization or deanonymization is carried out by
simply changing one option and recompiling.")
    (license license:lppl1.3+)))

(define-public texlive-anonymouspro
  (package
    (name "texlive-anonymouspro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/anonymouspro/"
                                     "fonts/afm/public/anonymouspro/"
                                     "fonts/enc/dvips/anonymouspro/"
                                     "fonts/map/dvips/anonymouspro/"
                                     "fonts/tfm/public/anonymouspro/"
                                     "fonts/truetype/public/anonymouspro/"
                                     "fonts/type1/public/anonymouspro/"
                                     "fonts/vf/public/anonymouspro/"
                                     "source/fonts/anonymouspro/"
                                     "tex/latex/anonymouspro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qfhsbq3ab72k9d023pa70vs1807djijg84l888nwsf3ylfwg7mf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anonymouspro")
    (synopsis "Use AnonymousPro fonts with LaTeX")
    (description
     "The fonts are a monowidth set, designed for use by coders.  They appear
as a set of four TrueType, or Adobe Type 1 font files, and LaTeX support is
also provided.")
    (license license:lppl1.3c)))

(define-public texlive-antanilipsum
  (package
    (name "texlive-antanilipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/antanilipsum/"
                                     "source/latex/antanilipsum/"
                                     "tex/latex/antanilipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yighrv3nxb266949m8sqvvl5yp8bhjq478h2abfrs1z0r65gpjr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/antanilipsum")
    (synopsis "Generate sentences in the style of @emph{Amici miei}")
    (description
     "This package is an italian blind text generator that ouputs supercazzole,
mocking nonsense phrases from the movie series @emph{Amici Miei} (``My
friends'', in English), directed by Mario Monicelli.")
    (license license:lppl1.3c)))

(define-public texlive-antiqua
  (package
    (name "texlive-antiqua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/antiqua/"
                                     "fonts/afm/urw/antiqua/"
                                     "fonts/map/dvips/antiqua/"
                                     "fonts/map/vtex/antiqua/"
                                     "fonts/tfm/urw/antiqua/"
                                     "fonts/type1/urw/antiqua/"
                                     "fonts/vf/urw/antiqua/"
                                     "tex/latex/antiqua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0agnibj98zx2f2r40gqcfm2f1x06389wd2qrlf6b4pl8pgay42z2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-antiqua")
    (synopsis "URW Antiqua condensed font, for use with TeX")
    (description
     "The package contains a copy of the Type 1 font URW Antiqua 2051 Regular
Condensed, with supporting files for use with (La)TeX.")
    (license license:gpl3+)))

(define-public texlive-antomega
  (package
    (name "texlive-antomega")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/omega/antomega/" "omega/ocp/antomega/"
                                     "omega/otp/antomega/"
                                     "source/lambda/antomega/"
                                     "tex/lambda/antomega/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02pfjm9y33mjggn9w2lrk1fxfz3m72xgbvyvrq2iri9yf0hk33pf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; This phase is necessary because the build phase is reluctant to
            ;; generate "hyphen.cfg" since there is another one among the
            ;; inputs already.
            (lambda _
              (substitute* "source/lambda/antomega/antomega.ins"
                (("\\\\generateFile\\{hyphen\\.cfg\\}\\{t\\}")
                 "\\generateFile{hyphen.cfg}{f}")))))))
    (propagated-inputs (list texlive-omega))
    (home-page "https://ctan.org/pkg/antomega")
    (synopsis "Alternative language support for Omega and Lambda")
    (description
     "This package provides a language support package for Omega and Lambda.
This replaces the original Omega package for use with Lambda, and provides
extra facilities (including Babel-like language switching, which eases porting
of LaTeX documents to Lambda).")
    (license license:lppl)))

(define-public texlive-anufinalexam
  (package
    (name "texlive-anufinalexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anufinalexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v1k74vxidgxn5zzqz6v9zga468kcf7hwdrnvw44cd318221y396"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anufinalexam")
    (synopsis "LaTeX document shell for ANU final exam")
    (description
     "This LaTeX document shell is created for the standard formatting of
final exams in the @acronym{ANU, Australian National University}.")
    (license license:gpl3+)))

(define-public texlive-anyfontsize
  (package
    (name "texlive-anyfontsize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anyfontsize/"
                                     "tex/latex/anyfontsize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wr4brhggmkb1rwzmcc2r5ygzqp6090z0bp3sfbarwvwz903wpdn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anyfontsize")
    (synopsis "Select any font size in LaTeX")
    (description
     "The package allows the to user select any font size , even those sizes
that are not listed in the @file{.fd} file.  If such a size is requested,
LaTeX will search for and select the nearest listed size; @code{anyfontsize}
will then scale the font to the size actually requested.  Similar
functionality is available for the CM family, for the EC family, or for either
Computer Modern encoding; the present package generalises the facility.")
    (license license:lppl)))

(define-public texlive-aomart
  (package
    (name "texlive-aomart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/aomart/" "doc/latex/aomart/"
                                     "source/latex/aomart/" "tex/latex/aomart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gdi54qi0m96pwwn59r9qjlkw0986z9ra57g1vf11h67zwmrgrv9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aomart")
    (synopsis "Typeset articles for the @emph{Annals of Mathematics}")
    (description
     "The package provides a class for typesetting articles for the
@emph{Annals of Mathematics}.")
    (license license:lppl1.3+)))

(define-public texlive-apa
  (package
    (name "texlive-apa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apa/" "tex/latex/apa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0slrvw7awva4d2zf7a6qyvh85qhrp8ml4ncdzjfizr5xz4ki6gs2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apa")
    (synopsis "American Psychological Association format")
    (description
     "This package provides a LaTeX class to format text according to the
@emph{American Psychological Association Publication Manual} (5th ed.)
specifications for manuscripts or to the @acronym{APA, Americal Psychological
Association} journal look found in journals like the @emph{Journal of
Experimental Psychology} etc.  In addition, it provides regular LaTeX-like
output with a few enhancements and APA-motivated changes.  Note that the
@code{apa7} class (covering the 7th edition of the manual) and
@code{apa6} (covering the 6th edition of the manual) are now commonly in use.
Apacite, which used to work with this class, has been updated for use with
@code{apa6}.")
    (license license:lppl)))

(define-public texlive-apa6e
  (package
    (name "texlive-apa6e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apa6e/" "source/latex/apa6e/"
                                     "tex/latex/apa6e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dksjpdywwvyj9mfhaghsrf935p061gsnx4lf5s6pkv5nxn2pbln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apa6e")
    (synopsis "Format manuscripts to APA 6th edition guidelines")
    (description
     "This is a minimalist class file for formatting manuscripts in the style
described in the @acronym{APA, American Psychological Association} 6th edition
guidelines.  The @code{apa6} class provides better coverage of the
requirements.")
    (license license:bsd-2)))

(define-public texlive-apa7
  (package
    (name "texlive-apa7")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apa7/" "source/latex/apa7/"
                                     "tex/latex/apa7/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kifjg61s16cn7zvmix2yqdz26spr7f9gsxkiv822qs3y337l6ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; ".ins" file writes files to "./config" and "./build".
               ;; Create these directories first to prevent an error.
               (add-before 'build 'prepare-build
                 (lambda _
                   (for-each mkdir-p (list "build/config" "build/samples")))))))
    (home-page "https://ctan.org/pkg/apa7")
    (synopsis "Format documents in APA style (7th edition)")
    (description
     "This class formats documents in @acronym{APA, American Psychological
Association} style (7th Edition).  It provides a full set of facilities in
four different output modes (journal-like appearance, double-spaced
manuscript, double-spaced student manuscript, LaTeX-like document).  The class
can mask author identity for copies for use in masked peer review.  It is
a development of the @code{apa6} class.")
    (license license:lppl1.3c)))

(define-public texlive-apalike-ejor
  (package
    (name "texlive-apalike-ejor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/apalike-ejor/"
                                     "doc/bibtex/apalike-ejor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qq7c81hqi46596zw322w1qd8z341zksi5720f9s75nj1hmjj12g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apalike-ejor")
    (synopsis
     "BibTeX style file for the European Journal of Operational Research")
    (description
     "This package contains a BibTeX style file, @file{apalike-ejor.bst},
made to follow the European Journal of Operational Research reference style
guidelines.")
    (license license:lppl1.3c)))

(define-public texlive-apalike2
  (package
    (name "texlive-apalike2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/apalike2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mn84ahwjg8gvw5lifvcrnch11q79d4bgw3nmhrh4v8slwgip5l7"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apalike2")
    (synopsis "Bibliography style that approaches APA requirements")
    (description
     "This package is an adaptation of @code{apalike}, which is part of the
base BibTeX distribution.")
    (license license:knuth)))

(define-public texlive-apnum
  (package
    (name "texlive-apnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/apnum/" "tex/generic/apnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s6nklimzbqc1z1vhgffzp76d1kl2shz1xkf119bck482rvn3x61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apnum")
    (synopsis "Arbitrary precision numbers implemented by TeX macros")
    (description
     "The basic operations (addition, subtraction, multiplication,
division, power to an integer) are implemented by TeX macros in this package.
Operands may be numbers with arbitrary numbers of digits; scientific notation
is allowed.  The expression scanner is also provided.")
    (license license:public-domain)))

(define-public texlive-apprendre-a-programmer-en-tex
  (package
    (name "texlive-apprendre-a-programmer-en-tex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/apprendre-a-programmer-en-tex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05779lk9v849k712wfjv0mhyzahwpl4n892ydamfdc5yg05bsnyv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apprendre-a-programmer-en-tex")
    (synopsis "@emph{Apprendre à programmer en TeX} book")
    (description
     "This book explains the basic concepts required for programming in TeX
and explains the programming methods, providing many examples.  The package
makes the compileable source code as well as the compiled PDF file accessible
to everyone.")
    (license license:lppl1.2+)))

(define-public texlive-apprends-latex
  (package
    (name "texlive-apprends-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apprends-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xzy7svb2xz6bdfg0f1r3whwda118pl7qdwygx1l7h4d1vqm2rcq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apprends-latex")
    (synopsis "@emph{Apprends LaTeX!} book")
    (description
     "@emph{Apprends LaTeX!} (``Learn LaTeX'', in English) is French
documentation for LaTeX beginners.")
    (license license:lppl)))

(define-public texlive-apxproof
  (package
    (name "texlive-apxproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apxproof/"
                                     "source/latex/apxproof/"
                                     "tex/latex/apxproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m4nvqxvnsllh25qmms6szcqqpb8wffk1z0v2p507fkgsdjz9jln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apxproof")
    (synopsis "Proofs in appendix")
    (description
     "The package makes it easier to write articles where proofs and other
material are deferred to the appendix.  The appendix material is written in
the LaTeX code along with the main text which it naturally complements, and it
is automatically deferred.  The package can automatically send proofs to the
appendix, can repeat in the appendix the theorem environments stated in the
main text, can section the appendix automatically based on the sectioning of
the main text, and supports a separate bibliography for the appendix
material.")
    (license license:lppl1.3+)))

(define-public texlive-arabi
  (package
    (name "texlive-arabi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arabi/"
                                     "fonts/afm/arabi/arabeyes/"
                                     "fonts/enc/dvips/arabi/"
                                     "fonts/map/dvips/arabi/"
                                     "fonts/tfm/arabi/arabeyes/"
                                     "fonts/tfm/arabi/farsiweb/"
                                     "fonts/type1/arabi/arabeyes/"
                                     "fonts/type1/arabi/farsiweb/"
                                     "tex/latex/arabi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19js5lw5r51n97gnf7ggvnvdkaamd0aagx73hnpyfzgzj9nb8pjr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabi")
    (synopsis "(La)TeX support for Arabic and Farsi, compliant with Babel")
    (description
     "The package provides an Arabic and Farsi script support for TeX without
the need of any external pre-processor, and in a way that is compatible with
Babel.  The bi-directional capability supposes that the user has a TeX engine
that knows the four primitives @code{\\beginR}, @code{\\endR}, @code{\\beginL}
and @code{\\endL}.  That is the case in both the TeX--XeT and e-TeX engines.

Arabi will accept input in several 8-bit encodings, including UTF-8.  Arabi
can make use of a wide variety of Arabic and Farsi fonts, and provides one of
its own.  PDF files generated using Arabi may be searched, and text may be
copied from them and pasted elsewhere.")
    (license license:lppl)))

(define-public texlive-arabi-add
  (package
    (name "texlive-arabi-add")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arabi-add/"
                                     "tex/latex/arabi-add/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lrr3vr9sv554bvad70rc32x0jgsam2jaflgxw0nid0629rmigdj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabi-add")
    (synopsis
     "Using @code{hyperref} and @code{bookmark} packages with Arabic and Farsi languages")
    (description
     "This package takes advantage of some of the possibilities that
@code{hyperref} and @code{bookmark} packages offer when you create a table of
contents for Arabic texts created by the @code{arabi} package.")
    (license license:lppl1.3)))

(define-public texlive-arabic-book
  (package
    (name "texlive-arabic-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/arabic-book/"
                                     "tex/xelatex/arabic-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070agzwpgdfvjqn2klxw2m1bavy0l9b9pqqikc7il3wx107m4ni1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabic-book")
    (synopsis "Arabic @code{book} class")
    (description
     "This document class provides both Arabic and English support for TeX and
LaTeX.  Input may be in ASCII transliteration or other encodings
(including UTF-8), and output may be Arabic, Hebrew, or any of several
languages that use the Arabic script, as can be specified by the Polyglossia
package.  The Arabic font is presently available in any Arabic fonts style.
In order to use Amiri font style, the user needs to install the amiri package.
This document class runs with the XeTeX engine.  PDF files generated using
this class can be searched, and text can be copied from them and pasted
elsewhere.")
    (license license:lppl1.3+)))

(define-public texlive-arabluatex
  (package
    (name "texlive-arabluatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/arabluatex/"
                                     "source/lualatex/arabluatex/"
                                     "tex/lualatex/arabluatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g1ai0inai3jniq49avfswyaysxlk1yp6n97l94pq8v3vszx0k8i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabluatex")
    (synopsis "ArabTeX for LuaLaTeX")
    (description
     "This package provides for LuaLaTeX an ArabTeX-like interface to generate
Arabic writing from an ascii transliteration.  It is particularly well-suited
for complex documents such as technical documents or critical editions where
a lot of left-to-right commands intertwine with Arabic writing.
@code{arabluatex} is able to process any ArabTeX input notation.  Its output
can be set in the same modes of vocalization as ArabTeX, or in different roman
transliterations.  It further allows many typographical refinements.  It will
eventually interact with some other packages yet to come to produce from
@file{.tex} source files, in addition to printed books, TEI XML compliant
critical editions and/or lexicons that can be searched, analyzed and
correlated in various ways.")
    (license (list license:gpl3+ license:cc-by-sa4.0))))

(define-public texlive-arabtex
  (package
    (name "texlive-arabtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arabtex/"
                                     "fonts/map/dvips/arabtex/"
                                     "fonts/source/public/arabtex/"
                                     "fonts/tfm/public/arabtex/"
                                     "fonts/type1/public/arabtex/"
                                     "tex/latex/arabtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z1iaj59lawilydp31d3zxbd5jbny4szpdnkbwl6lrnki4c0s51c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/arabtex")
    (synopsis "Macros and fonts for typesetting Arabic")
    (description
     "ArabTeX is a package extending the capabilities of TeX and LaTeX to
generate Arabic and Hebrew text.  Input may be in ASCII transliteration or
other encodings (including UTF-8); output may be Arabic, Hebrew, or any of
several languages that use the Arabic script.  ArabTeX consists of a TeX macro
package and Arabic and Hebrew fonts (provided both in Metafont format and
Adobe Type 1).  The Arabic font is presently only available in the Naskhi
style.  ArabTeX will run with Plain TeX and also with LaTeX.")
    (license license:lppl)))

(define-public texlive-arara
  (package
    (name "texlive-arara")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/arara.1"
                                     "doc/man/man1/arara.man1.pdf"
                                     "doc/support/arara/" "scripts/arara/"
                                     "source/support/arara/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13wqpc586vmk2c3fj2w1ykixrgfkjnwiplb1ra5mia9m53g6s7wz"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "icedtea")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "arara.sh")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-java
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "scripts/arara/arara.sh"
                (("java") (search-input-file inputs "/bin/java"))))))))
    (inputs (list icedtea))
    (home-page "https://ctan.org/pkg/arara")
    (synopsis "Automation of LaTeX compilation")
    (description
     "Arara is comparable with other well-known compilation tools like
@command{latexmk} and @command{rubber}.  The key difference is that Arara
determines its actions from metadata in the source code, rather than relying
on indirect resources, such as log file analysis.  Arara requires a Java
virtual machine.")
    (license license:bsd-3)))

(define-public texlive-aramaic-serto
  (package
    (name "texlive-aramaic-serto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aramaic-serto/"
                                     "fonts/afm/public/aramaic-serto/"
                                     "fonts/map/dvips/aramaic-serto/"
                                     "fonts/source/public/aramaic-serto/"
                                     "fonts/tfm/public/aramaic-serto/"
                                     "fonts/type1/public/aramaic-serto/"
                                     "tex/latex/aramaic-serto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "154bicknhsj8nypnyzr999wj34xli0kfpic9vym805abxbpwrmsw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/aramaic-serto")
    (synopsis "Fonts and LaTeX for Syriac written in Serto")
    (description
     "This package enables (La)TeX users to typeset words or phrases (e-TeX
extensions are needed) in Syriac (Aramaic) using the Serto-alphabet.  The
package includes a preprocessor written in Python in order to deal with
right-to-left typesetting for those who do not want to use e-LaTeX and to
choose the correct letter depending on word context (initial/medial/final
form).")
    (license license:lppl1.3+)))

(define-public texlive-archaeologie
  (package
    (name "texlive-archaeologie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/archaeologie/"
                                     "doc/latex/archaeologie/"
                                     "source/latex/archaeologie/"
                                     "tex/latex/archaeologie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17wffhg034ja4iy6sikyhfh97gvjhk2020bpk3zqmh13wkh2p6cg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/archaeologie")
    (synopsis "Citation-style for the German Archaeological Institute")
    (description
     "This citation-style covers the citation and bibliography rules of the
German Archaeological Institute (DAI).  Various options are available to
change and adjust the outcome according to one's own preferences.")
    (license license:lppl1.3+)))

(define-public texlive-archaic
  (package
    (name "texlive-archaic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/archaic/"
                                     "fonts/afm/public/archaic/"
                                     "fonts/map/dvips/archaic/"
                                     "fonts/source/public/archaic/"
                                     "fonts/tfm/public/archaic/"
                                     "fonts/type1/public/archaic/"
                                     "source/fonts/archaic/"
                                     "tex/latex/archaic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a6lp4w9b76q1w30a58205b1n7jf61n58ps2hdxrhpg9nxqwy1w0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/archaic")
    (synopsis "Collection of archaic fonts")
    (description
     "The collection contains fonts to represent Aramaic, Cypriot,
Etruscan, Greek of the 6th and 4th centuries BCE, Egyptian hieroglyphics,
Linear A, Linear B, Nabatean old Persian, the Phaistos disc, Phoenician,
proto-Semitic, runic, South Arabian Ugaritic and Viking scripts.  The bundle
also includes a small font for use in phonetic transcription of the archaic
writings.")
    (license license:lppl)))

(define-public texlive-archivo
  (package
    (name "texlive-archivo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/archivo/"
                                     "fonts/enc/dvips/archivo/"
                                     "fonts/map/dvips/archivo/"
                                     "fonts/opentype/public/archivo/"
                                     "fonts/tfm/public/archivo/"
                                     "fonts/type1/public/archivo/"
                                     "fonts/vf/public/archivo/"
                                     "tex/latex/archivo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wdvr7ch2ydj41yd0xniwppb5wh1m9w97d839fhmp21lgyhss0jl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/archivo")
    (synopsis "Archivo font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Archivo family of fonts designed by
Omnibus-Type, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-arimo
  (package
    (name "texlive-arimo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arimo/"
                                     "fonts/enc/dvips/arimo/"
                                     "fonts/map/dvips/arimo/"
                                     "fonts/tfm/google/arimo/"
                                     "fonts/truetype/google/arimo/"
                                     "fonts/type1/google/arimo/"
                                     "fonts/vf/google/arimo/"
                                     "tex/latex/arimo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06m23slsvcp0pm2ds2rxmgj0qrrvy8qknda4yjhvcz9almwb4syx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arimo")
    (synopsis "Arimo sans serif fonts with LaTeX support")
    (description
     "The Arimo family, designed by Steve Matteson, is a refreshing sans serif
design which is metrically compatible with Arial.")
    (license license:asl2.0)))

(define-public texlive-armtex
  (package
    (name "texlive-armtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/armenian/"
                                     "fonts/afm/public/armenian/"
                                     "fonts/map/dvips/armenian/"
                                     "fonts/source/public/armenian/"
                                     "fonts/tfm/public/armenian/"
                                     "fonts/type1/public/armenian/"
                                     "tex/latex/armenian/"
                                     "tex/plain/armenian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00y0kb6kmfa8d2sqsya93b312170p3vgcd0q9b9l96vys45npx8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/armtex")
    (synopsis "System for writing in Armenian with TeX and LaTeX")
    (description
     "ArmTeX is a system for typesetting Armenian text with Plain TeX or LaTeX(2e).
It may be used with input: from a standard Latin keyboard without any special
encoding or support for Armenian letters, from any keyboard which uses an
encoding that has Armenian letters in the second half (characters 128-255) of
the extended ASCII table (for example ArmSCII8 Armenian standard), or from an
Armenian keyboard using UTF-8 encoding.")
    (license license:lppl)))

(define-public texlive-around-the-bend
  (package
    (name "texlive-around-the-bend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/around-the-bend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00nc6kx4ylz9g6vmjlgyjvmy1ls86pjblbcpm5z40wh5xl7l184f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/around-the-bend")
    (synopsis "Typeset exercises in TeX, with answers")
    (description
     "This is a typeset version of the files of the @code{aro-bend}, plus
three extra questions (with their answers) that Michael Downes didn't manage
to get onto CTAN.")
    (license license:lppl)))

(define-public texlive-arphic
  (package
    (name "texlive-arphic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arphic/"
                                     "dvips/arphic/"
                                     "fonts/afm/arphic/bkaiu/"
                                     "fonts/afm/arphic/bsmiu/"
                                     "fonts/afm/arphic/gbsnu/"
                                     "fonts/afm/arphic/gkaiu/"
                                     "fonts/map/dvips/arphic/"
                                     "fonts/tfm/arphic/bkaimp/"
                                     "fonts/tfm/arphic/bkaiu/"
                                     "fonts/tfm/arphic/bsmilp/"
                                     "fonts/tfm/arphic/bsmiu/"
                                     "fonts/tfm/arphic/gbsnlp/"
                                     "fonts/tfm/arphic/gbsnu/"
                                     "fonts/tfm/arphic/gkaimp/"
                                     "fonts/tfm/arphic/gkaiu/"
                                     "fonts/type1/arphic/bkaiu/"
                                     "fonts/type1/arphic/bsmiu/"
                                     "fonts/type1/arphic/gbsnu/"
                                     "fonts/type1/arphic/gkaiu/"
                                     "fonts/vf/arphic/bkaimp/"
                                     "fonts/vf/arphic/bsmilp/"
                                     "fonts/vf/arphic/gbsnlp/"
                                     "fonts/vf/arphic/gkaimp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sqsgw9xjgd3ss2q7hwnb3vv38sg7l9i8bvsy79m5hyg29wn973x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arphic")
    (synopsis "Arphic (Chinese) font packages")
    (description
     "These are font bundles for the Chinese Arphic fonts which work with the
CJK package.  TrueType versions of these fonts for use with XeLaTeX and
LuaLaTeX are provided by the @code{arphic-ttf} package.")
    ;; The files are generated from `chinese-fonts-truetype', located in
    ;; non-GNU FTP site, using the license below.
    (license license:arphic-1999)))

(define-public texlive-arphic-ttf
  (package
    (name "texlive-arphic-ttf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arphic-ttf/"
                                     "fonts/truetype/public/arphic-ttf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "141hsz7lhqpbz3k10kl57bg21yslrb562alk1a6q129i56zb7jby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arphic-ttf")
    (synopsis "TrueType version of Chinese Arphic fonts")
    (description
     "This package provides TrueType versions of the Chinese Arphic fonts for
use with XeLaTeX and LuaLaTeX.  Type1 versions of these fonts, for use with
pdfLaTeX and the @code{cjk} package, are provided by the @code{arphic}
package.")
    (license license:arphic-1999)))

(define-public texlive-arsclassica
  (package
    (name "texlive-arsclassica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arsclassica/"
                                     "tex/latex/arsclassica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cxmp68na3ww565r7ixqbhsy2mp063wwq5p6gwvq5fdrk34ci2a5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arsclassica")
    (synopsis "Different view of the ClassicThesis package")
    (description
     "The package changes some typographical points of the ClassicThesis
style.  It enables the user to reproduce the look of the guide @emph{The art
of writing with LaTeX} (the web page is in Italian).")
    (license license:lppl)))

(define-public texlive-articleingud
  (package
    (name "texlive-articleingud")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/articleingud/"
                                     "source/latex/articleingud/"
                                     "tex/latex/articleingud/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iprjpjr3yav8afmgirrfmdipxb1fmdwa3b0ss5y8l7wspijmmp8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/articleingud")
    (synopsis "LaTeX class for articles published in INGENIERIA review")
    (description
     "The package provides a class for articles published in INGENIERIA
review.  This class is derived from the standard LaTeX class @code{article}.")
    (license license:lppl1.2+)))

(define-public texlive-arvo
  (package
    (name "texlive-arvo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arvo/"
                                     "fonts/enc/dvips/arvo/"
                                     "fonts/map/dvips/arvo/"
                                     "fonts/tfm/public/arvo/"
                                     "fonts/truetype/public/arvo/"
                                     "fonts/vf/public/arvo/"
                                     "tex/latex/arvo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dc52n81wxz06vfbxzmfdp9j6a217v8yf8bczqlnx5vgzy8wlmi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arvo")
    (synopsis "Arvo font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Arvo family of fonts, designed by Anton
Koovit, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-asaetr
  (package
    (name "texlive-asaetr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/asaetr/" "doc/latex/asaetr/"
                                     "tex/latex/asaetr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yms34l9nx151vgjrjsa94801q0bgp2khjgk933iy1bpkmm7jf2d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asaetr")
    (synopsis "Transactions of the ASAE")
    (description
     "This package provides a class and BibTeX style for submissions to the
@emph{Transactions of the American Society of Agricultural Engineers}.  Also
included is the Metafont source of a slanted Computer Modern Caps and Small
Caps font.")
    (license license:public-domain)))

(define-public texlive-asapsym
  (package
    (name "texlive-asapsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/asapsym/"
                                     "fonts/opentype/omnibus-type/asapsym/"
                                     "source/fonts/asapsym/"
                                     "tex/generic/asapsym/"
                                     "tex/latex/asapsym/"
                                     "tex/plain/asapsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "038adcagkzy1bj5y9i5a4i5kbyr3wg7w0lfhbbg9z7glqmivilic"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asapsym")
    (synopsis "Using the ASAP Symbol font with LaTeX and Plain TeX")
    (description
     "The package provides macros (usable with LaTeX or Plain TeX) for using
the ASAP Symbol font, which is also included.  The font is distributed in
OpenType format, and makes extensive use of OpenType features.  Therefore, at
this time, only XeTeX and LuaTeX are supported.")
    (license license:lppl1.3+)))

(define-public texlive-ascelike
  (package
    (name "texlive-ascelike")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ascelike/" "doc/latex/ascelike/"
                                     "tex/latex/ascelike/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14n4z4agsnnvms51r142q0r5bv9yqp4gchrr7zvakkp2r3232dai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ascelike")
    (synopsis "Bibliography style for the ASCE")
    (description
     "This package provides a document class and bibliographic style that
prepares documents in the style required by the @acronym{ASCE, American
Society of Civil Engineers}.  These are unofficial files, not sanctioned by
that organization.")
    (license license:lppl)))

(define-public texlive-ascii-chart
  (package
    (name "texlive-ascii-chart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ascii-chart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m2x7iwz80plq6hbhp9xia6bp8wbi03iifs0pkr7ji3gn8hqgh1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ascii-chart")
    (synopsis "ASCII wall chart")
    (description
     "This package contains an ASCII wall chart.  The document may be
converted between Plain TeX and LaTeX by a simple editing action.")
    (license license:lppl1.3+)))

(define-public texlive-ascii-font
  (package
    (name "texlive-ascii-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ascii-font/"
                                     "fonts/map/dvips/ascii-font/"
                                     "fonts/tfm/public/ascii-font/"
                                     "fonts/type1/public/ascii-font/"
                                     "source/fonts/ascii-font/"
                                     "tex/latex/ascii-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cbzvbszxyv552z1274m3bf5k40xr8w12da17db0w2w02y47nyq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ascii-font")
    (synopsis "Use the ASCII font in LaTeX")
    (description
     "The package provides glyph and font access commands so that LaTeX users
can use the ASCII glyphs in their documents.  The ASCII font is encoded
according to the IBM PC Code Page 437 C0 Graphics.")
    (license license:lppl)))

(define-public texlive-ascmac
  (package
    (name "texlive-ascmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ascmac/"
                                     "fonts/map/dvips/ascmac/"
                                     "fonts/source/public/ascmac/"
                                     "fonts/tfm/public/ascmac/"
                                     "fonts/type1/public/ascmac/"
                                     "source/latex/ascmac/"
                                     "tex/latex/ascmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d388nqyjipqsgd0pd4zrskaf3wddacg6rrmy3q1n8pvmna4gmz1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ascmac")
    (synopsis "Boxes and picture macros with Japanese vertical writing support")
    (description
     "The bundle provides boxes and picture macros with Japanese vertical
writing support.  It uses only native picture macros and fonts for drawing
boxes and is thus driver independent.")
    (license license:bsd-3)))

(define-public texlive-asmeconf
  (package
    (name "texlive-asmeconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/asmeconf/" "doc/latex/asmeconf/"
                                     "tex/latex/asmeconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sgpm9avf7s81xzq80ny0d0i2zvhgjz3iqnbx5xpwkrk82gi3qsv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asmeconf")
    (synopsis "LaTeX template for ASME conference papers")
    (description
     "The @code{asmeconf} class provides a LaTeX template for ASME conference
papers, following ASME's guidelines for margins, fonts, headings, captions,
and reference formats as of 2022.  This LaTeX template is intended to be used
with the @file{asmeconf.bst} BibTeX style, for reference formatting, which is
part of this distribution.  The code is compatible with pdfLaTeX or LuaLaTeX.

This LaTeX template is not a publication of ASME.")
    (license license:expat)))

(define-public texlive-asmejour
  (package
    (name "texlive-asmejour")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/asmejour/" "doc/latex/asmejour/"
                                     "tex/latex/asmejour/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13znp2mmizab1993f00f2pq3wg104z5vndnqgszbnia2yxr9g18f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asmejour")
    (synopsis "Template for ASME journal papers")
    (description
     "The @code{asmejour} class provides a template to format preprints
submitted to ASME journals.  The layout and reference formats closely follow
the style that is currently being used for published papers.  The class is
intended to be used with the @file{asmejour.bst} BibTeX style, which is part
of this distribution. The class is compatible with pdfLaTeX or LuaLaTeX.

This package is not a publication of ASME.")
    (license license:expat)))

(define-public texlive-aspectratio
  (package
    (name "texlive-aspectratio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aspectratio/"
                                     "fonts/map/dvips/aspectratio/"
                                     "fonts/source/public/aspectratio/"
                                     "fonts/tfm/public/aspectratio/"
                                     "fonts/type1/public/aspectratio/"
                                     "tex/latex/aspectratio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vm1aj4mm2rn2p032nakg16gmyzv43149h2v1l18dw72sayqqg2s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/aspectratio")
    (synopsis "Capital @samp{A} and capital @samp{R} ligature for Aspect Ratio")
    (description
     "The package provides fonts (both as Adobe Type 1 format, and as Metafont
source) for the AR symbol (for Aspect Ratio) used by aeronautical scientists
and engineers.  Note that the package supersedes the package @code{ar}.")
    (license license:lppl)))

(define-public texlive-asternote
  (package
    (name "texlive-asternote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/asternote/"
                                     "tex/latex/asternote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a53pmw237lm1yjx55qwq3fq6jq34vlw03w62vrq3ksw9346dg5r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asternote")
    (synopsis "Annotation symbols enclosed in square brackets with an asterisk")
    (description
     "This LaTeX package can output annotation symbols enclosed in square
brackets and marked with an asterisk.")
    (license license:expat)))

(define-public texlive-astro
  (package
    (name "texlive-astro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/astro/"
                                     "fonts/source/public/astro/"
                                     "fonts/tfm/public/astro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pdmn93wiarwplha6r59ap9nvhdm9ir4aa4az93w3b189g316g2c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/astro")
    (synopsis "Astronomical (planetary) symbols")
    (description
     "Astrosym is a font containing astronomical symbols, including those used
for the planets, four planetoids, the phases of the moon, the signs of the
zodiac, and some additional symbols.  The font is distributed as Metafont
source.")
    (license license:lppl)))

(define-public texlive-asymptote-by-example-zh-cn
  (package
    (name "texlive-asymptote-by-example-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/asymptote-by-example-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0854pbh3rm21rzzbhai7xijzw26qawffj4wd3mrwbva1406106ff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asymptote-by-example-zh-cn")
    (synopsis "Asymptote by example")
    (description "This is an Asymptote tutorial written in Simplified
Chinese.")
    (license license:gpl3+)))

(define-public texlive-asymptote-faq-zh-cn
  (package
    (name "texlive-asymptote-faq-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/asymptote-faq-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z09f5as68dz66dlj370xfx593bv50ihxx10zxmm9lk27ymr52hb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asymptote-faq-zh-cn")
    (synopsis "Asymptote FAQ (Chinese translation)")
    (description "This is a Chinese translation of the Asymptote FAQ.")
    (license license:lppl)))

(define-public texlive-asymptote-manual-zh-cn
  (package
    (name "texlive-asymptote-manual-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/asymptote-manual-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "047l3bh8vvk185wkazyfw4dm6893xpa2ksn5vfc57r5rv4x16wmb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asymptote-manual-zh-cn")
    (synopsis "Chinese translation of the Asymptote manual")
    (description
     "This is an (incomplete, simplified) Chinese translation of the Asymptote
manual.")
    (license license:lgpl3+)))

(define-public texlive-atkinson
  (package
    (name "texlive-atkinson")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/atkinson/"
                                     "fonts/enc/dvips/atkinson/"
                                     "fonts/map/dvips/atkinson/"
                                     "fonts/opentype/public/atkinson/"
                                     "fonts/tfm/public/atkinson/"
                                     "fonts/type1/public/atkinson/"
                                     "fonts/vf/public/atkinson/"
                                     "tex/latex/atkinson/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00wg21v7jiaw3qajdxp2jih5xjpv7h8d0n1d6zjnzkxzk0p8zcj0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/atkinson")
    (synopsis "Support for the Atkinson Hyperlegible family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Atkinson Hyperlegible family of fonts.  What makes it different from
traditional typography design is that it focuses on letterform distinction to
increase character recognition, ultimately improving readability.")
    (license
     (list license:lppl
           (license:fsdg-compatible
            "file://doc/Atkinson-Hyperlegible-Font-License-2020-1104.pdf")))))

(define-public texlive-aucklandthesis
  (package
    (name "texlive-aucklandthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aucklandthesis/"
                                     "tex/latex/aucklandthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bdm6crn17a0rrszx28r6bn8v9w6z4rwfz2r8avd5fc3byl5dix8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aucklandthesis")
    (synopsis "Memoir-based class for formatting University of Auckland theses")
    (description
     "This package provides a @code{memoir}-based class for formatting
University of Auckland masters and doctors thesis dissertations in any
discipline.  The title page does not handle short dissertations for
diplomas.")
    (license license:lppl1.3+)))

(define-public texlive-augie
  (package
    (name "texlive-augie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/augie/"
                                     "fonts/afm/public/augie/"
                                     "fonts/map/dvips/augie/"
                                     "fonts/tfm/public/augie/"
                                     "fonts/type1/public/augie/"
                                     "fonts/vf/public/augie/"
                                     "tex/latex/augie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvl04lcvi4vsx547gx349dbld4hf7k2j08adqlnszs23p95yj3f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/augie")
    (synopsis "Calligraphic font for typesetting handwriting")
    (description
     "This package provides a calligraphic font for simulating American-style
informal handwriting.  The font is distributed in Adobe Type 1 format.")
    (license license:lppl)))

(define-public texlive-auncial-new
  (package
    (name "texlive-auncial-new")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/auncial-new/"
                                     "fonts/afm/public/auncial-new/"
                                     "fonts/map/dvips/auncial-new/"
                                     "fonts/tfm/public/auncial-new/"
                                     "fonts/type1/public/auncial-new/"
                                     "source/fonts/auncial-new/"
                                     "tex/latex/auncial-new/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1644ank81l1qlijmld88k1qq3qk4x6an0qvyqz1da2dgwdhjap00"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/auncial-new")
    (synopsis "Artificial Uncial font and LaTeX support macros")
    (description
     "The @code{auncial-new} bundle provides packages and fonts for a script
based on the Artificial Uncial manuscript book-hand used between the 6th &
10th century AD.  The script consists of minuscules and digits, with some
appropriate period punctuation marks.  Both normal and bold versions are
provided, and the font is distributed in Adobe Type 1 format.")
    (license license:lppl)))

(define-public texlive-aurical
  (package
    (name "texlive-aurical")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aurical/"
                                     "fonts/afm/public/aurical/"
                                     "fonts/map/dvips/aurical/"
                                     "fonts/source/public/aurical/"
                                     "fonts/tfm/public/aurical/"
                                     "fonts/type1/public/aurical/"
                                     "tex/latex/aurical/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jaqr4gdywnjn7hclinjyydndxsa1f2j7382ygl0jnj35kxz0pkr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aurical")
    (synopsis "Calligraphic fonts for use with LaTeX in T1 encoding")
    (description
     "The package that implements a set (AuriocusKalligraphicus) of three
calligraphic fonts derived from the author's handwriting in Adobe Type
1 Format, T1 encoding for use with LaTeX: Auriocus Kalligraphicus; Lukas
Svatba; and Jana Skrivana.  Each font features old style digits
and (machine-generated) boldface and slanted versions.  A variant of Lukas
Svatba offers a long @samp{s}.")
    (license license:lppl)))

(define-public texlive-authordate
  (package
    (name "texlive-authordate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/authordate/"
                                     "doc/bibtex/authordate/"
                                     "tex/latex/authordate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d3cd63b80vfd8vzbpn6dnhy47fpq5rxm95i52id2j6606gi1skf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/authordate")
    (synopsis "Author/date style citation styles")
    (description
     "The bundle provides four BibTeX styles (@code{authordate1}, ...,
@code{authordate4}), and a LaTeX package, for citation in author/date style.
The BibTeX styles differ in how they format names and titles; one of them is
necessary for the LaTeX package to work.")
    (license license:knuth)))

(define-public texlive-auto-pst-pdf
  (package
    (name "texlive-auto-pst-pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/auto-pst-pdf/"
                                     "source/latex/auto-pst-pdf/"
                                     "tex/latex/auto-pst-pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lpjwqd0rhdzz3kywl54pjlpj1qsj7kflj0336vj2zb20rxl0hqp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ifplatform texlive-iftex texlive-xkeyval))
    (home-page "https://ctan.org/pkg/auto-pst-pdf")
    (synopsis "Wrapper for @code{pst-pdf} (with some PSfrag features)")
    (description
     "The package uses @samp{--shell-escape} to execute @code{pst-pdf} when necessary.
Wrappers are provided for various psfrag-related features so that Matlab
figures via @code{laprint}, Mathematica figures via MathPSfrag, and regular
PSfrag figures can all be input consistently and easily.")
    (license license:lppl1.3c)))

(define-public texlive-autoaligne
  (package
    (name "texlive-autoaligne")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/autoaligne/"
                                     "tex/generic/autoaligne/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "138d030zgzpdwqxx55gjw35y0c3v794fpa3c6znc9kv1vj8cs9d3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/autoaligne")
    (synopsis "Align terms and members in math expressions")
    (description
     "This package allows to align terms and members between lines containing
math expressions.")
    (license license:lppl1.3c)))

(define-public texlive-autobreak
  (package
    (name "texlive-autobreak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/autobreak/"
                                     "source/latex/autobreak/"
                                     "tex/latex/autobreak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xw4m1wyv17xi6yjfcamb1gjdwzbhrjjdpyc8fydq1qbki1yvv1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/autobreak")
    (synopsis "Simple line breaking of long formulae")
    (description
     "This package implements a simple mechanism of line or page breaking
within the @code{align} environment of the @code{amsmath} package; new line
characters are considered as possible candidates for the breaks and the
package tries to put breaks at adequate places.  It is suitable for
computer-generated long formulae with many terms.")
    (license license:lppl1.3+)))

(define-public texlive-autosp
  (package
    (name "texlive-autosp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/autosp/"
                                     "doc/man/man1/autosp.1"
                                     "doc/man/man1/autosp.man1.pdf"
                                     "doc/man/man1/tex2aspc.1"
                                     "doc/man/man1/tex2aspc.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n9vpb0cmi0b9gbi3f70zafvhj9znvfhd9614xcn49jwss2bwdk9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-autosp-bin))
    (home-page "https://ctan.org/pkg/autosp")
    (synopsis
     "Preprocessor generating note-spacing commands for MusiXTeX scores")
    (description
     "This program simplifies the creation of MusiXTeX scores by converting
(non-standard) commands of the form @code{\\anotes ... \\en} into one or more
conventional note-spacing commands, as determined by the note values
themselves, with @code{\\sk} spacing commands inserted as necessary.  The
coding for an entire measure can be entered one part at a time, without
concern for note-spacing changes within the part or spacing requirements of
other parts.")
    (license license:gpl2+)))

(define-public texlive-autosp-bin
  (package
    (inherit texlive-bin)
    (name "texlive-autosp-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("autosp"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-autosp" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/autosp"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda* (#:key inputs native-inputs #:allow-other-keys)
                (with-directory-excursion "utils/autosp"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-autosp))
    (synopsis "Binaries for @code{texlive-autosp}")
    (description
     "This package provides binaries for @code{texlive-autosp}.")
    (license (package-license texlive-autosp))))

(define-public texlive-axodraw2
  (package
    (name "texlive-axodraw2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/axodraw2/"
                                     "doc/man/man1/axohelp.1"
                                     "doc/man/man1/axohelp.man1.pdf"
                                     "source/latex/axodraw2/"
                                     "tex/latex/axodraw2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x1cskdm3kmf08gdrvgasd1b3l0dri9mdmk13880dz4g2rdgbvi2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-axodraw2-bin))
    (home-page "https://ctan.org/pkg/axodraw2")
    (synopsis "Feynman diagrams in a LaTeX document")
    (description
     "This package defines macros for drawing Feynman graphs in LaTeX documents.
It is an important update of the @code{axodraw} package, but since it is not
completely backwards compatible, we have given the style file a changed name.

Many new features have been added, with new types of line, and much more
flexibility in their properties.  In addition, it is now possible to use
@code{axodraw2} with pdfLaTeX, as well as with the LaTeX-dvips method.
However with pdfLaTeX (and also LuaLaTeX and XeLaTeX), an external program,
@command{axohelp}, is used to perform the geometrical calculations needed for
the pdf code inserted in the output file.  The processing involves a run of
@command{pdflatex}, a run of @command{axohelp}, and then another run of
@command{pdflatex}.")
    (license license:gpl3+)))

(define-public texlive-axodraw2-bin
  (package
    (inherit texlive-bin)
    (name "texlive-axodraw2-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("axodraw2"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-axodraw2" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/axodraw2"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/axodraw2"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-axodraw2))
    (synopsis "Binary for @code{texlive-axodraw2}")
    (description
     "This package provides the binary for @code{texlive-axodraw2}.")
    (license (package-license texlive-axodraw2))))

(define-public texlive-b1encoding
  (package
    (name "texlive-b1encoding")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/b1encoding/"
                                     "fonts/enc/dvips/b1encoding/"
                                     "source/latex/b1encoding/"
                                     "tex/latex/b1encoding/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lzsa0k5rr0n50d31dh4ghww329qjpg39w843zmh05z0jir6rg79"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/b1encoding")
    (synopsis "LaTeX encoding tools for Bookhands fonts")
    (description
     "The package characterises and defines the author's B1 encoding for use
with LaTeX when typesetting things using his Bookhands fonts.")
    (license license:lppl1.3+)))

(define-public texlive-backnaur
  (package
    (name "texlive-backnaur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/backnaur/"
                                     "source/latex/backnaur/"
                                     "tex/latex/backnaur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "168ng265vdl74l9c2jmp34ba6ir5i6c1jb7jpyzc31g9snqmyr09"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/backnaur")
    (synopsis "Typeset Backus Naur Form definitions")
    (description
     "The package typesets Backus-Naur Form (BNF) definitions.  It prints
formatted lists of productions, with numbers if required.  It can also print
in-line BNF expressions using math mode.")
    (license license:lppl1.3c)))

(define-public texlive-baekmuk
  (package
    (name "texlive-baekmuk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baekmuk/"
                                     "fonts/truetype/public/baekmuk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nc6sfjbimh1g8zhcl58ag6kqskhwd3h0m68y7k2v3v5i9n5g5yr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baekmuk")
    (synopsis "Baekmuk Korean TrueType fonts")
    (description
     "This bundle consists of four Korean fonts: @file{batang.ttf} (serif),
@file{dotum.ttf} (sans-serif), @file{gulim.ttf} (sans-serif rounded) and
@file{hline.ttf} (headline).")
    (license license:expat)))

(define-public texlive-bagpipe
  (package
    (name "texlive-bagpipe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/bagpipe/"
                                     "tex/generic/bagpipe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zybnikkj00hmlzfaaljcq1ml5vi6qfhl1hfrjq9vjc409vzzvka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bagpipe")
    (synopsis "Support for typesetting bagpipe music")
    (description
     "Typesetting bagpipe music in MusixTeX is needlessly tedious.  This
package provides specialized and re-defined macros to simplify this task.")
    (license license:lppl1.3+)))

(define-public texlive-bangla
  (package
    (name "texlive-bangla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangla/"
                                     "fonts/truetype/public/bangla/"
                                     "tex/latex/bangla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0basibrsbns9s2ny6ny95hl6dj4rjf6q4z9bqn2kc9945akxg8af"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-charissil texlive-doulossil))
    (home-page "https://ctan.org/pkg/bangla")
    (synopsis "Comprehensive Bangla LaTeX package")
    (description
     "This package provides all the necessary LaTeX frontends for the Bangla
language and comes with some fonts of its own.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-bangorcsthesis
  (package
    (name "texlive-bangorcsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangorcsthesis/"
                                     "source/latex/bangorcsthesis/"
                                     "tex/latex/bangorcsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "138h5q8060z7frb6krrzcx49pd0ifqh1lizi465gs6x7q7cdagz8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bangorcsthesis")
    (synopsis "Typeset a thesis at Bangor University")
    (description
     "The class typesets thesis or dissertation documents for all
levels (i.e., both undergraduate and graduate students may use the class).  It
also provides macros designed to optimise the process of producing a thesis.")
    (license license:lppl1.3+)))

(define-public texlive-bangorexam
  (package
    (name "texlive-bangorexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangorexam/"
                                     "source/latex/bangorexam/"
                                     "tex/latex/bangorexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09pp88415mba65icf6cx4vqn3an54hrgkd8s677ndlf2ml7n0lhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bangorexam")
    (synopsis "Typeset an examination at Bangor University")
    (description
     "The package allows typesetting of Bangor Univesity's exam style.  It
currently supports a standard A/B choice, A-only compulsory and n from m exam
styles.  Marks are totalled and checked automatically.")
    (license license:lppl1.3+)))

(define-public texlive-bangtex
  (package
    (name "texlive-bangtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bangtex/"
                                     "fonts/source/public/bangtex/"
                                     "fonts/tfm/public/bangtex/"
                                     "tex/latex/bangtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hmv27wpnwv70gipvfvxs1rwfjqbcy0lgn09hs2ah6ayqgr740im"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bangtex")
    (synopsis "Writing Bangla and Assamese with LaTeX")
    (description
     "The bundle provides class files for writing Bangla and Assamese with LaTeX,
and Metafont sources for fonts.")
    (license license:lppl)))

(define-public texlive-barr
  (package
    (name "texlive-barr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/barr/" "tex/generic/barr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l532g0nxigbllv2lf74bwx78sf4jsfr1cad0hpq7i7kq820wbii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diagxy")
    (synopsis "Diagram macros by Michael Barr")
    (description
     "Diagxy is a general diagramming package, useful for diagrams in a number
of mathematical disciplines.")
    (license license:lppl1.3+)))

(define-public texlive-bartel-chess-fonts
  (package
    (name "texlive-bartel-chess-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bartel-chess-fonts/"
                                     "fonts/source/public/bartel-chess-fonts/"
                                     "fonts/tfm/public/bartel-chess-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gg7g2gb5j0g0ig4190260zlpnyfmdzcqn7dsw5kp9p5pbn5hbhf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Strange path (turning
    ;; number is zero)." error.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bartel-chess-fonts")
    (synopsis "Set of fonts supporting chess diagrams")
    (description "This package provides fonts supporting chess diagrams.")
    (license license:gpl3+)))

(define-public texlive-baskervald
  (package
    (name "texlive-baskervald")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baskervald/"
                                     "fonts/afm/arkandis/baskervald/"
                                     "fonts/enc/dvips/baskervald/"
                                     "fonts/map/dvips/baskervald/"
                                     "fonts/tfm/arkandis/baskervald/"
                                     "fonts/type1/arkandis/baskervald/"
                                     "fonts/vf/arkandis/baskervald/"
                                     "source/fonts/baskervald/"
                                     "tex/latex/baskervald/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1alny6nsxm43mn84w16vp2whlhnmqkr7pfx8jsmgkz8bkxzh9pg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baskervaldadf")
    (synopsis "Baskervald ADF fonts collection with TeX and LaTeX support")
    (description
     "Baskervald ADF is a serif family with lining figures designed as
a substitute for Baskerville.  The family currently includes upright and
italic or oblique shapes in each of regular, bold and heavy weights.  All
fonts include the slashed zero and additional non-standard ligatures.")
    (license license:lppl)))

(define-public texlive-baskervaldx
  (package
    (name "texlive-baskervaldx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baskervaldx/"
                                     "fonts/afm/public/baskervaldx/"
                                     "fonts/enc/dvips/baskervaldx/"
                                     "fonts/map/dvips/baskervaldx/"
                                     "fonts/opentype/public/baskervaldx/"
                                     "fonts/tfm/public/baskervaldx/"
                                     "fonts/type1/public/baskervaldx/"
                                     "fonts/vf/public/baskervaldx/"
                                     "tex/latex/baskervaldx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h3959cxlbjxyw4kf4j3rpjar389kfq1kn9wq89xaifhvcmvll1a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baskervaldx")
    (synopsis "Extension and modification of BaskervaldADF with LaTeX support")
    (description
     "This package extends and modifies the BaskervaldADF font (a Baskerville
substitute) with more accented glyphs, with small caps and oldstyle figures in
all shapes.  It includes OpenType and PostScript fonts, as well as LaTeX
support files.")
    (license (list license:gpl2+ license:lppl1.3+))))

(define-public texlive-baskervillef
  (package
    (name "texlive-baskervillef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/baskervillef/"
                                     "fonts/enc/dvips/baskervillef/"
                                     "fonts/map/dvips/baskervillef/"
                                     "fonts/opentype/public/baskervillef/"
                                     "fonts/tfm/public/baskervillef/"
                                     "fonts/type1/public/baskervillef/"
                                     "fonts/vf/public/baskervillef/"
                                     "tex/latex/baskervillef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "107lqn684kgr7fk3zh1lgi6q7hqz9gs18kkg3fbbrg9qjva1j4xv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/baskervillef")
    (synopsis "Fry's Baskerville look-alike, with math support")
    (description
     "BaskervilleF is a fork from the Libre Baskerville fonts (Roman, Italic,
Bold only).  Their fonts are optimized for web usage, while BaskervilleF is
optimized for traditional TeX usage, normally destined for production of PDF
files.  A bold italic style was added and mathematical support is offered as
an option to @code{newtxmath}.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-basque-book
  (package
    (name "texlive-basque-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/basque-book/"
                                     "source/latex/basque-book/"
                                     "tex/latex/basque-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16jgn4pxqbmq2dx5gfyy4p04ykaijkjyy9banp3l3a6ykm2xn8w7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/basque-book")
    (synopsis "Class for book-type documents written in Basque")
    (description
     "The class is derived from the LaTeX @code{book} class.  The extensions
solve grammatical and numeration issues that occur when book-type documents
are written in Basque.  The class is useful for writing books, PhD and Master
Theses, etc., in Basque.")
    (license license:lppl1.2+)))

(define-public texlive-basque-date
  (package
    (name "texlive-basque-date")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/basque-date/"
                                     "source/latex/basque-date/"
                                     "tex/latex/basque-date/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n1nc2nrwl3ajk1n7xbnf49mvg8dlqlyndsyywgs46dnv55b7gs5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/basque-date")
    (synopsis "Print the date in Basque")
    (description
     "The package provides two LaTeX commands to print the current date in
Basque according to the correct forms ruled by The Basque Language Academy
(Euskaltzaindia).  The commands automatically solve the complex declination
issues of numbers in Basque.")
    (license license:lppl1.2+)))

(define-public texlive-bath-bst
  (package
    (name "texlive-bath-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bath-bst/"
                                     "doc/bibtex/bath-bst/"
                                     "source/bibtex/bath-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06v5icy6537d69g5in7ps322wgnkf0imd93gnmh2y7fladsmvp06"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bath-bst")
    (synopsis
     "Harvard referencing style recommended by the University of Bath Library")
    (description
     "This package provides a BibTeX style to format reference lists in the
Harvard style recommended by the University of Bath Library.  It should be
used in conjunction with @code{natbib} for citations.")
    (license license:lppl1.3c)))

(define-public texlive-bbding
  (package
    (name "texlive-bbding")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bbding/"
                                     "fonts/source/public/bbding/"
                                     "fonts/tfm/public/bbding/"
                                     "source/latex/bbding/" "tex/latex/bbding/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l507nxnnh880h5kg8q0ww6sl93k441l0lsplr5ldrngxvx1vrsc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bbding")
    (synopsis "Symbol (dingbat) font and LaTeX macros for its use")
    (description
     "This package provides a symbol font (distributed as Metafont source)
that contains many of the symbols of the Zapf dingbats set, together with an
NFSS interface for using the font.  An Adobe Type 1 version of the fonts is
available in the @code{niceframe} fonts bundle.")
    (license license:lppl)))

(define-public texlive-bbold-type1
  (package
    (name "texlive-bbold-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bbold-type1/"
                                     "fonts/afm/public/bbold-type1/"
                                     "fonts/map/dvips/bbold-type1/"
                                     "fonts/type1/public/bbold-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1flccfh58w977j9w62mcn7xzspmg68gb6h5nwh2mfbz7l0015fsz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bbold-type1")
    (synopsis "Adobe Type 1 format version of the @code{bbold} font")
    (description
     "The files offer an Adobe Type 1 format version of the 5pt, 7pt and 10pt
versions of the @code{bbold} fonts.")
    ;; The README states: "You may freely use, modify and/or
    ;; distribute this file".
    (license (license:fsf-free "file:doc/fonts/bbold-type1/README"))))

(define-public texlive-bboldx
  (package
    (name "texlive-bboldx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bboldx/"
                                     "fonts/afm/public/bboldx/"
                                     "fonts/enc/dvips/bboldx/"
                                     "fonts/map/dvips/bboldx/"
                                     "fonts/tfm/public/bboldx/"
                                     "fonts/type1/public/bboldx/"
                                     "tex/latex/bboldx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r4s3yyah0iqwhzss52wjv3wml5r4bywp3fbanjzkv16f2pk51yb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bboldx")
    (synopsis "Extend the @code{bbold} package with a Blackboard Bold alphabet")
    (description
     "This is an extension of @code{bbold} to a package with three weights,
of which the original is considered as light and the additions as regular and
bold.")
    ;; The README states: "You may freely use, modify and/or
    ;; distribute this file".
    (license (license:fsf-free "file://doc/fonts/bboldx/README"))))

(define-public texlive-bclogo
  (package
    (name "texlive-bclogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bclogo/" "metapost/bclogo/"
                                     "tex/latex/bclogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "087d4cgv42vf8hh1d5n09zjbd0rl7rs961gzqmp1ha8n8fymadi2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bclogo")
    (synopsis "Creating colourful boxes with logos")
    (description
     "The package facilitates the creation of colorful boxes with a title and logo.
It may use either TikZ or PSTricks as graphics engine.")
    (license license:lppl1.3+)))

(define-public texlive-beamer-fuberlin
  (package
    (name "texlive-beamer-fuberlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamer-fuberlin/"
                                     "tex/latex/beamer-fuberlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03zp6gpzilcfgrbz1lh8lpldvkf9g98f45fhsb72ikgjnka6211c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamer-fuberlin")
    (synopsis "Beamer, using the style of FU Berlin")
    (description
     "The bundle provides a @code{beamer}-derived class and a theme style file
for the corporate design of the Free University in Berlin.  Users may use the
class itself (FUbeamer) or use the theme in the usual way with
@code{\\usetheme@{BerlinFU@}}.")
    (license license:lppl)))

(define-public texlive-beamer-verona
  (package
    (name "texlive-beamer-verona")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamer-verona/"
                                     "tex/latex/beamer-verona/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q79bdsc98a3y5h0yb3qwpsd0yyfyaxfjfhn4xkxf2qzyfp1mgd5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamer-verona")
    (synopsis "Theme for the @code{beamer} class")
    (description
     "This package provides the Verona theme for the @code{beamer} class.")
    (license license:lppl1.3+)))

(define-public texlive-beebe
  (package
    (name "texlive-beebe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/beebe/" "tex/generic/beebe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w6n6112mq82gz8mmyfjs1wgqfpy1dln2s49r8dmxzqjakws1486"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblio")
    (synopsis "Collection of bibliographies")
    (description
     "This package provides a collection of BibTeX bibliographies on
TeX-related topics (including, for example, spell-checking and SGML).  Each
includes a LaTeX wrapper file to typeset the bibliography.")
    (license license:public-domain)))

(define-public texlive-begingreek
  (package
    (name "texlive-begingreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/begingreek/"
                                     "source/latex/begingreek/"
                                     "tex/latex/begingreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1amzzc96pqxjicrgl4fnl2j7b65vvpxl32ckl308nbwfhd56fz6l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/begingreek")
    (synopsis "Greek environment to be used with pdfLaTeX only")
    (description
     "This simple package defines a greek environment to be used with pdfLaTeX
only, that accepts an optional Greek font family name to type its contents
with.  A similar @code{\\greektxt} command does a similar action for shorter
texts.")
    (license license:lppl1.3c)))

(define-public texlive-beilstein
  (package
    (name "texlive-beilstein")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/beilstein/"
                                     "doc/latex/beilstein/"
                                     "source/latex/beilstein/"
                                     "tex/latex/beilstein/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gr4fb0g3449jx6mbwfl2g00anss6xbj9xiak83hkc7797jzmg2b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beilstein")
    (synopsis
     "Support for submissions to the @emph{Beilstein Journal of Nanotechnology}")
    (description
     "The package provides a LaTeX class file and a BibTeX style file in
accordance with the requirements of submissions to the @emph{Beilstein Journal
of Nanotechnology}.")
    (license license:lppl1.3c)))

(define-public texlive-belleek
  (package
    (name "texlive-belleek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/belleek/"
                                     "fonts/map/dvips/belleek/"
                                     "fonts/truetype/public/belleek/"
                                     "fonts/type1/public/belleek/"
                                     "source/latex/belleek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jigkk2xlnfllwaj6qsisgvl5b2kcwnv5j921cvm7gjn9x1i941"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/belleek")
    (synopsis "Replacement for basic MathTime fonts")
    (description "This package replaces the original MathTime fonts.")
    (license license:public-domain)))

(define-public texlive-begriff
  (package
    (name "texlive-begriff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/begriff/" "tex/latex/begriff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vi7i35fqi32y26crk5aj93mivix61ppgmpz0djshizwrd9pn9xy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/begriff")
    (synopsis "Typeset Begriffschrift")
    (description
     "The package defines maths mode commands for typesetting Frege's
@emph{Begriffschrift}.")
    (license license:gpl3+)))

(define-public texlive-bengali
  (package
    (name "texlive-bengali")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bengali/"
                                     "fonts/source/public/bengali/"
                                     "fonts/tfm/public/bengali/"
                                     "source/latex/bengali/" "tex/latex/bengali/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "077rs7rcx592g5m53hy73w6jd39qgb83z5sg2jbymjfwkk7y593h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bengali-pandey")
    (synopsis "Support for the Bengali language")
    (description
     "The package is based on Velthuis transliteration scheme, with extensions
to deal with the Bengali letters that are not in Devanagari.  The package also
supports Assamese.")
    (license license:lppl)))

(define-public texlive-berenisadf
  (package
    (name "texlive-berenisadf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/berenisadf/"
                                     "fonts/afm/arkandis/berenisadf/"
                                     "fonts/enc/dvips/berenisadf/"
                                     "fonts/map/dvips/berenisadf/"
                                     "fonts/opentype/arkandis/berenisadf/"
                                     "fonts/tfm/arkandis/berenisadf/"
                                     "fonts/type1/arkandis/berenisadf/"
                                     "tex/latex/berenisadf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11daizsls1zhwdfy78s2rjk76zwkziv33xrvrqbxybs2hdbg261d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/berenisadf")
    (synopsis "Berenis ADF fonts and TeX/LaTeX support")
    (description
     "The bundle provides the BerenisADF Pro font collection, in OpenType and
PostScript Type 1 formats, together with support files to use the fonts in
TeXnANSI (LY1) and LaTeX standard T1 and TS1 encodings.")
    ;; (La)TeX support is released under LPPL 1.3+ terms.  Fonts themselves
    ;; use GPL 2+ with exceptions.
    (license (list license:lppl1.3+ license:gpl2+))))

(define-public texlive-besjournals
  (package
    (name "texlive-besjournals")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/besjournals/"
                                     "doc/bibtex/besjournals/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mcc5xa56j17h6wv9b111qypw6ff4mg0skapa4wq79lb8p3l1cmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/besjournals-bst")
    (synopsis
     "Bibliographies suitable for British Ecological Society journals")
    (description
     "The package provides a BibTeX style for use with journals published by
the British Ecological Society.  The style was produced independently of the
Society, and has no formal approval by the BES.")
    (license license:lppl)))

(define-public texlive-bestpapers
  (package
    (name "texlive-bestpapers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bestpapers/"
                                     "doc/bibtex/bestpapers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c0lp51z5z2707r1hig993gbx78v7zb84wmk3z9iyw08m3bbq34s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bestpapers")
    (synopsis "A BibTeX package to produce lists of authors' best papers")
    (description
     "Many people preparing their resumes find the requirement ``please list
five (or six, or ten) papers authored by you''.  The same requirement is often
stated for reports prepared by professional teams.  The creation of such lists
may be a cumbersome task.  Even more difficult is it to support such lists
over the time, when new papers are added.  The BibTeX style
@file{bestpapers.bst} is intended to facilitate this task.  It is based on the
idea that it is easier to score than to sort: we can assign a score to a paper
and then let the computer select the papers with highest scores.")
    (license license:public-domain)))

(define-public texlive-betababel
  (package
    (name "texlive-betababel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/betababel/"
                                     "tex/latex/betababel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lck0wighndd3qrhcks6amc6gm5y50f6a61nfcz31j087r3a7liv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/betababel")
    (synopsis "Insert ancient greek text coded in Beta Code")
    (description
     "The @code{betababel} package extends the Babel @samp{polutonikogreek}
option to provide a simple way to insert ancient Greek texts with diacritical
characters into your document using the commonly used Beta Code
transliteration.")
    (license license:lppl)))

(define-public texlive-beuron
  (package
    (name "texlive-beuron")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/beuron/"
                                     "fonts/map/dvips/beuron/"
                                     "fonts/opentype/public/beuron/"
                                     "fonts/source/public/beuron/"
                                     "fonts/tfm/public/beuron/"
                                     "fonts/type1/public/beuron/"
                                     "tex/latex/beuron/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06hk60z0s2rdbj1iard10zxw7zvvm2xds755r4mqh0p70qhkpjzx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/beuron")
    (synopsis "Script of the Beuronese art school")
    (description
     "This package provides the script used in the works of the Beuron art
school for use with TeX and LaTeX.  It is a monumental script consisting of
capital letters only.  The fonts are provided as Metafont sources, in the
Type1 and in the OpenType format.  The package includes suitable font
selection commands for use with LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-bfh-ci
  (package
    (name "texlive-bfh-ci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bfh-ci/" "tex/latex/bfh-ci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "175mb10mcj7yq3ncg2bgm1c9i7rgkmrwbfbw3vdm9m7z526k9g34"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-adjustbox
                             texlive-amsfonts
                             texlive-amsmath
                             texlive-anyfontsize
                             texlive-beamer
                             texlive-fontawesome
                             texlive-fontspec
                             texlive-geometry
                             texlive-graphics
                             texlive-handoutwithnotes
                             texlive-hyperref
                             texlive-iftex
                             texlive-koma-script
                             texlive-l3kernel
                             texlive-l3packages
                             texlive-listings
                             texlive-nunito
                             texlive-pgf
                             texlive-qrcode
                             texlive-sourceserifpro
                             texlive-tcolorbox
                             texlive-tools
                             texlive-translations
                             texlive-url
                             texlive-xcolor
                             texlive-zref))
    (home-page "https://ctan.org/pkg/bfh-ci")
    (synopsis "Corporate design for Bern University of Applied Sciences")
    (description
     "This bundle provides possibilities to use the corporate design of Bern
University of Applied Sciences (BFH) with LaTeX.  To this end it contains
classes as well as some helper packages and config files.")
    (license license:lppl1.3c)))

(define-public texlive-bgteubner
  (package
    (name "texlive-bgteubner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bgteubner/"
                                     "doc/latex/bgteubner/"
                                     "makeindex/bgteubner/"
                                     "source/latex/bgteubner/"
                                     "tex/latex/bgteubner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1plc42glcq2pxyns6lm6fygicjm8whrls1qlfw00fccsw9v1hgxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; This phase is necessary because the build phase is reluctant to
            ;; generate "ltxdoc.cfg" since there is another one among the
            ;; inputs already.
            (lambda _
              (substitute* "source/latex/bgteubner/hhsubfigure.ins"
                (("\\\\generateFile\\{ltxdoc\\.cfg\\}\\{t\\}")
                 "\\generateFile{ltxdoc.cfg}{f}")))))))
    (home-page "https://ctan.org/pkg/bgteubner")
    (synopsis "Class for producing books for the publisher Teubner Verlag")
    (description
     "The @code{bgteubner} document class has been programmed by order of the
Teubner Verlag, Wiesbaden, Germany, to ensure that books of this publisher
have a unique layout.  Unfortunately, most of the documentation is only
available in German.  Since the document class is intended to generate
a unique layout, many things (layout etc.) are fixed and cannot be altered by
the user.")
    (license license:lppl)))

(define-public texlive-bguq
  (package
    (name "texlive-bguq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bguq/"
                                     "fonts/map/dvips/bguq/"
                                     "fonts/source/public/bguq/"
                                     "fonts/tfm/public/bguq/"
                                     "fonts/type1/public/bguq/"
                                     "source/fonts/bguq/"
                                     "tex/latex/bguq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d87ihzwq3lxhr28yaj1wpkvl4jgcfw8859g9mamrprkm7klm2rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bguq")
    (synopsis "Improved quantifier stroke for Begriffsschrift packages")
    (description
     "The font contains a single character: the Begriffsschrift quantifier (in
several sizes), as used to set the Begriffsschrift (concept notation) of
Frege.  The font is not intended for end users; instead it is expected that it
will be used by other packages which implement the Begriffsschrift.")
    (license license:lppl)))

(define-public texlive-bib-fr
  (package
    (name "texlive-bib-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bib-fr/" "doc/bibtex/bib-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11af1p52vr16l5gf69ql2zz0328yqd75nbcvik7b0g05pbqc12nv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bib-fr")
    (synopsis "French translation of classical BibTeX styles")
    (description
     "These files are French translations of the classical BibTeX style
files.")
    (license license:lppl)))

(define-public texlive-bib2gls
  (package
    (name "texlive-bib2gls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bib2gls.1"
                                     "doc/man/man1/bib2gls.man1.pdf"
                                     "doc/man/man1/convertgls2bib.1"
                                     "doc/man/man1/convertgls2bib.man1.pdf"
                                     "doc/support/bib2gls/"
                                     "scripts/bib2gls/"
                                     "source/support/bib2gls/src/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06jylyhgj53dc424j7ahlxng5wwa2ihf4azx9851h68rylv4i6fh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "bib2gls.sh" "convertgls2bib.sh")))
    (propagated-inputs (list texlive-glossaries-extra))
    (home-page "https://ctan.org/pkg/bib2gls")
    (synopsis
     "Convert @file{.bib} files to @file{glossaries-extra.sty} resource files")
    (description
     "This Java command line application may be used to extract glossary
information stored in a @file{.bib} file and convert it into glossary entry
definition commands.  This application should be used with
@file{glossaries-extra.sty}'s record package option.  It performs two
functions in one: it selects entries according to records found in the
@file{.aux} file (similar to BibTeX), and hierarchically sorts entries and
collates location lists (similar to MakeIndex or Xindy).  The glossary entries
can then be managed in a system such as JabRef, and only the entries that are
actually required will be defined, reducing the resources required by TeX.

The supplementary application @command{convertgls2bib} can be used to convert
existing @file{.tex} files containing definitions (@code{\\newglossaryentry}
etc.)#: to the @file{.bib} format required by @command{bib2gls}.")
    (license license:gpl3+)))

(define-public texlive-bibarts
  (package
    (name "texlive-bibarts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibarts/" "source/latex/bibarts/"
                                     "tex/latex/bibarts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "130qdf75225zz1g2cr0rw0kz4pylyif5nz98wnqjsnly5kdxkz6k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (add-after 'build 'build-and-install'bibsort
                 (lambda _
                   (mkdir-p "build")
                   (invoke "gcc" "-o" "build/bibsort"
                           "source/latex/bibarts/bibsort.c")
                   (install-file "build/bibsort"
                                 (string-append #$output "/bin")))))))
    (home-page "https://ctan.org/pkg/bibarts")
    (synopsis "Arts-style bibliographical information")
    (description
     "@code{BibArts} is a LaTeX package to assist in making bibliographical
features common in the arts and the humanities (history, political science,
philosophy, etc.).  @file{bibarts.sty} provides commands for quotations,
abbreviations, and especially for a formatted citation of literature,
journals (periodicals), edited sources, and archive sources.

It will also copy all citation information, abbreviations, and register key
words into lists for an automatically generated appendix.  These lists may
refer to page and footnote numbers. BibArts has nothing to do with BibTeX.
The lists are created by @command{bibsort}.  This program creates the
bibliography without using MakeIndex or BibTeX.")
    (license license:gpl3+)))

(define-public texlive-bibcop
  (package
    (name "texlive-bibcop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/bibcop/"
                                     "doc/man/man1/bibcop.1"
                                     "doc/man/man1/bibcop.man1.pdf"
                                     "scripts/bibcop/"
                                     "source/bibtex/bibcop/"
                                     "tex/latex/bibcop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16w1iwiq7wfz7q4rfrv9pkf71m9yxrpxq70c8asy2vh73sh90szn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "bibcop.pl")))
    (inputs (list perl))
    (propagated-inputs (list texlive-iexec texlive-pgfopts))
    (home-page "https://ctan.org/pkg/bibcop")
    (synopsis "Style checker for .bib files")
    (description
     "This LaTeX package checks the quality of your @file{.bib} file and emits
warning messages if any issues are found.  For this, the TeX processor must be
run with the @samp{--shell-escape} option.  @command{bibcop} can also be used
as a standalone command line tool.")
    (license license:expat)))

(define-public texlive-biber-ms
  (package
    (name "texlive-biber-ms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/biber-ms/"
                                     "source/bibtex/biber-ms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10r9jgarrbvqrz9nkjfkzsy3niggg5w6sjr7zi7bqy8zhkwf3hsf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biber-ms")
    (synopsis
     "BibTeX replacement for users of BibLaTeX (multiscript version)")
    (description
     "This is the multiscript version of Biber.  It must be used with the
multiscript version of @code{biblatex-ms}.")
    (license license:artistic2.0)))

(define-public texlive-bibexport
  (package
    (name "texlive-bibexport")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bibexport/"
                                     "doc/bibtex/bibexport/" "scripts/bibexport/"
                                     "source/bibtex/bibexport/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "161056627w1lazfpld3lyjwfrl8j8gc4b6dzml46bzwf7mk9ifln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "bibexport.sh")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'build 'fix-bash-shebang
            (lambda _
              (substitute* "scripts/bibexport/bibexport.sh"
                (("/bin/bash") (which "bash"))))))))
    (home-page "https://ctan.org/pkg/bibexport")
    (synopsis "Extract a BibTeX file based on a @file{.aux} file")
    (description
     "This package provides a Bourne shell script that uses BibTeX to extract
bibliography entries that are @code{\\cite}'d in a document.  It can also
expand a BibTeX file, expanding the abbreviations (other than the built-in
ones like month names) and following the cross-references.")
    (license license:lppl1.3+)))

(define-public texlive-bibhtml
  (package
    (name "texlive-bibhtml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bibhtml/" "doc/bibtex/bibhtml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fjpipxc885hk9pvjf3f0wsp84lr1d7flvs5c56jmlvryvc6mv0w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibhtml")
    (synopsis "BibTeX support for HTML files")
    (description
     "Bibhtml consists of a Perl script and a set of BibTeX style files, which
together allow you to output a bibliography as a collection of HTML files.
The references in the text are linked directly to the corresponding
bibliography entry, and if a URL is defined in the entry within the BibTeX
database file, then the generated bibliography entry is linked to this.  The
package provides three different style files derived from each of the standard
@file{plain.bst} and @file{alpha.bst}, as well as two style files derived from
@file{abbrv.bst} and unsrt.bst (i.e., eight in total).")
    (license license:gpl3+)))

(define-public texlive-biblatex-abnt
  (package
    (name "texlive-biblatex-abnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-abnt/"
                                     "tex/latex/biblatex-abnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14j3yn8ijwaa547gzyw7ql8q871w5r9rprc6l1s5dhp7vz3kzk6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-abnt")
    (synopsis "BibLaTeX style for Brazil's ABNT rules")
    (description
     "This package offers a BibLaTeX style for Brazil's ABNT (Brazilian
Association of Technical Norms) rules.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-ajc2020unofficial
  (package
    (name "texlive-biblatex-ajc2020unofficial")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ajc2020unofficial/"
                                     "tex/latex/biblatex-ajc2020unofficial/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ngh68a7ihhvpdfz09c087pfqnnpj3mnm8c4jmw8krq52b79fr87"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ajc2020unofficial")
    (synopsis "BibLaTeX style for the Australasian Journal of Combinatorics")
    (description
     "This is an unofficial BibLaTeX style for the Australasian Journal of
Combinatorics.  Note that the journal (as for 01 March 2020) does not accept
BibLaTeX, so you probably want to use @code{biblatex2bibitem}.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-anonymous
  (package
    (name "texlive-biblatex-anonymous")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-anonymous/"
                                     "tex/latex/biblatex-anonymous/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q24xrr80i6xsq65gfvvi1s5qsp78g52qgn2nf2523gjnnzp4p7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-anonymous")
    (synopsis "Tool to manage anonymous work with BibLaTeX")
    (description
     "The package provides tools to help manage anonymous work with BibLaTeX.
It will be useful, for example, in history or classical philology.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-apa6
  (package
    (name "texlive-biblatex-apa6")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-apa6/"
                                     "tex/latex/biblatex-apa6/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14xkqca4l4sb8jwlz6k28hmlya4m9474sv79icyzzq1v0vbqmgbq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-apa6")
    (synopsis "BibLaTeX citation and reference style for APA 6th Edition")
    (description
     "This is a fairly complete BibLaTeX style (citations and references) for
APA (American Psychological Association) 6th Edition conformant publications.
It implements and automates most of the guidelines in the APA 6th edition
style guide for citations and references.  An example document is also given
which typesets every citation and reference example in the APA 6th edition
style guide.  This is a legacy style for 6th Edition documents.  Please use
the BibLaTeX-apa style package for the latest APA edition conformance.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-archaeology
  (package
    (name "texlive-biblatex-archaeology")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-archaeology/"
                                     "source/latex/biblatex-archaeology/"
                                     "tex/latex/biblatex-archaeology/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "059mp6c1wgxkdjqrpwyx9yafw8dma75c3653rjc3sp66xx3akr8k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-archaeology")
    (synopsis "Collection of BibLaTeX styles for German prehistory")
    (description
     "This package provides additional BibLaTeX styles for German humanities.
Its core purpose is to enable the referencing rules of the Romano-Germanic
Commission (@emph{Romisch-Germanische Kommission}), the department of
prehistory of the German Archaeological Institute (@emph{Deutsches
Archaologisches Institut}), since these are referenced by most guidelines in
German prehistory and medieval archaeology and serve as a kind of template.
@code{biblatex-archaeology} provides verbose, numeric and author date styles
as well and adaptions to specific document types like exhibition and auction
catalogues.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-arthistory-bonn
  (package
    (name "texlive-biblatex-arthistory-bonn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-arthistory-bonn/"
                                     "tex/latex/biblatex-arthistory-bonn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iwms7w1xqghdf3s0m91xzw4y7d20lvpv69ibl92cpjj5fggp0x8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-arthistory-bonn")
    (synopsis "BibLaTeX citation style for art historians")
    (description
     "This citation style covers the citation and bibliography guidelines of
the Kunsthistorisches Institut der Universitat Bonn for undergraduates.  It
introduces bibliography entry types for catalogs and features a tabular
bibliography, among other things.  Various options are available to change and
adjust the outcome according to one's own preferences.  The style is
compatible with English and German.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-bath
  (package
    (name "texlive-biblatex-bath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bath/"
                                     "source/latex/biblatex-bath/"
                                     "tex/latex/biblatex-bath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c640csqvq0f9fd5d7xx4apllbwvr4cmi2x38863wlrvlnxa9kd7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bath")
    (synopsis "Style recommended by the University of Bath Library")
    (description
     "This package provides a BibLaTeX style to format reference lists in the
Harvard style recommended by the University of Bath Library.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-bookinarticle
  (package
    (name "texlive-biblatex-bookinarticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bookinarticle/"
                                     "tex/latex/biblatex-bookinarticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mhj3adqlirylhjqj8y0m8pinmark07zqvx00zl9rrdpagj6q4y8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bookinarticle")
    (synopsis "Manage book edited in article")
    (description
     "This package provides three new BibLaTeX entry types --- @code{@@bookinarticle},
@code{@@bookinincollection} and @code{@@bookinthesis} --- to refer to a modern
edition of an old book, where this modern edition is provided in
a @code{@@article}, @code{@@incollection} or in a @code{@@thesis}.  The
package is now superseded by @code{biblatex-bookinother}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-bookinother
  (package
    (name "texlive-biblatex-bookinother")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bookinother/"
                                     "tex/latex/biblatex-bookinother/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "062ri08pwr5fh8v500dbgrc7nbxgi0jd864xfmvf601lwpwqn9c7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bookinother")
    (synopsis "Manage book edited in other entry type")
    (description
     "This package provides new BibLaTeX entry types and fields for book
edited in other types, like for instance @code{@@bookinarticle}.  It offers
more types than the older package @code{biblatex-bookinarticle}, which it
supersedes.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-bwl
  (package
    (name "texlive-biblatex-bwl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-bwl/"
                                     "tex/latex/biblatex-bwl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "122qz05rc7c3pys6adg38xq0r123f4hspc3yyw8l2mzlpbbwm9y5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-bwl")
    (synopsis "BibLaTeX citations for FU Berlin")
    (description
     "The bundle provides a set of BibLaTeX implementations of bibliography
and citation styles for the Business Administration Department of the Free
University of Berlin.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-caspervector
  (package
    (name "texlive-biblatex-caspervector")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-caspervector/"
                                     "tex/latex/biblatex-caspervector/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m1x3r52i6z06gy3jqlhaqnc876mi0qwjywmwyapvm8kfa2my0p3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-caspervector")
    (synopsis "Simple citation style for Chinese users")
    (description
     "The package provides a simple and easily extensible biblography/citation
style for Chinese LaTeX users, using BibLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-chem
  (package
    (name "texlive-biblatex-chem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-chem/"
                                     "tex/latex/biblatex-chem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y4fgnykh5x48cnbgyhgj04iqz05mvnzqvjn84vbr3mqmwjrndbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-chem")
    (synopsis
     "BibLaTeX implementations of chemistry-related bibliography styles")
    (description
     "The bundle offers a set of styles to allow chemists to use BibLaTeX.
The package has complete styles for: all ACS journals; RSC journals using
standard (Chem.@: Commun.) style; and Angewandte Chem.@: style, (thus covering
a wide range of journals).")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-chicago
  (package
    (name "texlive-biblatex-chicago")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-chicago/"
                                     "tex/latex/biblatex-chicago/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00y8h4hvmz17bn46936xfi1cy0rsh5y33pyc1hrkrrldabq8rxys"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-chicago")
    (synopsis "Chicago style files for BibLaTeX")
    (description
     "This is a BibLaTeX style that implements the Chicago author-date and
notes with bibliography style specifications given in the @emph{Chicago Manual
of Style}, 17th edition (with continuing support for the 16th edition, too).
The style implements entry types for citing audio-visual materials, among many
others.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-claves
  (package
    (name "texlive-biblatex-claves")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-claves/"
                                     "tex/latex/biblatex-claves/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08ydcv7qlbxaysh7jm3d4glrhp1fyd4fvvxc3jc4k50ga77ksqj0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-claves")
    (synopsis "Tool to manage claves of old litterature with BibLaTeX")
    (description
     "When studying antic and medieval literature, we may find many different
texts published with the same title, or, in contrary, the same text published
with different titles.  To avoid confusion, scholars have published claves,
which are books listing ancient texts, identifying them by an identifier ---
a number or a string of text.  For example, for early Christianity, we have
the Bibliotheca Hagiographica Graeca, the Clavis Apocryphorum Novi Testamenti
and other claves.  It could be useful to print the identifier of a texts in
one specific clavis, or in many claves.  The package allows us to create new
field for different claves, and to present all these fields in a consistent
way.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-cv
  (package
    (name "texlive-biblatex-cv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-cv/"
                                     "tex/latex/biblatex-cv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17m6lqnr35y6vcfrrhlhxjf55b85py9miksswhkipyiaj3kphhb8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-cv")
    (synopsis "Create a CV from BibTeX files")
    (description
     "This package creates an academic curriculum vitae (CV) from a BibTeX
@file{.bib} file.  The package makes use of BibLaTeX and Biber to
automatically format, group, and sort the entries on a CV.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-dw
  (package
    (name "texlive-biblatex-dw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-dw/"
                                     "tex/latex/biblatex-dw/bbx/"
                                     "tex/latex/biblatex-dw/cbx/"
                                     "tex/latex/biblatex-dw/lbx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vw008djg535hdwbmk5dqvaw0v6cm3lqmlvk8sfzybpqffw1crlr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-dw")
    (synopsis "Humanities styles for BibLaTeX")
    (description
     "This package provides a small collection of styles for the BibLaTeX
package.  It was designed for citations in the humanities and offers some
features that are not provided by the standard BibLaTeX styles.  The styles
are dependent on BibLaTeX and cannot be used without it.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-enc
  (package
    (name "texlive-biblatex-enc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-enc/"
                                     "tex/latex/biblatex-enc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k9sais0dknydcdy1a7fkkrb5grqap3q2jn8qk36x658nkjjb9ln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-enc")
    (synopsis "BibLaTeX style for the Ecole nationale des chartes (Paris)")
    (description
     "This package provides a citation and bibliography style for use with
BibLaTeX.  It conforms to the bibliographic standards used at the Ecole
nationale des chartes (Paris), and may be suitable for a more general use in
historical and philological works.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-ext
  (package
    (name "texlive-biblatex-ext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ext/"
                                     "tex/latex/biblatex-ext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0al97virwph44bmjhya9xq4y8kj7f4d2v7f2jahvfz2j00j78rr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ext")
    (synopsis "Extended BibLaTeX standard styles")
    (description
     "The BibLaTeX-ext bundle provides styles that slightly extend the
standard styles that ship with BibLaTeX.  The styles offered in this bundle
provide a simple interface to change some of the stylistic decisions made in
the standard styles.  At the same time they stay as close to their standard
counterparts as possible, so that most customisation methods can be applied
here as well.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-fiwi
  (package
    (name "texlive-biblatex-fiwi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-fiwi/"
                                     "tex/latex/biblatex-fiwi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "080m1xj1g8v6aavp2i0hipjk3iikjqd2i36by2fiq0ys5vl5vhnq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-fiwi")
    (synopsis "BibLaTeX styles for use in German humanities")
    (description
     "The package provides a collection of styles for BibLaTeX.  It was
designed for citations in German Humanities, especially film studies, and
offers some features that are not provided by the standard BibLaTeX styles.
The style is highly optimized for documents written in German, and the main
documentation is only available in German.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-gb7714-2015
  (package
    (name "texlive-biblatex-gb7714-2015")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-gb7714-2015/"
                                     "tex/latex/biblatex-gb7714-2015/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zhh9mwbywqbx0966amdngqpk7ayknklk2j11zc10rq7z68pjzb1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-gb7714-2015")
    (synopsis
     "BibLaTeX implementation of the GBT7714-2015 bibliography style for
Chinese users")
    (description
     "This package provides an implementation of the GBT7714-2015 bibliography
style.  This implementation follows the GBT7714-2015 standard and can be used
by simply loading BibLaTeX with the appropriate option.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-german-legal
  (package
    (name "texlive-biblatex-german-legal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-german-legal/"
                                     "tex/latex/biblatex-german-legal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14njaba2gvz338f8z4w3vi1qyf7yxx3l9c9nla6ggrw4rnicjpzs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-german-legal")
    (synopsis "Comprehensive citation style for German legal texts")
    (description
     "This package aims to provide citation styles (for footnotes and
bibliographies) for German legal texts.  It is currently focused on citations
in books (style german-legal-book), but may be extended to journal articles in
the future.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-gost
  (package
    (name "texlive-biblatex-gost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-gost/"
                                     "tex/latex/biblatex-gost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08zrbh6ipqg4r0bnjgh9sd5z7aismyi7s8fhkbgdmniw99c4qdc5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-gost")
    (synopsis "BibLaTeX support for GOST standard bibliographies")
    (description
     "The package provides BibLaTeX support for Russian bibliography style
GOST 7.0.5-2008")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-historian
  (package
    (name "texlive-biblatex-historian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-historian/"
                                     "tex/latex/biblatex-historian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y9jvjyji39ly5pf72qhnnlsrixaxjxdx529lyav8bhd2zz3c5s7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-historian")
    (synopsis "BibLaTeX style based on the @emph{Turabian Manual}")
    (description
     "This package provides a BibLaTeX style, based on the @emph{Turabian
Manual} (a version of Chicago).")
    (license license:lppl)))

(define-public texlive-biblatex-ieee
  (package
    (name "texlive-biblatex-ieee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ieee/"
                                     "tex/latex/biblatex-ieee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a3r2lvp4nr53gxpa40qa7zdgj2qpyygvcgcbprnvfxlqrk8lfm0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ieee")
    (synopsis "IEEE style files for BibLaTeX")
    (description
     "This is a BibLaTeX style that implements the bibliography style of the
IEEE for BibLaTeX.  The implementation follows standard BibLaTeX conventions,
and can be used simply by loading BibLaTeX with the appropriate @samp{ieee}
option.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-ijsra
  (package
    (name "texlive-biblatex-ijsra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-ijsra/"
                                     "tex/latex/biblatex-ijsra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0phgbrp47f6pgayws29acsacm7dcb5w3asvwswx5a2rg30wj2fln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-ijsra")
    (synopsis
     "BibLaTeX style for the International Journal of Student Research in
Archaeology")
    (description
     "This is the BibLaTeX style used for the journal International Journal of
Student Research in Archaeology.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-iso690
  (package
    (name "texlive-biblatex-iso690")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-iso690/"
                                     "tex/latex/biblatex-iso690/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07h16m8n8lydph2n567fnx2hzdw15mwyrcgs30x8anv9qxh0z6jf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-iso690")
    (synopsis "BibLaTeX style for ISO 690 standard")
    (description
     "The package provides a bibliography and citation style which conforms to
the latest revision of the international standard ISO 690:2010.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-jura2
  (package
    (name "texlive-biblatex-jura2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-jura2/"
                                     "tex/latex/biblatex-jura2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cnsmk46j98z7wk7qs6v9f5m42x124v2nxrnq8n1jcs1jd03q6ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-jura2")
    (synopsis "Citation style for the German legal profession")
    (description
     "The package offers BibLaTeX support for citations in German legal texts.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-juradiss
  (package
    (name "texlive-biblatex-juradiss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-juradiss/"
                                     "tex/latex/biblatex-juradiss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13rwvj1ibhj0c46xr13wjyh68abkrvh2jcg2ccichh33crrxaql0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-juradiss")
    (synopsis "BibLaTeX stylefiles for German law theses")
    (description
     "The package provides a custom citation-style for typesetting a German
law thesis with LaTeX.")
    (license license:lppl)))

(define-public texlive-biblatex-license
  (package
    (name "texlive-biblatex-license")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-license/"
                                     "tex/latex/biblatex-license/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xz6zms984v5r8hq01f7ap245lfhqj577rc9ww57ccv4kgvgicqd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-license")
    (synopsis "Add license data to the bibliography")
    (description
     "This package is for adding license license:data to bibliography entries
via BibLaTeX's built-in related mechanism.  It provides a new related type
@code{license} and some bibmacros for typesetting these related entries.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-lncs
  (package
    (name "texlive-biblatex-lncs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-lncs/"
                                     "tex/latex/biblatex-lncs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0agr8dnyfyclj2h3yw8z23jqpvrh8jrm3bdxr9fwvb3l7fazq4mv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-lncs")
    (synopsis "BibLaTeX style for Springer Lecture Notes in Computer Science")
    (description
     "This is a BibLaTeX style for Springer Lecture Notes in Computer Science
(LNCS).  It extends the standard BiBTeX model by an acronym entry.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-lni
  (package
    (name "texlive-biblatex-lni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-lni/"
                                     "tex/latex/biblatex-lni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08vpynqkg22gs869yagh6v4drh0dnkdghqd1nvcq6gh3c56dlpni"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-lni")
    (synopsis "LNI style for BibLaTeX")
    (description
     "BibLaTeX style for the Lecture Notes in Informatics, which is published
by the Gesellschaft fur Informatik (GI e.V.).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-luh-ipw
  (package
    (name "texlive-biblatex-luh-ipw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-luh-ipw/"
                                     "tex/latex/biblatex-luh-ipw/bbx/"
                                     "tex/latex/biblatex-luh-ipw/cbx/"
                                     "tex/latex/biblatex-luh-ipw/lbx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18fnq2xjwsp5lq7vywbgzppbijqn4xarqga0g1rpj89g9q0zjs30"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-luh-ipw")
    (synopsis "BibLaTeX styles for social sciences")
    (description
     "The bundle is a small collection of styles for BibLaTeX.  It was
designed for citations in the Humanities, following the guidelines of style of
the institutes for the social sciences of the Leibniz University Hannover/LUH
(especially the Institute of Political Science).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-manuscripts-philology
  (package
    (name "texlive-biblatex-manuscripts-philology")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-manuscripts-philology/"
                                     "tex/latex/biblatex-manuscripts-philology/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05d2z1w7wdzdinfw1j72y2d8f0nid0a6wsrvkwqkryl3nykyh4z5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-manuscripts-philology")
    (synopsis "Manage classical manuscripts with BibLaTeX")
    (description
     "The package adds a new entry type: @code{@@manuscript} to manage
manuscript in classical philology, for example to prepare a critical
edition.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-mla
  (package
    (name "texlive-biblatex-mla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-mla/"
                                     "tex/latex/biblatex-mla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09qlx067vhc4aflx9rjdbyq99xh3nzwlxj81cxp07mm2mykhxf39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-mla")
    (synopsis "MLA style files for BibLaTeX")
    (description
     "The package provides BibLaTeX support for citations in the format
specified by the MLA handbook.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-morenames
  (package
    (name "texlive-biblatex-morenames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-morenames/"
                                     "tex/latex/biblatex-morenames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gwzxz1yqnq3q2fjrb4nf0370a90fbi6b20zvplj3lfiqmdkaiak"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-morenames")
    (synopsis "New names for standard BibLaTeX entry type")
    (description
     "This package adds new fields of ``name'' type to the standard entry
types of BibLaTeX.  For example, @samp{maineditor}, for a @code{@@collection},
means the editor of @code{@@mvcollection}, and not the editor of the
@code{@@collection}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-ms
  (package
    (name "texlive-biblatex-ms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/biblatex-ms/biblatex/"
                                     "bibtex/bst/biblatex-ms/"
                                     "doc/latex/biblatex-ms/"
                                     "tex/latex/biblatex-ms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00xib8xvxl78qzxs66qmfyp4jdkcs3qx4ray2nwv1fffhj69aw3n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-etoolbox texlive-kvoptions texlive-logreq
                             texlive-pdftexcmds texlive-url))
    (home-page "https://ctan.org/pkg/biblatex-ms")
    (synopsis "Sophisticated bibliographies in LaTeX (multiscript version)")
    (description
     "This package is the multiscript' version of the BibLaTeX package
intended to solve the issues faced by those wishing to create multilingual
bibliographies.  It is intended to be backwards-compatible with the standard
BibLaTeX package and includes significantly enhanced optional functionality.

It requires the use of the multiscript version of Biber (biber-ms).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-multiple-dm
  (package
    (name "texlive-biblatex-multiple-dm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-multiple-dm/"
                                     "tex/latex/biblatex-multiple-dm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07dp3ppz8kma5gh0bs98jnk7gvqqcp4l1ag60941myjvfsyqplxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-multiple-dm")
    (synopsis "Load multiple datamodels in BibLaTeX")
    (description
     "The package adds the possibility to BibLaTeX to load data models from
multiple sources.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-musuos
  (package
    (name "texlive-biblatex-musuos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-musuos/"
                                     "tex/latex/biblatex-musuos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iqp02yk8b9s18k8v78q2y5g507fsh2zk68dj0yc77gwa6gsmrmh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-musuos")
    (synopsis "BibLaTeX style for citations in @file{musuos.cls}")
    (description
     "The style is designed for use with the musuos class, but it should be
usable with other classes, too.")
    (license license:lppl)))

(define-public texlive-biblatex-nature
  (package
    (name "texlive-biblatex-nature")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-nature/"
                                     "tex/latex/biblatex-nature/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bpgcwpd8sw28dn7q8bkxpnpqb741216gaasvqdpah9kj53zfypg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-nature")
    (synopsis "BibLaTeX support for @emph{Nature}")
    (description
     "The bundle offers styles that allow authors to use BibLaTeX when
preparing papers for submission to the journal @emph{Nature}.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-nejm
  (package
    (name "texlive-biblatex-nejm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-nejm/"
                                     "source/latex/biblatex-nejm/"
                                     "tex/latex/biblatex-nejm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fa12hbzrqd7brz90zhn3lklbqvvn5sw5l3y8pnm5xx604dkdiiw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-nejm")
    (synopsis "BibLaTeX style for the New England Journal of Medicine (NEJM)")
    (description
     "This is a BibLaTeX numeric style based on the design of the New England
Journal of Medicine (NEJM).")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-nottsclassic
  (package
    (name "texlive-biblatex-nottsclassic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-nottsclassic/"
                                     "tex/latex/biblatex-nottsclassic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13rvxykjyah5vn44sfagf1ggqhh1hd1qhz9m6jb87yhwz5snkrxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-nottsclassic")
    (synopsis "Citation style for the University of Nottingham")
    (description
     "This citation-style covers the citation and bibliography rules of the
University of Nottingham.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-opcit-booktitle
  (package
    (name "texlive-biblatex-opcit-booktitle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-opcit-booktitle/"
                                     "tex/latex/biblatex-opcit-booktitle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "078fzk4i7sknaxkgn2lr54bcslqbjjsr1nb0z7y46v7kpg2lpcrf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-opcit-booktitle")
    (synopsis "Use @samp{op.@: cit.}@: for the booktitle of a subentry")
    (description
     "The default citation styles use the @samp{op.@: cit.}@: form in order to
have a shorter reference when a title has already been cited.  However, when
you cite two entries which share the same booktitle but not the same title,
the @samp{op.@: cit.}@: mechanism does not work.  This package fixes this.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-oxref
  (package
    (name "texlive-biblatex-oxref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-oxref/"
                                     "source/latex/biblatex-oxref/"
                                     "tex/latex/biblatex-oxref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hhl331vxsffm7wnxpx846xzbs66pjbpqhgiblds7gmz5zz6ng1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-oxref")
    (synopsis "BibLaTeX styles inspired by the @emph{Oxford Guide to Style}")
    (description
     "This bundle provides four BibLaTeX styles that implement (many of) the
stipulations and examples provided by the 2014 @emph{New Hart's Rules} and the
2002 @emph{Oxford Guide to Style}:
@itemize

@item @code{oxnotes} is a style similar to the standard @code{verbose},
intended for use with footnotes;

@item @code{oxnum} is a style similar to the standard @code{numeric}, intended
for use with numeric in-text citations;

@item @code{oxalph} is a style similar to the standard @code{alphabetic},
intended for use with alphabetic in-text citations;

@item @code{oxyear} is a style similar to the standard @code{author-year},
intended for use with parenthetical in-text citations.

@end itemize

The bundle provides support for a wide variety of content types, including
manuscripts, audiovisual resources, social media and legal references.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-philosophy
  (package
    (name "texlive-biblatex-philosophy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-philosophy/"
                                     "source/latex/biblatex-philosophy/"
                                     "tex/latex/biblatex-philosophy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05fapyb6wwyv4mwjhgg3gasvqkwpwd6jxv095hird9011n6drrzm"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-biblatex
                  texlive-cochineal
                  texlive-csquotes
                  texlive-etoolbox
                  texlive-fontaxes
                  texlive-fontsize
                  texlive-guitlogo
                  texlive-hologo
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-libertine
                  texlive-listings
                  texlive-ltxdockit
                  texlive-manfnt
                  texlive-mdframed
                  texlive-metalogo
                  texlive-microtype
                  texlive-needspace
                  texlive-newtx
                  texlive-parskip
                  texlive-pgf
                  texlive-sectsty
                  texlive-upquote
                  texlive-xcolor
                  texlive-xkeyval
                  texlive-xstring
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/biblatex-philosophy")
    (synopsis "Styles for using BibLaTeX for work in philosophy")
    (description
     "The bundle offers two styles --- @code{philosophy-classic} and
@code{philosophy-modern} --- that facilitate the production of two different
kinds of bibliography, based on the author-year style, with options and
features to manage the information about the translation of foreign texts or
their reprints.  Though the package's default settings are based on the
conventions used in Italian publications, these styles can be used with every
language recognized by Babel, possibly with some simple redefinitions.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-phys
  (package
    (name "texlive-biblatex-phys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-phys/"
                                     "tex/latex/biblatex-phys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q9l7ma3zpybx142adbiall4y5x4hc5kc536wpmiwkz29zi6w7ka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-phys")
    (synopsis
     "BibLaTeX implementation of the AIP and APS bibliography style")
    (description
     "The package provides an implementation of the bibliography styles of
both the AIP and the APS for BibLaTeX.  This implementation follows standard
BibLaTeX conventions, and can be used simply by loading BibLaTeX with the
appropriate option: @samp{\\usepackage[style=phys]@{biblatex@}}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-publist
  (package
    (name "texlive-biblatex-publist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-publist/"
                                     "tex/latex/biblatex-publist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xk80agsawp8amphpnk1s55kbp8rx5npphsadqi0nmclqi920f38"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-publist")
    (synopsis "BibLaTeX bibliography support for publication lists")
    (description
     "The package provides a BibLaTeX bibliography style file (@file{.bbx})
for publication lists.  The style file draws on BibLaTeX's @code{authoryear}
style, but provides some extra features often desired for publication lists,
such as the omission of the author's own name from author or editor data.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-readbbl
  (package
    (name "texlive-biblatex-readbbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-readbbl/"
                                     "tex/latex/biblatex-readbbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fr0p5c2v66vy86qx2m8i4p3p75d6qm506gv8xbfqckzyfzi9x6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-readbbl")
    (synopsis "Read a @file{.bbl} file created by biber")
    (description
     "This small package modifies the BibLaTeX macro which reads a @file{.bbl}
file created by Biber.  It is thus possible to include a @file{.bbl} file into
the main document with the @code{environment} and send it to a publisher who
does not need to run the Biber program.  However, when the bibliography
changes one has to create a new @file{.bbl} file.")
    (license license:lppl)))

(define-public texlive-biblatex-realauthor
  (package
    (name "texlive-biblatex-realauthor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-realauthor/"
                                     "tex/latex/biblatex-realauthor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1av0vd7lwg5yad75b9fbi09s4bcaqd8bdz43kzyj2r7cimj8dpl0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-realauthor")
    (synopsis "Indicate the real author of a work")
    (description
     "This package allows to use a new field @code{realauthor}, which
indicates the real author of a work, when published in a pseudepigraphic
name.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-sbl
  (package
    (name "texlive-biblatex-sbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-sbl/"
                                     "makeindex/biblatex-sbl/"
                                     "tex/latex/biblatex-sbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b04lwzmsgapf2x1y83jdmzsc0h59dwy35lglxwvmlwlv8czpx9s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-sbl")
    (synopsis "Society of Biblical Literature (SBL) style files for BibLaTeX")
    (description
     "The package provides BibLaTeX support for citations in the format
specified by the second edition of the Society of Biblical Literature (SBL)
Handbook of Style.  A style file for writing SBL student papers is also
included.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-science
  (package
    (name "texlive-biblatex-science")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-science/"
                                     "tex/latex/biblatex-science/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sw2bzhbgbfg5gajbm61x4243qrfna1ifbp9bl1swdmvw9g3hycd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-science")
    (synopsis "BibLaTeX implementation of the @emph{Science} bibliography style")
    (description
     "The bundle offers styles that allow authors to use BibLaTeX when
preparing papers for submission to the journal @emph{Science}.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-shortfields
  (package
    (name "texlive-biblatex-shortfields")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-shortfields/"
                                     "tex/latex/biblatex-shortfields/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14s6ykbnb6b2i811rjn44chv8f73yhnnywczn78zwbij5z6jgcjv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-shortfields")
    (synopsis "Use short forms of fields with BibLaTeX")
    (description
     "The BibLaTeX package provides @code{shortseries} and @code{shortjournal}
field, but the default styles don't use them.  It also provides a mechanism to
print the equivalence between short forms of fields and long
fields (@code{\\printbiblist}), but this mechanism does not allow to mix
between different type of short fields, for example, between short forms of
journal title and short forms of series titles.

This package provides a solution to these two problems.  If
a @code{shortjournal} field is defined, it prints it instead of the
@code{\\journal} field.  If a @code{shortseries} field is defined, it prints
it instead of the @code{\\series} field.  It provides
a @code{\\printbibshortfields} command to print a list of the sort forms of
the fields.  This list also includes the claves defined with the
@code{biblatex-claves} package.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-socialscienceshuberlin
  (package
    (name "texlive-biblatex-socialscienceshuberlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-socialscienceshuberlin/"
                                     "tex/latex/biblatex-socialscienceshuberlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1klcvjf8vz3bg0q7pmci6hhih52ph0z0hhkbv3iippyy33jhijrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-socialscienceshuberlin")
    (synopsis "BibLaTeX-style for the social sciences at HU Berlin")
    (description
     "This is a BibLaTeX style for the social sciences at the
Humboldt-Universitat zu Berlin.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-software
  (package
    (name "texlive-biblatex-software")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-software/"
                                     "source/latex/biblatex-software/"
                                     "tex/latex/biblatex-software/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dlinydsrlcw898ccynx76mdv9jsvr4ninsqv2aggmj3g9xripn0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-software")
    (synopsis "BibLaTeX stylefiles for software products")
    (description
     "This package implements software entry types for BibLaTeX in the form of
a bibliography style extension.  It requires the Biber backend.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-source-division
  (package
    (name "texlive-biblatex-source-division")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-source-division/"
                                     "tex/latex/biblatex-source-division/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07y25624fpmx9hfmyyga8wh5cmvl14lqbmflglpl60jqsy622mgi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-source-division")
    (synopsis "References by division in classical sources")
    (description
     "The package enables the user to make reference to division marks (such
as book, chapter, section), in the document being referenced, in addition to
the page-based references that BibTeX-based citations have always had.  The
citation is made in the same way as the LaTeX standard, but what's inside the
square brackets may include the division specification.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-spbasic
  (package
    (name "texlive-biblatex-spbasic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-spbasic/"
                                     "tex/latex/biblatex-spbasic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "071d1iqy1scz3wncsfv1backp5b7ly28rn5k0wy67wwz1vxa0d17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-spbasic")
    (synopsis "BibLaTeX style emulating Springer's old @file{spbasic.bst}")
    (description
     "This package provides a bibliography and citation style for BibLaTeX and
Biber for typesetting articles for Springer's journals.  It is the same as the
old BibTeX style @file{spbasic.bst}.")
    (license license:lppl)))

(define-public texlive-biblatex-subseries
  (package
    (name "texlive-biblatex-subseries")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-subseries/"
                                     "tex/latex/biblatex-subseries/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09kqqccn8dlaydz1v2szllryaxrj0c36z63ynhrv9dvd1sk0vdhd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-subseries")
    (synopsis "Manages subseries with BibLaTeX")
    (description
     "Some publishers organize book series with subseries.  In this case, two
numbers are associated with one volume: the number inside the series and the
number inside the subseries.  This package provides new fields to manage such
system.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-swiss-legal
  (package
    (name "texlive-biblatex-swiss-legal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-swiss-legal/"
                                     "tex/latex/biblatex-swiss-legal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x4dy1vxrbx0xkw3vysvcds0s1jz9w1pwri5ypiidj517sdsnff4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-swiss-legal")
    (synopsis
     "Bibliography and citation styles following Swiss legal practice")
    (description
     "The package provides BibLaTeX bibliography and citation styles for
documents written in accordance with Swiss legal citation standards in either
French or German.  However, the package is at present outdated and does not
work properly with newer versions of BibLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-trad
  (package
    (name "texlive-biblatex-trad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-trad/"
                                     "tex/latex/biblatex-trad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ma61dsdpsm52zm7wnkqccmx54g9gvh05d10c59q86ffv1dnlmx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-trad")
    (synopsis "Traditional BibTeX styles with BibLaTeX")
    (description
     "The bundle provides implementations of the traditional BibTeX styles
(@code{plain}, @code{abbrev}, @code{unsrt} and @code{alpha}) with BibLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-true-citepages-omit
  (package
    (name "texlive-biblatex-true-citepages-omit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-true-citepages-omit/"
                                     "tex/latex/biblatex-true-citepages-omit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mfkmn5g6r61mlyf3vx98q18a042yjkmh3drid9vs0kaj66di4n5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-true-citepages-omit")
    (synopsis
     "Correct some limitations of BibLaTeX @samp{citepages=omit} option")
    (description
     "This package deals with a limitation of the @samp{citepages=omit} option
of the verbose family of BibLaTeX citestyles.  The option works when you
@code{\\cite[xx]@{key@}}, but not when you @code{\\cite[\\pno~xx, some
text]@{key@}}.  The package corrects this problem.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-unified
  (package
    (name "texlive-biblatex-unified")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-unified/"
                                     "tex/latex/biblatex-unified/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d9b20m10dlkii2zxj00xgascqarf8qv1vfz28v7hnm9vd54h3rw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-unified")
    (synopsis "BibLaTeX unified stylesheet for linguistics journals")
    (description
     "BibLaTeX-unified is an opinionated BibLaTeX implementation of the
Unified Stylesheet for Linguistics Journals.")
    (license license:lppl1.3c)))

(define-public texlive-biblatex-vancouver
  (package
    (name "texlive-biblatex-vancouver")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-vancouver/"
                                     "tex/latex/biblatex-vancouver/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sji214mi5garp5h3if1fh1rvck573cxg61rgdlyy543883nrxv7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-vancouver")
    (synopsis "Vancouver style for BibLaTeX")
    (description
     "This package provides the Vancouver reference style for BibLaTeX.  It is
based on the @code{numeric} style and requires Biber.")
    (license license:gpl3+)))

(define-public texlive-biblatex2bibitem
  (package
    (name "texlive-biblatex2bibitem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex2bibitem/"
                                     "tex/latex/biblatex2bibitem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cd9b7vhmlx2clqr2gpwqs4hjga9mjqlxj7m74kq555rn5ppkyyn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex2bibitem")
    (synopsis "Convert BibLaTeX-generated bibliography to bibitems")
    (description
     "Some journals accept the reference list only as @code{\\bibitems}.  If
you use BibTeX, there is no problem: just paste the content of the @file{.bbl}
file into your document.  However, there was no out-of-the-box way to do the
same for BibLaTeX, and you had to struggle with searching appropriate
@file{.bst} files, or formatting your reference list by hand, or something
like that.  Using the workaround provided by this package solves the
problem.")
    (license license:lppl1.3c)))

(define-public texlive-bibleref
  (package
    (name "texlive-bibleref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref/"
                                     "source/latex/bibleref/"
                                     "tex/latex/bibleref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fgb6lljdsdvkbs4i7yvwvgjbpbc8vnki0wv3gdi9yq6s5j6lzv5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref")
    (synopsis "Format @emph{Bible} citations")
    (description
     "The bibleref package offers consistent formatting of references to parts
of the Christian @emph{Bible}, in a number of well-defined formats.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-french
  (package
    (name "texlive-bibleref-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-french/"
                                     "source/latex/bibleref-french/"
                                     "tex/latex/bibleref-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12y9xdsz0swh3rndmzk7ch9fbszbhcp0ixb21jyy36xnb3x80wa5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-french")
    (synopsis "French translations for @code{bibleref}")
    (description
     "The package provides translations and alternative typesetting
conventions for use of @code{bibleref} in French.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-german
  (package
    (name "texlive-bibleref-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-german/"
                                     "tex/latex/bibleref-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nqky0x9j6w3xg2vaj29db7l0zjw88d7bl6vs8864hqz2i6h2pcw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-german")
    (synopsis "German adaptation of @code{bibleref}")
    (description
     "The package provides translations and various formats for the use of
@code{bibleref} in German documents.  The German naming of the Bible books
complies with the @emph{Loccumer Richtlinien} (Locum guidelines).  In
addition, the Vulgate (Latin Bible) is supported.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-lds
  (package
    (name "texlive-bibleref-lds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-lds/"
                                     "source/latex/bibleref-lds/"
                                     "tex/latex/bibleref-lds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wqmpzml3yyhzv7bx5wkfl2ni0qinz0kjzdanh6rx0bczp29dlfh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-lds")
    (synopsis
     "Bible references, including scriptures of the Church of Jesus Christ of
Latter Day Saints")
    (description
     "The package extends the @code{bibleref-mouth} package to support
references to the scriptures of The Church of Jesus Christ of Latter-day
Saints (LDS).")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-mouth
  (package
    (name "texlive-bibleref-mouth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-mouth/"
                                     "source/latex/bibleref-mouth/"
                                     "tex/latex/bibleref-mouth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dakbx8rnjs9yjnn1xal9y0bmh165lqhbjj3bns974vkyb7nla4m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-mouth")
    (synopsis "Consistent formatting of @emph{Bible} references")
    (description
     "The package allows @emph{Bible} references to be formatted in
a consistent way.  It is similar to the @code{bibleref} package, except that
the formatting macros are all purely expandable --- that is, they are all
implemented in TeX's mouth.  This means that they can be used in any
expandable context, such as an argument to a @code{\\url} command.")
    (license license:lppl1.3+)))

(define-public texlive-bibleref-parse
  (package
    (name "texlive-bibleref-parse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibleref-parse/"
                                     "tex/latex/bibleref-parse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01jhic1idgjgv9hsx5gih4230krfqm8pc3j7f4kn22w2jnw7fs68"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibleref-parse")
    (synopsis "Specify @emph{Bible} passages in human-readable format")
    (description
     "The package parses @emph{Bible} passages that are given in human
readable format.  It accepts a wide variety of formats.  This allows for
a simpler and more convenient interface to the functionality of the
@code{bibleref} package.")
    (license license:lppl1.3+)))

(define-public texlive-biblist
  (package
    (name "texlive-biblist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblist/" "tex/latex/biblist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7cd68yr8pnmqnr39qzp42kxqcx89cqzz81ig9y7qgicznji0i8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblist")
    (synopsis "Print a BibTeX database")
    (description
     "The package provides the means of listing an entire BibTeX database,
avoiding the potentially large (macro) impact associated with
@code{\\nocite@{*@}}.")
    (license license:gpl3+)))

(define-public texlive-bidihl
  (package
    (name "texlive-bidihl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidihl/" "tex/xelatex/bidihl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021q2qhfl2ww95nbp63p3j7lv9wjj5s9wvn2sj5zyj1pcw75l8ir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidihl")
    (synopsis "Experimental Bidi-aware text highlighting")
    (description
     "This package provides experimental Bidi-aware text highlighting.")
    (license license:lppl1.3+)))

(define-public texlive-bibtexperllibs
  (package
    (name "texlive-bibtexperllibs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ltx2unitxt.1"
                                     "doc/man/man1/ltx2unitxt.man1.pdf"
                                     "scripts/bibtexperllibs/"
                                     "source/support/bibtexperllibs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07frlvg53m6ps8gyh04kwwhsmyyvycqj72s31h4z82y9gxxajxc6"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibtexperllibs")
    (synopsis "BibTeX Perl Libraries")
    (description
     "This package provides BibTeX related Perl libraries.")
    (license
     (list license:artistic2.0
           license:gpl1
           license:public-domain))))

(define-public texlive-bibtopic
  (package
    (name "texlive-bibtopic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibtopic/"
                                     "source/latex/bibtopic/"
                                     "tex/latex/bibtopic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b4lhlw29y37c7pxmqvy4ahgb85bmxrgnr2jhzvdhzdm5y9md7a3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/bibtopic")
    (synopsis "Include multiple bibliographies in a document")
    (description
     "The package allows the user to include several bibliographies covering
different topics or bibliographic material into a document (e.g., one
bibliography for primary literature and one for secondary literature).  The
package provides commands to include either all references from a @file{.bib}
file, only the references actually cited or those not cited in your document.
The user has to construct a separate @file{.bib} file for each bibliographic
topic, each of which will be processed separately by BibTeX.  If you want to
have bibliographies specific to one part of a document, see the packages
@code{bibunits} or @code{chapterbib}.")
    (license license:gpl3+)))

(define-public texlive-bibtopicprefix
  (package
    (name "texlive-bibtopicprefix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibtopicprefix/"
                                     "source/latex/bibtopicprefix/"
                                     "tex/latex/bibtopicprefix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fadq51adii1453v31xj7p328h4rvans1ynmxjcmnwhlj4hdjp5n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibtopicprefix")
    (synopsis "Prefix references to bibliographies produced by
@code{bibtopic}")
    (description
     "The package permits users to apply prefixes (fixed strings) to
references to entries in bibliographies produced by the @code{bibtopic}
package.")
    (license license:lppl)))

(define-public texlive-bibunits
  (package
    (name "texlive-bibunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibunits/"
                                     "source/latex/bibunits/"
                                     "tex/latex/bibunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hlz277lskhcs5xr0qn2rram957himj67hkwqqsjjap8khf7fz6v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibunits")
    (synopsis "Multiple bibliographies in one document")
    (description
     "The package provide a mechanism to generate separate bibliographies for
different units (chapters, sections or bibunit-environments) of a text.  The
package separates the citations of each unit of text into a separate file to
be processed by BibTeX.  The global bibliography section produced by LaTeX may
also appear in the document and citations can be placed in both the local unit
and the global bibliographies at the same time.")
    (license license:lppl)))

(define-public texlive-binomexp
  (package
    (name "texlive-binomexp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/binomexp/"
                                     "source/latex/binomexp/"
                                     "tex/latex/binomexp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wmhsqqz2hy75x20srs1237yba4s00yrdhr52hkrh3nldzqwhqcc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/binomexp")
    (synopsis "Calculate Pascal's triangle")
    (description
     "The package calculates and prints rows of Pascal's triangle.  It may be
used to print successive rows of the triangle, or to print the rows inside an
@code{array} or @code{tabular} environment.")
    (license license:lppl)))

(define-public texlive-biocon
  (package
    (name "texlive-biocon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biocon/" "tex/latex/biocon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3qqrl5z071w4zs8fs3wv0b4ix0s6cqh4ixzqj28d74aaf9r1y1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biocon")
    (synopsis "Typesetting biological species names")
    (description
     "The biocon--biological conventions--package aids the typesetting of some
biological conventions.  At the moment, it makes a good job of typesetting
species names (and ranks below the species level).  A distinction is made
between the Plant, Fungi, Animalia and Bacteria kingdoms.  There are default
settings for the way species names are typeset, but they can be customized.
Different default styles are used in different situations.")
    (license license:gpl3+)))

(define-public texlive-biolett-bst
  (package
    (name "texlive-biolett-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/biolett-bst/"
                                     "doc/bibtex/biolett-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xfr79xw0ih61s5qapx2adiyjj0d149nslpmkd1fw29g1v4zrjd2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biolett-bst")
    (synopsis "BibTeX style for the journal @emph{Biology Letters}")
    (description
     "This package provides a BibTeX style (@file{.bst}) file for the journal
@emph{Biology Letters} published by the Royal Society.")
    (license license:lppl1.0+)))

(define-public texlive-bitelist
  (package
    (name "texlive-bitelist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/bitelist/"
                                     "source/generic/bitelist/"
                                     "tex/generic/bitelist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jv9w2jgx8q2k9xx0n4azlngsh26zs37ihavq0xy4n62ajf64ps6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bitelist")
    (synopsis "Split list, in TeX's mouth")
    (description
     "The package provides commands for splitting a token list at the first
occurrence of another (specified) token list.  The package's mechanism differs
from those of packages providing similar features, in the following ways: the
method uses TeX's mechanism of reading delimited macro parameters; splitting
macros work by pure expansion, without assignments; the operation is carried
out in a single macro call.  A variant of the operation is provided, that
retains outer braces.")
    (license license:lppl1.3+)))

(define-public texlive-bitpattern
  (package
    (name "texlive-bitpattern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bitpattern/"
                                     "source/latex/bitpattern/"
                                     "tex/latex/bitpattern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00f423jran7qqg9fwy3p7w1lhi20cxzlvn4hzsrz5pwd87bmvxxb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bitpattern")
    (synopsis "Typeset bit pattern diagrams")
    (description
     "This package provides a package to typeset bit pattern diagrams such as those
used to describe hardware, data format or protocols.")
    (license license:lppl)))

(define-public texlive-bitter
  (package
    (name "texlive-bitter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bitter/"
                                     "fonts/enc/dvips/bitter/"
                                     "fonts/map/dvips/bitter/"
                                     "fonts/tfm/huerta/bitter/"
                                     "fonts/truetype/huerta/bitter/"
                                     "fonts/type1/huerta/bitter/"
                                     "fonts/vf/huerta/bitter/"
                                     "tex/latex/bitter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xh3vssfrfkdrwzsmid7frm4n9gjb8x7czh8zyybdcvv9vb8n3d9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bitter")
    (synopsis "Bitter family of fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
the Bitter family of fonts.  Bitter is a contemporary slab-serif typeface for
text.  There are regular and bold weights and an italic, but no bold italic.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-bjfuthesis
  (package
    (name "texlive-bjfuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bjfuthesis/"
                                     "tex/latex/bjfuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qhb9kighs4ljmnn94qaihpllhwvmi76j3p8yylyjw2hzip102wr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bjfuthesis")
    (synopsis "Thesis class for Beijing Forestry University")
    (description
     "This is a class file for producing dissertations and theses according to
the @acronym{BJFU, Beijing Forestry University} guidelines for undergraduate
theses and dissertations.")
    (license license:gpl3)))

(define-public texlive-blacklettert1
  (package
    (name "texlive-blacklettert1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/blacklettert1/"
                                     "fonts/tfm/public/blacklettert1/"
                                     "fonts/vf/public/blacklettert1/"
                                     "source/fonts/blacklettert1/"
                                     "tex/latex/blacklettert1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fvrz3rbcdgzrg3rg3nfvdb52zxn9vhsx0xd8rc6xryzrqaib7q0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blacklettert1")
    (synopsis "T1-encoded versions of Haralambous old German fonts")
    (description
     "This package contains virtual fonts that offer T1-alike encoded variants
of old German fonts Gothic, Schwabacher and Fraktur (which are also available
in Adobe type 1 format).  The package includes LaTeX macros to embed the fonts
into the LaTeX font selection scheme.")
    (license license:lppl1.2+)))

(define-public texlive-bmstu
  (package
    (name "texlive-bmstu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bmstu/" "tex/latex/bmstu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ipdwd78b5w4v85nqlbxf8gi42mdz19r5mdjj3agwlgb0z6icjra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bmstu")
    (synopsis "LaTeX class for Bauman Moscow State Technical University")
    (description
     "The class defines commands and environments for creating reports and
explanatory notes in Bauman Moscow State Technical University (Russia).")
    (license
     (list license:lppl1.3+
           ;; File "bmstu-logo.pdf" is a logo of Bauman Moscow ;; State
           ;; Technical University and complies with fair use (article 1274 of
           ;; the Russian Civil Code).
           (license:fsdg-compatible "file://doc/latex/bmstu/README.md")))))

(define-public texlive-bmstu-iu8
  (package
    (name "texlive-bmstu-iu8")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bmstu-iu8/"
                                     "tex/latex/bmstu-iu8/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nb3dfaw0m3w179z46d7fbvibkp15wf4ws3xbvws0gymwyi4nx1m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bmstu-iu8")
    (synopsis "Class for IU8 reports")
    (description
     "This package consists of a class file and style files for writing
reports at the IU8 department of IU faculty of @acronym{BMSTU, Bauman Moscow
State Technical University}.  The class defines all headings, structure
elements and other things in respect of Russian standard GOST 7.32-2017.  But
there are correctives to be compatible with our local IU8 department
requirements.")
    (license license:expat)))

(define-public texlive-bodeplot
  (package
    (name "texlive-bodeplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bodeplot/"
                                     "source/latex/bodeplot/"
                                     "tex/latex/bodeplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b55y82gmxjyy9g1v2b85p1qr0hyf47jh345phbnyqxb9zk5kb5c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bodeplot")
    (synopsis "Draw Bode, Nyquist and Nichols plots with Gnuplot or
 @code{pgfplots}")
    (description
     "This is a LaTeX package to plot Bode, Nichols, and Nyquist diagrams.  It
provides added functionality over the similar @code{bodegraph} package:

@itemize
@item new @code{\\BodeZPK} and @code{\\BodeTF} commands to generate Bode plots
of any transfer function given either poles, zeros, gain, and delay, or
numerator and denominator coefficients and delay;
@item support for unstable poles and zeros;
@item support for complex poles and zeros;
@item support for general stable and unstable second order transfer functions;
@item support for both Gnuplot (default) and @code{pgfplots};
@item support for linear and asymptotic approximation of magnitude and phase
plots of any transfer function given poles, zeros, and gain.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-bohr
  (package
    (name "texlive-bohr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bohr/" "tex/latex/bohr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02slnkmxha906y7z04dffamy0lywq95l9yvklxjlm2kvjhqv2wnw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bohr")
    (synopsis "Simple atom representation according to the Bohr model")
    (description
     "The package provides means for the creation of simple Bohr models of
atoms up to the atomic number 112.  In addition, commands are provided to
convert atomic numbers to element symbols or element names and vice versa.")
    (license license:lppl1.3+)))

(define-public texlive-boisik
  (package
    (name "texlive-boisik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/boisik/"
                                     "fonts/source/public/boisik/"
                                     "fonts/tfm/public/boisik/"
                                     "tex/latex/boisik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xg00nb28dgc8ch85n1mgj5n0cshkvyvgv98qawxn2xvx14vqw89"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     ;; FIXME: Font metrics generation fails for "bskmab10" font, with error:
     ;; "! Strange path (turning number is zero)".
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/boisik")
    (synopsis "Font inspired by Baskerville design")
    (description
     "Boisik is a serif font set (inspired by the Baskerville typeface),
written in Metafont.  The set comprises roman and italic text fonts and maths
fonts.  LaTeX support is offered for use with OT1, IL2 and OM* encodings.")
    (license license:gpl2)))

(define-public texlive-boldtensors
  (package
    (name "texlive-boldtensors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/boldtensors/"
                                     "tex/latex/boldtensors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06c0wa4qai0qdbad44464nc5zap9bc03yjn89yagsr4dzxif0jrg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boldtensors")
    (synopsis
     "Bold latin and greek characters through simple prefix characters")
    (description
     "This package provides bold latin and greek characters within
@code{\\mathversion@{normal@}}, by using @samp{~} and @samp{\"} as prefix
characters.")
    (license license:gpl3+)))

(define-public texlive-bookdb
  (package
    (name "texlive-bookdb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/bookdb/" "doc/bibtex/bookdb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0df6bzmc90af3v4nzv6hp9padpc7h680vm2hy8wzb268z3ld268h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bookdb")
    (synopsis "BibTeX style file for cataloguing a home library")
    (description
     "This package provides an extended book entry for use in cataloguing
a home library.  The extensions include fields for binding, category,
collator, condition, copy, illustrations, introduction, location, pages, size,
value, volumes.")
    (license license:lppl1.3+)))

(define-public texlive-bookhands
  (package
    (name "texlive-bookhands")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bookhands/"
                                     "fonts/afm/public/bookhands/"
                                     "fonts/map/dvips/bookhands/"
                                     "fonts/source/public/bookhands/"
                                     "fonts/tfm/public/bookhands/"
                                     "fonts/type1/public/bookhands/"
                                     "source/fonts/bookhands/"
                                     "tex/latex/bookhands/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ssz80jwmd00x7d1x1xc6i61kbs30bc875bvakd5gymdw2kv7s3z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bookhands")
    (synopsis "Collection of book-hand fonts")
    (description
     "This is a set of book-hand (Metafont) fonts and packages covering
manuscript scripts from the 1st century until Gutenberg and Caxton.  The
included hands are: Square Capitals (1st century onwards); Roman
Rustic (1st-6th centuries); Insular Minuscule (6th cenury onwards);
Carolingian Minuscule (8th-12th centuries); Early Gothic (11th-12th
centuries); Gothic Textura Quadrata (13th-15th centuries); Gothic Textura
Prescisus vel sine pedibus (13th century onwards); Rotunda (13-15th
centuries); Humanist Minuscule (14th century onwards); Uncial (3rd-6th
centuries); Half Uncial (3rd-9th centuries); Artificial Uncial (6th-10th
centuries); and Insular Majuscule (6th-9th centuries).")
    (license license:lppl)))

(define-public texlive-booktabs-de
  (package
    (name "texlive-booktabs-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/booktabs-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ld7zdr88xjhnnl2x734rxr7h0fz84awapmv50p1kzn6fczrwyam"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/booktabs-de")
    (synopsis "German version of @code{booktabs}")
    (description
     "This is a German translation of the @code{booktabs} package
documentation.")
    (license license:gpl3+)))

(define-public texlive-booktabs-fr
  (package
    (name "texlive-booktabs-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/booktabs-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xkqh6r2q835xaa92b24fzf61jsm85280570hivvwnch96i4fnh3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/booktabs-fr")
    (synopsis "French translation of @code{booktabs} documentation")
    (description
     "This package provides a French translation of @code{booktabs}
documentation.")
    (license license:lppl)))

(define-public texlive-boondox
  (package
    (name "texlive-boondox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/boondox/"
                                     "fonts/map/dvips/boondox/"
                                     "fonts/tfm/public/boondox/"
                                     "fonts/type1/public/boondox/"
                                     "fonts/vf/public/boondox/"
                                     "tex/latex/boondox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rsid25qlsbj3z60h8n22m8l6gyk4nbr598c6z9azldpxn88dz91"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boondox")
    (synopsis "Mathematical alphabets derived from the STIX fonts")
    (description
     "The package contains a number of PostScript fonts derived from the STIX
OpenType fonts that may be used in maths mode in regular and bold weights for
Calligraphic, Fraktur and Double-struck alphabets.  Virtual fonts with metrics
suitable for maths mode are provided, as are LaTeX support files.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-borceux
  (package
    (name "texlive-borceux")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/borceux/"
                                     "tex/generic/borceux/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fil90jsiqg7b0if3yq0jxv4rh7vanj2yj9pv8pnfkhvqii4p821"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/borceux")
    (synopsis "Diagram macros by Francois Borceux")
    (description
     "The macros support the construction of diagrams, such as those that
appear in category theory texts.  The user gives the list of vertices and
arrows to be included, just as when composing a matrix, and the program takes
care of computing the dimensions of the arrows and realizing the page setting.
All the user has to do about the arrows is to specify their
type (monomorphism, pair of adjoint arrows, etc.) and their direction (north,
south-east, etc.); 12 types and 32 directions are available.")
    ;; "You may freely use, modify, and/or distribute each of the
    ;; files in this package without limitation."
    (license (license:fsf-free "file://doc/generic/borceux/README"))))

(define-public texlive-bosisio
  (package
    (name "texlive-bosisio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bosisio/" "source/latex/bosisio/"
                                     "tex/latex/bosisio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z4s0dgvwffy4356zj0m6kkk9lqzq1180km5sg5syvk11m7mxffn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/bosisio")
    (synopsis "Collection of packages by Francesco Bosisio")
    (description
     "This package provides a collection of packages containing: @code{accenti},
@code{dblfont}, @code{envmath}, @code{evenpage}, @code{graphfig},
@code{mathcmd}, @code{quotes}, and @code{sobolev}.")
    (license license:lppl)))

(define-public texlive-bpchem
  (package
    (name "texlive-bpchem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bpchem/" "source/latex/bpchem/"
                                     "tex/latex/bpchem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qm0w43iyh42l3srhqsgqq5yjxx3ghxamq6nh68qq6x4izlyv51z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bpchem")
    (synopsis "Typeset chemical names, formulae, etc")
    (description
     "The package provides support for typesetting simple chemical formulae,
those long IUPAC compound names, and some chemical idioms.  It also supports
the labelling of compounds and reference to labelled compounds.")
    (license license:lppl)))

(define-public texlive-br-lex
  (package
    (name "texlive-br-lex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/br-lex/" "tex/latex/br-lex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "154mjkywvyif57zvqbq5wxs84357148km2x0lqqdx6nanr3vwmxb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/br-lex")
    (synopsis "Class for typesetting Brazilian legal texts")
    (description
     "This class implements rules to typeset Brazilian legal texts.  Its
purpose is to be an easy-to-use implementation for the end-user.")
    (license license:lppl1.3+)))

(define-public texlive-braille
  (package
    (name "texlive-braille")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/braille/" "tex/latex/braille/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021nxjz23gn8zjrrzxggjaqq3gv894c512x15kffywm8h5k0bzy5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/braille")
    (synopsis "Support for Braille")
    (description
     "This package allows the user to produce Braille documents on paper for
the blind without knowing Braille.  Python scripts @file{grade1.py} and
@file{grade2.py} convert ordinary text to grade 1 and 2 Braille tags; then,
the LaTeX package takes the tags and prints out corresponding Braille
symbols.")
    (license license:lppl1.3+)))

(define-public texlive-brandeis-dissertation
  (package
    (name "texlive-brandeis-dissertation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/brandeis-dissertation/"
                                     "source/latex/brandeis-dissertation/"
                                     "tex/latex/brandeis-dissertation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dsg285wcpfxd0p1fs1dac87c0csbv21zz76cdjgishasmqrxdmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brandeis-dissertation")
    (synopsis "Class for Brandeis University dissertations")
    (description
     "The class will enable the user to typeset a dissertation which adheres
to the formatting guidelines of Brandeis University @acronym{GSAS, Graduate
School of Arts and Sciences}.")
    (license license:lppl1.2+)))

(define-public texlive-brandeis-problemset
  (package
    (name "texlive-brandeis-problemset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/brandeis-problemset/"
                                     "tex/latex/brandeis-problemset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "172l1jmvacjg9j5fkyrmsrhsj5pyaaq8g9pfvkahcnhk3jfc3pnp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brandeis-problemset")
    (synopsis "Document class for COSI Problem sets at Brandeis University")
    (description
     "Brandeis University's computer science courses often assign problem sets
which require fairly rigorous formatting.  This document class, which extends
@code{article}, provides a simple way to typeset these problem sets in LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-brandeis-thesis
  (package
    (name "texlive-brandeis-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/brandeis-thesis/"
                                     "source/latex/brandeis-thesis/"
                                     "tex/latex/brandeis-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03m5m5l8jw5jkrqc4pzmk0ghijlaw25r1bn9mhva6m9kxz1sj9q4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brandeis-thesis")
    (synopsis "Class for Brandeis University M.A. theses")
    (description
     "@file{brandeis-thesis.cls} provides the structures and formatting
information for an M.A.@: thesis for the Brandeis University Graduate School
of Arts and Sciences.")
    (license license:lppl1.3c)))

(define-public texlive-breakcites
  (package
    (name "texlive-breakcites")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/breakcites/"
                                     "tex/latex/breakcites/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jiw135xi12k0f46zmza4jw141gq919c6q0ijv8xlic0wra4gyy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/breakcites")
    (synopsis "Ensure that multiple citations may break at line end")
    (description
     "This package makes a very minor change to the operation of the
@code{\\cite} command so that multiple citations may break at line end.  Note
that the change is not necessary in unmodified LaTeX; however, there remain
packages that restore the undesirable behaviour of the command as provided in
LaTeX 2.09.  Neither @code{cite} nor @code{natbib} make this mistake.")
    ;; The file below states: "You may freely use, modify, and/or
    ;; distribute this package without limitation."
    (license (license:fsf-free "file://doc/latex/breakcites/README"))))

(define-public texlive-bropd
  (package
    (name "texlive-bropd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bropd/" "source/latex/bropd/"
                                     "tex/latex/bropd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cyyadfvrcym4vvxl9p9zb88692m0578nqljip12xxahb4srcyb9"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list (texlive-updmap.cfg
                          (list texlive-etoolbox
                                texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/bropd")
    (synopsis "Simplified brackets and differentials in LaTeX")
    (description
     "The package simplifies the process of writing differential operators and
brackets in LaTeX.  The commands facilitate the easy manipulation of equations
involving brackets and allow partial differentials to be expressed in an
alternate form.")
    (license license:lppl1.3+)))

(define-public texlive-brushscr
  (package
    (name "texlive-brushscr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/brushscr/"
                                     "dvips/brushscr/"
                                     "fonts/afm/public/brushscr/"
                                     "fonts/map/dvips/brushscr/"
                                     "fonts/tfm/public/brushscr/"
                                     "fonts/type1/public/brushscr/"
                                     "fonts/vf/public/brushscr/"
                                     "tex/latex/brushscr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kdikrlhbqfcnb42y5pz93l8wkzbrn7hx5gjf05vkchcxq24nj5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/brushscr")
    (synopsis "Handwriting script font")
    (description
     "The BrushScript font simulates hand-written characters; it is
distributed in Adobe Type 1 format (but is available in italic shape only).
The package includes the files needed by LaTeX in order to use that font.")
    (license license:public-domain)))

(define-public texlive-buctthesis
  (package
    (name "texlive-buctthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/buctthesis/"
                                     "source/xelatex/buctthesis/"
                                     "tex/xelatex/buctthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8djmkc6jcn10g0w1qmw0mw8v42dsb7kijfv87qxw78i1cfsbax"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/buctthesis")
    (synopsis "Beijing University of Chemical Technology thesis template")
    (description
     "This package provides a LaTeX class and template for Beijing University
of Chemical Technology, supporting bachelor, master, and doctor theses.")
    (license license:lppl1.3c)))

(define-public texlive-burmese
  (package
    (name "texlive-burmese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/burmese/"
                                     "fonts/map/dvips/burmese/"
                                     "fonts/tfm/public/burmese/"
                                     "fonts/type1/public/burmese/"
                                     "source/fonts/burmese/"
                                     "tex/latex/burmese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04d022k7bqc7092xhsda0h5ma18b24hkmn0b7mlblpd3zf4qhs79"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; The "birm.pl" script is located in the "source" part, and
          ;; therefore will not appear in any output.  This phase forces its
          ;; installation in "bin/" directory.
          (add-after 'install 'install-script
            (lambda _
              (install-file "source/fonts/burmese/birm.pl"
                            (string-append #$output "/bin")))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/burmese")
    (synopsis "Basic support for writing Burmese")
    (description
     "This package provides basic support for writing Burmese.  The package
provides a preprocessor (written in Perl), an Adobe Type 1 font, and LaTeX
macros.")
    ;; The package itself is under LPPL terms, but the preprocessor relies on
    ;; Knuth's.
    (license (list license:lppl license:knuth))))

(define-public texlive-bussproofs-extra
  (package
    (name "texlive-bussproofs-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bussproofs-extra/"
                                     "source/latex/bussproofs-extra/"
                                     "tex/latex/bussproofs-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08n6ww2fcijkisldrhbvvm52n3r4fy10bz1i4jyac7wnnpw8dd2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bussproofs-extra")
    (synopsis "Extra commands for @file{bussproofs.sty}")
    (description
     "This package provides additional functionality for
@file{bussproofs.sty}; specifically, it allows for typesetting of
entire (sub)deductions.")
    (license license:lppl1.3c)))

(define-public texlive-bxbase
  (package
    (name "texlive-bxbase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxbase/" "tex/latex/bxbase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zhvwj55lihlj11mk322735z595al847wsg3p0s3a9zm17b0skk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxbase")
    (synopsis "BX bundle base components")
    (description
     "The main purpose of this bundle is to serve as an underlying library for
other packages created by the same author.  However @code{bxbase} package
contains a few user-level commands and is of some use by itself.")
    (license license:expat)))

(define-public texlive-bxcjkjatype
  (package
    (name "texlive-bxcjkjatype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxcjkjatype/"
                                     "tex/latex/bxcjkjatype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jhjhrfmabfdwzk2gv2zsaadj3907ajxic4dqzwaz43cip05iy3z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxcjkjatype")
    (synopsis "Typeset Japanese with pdfLaTeX and CJK")
    (description
     "The package provides a working configuration of the CJK package,
suitable for Japanese typesetting of moderate quality.  Moreover, it
facilitates use of the CJK package for pLaTeX users, by providing commands
that are similar to those used by the pLaTeX kernel and some other packages
used with it.")
    (license license:expat)))

(define-public texlive-bxghost
  (package
    (name "texlive-bxghost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxghost/" "tex/latex/bxghost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11hnnyd6h3r5fl9p23qj1zspwzgnamfah7xqj7l1prp6ygb322mn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxghost")
    (synopsis "Ghost insertion for proper @code{xkanjiskip}")
    (description
     "The package provides two commands to help authors for documents in
Japanese to insert proper @code{xkanjiskips}.  It supports LuaTeX, XeTeX,
pTeX, upTeX, and ApTeX (pTeX-ng).")
    (license license:expat)))

(define-public texlive-bxjaholiday
  (package
    (name "texlive-bxjaholiday")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjaholiday/"
                                     "tex/latex/bxjaholiday/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n0h9g5lgaz00gn8wjai8w3pbg7bs02aaw7zi7h8l01i4lc8l1r1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjaholiday")
    (synopsis "Support for Japanese holidays")
    (description
     "This LaTeX package provides a command to convert dates to names of
Japanese holidays.  Another command, converting dates to the day of the week
in Japanese, is available as a free gift.")
    (license license:expat)))

(define-public texlive-bxjalipsum
  (package
    (name "texlive-bxjalipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjalipsum/"
                                     "tex/latex/bxjalipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00lmr20lb7yd98iblg0i3pqvxh80arivdgyvzkj5mj2ivil7vw9k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjalipsum")
    (synopsis "Dummy text in Japanese")
    (description
     "This package enables users to print some Japanese text that can be used
as dummy text.  It is a Japanese counterpart of the @code{lipsum} package.
Since there is no well-known nonsense text like Lipsum in the Japanese
language, the package uses some real text in public domain.")
    (license license:expat)))

(define-public texlive-bxjaprnind
  (package
    (name "texlive-bxjaprnind")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjaprnind/"
                                     "tex/latex/bxjaprnind/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j2k06y63c7dgpcflrfrjy82g2746fnmpf8dk445lbqkbn1jypr5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjaprnind")
    (synopsis "Adjust the position of parentheses at paragraph head")
    (description
     "In Japanese typesetting, opening parentheses placed at the beginning of
paragraphs or lines are treated specially.  This package adjusts the position
of parentheses accordingly.")
    (license license:expat)))

(define-public texlive-bxjatoucs
  (package
    (name "texlive-bxjatoucs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjatoucs/"
                                     "fonts/tfm/public/bxjatoucs/"
                                     "tex/latex/bxjatoucs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1032lfp9qy4arzy06s5hkqlva7y182763wxfdql93yn68hcn85vd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjatoucs")
    (synopsis "Convert Japanese character code to Unicode")
    (description
     "This package is meant for macro or package developers: it provides
function-like macros that convert a character code value in one of several
Japanese encodings to a Unicode value.  Supported source encodings are:
ISO-2022-JP (jis), EUC-JP (euc), Shift_JIS (sjis), and the Adobe-Japan1 glyph
set.")
    (license license:expat)))

(define-public texlive-bxjscls
  (package
    (name "texlive-bxjscls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxjscls/" "source/latex/bxjscls/"
                                     "tex/latex/bxjscls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qgv528s7n36j4276jkd0gazfh2nary6yqll8qv98pc2k049vblg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxjscls")
    (synopsis "Japanese document class collection for all major engines")
    (description
     "This package provides an extended version of the Japanese document class
collection provided by @code{jsclasses}.  While the original version supports
only pLaTeX and upLaTeX, the extended version also supports pdfLaTeX, XeLaTeX
and LuaLaTeX, with the aid of suitable packages that provide capability of
Japanese typesetting.")
    (license license:bsd-2)))

(define-public texlive-bxorigcapt
  (package
    (name "texlive-bxorigcapt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxorigcapt/"
                                     "tex/latex/bxorigcapt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gj61hjmyxsbfkrs1sh604b6dfl00kp39fcamlfzb8s197wsl9fv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxorigcapt")
    (synopsis "Retain the original caption names when using Babel")
    (description
     "This package forces the caption names declared by the document class in
use to be used as the caption names for a specific language introduced by the
Babel package.")
    (license license:expat)))

(define-public texlive-bxwareki
  (package
    (name "texlive-bxwareki")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxwareki/" "tex/latex/bxwareki/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "105fx28gy2f73127cpy3fdsmggw5a49bbr1b99kd5ydmwckwkp5g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxwareki")
    (synopsis "Convert dates from Gregorian to Japanese calender")
    (description
     "This LaTeX package provides commands to convert from the Gregorian
calendar to the Japanese rendering of the Japanese calendar.  You can choose
whether the numbers are written in Western numerals or kanji numerals.  Note
that the package only deals with dates in the year 1873 or later, where the
Japanese calendar is really a Gregorian calendar with a different notation of
years.")
    (license license:expat)))

(define-public texlive-bytefield
  (package
    (name "texlive-bytefield")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bytefield/"
                                     "source/latex/bytefield/"
                                     "tex/latex/bytefield/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qrq46c1x3g7kchi89srwbpssz721021jkpjfas38nlaxj70swaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bytefield")
    (synopsis "Create illustrations for network protocol specifications")
    (description
     "The @code{bytefield} package helps the user create illustrations for
network protocol specifications and anything else that utilizes fields of
data.  These illustrations show how the bits and bytes are laid out in
a packet or in memory.")
    (license license:lppl1.3a)))

(define-public texlive-c-pascal
  (package
    (name "texlive-c-pascal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/c-pascal/"
                                     "tex/generic/c-pascal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kmxki1yclk7lzlidcvsdry7mzm58zzwq3rxgvmpawq2hs8hpcra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/c-pascal")
    (synopsis "Typeset Python, C and Pascal programs")
    (description
     "This package provides a TeX macro package for easy typesetting programs
in Python, C and Pascal.  Program source files may also be input.")
    (license license:public-domain)))

(define-public texlive-c90
  (package
    (name "texlive-c90")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/enc/c90/" "fonts/enc/dvips/c90/"
                                     "source/fonts/enc/c90/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g4rwimlqqzbbs8ar15nsf8qcr8bbyjacmklbgv4pmsls5ka9n3n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/c90")
    (synopsis "C90 font encoding for Thai")
    (description "This package provides C90 font encoding for Thai.")
    (license license:gpl2+)))

(define-public texlive-caladea
  (package
    (name "texlive-caladea")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/caladea/"
                                     "fonts/enc/dvips/caladea/"
                                     "fonts/map/dvips/caladea/"
                                     "fonts/tfm/huerta/caladea/"
                                     "fonts/truetype/huerta/caladea/"
                                     "fonts/type1/huerta/caladea/"
                                     "fonts/vf/huerta/caladea/"
                                     "tex/latex/caladea/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02pw132njvk23iwfwlfq5cbamqmgxap2h5pq23x3r8dbym1zpk9f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/caladea")
    (synopsis "Support for the Caladea family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Caladea family of fonts.")
    (license (list license:asl2.0 license:lppl))))

(define-public texlive-calculation
  (package
    (name "texlive-calculation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calculation/"
                                     "source/latex/calculation/"
                                     "tex/latex/calculation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15sk3v1cwpjln4rp9k877awxaz9js5gbazlzjknmv5fv1cb4d09c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calculation")
    (synopsis
     "Typesetting reasoned calculations, also called calculational proofs")
    (description
     "The @code{calculation} environment formats reasoned calculations, also
called calculational proofs.  The package allows steps and expressions to be
numbered (by LaTeX equation numbers, obeying the LaTeX @code{\\label} command
to refer to these numbers), and a step doesn't take vertical space if its hint
is empty.  An expression in a calculation can be given a comment; it is placed
at the side opposite to the equation numbers.  Calculations are allowed inside
hints although numbering and commenting is then disabled.")
    (license license:lppl1.3+)))

(define-public texlive-calligra
  (package
    (name "texlive-calligra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calligra/"
                                     "fonts/source/public/calligra/"
                                     "fonts/tfm/public/calligra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h9w2qifsd0sjr2czy6zbyvgvdl72nd1sn2hmxv0jsmbcjqak1ib"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/calligra")
    (synopsis "Calligraphic font")
    (description
     "This package provides a calligraphic font in the handwriting style.
The font is supplied as Metafont source.  LaTeX support of the font is
provided in the @code{calligra} package in the @code{fundus} bundle.")
    (license license:expat)))

(define-public texlive-calligra-type1
  (package
    (name "texlive-calligra-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/calligra-type1/"
                                     "fonts/afm/public/calligra-type1/"
                                     "fonts/map/dvips/calligra-type1/"
                                     "fonts/type1/public/calligra-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v6zwghf8q70lls3hmwj8gc0n6d4ffjf1xjvq1k6w71shiga8bqi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calligra-type1")
    (synopsis "Type 1 version of Calligra")
    (description
     "This is a Type 1 conversion of Peter Vanroose's Calligra handwriting
font.")
    (license license:expat)))

(define-public texlive-cantarell
  (package
    (name "texlive-cantarell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cantarell/"
                                     "fonts/enc/dvips/cantarell/"
                                     "fonts/map/dvips/cantarell/"
                                     "fonts/opentype/gnome/cantarell/"
                                     "fonts/tfm/gnome/cantarell/"
                                     "fonts/type1/gnome/cantarell/"
                                     "fonts/vf/gnome/cantarell/"
                                     "tex/latex/cantarell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11cj8z6wyzq92x66alas88qgrs4ap0xgvf0yr7h62vg5ym3618c8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cantarell")
    (synopsis "LaTeX support for the Cantarell font family")
    (description
     "Cantarell is a contemporary Humanist sans serif designed by Dave
Crossland and Jakub Steiner.  The present package provides support for this
font in LaTeX. It includes Type 1 versions of the fonts, converted for this
package using FontForge from its sources, for full support with Dvips.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-carlito
  (package
    (name "texlive-carlito")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/carlito/"
                                     "fonts/enc/dvips/carlito/"
                                     "fonts/map/dvips/carlito/"
                                     "fonts/tfm/google/carlito/"
                                     "fonts/truetype/google/carlito/"
                                     "fonts/type1/google/carlito/"
                                     "fonts/vf/google/carlito/"
                                     "tex/latex/carlito/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hk51bgwpn4wr843g7w8wjwmadq0ca86gviayhwsz4zax68jhx6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/carlito")
    (synopsis "Support for Carlito sans-serif fonts")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Carlito family of sans serif fonts, designed by Lukasz Dziedzic.")
    (license license:silofl1.1)))

(define-public texlive-carolmin-ps
  (package
    (name "texlive-carolmin-ps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/carolmin-ps/"
                                     "fonts/afm/public/carolmin-ps/"
                                     "fonts/map/dvips/carolmin-ps/"
                                     "fonts/type1/public/carolmin-ps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1867h17l0ms2schmbrsjm4gajfmckm2x7ny2ijd9vf232l7s1b53"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/carolmin-t1")
    (synopsis "Adobe Type 1 format of Carolingian Minuscule fonts")
    (description
     "The bundle offers Adobe Type 1 format versions of Peter Wilson's
Carolingian Minuscule font set (part of the @code{bookhands} collection).  The
fonts in the bundle are ready-to-use replacements for the Metafont
originals.")
    (license license:lppl)))

(define-public texlive-cartonaugh
  (package
    (name "texlive-cartonaugh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cartonaugh/"
                                     "source/latex/cartonaugh/"
                                     "tex/latex/cartonaugh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05f6xslfv3d1n48j2ivl7vdgs12lzgzx8ccfv6l49ddgq0dssnir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cartonaugh")
    (synopsis
     "LuaLaTeX package for drawing karnaugh maps with up to 6 variables")
    (description
     "This package, a fork of @code{karnaugh-map} package, draws karnaugh maps
with 2, 3, 4, 5, and 6 variables.  It also contains commands for filling the
karnaugh map with terms semi-automatically or manually.  Last but not least it
contains commands for drawing implicants on top of the map.")
    (license license:cc-by-sa3.0)))

(define-public texlive-cascade
  (package
    (name "texlive-cascade")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cascade/" "source/latex/cascade/"
                                     "tex/latex/cascade/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13950pv70hr21jn7f0hg4hyai3b28bwcnrd23l44mhynv4hbs5yz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cascade")
    (synopsis
     "Constructions with braces to present mathematical demonstrations")
    (description
     "The LaTeX package cascade provides a command @code{\\Cascade} to do
constructions to present mathematical demonstrations with successive braces
for the deductions.")
    (license license:lppl1.3+)))

(define-public texlive-cascadia-code
  (package
    (name "texlive-cascadia-code")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cascadia-code/"
                                     "fonts/enc/dvips/cascadia-code/"
                                     "fonts/map/dvips/cascadia-code/"
                                     "fonts/opentype/public/cascadia-code/"
                                     "fonts/tfm/public/cascadia-code/"
                                     "fonts/type1/public/cascadia-code/"
                                     "fonts/vf/public/cascadia-code/"
                                     "tex/latex/cascadia-code/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "015kjdr9lgbznmzz1pw57jw4dy4v4fk1qb3w6nizf1z3xza9b49r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cascadia-code")
    (synopsis "Cascadia Code font with support for LaTeX and pdfLaTeX")
    (description
     "Cascadia Code is a monospaced font by Microsoft.  This package provides
the Cascadia Code family of fonts with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-cascadilla
  (package
    (name "texlive-cascadilla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cascadilla/"
                                     "doc/latex/cascadilla/"
                                     "tex/latex/cascadilla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sl29gxjhkakaz7r48wfbvcxngnxdyixmh5awxnlsmrajxgdzh9l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cascadilla")
    (synopsis "Conform to the stylesheet of the Cascadilla Proceedings
Project")
    (description
     "The class provides an extension of the standard LaTeX @code{article}
class that may be used to typeset papers conforming to the stylesheet of the
Cascadilla Proceedings Project, which is used by a number of linguistics
conference proceedings.")
    (license license:lppl)))

(define-public texlive-catcodes
  (package
    (name "texlive-catcodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/catcodes/"
                                     "source/generic/catcodes/"
                                     "tex/generic/catcodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0di6rd5c0viiwvc6ncwndah38q318l3s1pf47ddmzjdq6rys9s33"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/catcodes")
    (synopsis "Generic handling of TeX category codes")
    (description
     "The bundle deals with category code switching; the packages of the
bundle should work with any TeX format (with the support of the
@code{plainpkg} package).  The bundle provides:
@itemize
@item @file{stacklet.sty}, which supports stacks that control the use of
different catcodes;
@item @file{actcodes.sty}, which deals with active characters;
@item @file{catchdq.sty}, which provides a simple quotation character control
mechanism.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-causets
  (package
    (name "texlive-causets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/causets/" "tex/latex/causets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03n3k1xklf42k8ybvvg0hlakqavcsa2dap8hpj3ln007yr4m22g8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/causets")
    (synopsis "Draw causal set (Hasse) diagrams")
    (description
     "This LaTeX package uses TikZ to generate (Hasse) diagrams for causal sets
(causets) to be used inline with text or in mathematical expressions.  The
macros can also be used in the @code{tikzpicture} environment to annotate or
modify a diagram.")
    (license license:lppl1.3+)))

(define-public texlive-ccfonts
  (package
    (name "texlive-ccfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ccfonts/" "source/latex/ccfonts/"
                                     "tex/latex/ccfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r319fv1n9fsnnycza4z1j23dp03fww98a03hmcapkyr9pp9lvv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/ccfonts")
    (synopsis "Support for Concrete text and math fonts in LaTeX")
    (description
     "This package provides LaTeX font definition files for the Concrete fonts
and a LaTeX package for typesetting documents using Concrete as the default
font family.  The files support OT1, T1, TS1, and Concrete mathematics
including AMS fonts (Ulrik Vieth's @code{concmath}).")
    (license license:lppl)))

(define-public texlive-ccool
  (package
    (name "texlive-ccool")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ccool/" "source/latex/ccool/"
                                     "tex/latex/ccool/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17xkwd8mrvl751rn6zvxaznac27rpvmi53rq8nwwlp6j1bdnaj94"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ccool")
    (synopsis "Key-value document command parser")
    (description
     "This package provides a key-value interface, @code{\\Ccool}, on top of
@code{xparse}'s document command parser.  Global options control input
processing and its expansion.  By default, they are set to meet likely
requirements, depending on context: the selected language, and which of text
and math mode is active.  These options can be overridden inline.  Polymorphic
commands can be generated by parameterizing the keys (for instance, one
parameter value for style, another for a property).  User input to
@code{\\Ccool} can optionally be serialized.  This can useful for typesetting
documents sharing the same notation.")
    (license license:lppl1.3c)))

(define-public texlive-cell
  (package
    (name "texlive-cell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cell/" "doc/latex/cell/"
                                     "tex/latex/cell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x2dw80z0kzisbwnx2xrmsk0biqbanmydzygg9zdymhcx7w5rz52"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cell")
    (synopsis "Bibliography style for Cell")
    (description
     "This is an APA-like style (cf.@: @file{apalike.bst} in the BibTeX
distribution), developed from the same author's JMB style.  A supporting LaTeX
package is also provided.")
    (license license:public-domain)))

(define-public texlive-cesenaexam
  (package
    (name "texlive-cesenaexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cesenaexam/"
                                     "source/latex/cesenaexam/"
                                     "tex/latex/cesenaexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05n61y7lqycnj22a80p5pa0ajr8c4zc5b73cc3c2x40w8yx85xcf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cesenaexam")
    (synopsis "Class file to typeset exams")
    (description
     "This LaTeX document class has been designed to typeset exams.")
    (license license:lppl1.3c)))

(define-public texlive-cfr-initials
  (package
    (name "texlive-cfr-initials")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cfr-initials/"
                                     "tex/latex/cfr-initials/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03isx6wck9q2nmn2gm6zmd1830d2v9bps5g1k9qw6y02wdac8az9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cfr-initials")
    (synopsis "LaTeX packages for use of initials")
    (description
     "This is a set of 23 tiny packages designed to make it easier to use
fonts from the initials package in LaTeX, e.g., with the @code{lettrine}
package.")
    (license license:lppl1.3+)))

(define-public texlive-cfr-lm
  (package
    (name "texlive-cfr-lm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cfr-lm/"
                                     "fonts/enc/dvips/cfr-lm/"
                                     "fonts/map/dvips/cfr-lm/"
                                     "fonts/tfm/public/cfr-lm/"
                                     "fonts/vf/public/cfr-lm/"
                                     "source/fonts/cfr-lm/"
                                     "tex/latex/cfr-lm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06zsvbnpg93gw7m0nfsxc1hcqi6idgdc3xwwwy954fx13dpvrqfi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cfr-lm")
    (synopsis "Enhanced support for the Latin Modern fonts")
    (description
     "The package supports a number of features of the Latin Modern fonts
which are not easily accessible via the default (La)TeX support.  In
particular, the package supports the use of the various styles of digits
available, small-caps and upright italic shapes, and alternative weights and
widths.  It also supports variable width typewriter and the @code{quotation}
font.

By default, the package uses proportional oldstyle digits and variable width
typewriter but this can be changed by passing appropriate options to the
package.  The package also supports using (for example) different styles of
digits within a document so it is possible to use proportional oldstyle digits
by default, say, but tabular lining digits within a particular table.")
    (license license:lppl1.3+)))

(define-public texlive-chbibref
  (package
    (name "texlive-chbibref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chbibref/" "tex/latex/chbibref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k4cwy4z0kacikpvxkk3y68apw2x33sh06yccb1s894r1bn3c1qi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chbibref")
    (synopsis "Change the Bibliography and References title")
    (description
     "This package defines a single command, @code{\\setbibref}, which sets
whichever of @code{\\bibname} and @code{\\refname} is in use.")
    (license license:lppl)))

(define-public texlive-chem-journal
  (package
    (name "texlive-chem-journal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chem-journal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01s4sbmc4g96cmnbhx9a6bqjskkrr6saq91cly2pfy5gr256vmnq"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chem-journal")
    (synopsis "Various BibTeX formats for journals in chemistry")
    (description
     "This package provides various BibTeX formats for journals in chemistry,
including @emph{Reviews in Computational Chemistry}, @emph{Journal of Physical
Chemistry}, @emph{Journal of Computational Chemistry}, and @emph{Physical
Chemistry Chemical Physics}.")
    (license license:gpl3+)))

(define-public texlive-chemarrow
  (package
    (name "texlive-chemarrow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/chemarrow/"
                                     "fonts/afm/public/chemarrow/"
                                     "fonts/map/dvips/chemarrow/"
                                     "fonts/source/public/chemarrow/"
                                     "fonts/tfm/public/chemarrow/"
                                     "fonts/type1/public/chemarrow/"
                                     "source/fonts/chemarrow/"
                                     "tex/latex/chemarrow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ky0v2psxamzilmijih88zxanmq2hnpv1yc18mcy9mpymcmvrhwr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/chemarrow")
    (synopsis "Arrows for use in chemistry")
    (description
     "This bundle consists of a font (available as Metafont source, MetaPost
source, and generated type 1 versions), and a package to use it.  The arrows
in the font are designed to look more like those in chemistry text-books than
do Knuth's originals.")
    (license license:public-domain)))

(define-public texlive-chembst
  (package
    (name "texlive-chembst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chembst/" "doc/latex/chembst/"
                                     "source/latex/chembst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "026j8lv3kbxmbq6sc1n8rdrr47njgn5mn9im1mmppzk5bi7w6yzz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chembst")
    (synopsis "Collection of BibTeX files for chemistry journals")
    (description
     "The package offers a collection of advanced BibTeX style files suitable
for publications in chemistry journals.  Currently, style files for journals
published by the American Chemical Society, Wiley-VCH and The Royal Society of
Chemistry are available.  The style files support advanced features such as
automatic formatting of errata or creating an appropriate entry for
publications in @emph{Angewandte Chemie} where both English and German should
be cited simultaneously.")
    (license license:lppl)))

(define-public texlive-chemcompounds
  (package
    (name "texlive-chemcompounds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemcompounds/"
                                     "source/latex/chemcompounds/"
                                     "tex/latex/chemcompounds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bk625vdd6i1dc2569ypcq27hin1yggvadf18463qb6xhyndplvf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemcompounds")
    (synopsis "Simple consecutive numbering of chemical compounds")
    (description
     "The chemcompounds package allows for a simple consecutive numbering of
chemical compounds.  Optionally, it is possible to supply a custom name for
each compound.  The package differs from the @code{chemcono} package by not
generating an odd-looking list of compounds inside the text.")
    (license license:lppl)))

(define-public texlive-chemcono
  (package
    (name "texlive-chemcono")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemcono/" "tex/latex/chemcono/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lwsizrypzn6vnhf7szg47b1synafihihq14wfc0ffrksq1c730c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemcono")
    (synopsis "Support for compound numbers in chemistry documents")
    (description
     "This package provides a LaTeX package for using compound numbers in
chemistry documents.  It works like @code{\\cite} and the
@code{\\thebibliography}, using @code{\\fcite} and @code{\\theffbibliography}
instead.  It allows compound names in documents to be numbered and does not
affect the normal citation routines.")
    (license license:lppl)))

(define-public texlive-chemexec
  (package
    (name "texlive-chemexec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemexec/" "tex/latex/chemexec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1al19xf107qizd7nr7297szqd2k8sf1i3ngpnw6kl6fkak5h7qdg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemexec")
    (synopsis "Creating (chemical) exercise sheets")
    (description
     "The package provides environments and commands that the author needed
when preparing exercise sheets and other teaching material.  In particular,
the package supports the creation of exercise sheets, with separating printing
of solutions.")
    (license license:lppl1.3+)))

(define-public texlive-chemformula
  (package
    (name "texlive-chemformula")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemformula/"
                                     "tex/latex/chemformula/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14w98hnhljfm62cxg2hml3razrxw9hkzm54v7ybnbhcp5mm7wvdm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-units))
    (home-page "https://ctan.org/pkg/chemformula")
    (synopsis "Command for typesetting chemical formulas and reactions")
    (description
     "The package provides a command to typeset chemical formulas and
reactions in support of other chemistry packages (such as
@code{chemmacros}).")
    (license license:lppl1.3c)))

(define-public texlive-chemgreek
  (package
    (name "texlive-chemgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemgreek/"
                                     "tex/latex/chemgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rpcywz5w2im5ck0kp56dywiy1his01s817pngdf9xdn02qk517n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemgreek")
    (synopsis "Upright Greek letters in chemistry")
    (description
     "The package provides upright Greek letters in support of other chemistry
packages (such as @code{chemmacros}).")
    (license license:lppl1.3+)))

(define-public texlive-chemmacros
  (package
    (name "texlive-chemmacros")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemmacros/"
                                     "tex/latex/chemmacros/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jj7i00h83mhajwayn48x4qf0xz526jrjlj5zclqkgrb6kxmx978"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemmacros")
    (synopsis "Collection of macros to support typesetting chemistry documents")
    (description
     "The bundle offers a collection of macros and commands which are intended
to make typesetting chemistry documents faster and more convenient.  Coverage
includes some nomenclature commands, oxidation numbers, thermodynamic data,
newman projections, etc.")
    (license license:lppl1.3c)))

(define-public texlive-chemnum
  (package
    (name "texlive-chemnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemnum/" "tex/latex/chemnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ld2ja2by5y48v5k8x1mgmcpr75vkf8r8ni0fmvrpxh8xrv7mq4f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemnum")
    (synopsis "Method for numbering chemical compounds")
    (description
     "The package defines a @code{\\label}- and @code{\\ref}-like commands for
compound numbers.")
    (license license:lppl1.3c)))

(define-public texlive-chemobabel
  (package
    (name "texlive-chemobabel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemobabel/"
                                     "source/latex/chemobabel/"
                                     "tex/latex/chemobabel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky7xcyln4j40b18anld77mxc2i4af75y9xdjisj2ixl3vkg5a1x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemobabel")
    (synopsis "Convert chemical structures from ChemDraw, MDL molfile or SMILES")
    (description
     "This package provides a way to convert and include chemical structure
graphics from various chemical formats, such as ChemDraw files, MDL molfile or
SMILES notations using Open Babel.  To use this LaTeX package, it is necessary
to enable execution of the following external commands via
@samp{latex -shell-escape}: @command{obabel} (Open Babel) @command{inkscape}
or @command{rsvg-convert} (for SVG -> PDF/EPS conversion), @command{pdfcrop}
or @command{ps2eps} (optional; for cropping large margins of PDF/EPS).")
    (license license:bsd-2)))

(define-public texlive-chemplants
  (package
    (name "texlive-chemplants")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemplants/"
                                     "tex/latex/chemplants/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "164g4wy0x7jqf5l7hzb05ir7yz130bw34b7pwr8bp4vcyp4wy3ai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemplants")
    (synopsis "Symbology to draw chemical plants with TikZ")
    (description
     "This package offers tools to draw simple or barely complex schemes of
chemical processes.  The package defines several standard symbols and styles
to draw process units and streams.  The guiding light of the package is the
UNICHIM regulation.")
    (license license:lppl1.3c)))

(define-public texlive-chemschemex
  (package
    (name "texlive-chemschemex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemschemex/"
                                     "source/latex/chemschemex/"
                                     "tex/latex/chemschemex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09mjxj1gwddbpkriivn8x98z9hls4pcmpdqf24a7gz19whgs1qyk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemschemex")
    (synopsis "Typeset and cross-reference chemical schemes based on TikZ code")
    (description
     "The package provides a comfortable means of typesetting chemical
schemes, and also offers automatic structure referencing.")
    (license license:lppl1.2+)))

(define-public texlive-chemsec
  (package
    (name "texlive-chemsec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemsec/" "source/latex/chemsec/"
                                     "tex/latex/chemsec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q41mfhnvh4ni7dn0krrrcr9sr6ma855j1hckbg8fl56dl2h7zlp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemsec")
    (synopsis "Automated creation of numeric entity labels")
    (description
     "Packages provides creation of sequential numeric labels for entities in
a document.  The motivating example is chemical structures in a scientific
document.  The package can automatically output a full object name and label
on the first occurence in the document and just labels only on subsequent
references.")
    (license license:lppl1.3+)))

(define-public texlive-chemstyle
  (package
    (name "texlive-chemstyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chemstyle/"
                                     "source/latex/chemstyle/"
                                     "tex/latex/chemstyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s2k4h153yh0f50q9da390f3ihykvrhsd1zjgfsdb6404059in3p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemstyle")
    (synopsis "Writing chemistry with style")
    (description
     "The package @code{chemstyle} provides an extensible system for
formatting chemistry documents according to the conventions of a number of
leading journals.  It also provides some handy chemistry-related macros.")
    (license license:lppl1.3+)))

(define-public texlive-cherokee
  (package
    (name "texlive-cherokee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cherokee/"
                                     "fonts/source/public/cherokee/"
                                     "fonts/tfm/public/cherokee/"
                                     "tex/latex/cherokee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cganm5d4gnkkhandancyd915w2x9kskj9qg81y54jcfyjz8gp51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cherokee")
    (synopsis "Font for the Cherokee script")
    (description
     "The Cherokee script was designed in 1821 by Segwoya.  The alphabet is
essentially syllabic, only 6 characters (a e i o s u) correspond to Roman
letters: the font encodes these to the corresponding roman letter.  The
remaining 79 characters have been arbitrarily encoded in the range 38-122; the
@code{cherokee} package provides commands that map each such syllable to the
appropriate character.")
    ;; "You may freely use, modify, and/or distribute this file, without
    ;; limitation.  If you make significant additions or improvements,
    ;; I request that you email me an updated version."
    (license
     (license:fsf-free "file://fonts/source/public/cherokee/cherokee.mf"))))

(define-public texlive-chess
  (package
    (name "texlive-chess")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/chess/"
                                     "fonts/source/public/chess/"
                                     "fonts/tfm/public/chess/" "tex/latex/chess/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "079naqw9bd5da3c2bsa0322kdjrfpwa35inrfznzgrfdk1w0irs7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/chess")
    (synopsis "Fonts for typesetting chess boards")
    (description
     "This is the original, and somewhat dated, TeX chess font package.
Potential users should consider @code{skak} (for alternative fonts, and
notation support), @code{texmate} (for alternative notation support), or
@code{chessfss} (for flexible font choices).")
    (license license:public-domain)))

(define-public texlive-chess-problem-diagrams
  (package
    (name "texlive-chess-problem-diagrams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chess-problem-diagrams/"
                                     "source/latex/chess-problem-diagrams/"
                                     "tex/latex/chess-problem-diagrams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m32dhwdfrgy1r3lq8j7hdaa79kniwwq3lanbkkn32dhybwa0b61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chess-problem-diagrams")
    (synopsis "Package for typesetting chess problem diagrams")
    (description
     "This package provides macros to typeset chess problem diagrams including
fairy chess problems (mostly using rotated images of pieces) and other
boards.")
    (license license:lppl1.2+)))

(define-public texlive-chessboard
  (package
    (name "texlive-chessboard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chessboard/"
                                     "source/latex/chessboard/"
                                     "tex/latex/chessboard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nz66h6baz5m2jfzjzyccw0rcpkc6rfbq9cc759y875b47j8pkhx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chessboard")
    (synopsis "Print chess boards")
    (description
     "This package offers commands to print chessboards.  It can print partial
boards, hide pieces and fields, color the boards and put various marks on the
board.  It has a lot of options to place pieces on the board.  Using exotic
pieces (e.g., for fairy chess) is possible.")
    (license license:lppl)))

(define-public texlive-chessfss
  (package
    (name "texlive-chessfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chessfss/"
                                     "fonts/enc/dvips/chessfss/"
                                     "source/latex/chessfss/"
                                     "tex/latex/chessfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l51famz3zx9v4v0mdxwk51xhaidwgfplf268q2f1ipif9h6ma5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chessfss")
    (synopsis "Package to handle chess fonts")
    (description
     "This package offers commands to use and switch between chess fonts.
It uses the LaTeX font selection scheme (nfss).  The package doesn't parse,
format and print PGN input like e.g., the packages @code{skak} or
@code{texmate}; the aim of the package is to offer writers of chess packages
a bundle of commands for fonts, so that they don't have to implement all these
commands for themselves.  A normal user can use the package to print
e.g,. single chess symbols and simple diagrams.")
    (license license:lppl)))

(define-public texlive-chhaya
  (package
    (name "texlive-chhaya")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chhaya/" "source/latex/chhaya/"
                                     "tex/latex/chhaya/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1if47icrsy56sjza170cxcpcczwfh9k8jl7j22gwwam4msa4d1if"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chhaya")
    (synopsis "Linguistic glossing in Marathi language")
    (description
     "This package provides macros for linguistic glossing as per the rules
given by Mumbai University.")
    (license (list license:gpl3+
                   ;; Aalok (आलोक) copyleft license v1.0+.
                   (license:fsf-free "file://doc/latex/aalok/README.txt")
                   license:fdl1.3+))))

(define-public texlive-chicago
  (package
    (name "texlive-chicago")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chicago/" "tex/latex/chicago/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mwrphf2g7v5yc0qij76dkzalgm3fhcm8zs7akgaypyk98cvxw8k"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chicago")
    (synopsis "Chicago bibliography style")
    (description
     "Chicago is a BibTeX style that follows the @samp{B} reference style of
the 13th Edition of the Chicago manual of style; a LaTeX package is also
provided.  The style was derived from the @code{newapa} style.")
    (license license:knuth)))

(define-public texlive-chicago-annote
  (package
    (name "texlive-chicago-annote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chicago-annote/"
                                     "doc/bibtex/chicago-annote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16hqz4xf7mbnrnx8420ynykxr1l3slfvjq8d8s0mrw42v88965ni"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chicago-annote")
    (synopsis "Chicago-based annotated BibTeX style")
    (description
     "This is a revision of chicagoa.bst, using the commonly-used annote field
in place of the original's annotation.")
    (license license:lppl)))

(define-public texlive-chicagoa
  (package
    (name "texlive-chicagoa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chicagoa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1za4fqlpirbr3qs894abnlwmrhsqbahniyyimy1dxal0cp61cfil"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chicagoa")
    (synopsis "Chicago bibliography style with annotations")
    (description
     "This is a modification of the author's @code{chicago} style, to support
an annotation field in bibliographies.")
    (license license:knuth)))

(define-public texlive-chifoot
  (package
    (name "texlive-chifoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chifoot/" "tex/latex/chifoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07hxfiasfbnmvq367nnjg56n21wxdw0r6i7bl5l4gxa0j9jvmpf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chifoot")
    (synopsis "Chicago-style footnote formatting")
    (description
     "This package provides a very short snippet that sets the footnotes to be
conformant with the Chicago style, so the footnotes at the bottom of the page
are now marked with a full-sized number, rather than with a superscript
number.")
    (license license:lppl1.3+)))

(define-public texlive-chinesechess
  (package
    (name "texlive-chinesechess")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chinesechess/"
                                     "tex/latex/chinesechess/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15sszrrv1viaa74i57a81xhybhjq2vaxb188wl728hjzm8d0n0wm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chinesechess")
    (synopsis "Typeset Chinese chess with @code{l3draw}")
    (description
     "This LaTeX3 package based on @code{l3draw} provides macros and an
environment for Chinese chess manual writing.")
    (license license:lppl1.3c)))

(define-public texlive-chivo
  (package
    (name "texlive-chivo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/chivo/"
                                     "fonts/enc/dvips/chivo/"
                                     "fonts/map/dvips/chivo/"
                                     "fonts/opentype/public/chivo/"
                                     "fonts/tfm/public/chivo/"
                                     "fonts/type1/public/chivo/"
                                     "fonts/vf/public/chivo/"
                                     "source/fonts/chivo/"
                                     "tex/latex/chivo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dvcz42rw2y33amrjikgicy9r4c6m0c4cvv2h0sm7k5bympnj8w0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chivo")
    (synopsis "Using the Chivo fonts with LaTeX")
    (description
     "This work provides the necessary files to use the Chivo fonts with
LaTeX.  Chivo is a set of eight fonts provided by Hector Gatti and Omnibus
Team.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-chordbars
  (package
    (name "texlive-chordbars")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chordbars/"
                                     "tex/latex/chordbars/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qnggp8m2r7z5qmgpnqza0a2d3gcszdcypg6i78vr6p0zcmbadvh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chordbars")
    (synopsis "Print chord grids for pop/jazz tunes")
    (description
     "This Tikz-based music-related package is targeted at pop/jazz
guitar/bass/piano musicians.  They usually need only the chords and the song
structure.  This package produces rectangular song patterns with one square
per bar, with the chord shown inside the square.  It also handles the song
structure by showing the bar count and the repetitions of the patterns.")
    (license license:lppl1.3+)))

(define-public texlive-chordbox
  (package
    (name "texlive-chordbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chordbox/" "tex/latex/chordbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01css8dnzss7s711ry2rs2fi3bw70s0lgj0cwwdicjgi331zbq70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chordbox")
    (synopsis "Draw chord diagrams")
    (description
     "This package provides two macros for drawing chord diagrams, as may be
found for example in chord charts/books and educational materials.  They are
composed as TikZ pictures and have several options to modify their
appearance.")
    (license license:lppl1.3+)))

(define-public texlive-chronosys
  (package
    (name "texlive-chronosys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/chronosys/"
                                     "tex/generic/chronosys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "145ap67ykdkp2f0ahasp9sjccrv1wzxdfl05nq6hbi6z65pk56s5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chronosys")
    (synopsis "Drawing time-line diagrams")
    (description
     "This package provides macros to produce time line diagrams.
Interfaces for Plain TeX, ConTeXt and LaTeX are provided.")
    (license license:lppl1.3+)))

(define-public texlive-chs-physics-report
  (package
    (name "texlive-chs-physics-report")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chs-physics-report/"
                                     "tex/latex/chs-physics-report/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "195f66yffi96qkrxb044mcaycyds0mp3fg3c3lhz1mpvbz0calpl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chs-physics-report")
    (synopsis "Physics lab reports for Carmel High School")
    (description
     "This package may optionally be used by students at Carmel High School in
Indiana in the United States to write physics lab reports for FW physics
courses.  As many students are beginners at LaTeX, it also attempts to
simplify the report-writing process by offering macros for commonly used
notation and by automatically formatting the documents for students who will
only use TeX for mathematics and not typesetting.")
    (license (list license:public-domain license:cc-by-sa3.0))))

(define-public texlive-chscite
  (package
    (name "texlive-chscite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chscite/" "doc/latex/chscite/"
                                     "source/latex/chscite/" "tex/latex/chscite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q4mgvrbljbw7pmwjs4qcr91sfhbnbshhmygxqrkriyrfnqy6yfq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chscite")
    (synopsis "Bibliography style for Chalmers University of Technology")
    (description
     "The package, heavily based on the harvard package for Harvard-style
citations, provides a citation suite for students at Chalmers University of
Technology that follows given recommendations.")
    (license license:lppl1.2+)))

(define-public texlive-churchslavonic
  (package
    (name "texlive-churchslavonic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/churchslavonic/"
                                     "tex/latex/churchslavonic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m9sf9nwnlribfhh5lks4lfnkc5fglcr4x3y30g03hcqrwwi15ks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox
           texlive-fonts-churchslavonic
           texlive-hyphen-complete
           texlive-oberdiek
           texlive-xcolor))
    (home-page "https://ctan.org/pkg/churchslavonic")
    (synopsis "Typeset documents in Church Slavonic language using Unicode")
    (description
     "The package provides fonts, hyphenation patterns, and supporting macros
to typeset Church Slavonic texts.")
    (license license:expat)))

(define-public texlive-cinzel
  (package
    (name "texlive-cinzel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cinzel/"
                                     "fonts/enc/dvips/cinzel/"
                                     "fonts/map/dvips/cinzel/"
                                     "fonts/tfm/ndiscovered/cinzel/"
                                     "fonts/truetype/ndiscovered/cinzel/"
                                     "fonts/type1/ndiscovered/cinzel/"
                                     "fonts/vf/ndiscovered/cinzel/"
                                     "tex/latex/cinzel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qik1ji23w35350ajjxz5w39w1cy4lg582343nrhr9y8jl18kfap"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cinzel")
    (synopsis "LaTeX support for Cinzel and Cinzel Decorative fonts")
    (description
     "Cinzel and Cinzel Decorative fonts, designed by Natanael Gama,
find their inspiration in first century roman inscriptions, and are based on
classical proportions.  Cinzel is all-caps (similar to Trajan and
Michelangelo), but is available in three weights (Regular, Bold, Black).
There are no italic fonts, but there are Decorative variants, which can be
selected by the usual italic-selection commands in the package's LaTeX
support.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-citation-style-language
  (package
    (name "texlive-citation-style-language")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/citation-style-language/"
                                     "doc/man/man1/citeproc-lua.1"
                                     "doc/man/man1/citeproc-lua.man1.pdf"
                                     "scripts/citation-style-language/"
                                     "tex/latex/citation-style-language/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "135al26nwqq0v5pvl54cbkbi0pxcvdkaskys0v2cigan1b406pj2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "citeproc-lua.lua")))
    (propagated-inputs
     (list texlive-filehook
           texlive-l3kernel
           texlive-l3packages
           texlive-lua-uca
           texlive-lualibs
           texlive-luatex
           texlive-luaxml
           texlive-url))
    (home-page "https://ctan.org/pkg/citation-style-language")
    (synopsis "Bibliography formatting with Citation Style Language")
    (description
     "The Citation Style Language (CSL) is an XML-based language that defines
the formats of citations and bibliography.  There are currently thousands of
styles in CSL including the most widely used APA, Chicago, Vancouver, etc.
The citation-style-language package is aimed to provide another reference
formatting method for LaTeX that utilizes the CSL styles.  It contains
a citation processor implemented in pure Lua (@code{citeproc-lua}) which reads
bibliographic metadata and performs sorting and formatting on both citations
and bibliography according to the selected CSL style.  A LaTeX package
(@file{citation-style-language.sty}) is provided to communicate with the
processor.")
    (license (list license:expat license:cc-by-sa3.0))))

(define-public texlive-citeall
  (package
    (name "texlive-citeall")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/citeall/" "tex/latex/citeall/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sap2kns1b51zj0dmy70q77rw7dnhdjqab0rmyvpp2hgq5yk3mhq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/citeall")
    (synopsis "Cite all entries of a @file{.bbl} created with BibLaTeX")
    (description
     "This small package allows to cite all entries of
a BibLaTeX (@file{.bbl}) file.")
    (license license:lppl1.3+)))

(define-public texlive-citeref
  (package
    (name "texlive-citeref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/citeref/" "tex/latex/citeref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k76msdfsf968cv3m1z8lcf6mlmy90gaaphrgkr7cs67pgyvq6jq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/citeref")
    (synopsis "Add reference-page-list to bibliography-items")
    (description
     "The package adds reference-page-list to bibliography-items.  It does its
job without using the indexing facilities, and needs no special
@code{\\cite}-replacement package.")
    (license license:bsd-4)))

(define-public texlive-cje
  (package
    (name "texlive-cje")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cje/" "doc/latex/cje/"
                                     "tex/latex/cje/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n24knrb0ayh9dnqg4l776p5wzh5j1bbqxvwpf7pcljcml94iaa7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cje")
    (synopsis "LaTeX document class for CJE articles")
    (description
     "The @code{cje} article class allows authors to format their papers to
@emph{Canadian Journal of Economics} style with minimum effort.  The class
includes options for two other formats: @code{review} (double spaced, for use
at the submission stage) and @code{proof} (used by the typesetters to prepare
the proof authors will receive for approval).")
    (license license:lppl1.3c)))

(define-public texlive-cjhebrew
  (package
    (name "texlive-cjhebrew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjhebrew/"
                                     "fonts/afm/public/cjhebrew/"
                                     "fonts/enc/dvips/cjhebrew/"
                                     "fonts/map/dvips/cjhebrew/"
                                     "fonts/tfm/public/cjhebrew/"
                                     "fonts/type1/public/cjhebrew/"
                                     "fonts/vf/public/cjhebrew/"
                                     "tex/latex/cjhebrew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00rf55ck8y1ny1v242sbhcfchnq7q5mlsmmqppgqspd892ymlxh0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cjhebrew")
    (synopsis "Typeset Hebrew with LaTeX")
    (description
     "The @code{cjhebrew} package provides Adobe Type 1 fonts for Hebrew, and
LaTeX macros to support their use.  Hebrew text can be vocalised, and a few
accents are also available.  The package makes it easy to include Hebrew text
in other-language documents.")
    (license license:lppl)))

(define-public texlive-cjk
  (package
    (name "texlive-cjk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjk/"
                                     "source/latex/cjk/contrib/wadalab/"
                                     "source/latex/cjk/texinput/KS/HLaTeX/"
                                     "source/latex/cjk/utils/"
                                     "tex/latex/cjk/contrib/wadalab/"
                                     "tex/latex/cjk/texinput/"
                                     "tex/latex/cjk/utils/pyhyphen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "044r1mmszq3hjmlck87vmqp62j2z02bm7lda8wb17phs0grkws5z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-arphic
           texlive-cns
           texlive-garuda-c90
           texlive-norasi-c90
           texlive-uhc
           texlive-wadalab))
    (home-page "https://ctan.org/pkg/cjk")
    (synopsis "CJK language support")
    (description
     "CJK is a macro package for LaTeX, providing simultaneous support for
various Asian scripts in many encodings (including Unicode): Chinese (both
traditional and simplified), Japanese, Korean and Thai.  A special add-on
feature is an interface to the Emacs editor (@file{cjk-enc.el}) which gives
simultaneous, easy-to-use support to a bunch of other scripts in addition to
the above -- Cyrillic, Greek, Latin-based scripts, Russian and Vietnamese are
supported.")
    (license license:gpl2)))

(define-public texlive-cjk-gs-integrate
  (package
    (name "texlive-cjk-gs-integrate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cjk-gs-integrate/"
                                     "fonts/misc/cjk-gs-integrate/"
                                     "scripts/cjk-gs-integrate/"
                                     "source/fonts/cjk-gs-integrate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ml35bs1pr3kbdqnbclyy31ln8yigy609rsm9rc2y3j5ngmw2y8y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "cjk-gs-integrate.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/cjk-gs-integrate")
    (synopsis "Tools to integrate CJK fonts into Ghostscript")
    (description
     "This script searches a list of directories for CJK fonts, and makes them
available to an installed Ghostscript.  In the simplest case, with sufficient
privileges, a run without arguments should result in a complete setup of
Ghostscript.")
    (license license:gpl3)))

(define-public texlive-cjk-ko
  (package
    (name "texlive-cjk-ko")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjk-ko/" "tex/latex/cjk-ko/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yj4j0xbdchi56xyk1fq3xj33xwr9v58yfq4d8798mmzi9bd00m9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-cjk))
    (home-page "https://ctan.org/pkg/cjk-ko")
    (synopsis "Extension of the CJK package for Korean typesetting")
    (description
     "The package supports typesetting UTF-8-encoded modern Korean documents
with the help of the LaTeX2e CJK package.  It provides some enhanced features
focused on Korean typesetting culture, one of them being allowing line-break
between Latin and CJK characters.")
    (license (list license:gpl3+ license:lppl license:public-domain))))

(define-public texlive-cjkpunct
  (package
    (name "texlive-cjkpunct")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cjkpunct/"
                                     "source/latex/cjkpunct/"
                                     "tex/latex/cjkpunct/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l4jnawgcsq7lzsrky7259diswxm06mn9mvgxgw8j0za10kvv4vb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cjkpunct")
    (synopsis "Adjust locations and kerning of CJK punctuation marks")
    (description "The package serves as a companion package for CJK.  It
adjust locations and kerning of CJK punctuation marks.")
    (license license:lppl1.3+)))

(define-public texlive-cjkutils
  (package
    (name "texlive-cjkutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bg5conv.1"
                                     "doc/man/man1/bg5conv.man1.pdf"
                                     "doc/man/man1/cef5conv.1"
                                     "doc/man/man1/cef5conv.man1.pdf"
                                     "doc/man/man1/cefconv.1"
                                     "doc/man/man1/cefconv.man1.pdf"
                                     "doc/man/man1/cefsconv.1"
                                     "doc/man/man1/cefsconv.man1.pdf"
                                     "doc/man/man1/extconv.1"
                                     "doc/man/man1/extconv.man1.pdf"
                                     "doc/man/man1/hbf2gf.1"
                                     "doc/man/man1/hbf2gf.man1.pdf"
                                     "doc/man/man1/sjisconv.1"
                                     "doc/man/man1/sjisconv.man1.pdf"
                                     "hbf2gf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0by2g05xv5dndnd78jz9y73fyswqhfvcbzcw8rzhvpvd6inrcdq8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-cjkutils-bin))
    (home-page "https://ctan.org/pkg/cjk")
    (synopsis "CJK language support")
    (description
     "CJK is a macro package for LaTeX, providing simultaneous support for
various Asian scripts in many encodings (including Unicode): Chinese (both
traditional and simplified), Japanese, Korean and Thai.  A special add-on
feature is an interface to the Emacs editor (cjk-enc.el) which gives
simultaneous, easy-to-use support to a bunch of other scripts in addition to
the above --- Cyrillic, Greek, Latin-based scripts, Russian and Vietnamese are
supported.")
    (license license:gpl2)))

(define-public texlive-cjkutils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-cjkutils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs/" '())
            (delete-other-directories "utils/" '())
            (delete-other-directories "texk/" '("cjkutils"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-cjkutils-x" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/cjkutils"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/cjkutils"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-cjkutils))
    (synopsis "Binaries for @code{texlive-cjkutils}")
    (description
     "This package provides the binaries for @code{texlive-cjkutils}.")
    (license (package-license texlive-cjkutils))))

(define-public texlive-clara
  (package
    (name "texlive-clara")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/clara/"
                                     "fonts/enc/dvips/clara/"
                                     "fonts/map/dvips/clara/"
                                     "fonts/opentype/public/clara/"
                                     "fonts/tfm/public/clara/"
                                     "fonts/type1/public/clara/"
                                     "fonts/vf/public/clara/"
                                     "tex/latex/clara/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "182iw362irf247frsy0dzrswnh1341jlwrlwhvx1hcrbrvhpbz42"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clara")
    (synopsis "Clara serif font family")
    (description
     "Clara is a type family created specially by Seamas O Brogain.  The
family includes italic, bold, bold italic, and small capitals, while the
character set includes (monotonic) Greek, Cyrillic, ogham, phonetic and
mathematical ranges, scribal abbreviations and other specialist characters.
The fonts also include some OpenType features (such as ligature substitution,
small capitals, and old-style numerals) and variant forms for particular
languages.")
    (license (list license:silofl1.1 license:gpl2+))))

(define-public texlive-classicthesis
  (package
    (name "texlive-classicthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/classicthesis/"
                                     "tex/latex/classicthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0djx7vcrc1ksbgppdbwy31z5qd95flgsgqk6gpzpi3a5rc7h54nz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/classicthesis")
    (synopsis "Classically styled thesis package")
    (description
     "This package provides an elegant layout designed in homage to
Bringhurst's @emph{The Elements of Typographic Style}.  It makes use of
a range of techniques to get the best results achievable using TeX.  Included
in the bundle are templates to make thesis writing easier.")
    (license license:gpl2+)))

(define-public texlive-cleanthesis
  (package
    (name "texlive-cleanthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cleanthesis/"
                                     "tex/latex/cleanthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11fv49w1nydm5fvkp1p2375ywdfd5yh8hayqfnr6wdidzdycpg85"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cleanthesis")
    (synopsis "Clean LaTeX style for thesis documents")
    (description
     "The package offers a clean, simple, and elegant LaTeX style for thesis
documents.")
    (license license:lppl1.3+)))

(define-public texlive-clearsans
  (package
    (name "texlive-clearsans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/clearsans/"
                                     "fonts/enc/dvips/clearsans/"
                                     "fonts/map/dvips/clearsans/"
                                     "fonts/tfm/intel/clearsans/"
                                     "fonts/truetype/intel/clearsans/"
                                     "fonts/type1/intel/clearsans/"
                                     "fonts/vf/intel/clearsans/"
                                     "tex/latex/clearsans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sf84xxvq9rxb3n5nsggfswvdagynnz6clazk86w4k2a5r0qf8yw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clearsans")
    (synopsis "Clear Sans fonts with LaTeX support")
    (description
     "Clear Sans was designed by Daniel Ratighan.  It is available in three
weights (regular, medium, and bold) with corresponding italics, plus light and
thin upright (without italics).

It has minimized, unambiguous characters and slightly narrow proportions,
making it ideal for UI design.  Its strong, recognizable forms avoid
distracting ambiguity, making Clear Sans comfortable for reading short UI
labels and long passages in both screen and print.  The fonts are available in
both TrueType and Type 1 formats.")
    (license (list license:asl2.0 license:lppl))))

(define-public texlive-cleveref
  (package
    (name "texlive-cleveref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cleveref/"
                                     "source/latex/cleveref/"
                                     "tex/latex/cleveref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18r8g6ipn1ly60gnp0yi0m409gm8lssbpmka5813i4l45281fk43"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cleveref")
    (synopsis "Intelligent cross-referencing")
    (description
     "The package enhances LaTeX's cross-referencing features, allowing the
format of references to be determined automatically according to the type of
reference.  The formats used may be customised in the preamble of a document;
Babel support is available (though the choice of languages remains limited:
currently Danish, Dutch, English, French, German, Italian, Norwegian, Russian,
Spanish and Ukranian).

The package also offers a means of referencing a list of references, each
formatted according to its type.  In such lists, it can collapse sequences of
numerically-consecutive labels to a reference range.")
    (license license:lppl1.2+)))

(define-public texlive-clrscode
  (package
    (name "texlive-clrscode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clrscode/" "tex/latex/clrscode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gl2ap3w7zanbrn1k2bcf3f75lfpakp5dd0w8m1jy46hyvha7jpd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clrscode")
    (synopsis "Typesets pseudocode as in Introduction to Algorithms")
    (description
     "This package allows you to typeset pseudocode in the style of
@emph{Introduction to Algorithms}, Second edition, by Cormen, Leiserson,
Rivest, and Stein.  The package was written by the authors.  You use the
commands the same way the package's author did when writing the book, and your
output will look just like the pseudocode in the text.")
    (license license:lppl)))

(define-public texlive-clrscode3e
  (package
    (name "texlive-clrscode3e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clrscode3e/"
                                     "tex/latex/clrscode3e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kcsrlvqs83fc9ianim3drqvz60xp2cfl6a554icnm39p1fjf80c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clrscode3e")
    (synopsis "Typesets pseudocode as in @emph{Introduction to Algorithms}")
    (description
     "This package allows you to typeset pseudocode in the style of
@emph{Introduction to Algorithms}, Third edition, by Cormen, Leiserson,
Rivest, and Stein.  The package was written by the authors.  Use the commands
the same way the package's author did when writing the book, and your output
will look just like the pseudocode in the text.")
    (license license:lppl)))

(define-public texlive-cm-mf-extra-bold
  (package
    (name "texlive-cm-mf-extra-bold")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/cm-mf-extra-bold/"
                                     "fonts/tfm/public/cm-mf-extra-bold/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l1cm32z8wcpj0cl7czqkhnwil3ail7a2bbzn70dnswpj0ka8k9n"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cm-mf-extra-bold")
    (synopsis "Extra Metafont files for CM")
    (description
     "The bundle provides bold versions of @code{cmcsc}, @code{cmex},
@code{cmtex} and @code{cmtt} fonts (all parts of the standard Computer Modern
font distribution), as Metafont base files.")
    (license (list license:gpl3+ license:public-domain))))

(define-public texlive-cm-unicode
  (package
    (name "texlive-cm-unicode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm-unicode/"
                                     "fonts/afm/public/cm-unicode/"
                                     "fonts/enc/dvips/cm-unicode/"
                                     "fonts/map/dvips/cm-unicode/"
                                     "fonts/opentype/public/cm-unicode/"
                                     "fonts/type1/public/cm-unicode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15ysic6vah1wircybhpm9915mr1bbc8b2jalia86ajiqbxn2l9h0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cm-unicode")
    (synopsis "Computer Modern Unicode font family")
    (description
     "This package provides Computer Modern Unicode fonts.  Some characters in
several fonts are copied from Blue Sky Type 1 fonts released by AMS.
Currently the fonts contain glyphs from Latin, Cyrillic, Greek code sets and
IPA extensions.  This font set contains 33 fonts.  This archive contains AFM,
PFB and OTF versions; the OTF version of the Computer Modern Unicode fonts
works with TeX engines that directly support OpenType features, such as XeTeX
and LuaTeX.")
    (license license:silofl1.1)))

(define-public texlive-cmathbb
  (package
    (name "texlive-cmathbb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmathbb/"
                                     "fonts/enc/dvips/cmathbb/"
                                     "fonts/map/dvips/cmathbb/"
                                     "fonts/tfm/public/cmathbb/"
                                     "fonts/type1/public/cmathbb/"
                                     "fonts/vf/public/cmathbb/"
                                     "tex/latex/cmathbb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pmzsaskwcbyjihidy7hvz7s2cixhl7ccy0c9cbh2cm3md6gdrqh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmathbb")
    (synopsis "Computer modern mathematical blackboard bold font")
    (description
     "This font contains all digits and latin letters uppercase and lowercase
for the Computer Modern font family in blackboard bold.")
    (license license:lppl1.3c)))

(define-public texlive-cmll
  (package
    (name "texlive-cmll")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmll/"
                                     "fonts/map/dvips/cmll/"
                                     "fonts/source/public/cmll/"
                                     "fonts/tfm/public/cmll/"
                                     "fonts/type1/public/cmll/"
                                     "source/latex/cmll/"
                                     "tex/latex/cmll/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13q5ar2zaf7h6f2mzgxxqzaraziwl6asicbnyq6anfv2ky38rd72"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-euxm")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list texlive-euxm texlive-metafont))
    (home-page "https://ctan.org/pkg/cmll")
    (synopsis "Symbols for linear logic")
    (description
     "This is a very small font set that contain some symbols useful in linear
logic, which are apparently not available elsewhere.  Variants are included
for use with Computer Modern serif and sans-serif and with the AMS Euler
series.  The font is provided both as Metafont source, and in Adobe Type
1 format.  LaTeX support is provided.")
    (license license:lppl)))

(define-public texlive-cmpica
  (package
    (name "texlive-cmpica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmpica/"
                                     "fonts/source/public/cmpica/"
                                     "fonts/tfm/public/cmpica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gpj2i588h6d0b5cl4xaik9nyx7w1sd8wik5q4mgmzspbkdk5a04"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmpica")
    (synopsis "Computer Modern Pica variant")
    (description
     "This is an approximate equivalent of the Xerox Pica typeface; the font
is optimised for submitting fiction manuscripts to mainline publishers.  The
font is a fixed-width one, rather less heavy than Computer Modern typewriter.
Emphasis for bold-face comes from a wavy underline of each letter.  The two
fonts are supplied as Metafont source.")
    (license license:public-domain)))

(define-public texlive-cmpj
  (package
    (name "texlive-cmpj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cmpj/" "doc/latex/cmpj/"
                                     "tex/latex/cmpj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drmil2vba85wa7ykrma452hwh7ggzsq33zrhch7rjnqaw7xihwv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmpj")
    (synopsis "Style for the journal @emph{Condensed Matter Physics}")
    (description
     "The package contains macros and some documentation for typesetting
papers for submission to the @emph{Condensed Matter Physics} journal published
by the Institute for Condensed Matter Physics of the National Academy of
Sciences of Ukraine.")
    (license license:lppl)))

(define-public texlive-cmsrb
  (package
    (name "texlive-cmsrb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmsrb/"
                                     "fonts/afm/public/cmsrb/"
                                     "fonts/enc/dvips/cmsrb/"
                                     "fonts/map/dvips/cmsrb/"
                                     "fonts/tfm/public/cmsrb/"
                                     "fonts/type1/public/cmsrb/"
                                     "fonts/vf/public/cmsrb/"
                                     "tex/latex/cmsrb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f6ylk8n881sl0njbz7yqy98pbk51s6m73zldcsz2w62qnghd1x0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmsrb")
    (synopsis "Computer Modern for Serbian and Macedonian")
    (description
     "This package provides provides Adobe Type 1 Computer Modern fonts for
the Serbian and Macedonian languages.  Although the @code{cm-super} package
provides great support for Cyrillic script in various languages, there remains
a problem with italic variants of some letters for Serbian and Macedonian.
This package includes the correct shapes for italic letters @code{\\cyrb},
@code{\\cyrg}, @code{\\cyrd}, @code{\\cyrp}, and @code{\\cyrt}.  It also
offers some improvements in letters and accents used in the Serbian language.
Supported encodings are: T1, T2A, TS1, X2 and OT2.  The OT2 encoding is
modified so that it is now easy to transcribe Latin text to Cyrillic.")
    (license license:gpl3+)))

(define-public texlive-cmtiup
  (package
    (name "texlive-cmtiup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmtiup/"
                                     "fonts/source/public/cmtiup/"
                                     "fonts/tfm/public/cmtiup/"
                                     "fonts/vf/public/cmtiup/"
                                     "tex/latex/cmtiup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cdm10aybgc8ifi11fahl3hb18blmibk08b4b5m8q88150ic563r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmtiup")
    (synopsis "Upright punctuation with CM italic")
    (description
     "The @code{cmtiup} fonts address a problem with the appearance of
punctuation in italic text in mathematical documents.  To achieve this, all
punctuation characters are upright, and kerning between letters and
punctuation is adjusted to allow for the italic correction.  The fonts are
implemented as a set of @file{.vf} files; a package for support in LaTeX is
provided.")
    (license license:lppl1.3+)))

(define-public texlive-cmupint
  (package
    (name "texlive-cmupint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmupint/"
                                     "fonts/afm/public/cmupint/"
                                     "fonts/map/dvips/cmupint/"
                                     "fonts/source/public/cmupint/"
                                     "fonts/tfm/public/cmupint/"
                                     "fonts/type1/public/cmupint/"
                                     "tex/latex/cmupint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1acgzx5b02900vzwvaq0j8w6x8jc1650kfhp992f3bcyd658aj62"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmupint")
    (synopsis "Upright integral symbols for Computer Modern")
    (description
     "This package contains various upright integral symbols to match the
Computer Modern font.")
    (license license:lppl)))

(define-public texlive-cochineal
  (package
    (name "texlive-cochineal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cochineal/"
                                     "fonts/afm/public/cochineal/"
                                     "fonts/enc/dvips/cochineal/"
                                     "fonts/map/dvips/cochineal/"
                                     "fonts/opentype/public/cochineal/"
                                     "fonts/tfm/public/cochineal/"
                                     "fonts/type1/public/cochineal/"
                                     "fonts/vf/public/cochineal/"
                                     "tex/latex/cochineal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lr07badgq7glvjbpvifif15y86kr58xf0ag937jlr5f7vbmk1ax"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cochineal")
    (synopsis "Cochineal fonts with LaTeX support")
    (description
     "Cochineal is a fork from the Crimson fonts (Roman, Italic, Bold,
@code{BoldItalic} only), which contain roughly 4200 glyphs in the four styles
mentioned above.  Cochineal adds more than 1500 glyphs in those styles so that
it is possible to make a TeX support collection that contains essentially all
glyphs in all styles.  The fonts are provided in OpenType and PostScript
formats.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-codeanatomy
  (package
    (name "texlive-codeanatomy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codeanatomy/"
                                     "source/latex/codeanatomy/"
                                     "tex/latex/codeanatomy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1frkyj86kf9b3n08xlwfndiygllymp2lp7ra82zsnx4xzw1ff4as"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codeanatomy")
    (synopsis "Typeset code with annotations")
    (description
     "The idea of this Package is to typeset illustrations of pieces of code
with annotations on each single part of code (Code Anatomy).  The origin of
this idea are code illustrations from the book @emph{Computer Science: An
Interdisciplinary Approach} from Robert Sedgewick and Kevin Wayne.")
    (license license:lppl1.3c)))

(define-public texlive-codicefiscaleitaliano
  (package
    (name "texlive-codicefiscaleitaliano")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codicefiscaleitaliano/"
                                     "source/latex/codicefiscaleitaliano/"
                                     "tex/latex/codicefiscaleitaliano/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ij3vcikhwx1d55z2gsx4yb9fin9dhm8yjwc6apiwg353ipxwibw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codicefiscaleitaliano")
    (synopsis "Test the consistency of the Italian personal Fiscal Code")
    (description
     "The alphanumeric string that forms the Italian personal Fiscal Code is
prone to be misspelled thus rendering a legal document invalid.  The package
quickly verifies the consistency of the fiscal code string, and can therefore
be useful for lawyers and accountants that use fiscal codes very frequently.")
    (license license:lppl1.3+)))

(define-public texlive-coelacanth
  (package
    (name "texlive-coelacanth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/coelacanth/"
                                     "fonts/enc/dvips/coelacanth/"
                                     "fonts/map/dvips/coelacanth/"
                                     "fonts/opentype/public/coelacanth/"
                                     "fonts/tfm/public/coelacanth/"
                                     "fonts/type1/public/coelacanth/"
                                     "fonts/vf/public/coelacanth/"
                                     "tex/latex/coelacanth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cwk36rm1m2qaphwlpnw6rhmsmkvsdpzqs7sv1c39qcyq853q4yj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coelacanth")
    (synopsis "Coelacanth fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
Coelecanth fonts, designed by Ben Whitmore.  Coelacanth is inspired by the
classic Centaur type design of Bruce Rogers, described by some as the most
beautiful typeface ever designed.  It aims to be a professional quality type
family for general book typesetting.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-collref
  (package
    (name "texlive-collref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/collref/" "source/latex/collref/"
                                     "tex/latex/collref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gvla01fypbdqvjg0zziy4cl2s6z441pvn3s8b45dvz4hy1hkfji"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/collref")
    (synopsis "Collect blocks of references into a single reference")
    (description
     "The package automatically collects multiple @code{\\bibitem} references,
which always appear in the same sequence in @code{\\cite}, into a single
@code{\\bibitem} block.")
    (license license:lppl1.3+)))

(define-public texlive-colorsep
  (package
    (name "texlive-colorsep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/colorsep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nf72pf2bjn8pcps45sn5dcjf1dkrww9wlpp1xbzl1h9i68p3h3h"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorsep")
    (synopsis "Color separation")
    (description
     "This package provides support for colour separation when using Dvips.")
    (license license:public-domain)))

(define-public texlive-comfortaa
  (package
    (name "texlive-comfortaa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/comfortaa/"
                                     "fonts/enc/dvips/comfortaa/"
                                     "fonts/map/dvips/comfortaa/"
                                     "fonts/tfm/aajohan/comfortaa/"
                                     "fonts/truetype/aajohan/comfortaa/"
                                     "fonts/type1/aajohan/comfortaa/"
                                     "fonts/vf/aajohan/comfortaa/"
                                     "tex/latex/comfortaa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ayh1f0f1a0qkngsk84zwzyx5kidb2n5wq2ksk0d7r68m8cbs981"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comfortaa")
    (synopsis "Sans serif font, with LaTeX support")
    (description
     "Comfortaa is a sans-serif font, comfortable in every aspect, designed by
Johan Aakerlund.  This package provides support for this font in LaTeX, and
includes both the TrueType fonts, and conversions to Adobe Type 1 format.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-comicneue
  (package
    (name "texlive-comicneue")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/comicneue/"
                                     "fonts/enc/dvips/comicneue/"
                                     "fonts/map/dvips/comicneue/"
                                     "fonts/opentype/rozynski/comicneue/"
                                     "fonts/tfm/rozynski/comicneue/"
                                     "fonts/type1/rozynski/comicneue/"
                                     "fonts/vf/rozynski/comicneue/"
                                     "tex/latex/comicneue/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q9ckbypx5hn9004pgfyqnf1ddniqwq0fixps0acmifz8qspjih6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comicneue")
    (synopsis "Use Comic Neue with TeX(-alike) systems")
    (description
     "Comic Neue is a well-known redesign of the (in)famous Comic Sans font.
The package provides the original OpenType font for XeTeX and LuaTeX users,
and also has converted Type1 files for pdfTeX users.")
    (license license:silofl1.1)))

(define-public texlive-commath
  (package
    (name "texlive-commath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/commath/" "tex/latex/commath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mvlqw78183mp8fdvcmrwxvf4cpqdb2sr6jif16rad0av602lnfr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/commath")
    (synopsis "Mathematics typesetting support")
    (description
     "This package provides a range of differential, partial differential and
delimiter commands, together with a @code{\\fullfunction} (function, with both
domain and range, and function operation) and various reference commands.")
    (license license:lppl)))

(define-public texlive-commutative-diagrams
  (package
    (name "texlive-commutative-diagrams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/commutative-diagrams/"
                                     "tex/context/third/commutative-diagrams/"
                                     "tex/generic/commutative-diagrams/"
                                     "tex/latex/commutative-diagrams/"
                                     "tex/plain/commutative-diagrams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nypxn0lzzddwcdm53y1i0l9kxjq01v6q30dnh4b9cd2ms9mwllh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/commutative-diagrams")
    (synopsis "CoDi: Commutative Diagrams for TeX")
    (description
     "This package provides a TikZ library for making commutative diagrams
easy to design, parse and tweak.")
    (license license:expat)))

(define-public texlive-compactbib
  (package
    (name "texlive-compactbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/compactbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "077l73vb0rcxy1n51r3wmcb7gma6nn3xrl543a67n96lpp5xvnnk"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/compactbib")
    (synopsis "Multiple thebibliography environments")
    (description
     "This package allows a second bibliography, optionally with a different
title, after the main bibliography.")
    (license license:lppl)))

(define-public texlive-compare
  (package
    (name "texlive-compare")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/compare/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0isr7gmskv55cr4f1fa7s478v6fh65q9ijxkmbpxj0448g9817w4"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/compare")
    (synopsis "Compare two strings")
    (description
     "The file defines a macro @code{\\compare}, which takes two arguments;
the macro expands to @samp{-1}, @samp{0}, @samp{1}, according as the first
argument is less than, equal to, or greater than the second argument.  Sorting
is alphabetic, using ASCII collating order.")
    (license license:public-domain)))

(define-public texlive-complexity
  (package
    (name "texlive-complexity")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/complexity/"
                                     "tex/latex/complexity/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yqv0qp4i6jkjkrsvjzq5r2x282y5maq6w5cbvkspp7d0g4sg0ph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/complexity")
    (synopsis "Computational complexity class names")
    (description
     "Complexity is a LaTeX package that defines commands to typeset
Computational Complexity Classes such as @samp{$\\P$} and @samp{$\\NP$} (as
well as hundreds of others).  It also offers several options including which
font classes are typeset in and how many are defined (all of them or just the
basic, most commonly used ones).")
    (license license:lppl1.3c)))

(define-public texlive-computational-complexity
  (package
    (name "texlive-computational-complexity")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/computational-complexity/"
                                     "doc/latex/computational-complexity/"
                                     "source/latex/computational-complexity/"
                                     "tex/latex/computational-complexity/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12205p6i611vcywsvkq4qnkbgfyyrkxgrqhj93bfdy4n8y2802ir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/computational-complexity")
    (synopsis "Class for the journal Computational Complexity")
    (description
     "The LaTeX2e class @code{cc} was written for the journal Computational
Complexity, and it can also be used for a lot of other articles.  You may like
it since it contains a lot of features such as more intelligent references,
a set of theorem definitions, an algorithm environment, and more.")
    (license license:lppl1.2+)))

(define-public texlive-concmath
  (package
    (name "texlive-concmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concmath/"
                                     "source/latex/concmath/"
                                     "tex/latex/concmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lc1bj2yqbyn13bq4fwiqf1hijbj5kwxadifzbg1riscwal3z5vw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/concmath")
    (synopsis "Concrete Math fonts")
    (description
     "This package provides a LaTeX package and font definition files to
access the Concrete mathematics fonts, which were derived from Computer Modern
math fonts using parameters from Concrete Roman text fonts.")
    (license license:lppl)))

(define-public texlive-concmath-fonts
  (package
    (name "texlive-concmath-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concmath-fonts/"
                                     "fonts/source/public/concmath-fonts/"
                                     "fonts/tfm/public/concmath-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09frgpcwpfkj9j9aaj5psb8kr12vgbr10plcvcipn0mjahdw9nnz"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-amsfonts texlive-metafont))
    (home-page "https://ctan.org/pkg/concmath-fonts")
    (synopsis "Concrete mathematics fonts")
    (description
     "The fonts are derived from the Computer Modern Mathematics fonts and
from Knuth's Concrete Roman fonts; they are distributed as Metafont source.
LaTeX support is offered by the @code{concmath} package.")
    (license license:lppl)))

(define-public texlive-concmath-otf
  (package
    (name "texlive-concmath-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concmath-otf/"
                                     "fonts/opentype/public/concmath-otf/"
                                     "tex/latex/concmath-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0478gvi7v21nnbj19prfznkg4vzwb5w08rx4549kfqf0wnw57bpz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/concmath-otf")
    (synopsis "Concrete based OpenType Math font")
    (description
     "This package provides an OpenType version of the Concrete Math font
created by Ulrik Vieth in Metafont.  @file{concmath-otf.sty} is a replacement
for the original @file{concmath.sty} package to be used with LuaTeX or XeTeX
engines.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-concrete
  (package
    (name "texlive-concrete")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/concrete/"
                                     "fonts/source/public/concrete/"
                                     "fonts/tfm/public/concrete/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xras2ybr33xm27vl0ym3lyd954gizgyd6h84ivxg0zjpqpjanb1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/concrete")
    (synopsis "Concrete Roman fonts")
    (description
     "This package provides Concrete Roman fonts, designed by Donald Knuth,
originally for use with Euler mathematics fonts.  Alternative mathematics
fonts, based on the concrete parameter set are available as the
@code{concmath} fonts bundle.  LaTeX support is offered by the @code{beton},
@code{concmath} and @code{ccfonts} packages.  T1- and TS1-encoded versions of
the fonts are available in the @code{ecc} bundle, and Adobe Type 1 versions of
the @code{ecc} fonts are part of the @code{cm-super} bundle.")
    (license license:knuth)))

(define-public texlive-confproc
  (package
    (name "texlive-confproc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/confproc/" "doc/latex/confproc/"
                                     "makeindex/confproc/"
                                     "source/latex/confproc/"
                                     "tex/latex/confproc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v3ppwxss1ans62j1pss8mcfjqmx708za7pmcm1wic7z7byc6xdb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/confproc")
    (synopsis "Set of tools for generating conference proceedings")
    (description
     "The @code{confproc} collection comprises a class, a BibTeX style, and
some scripts for generating conference proceedings.")
    (license license:lppl)))

(define-public texlive-conteq
  (package
    (name "texlive-conteq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/conteq/" "source/latex/conteq/"
                                     "tex/latex/conteq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14lj914i1h29pvg7knfn3ym9nsq6qxngbmkks4hircj0082m86pz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/conteq")
    (synopsis "Typeset multiline continued equalities")
    (description
     "The package provides an environment @code{conteq}, which will lay out
systems of continued equalities (or inequalities).  Several variant layouts of
the equalities are provided, and the user may define their own.")
    (license license:lppl1.3+)))

(define-public texlive-convbkmk
  (package
    (name "texlive-convbkmk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/convbkmk/" "scripts/convbkmk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w4fm4az1smrw002sqjkiiz94x01z6jkrb0mf9wb8qxdwrxriql9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "convbkmk.rb")))
    (inputs (list ruby))
    (home-page "https://ctan.org/pkg/convbkmk")
    (synopsis
     "Correct pLaTeX/upLaTeX bookmarks in PDF created with @code{hyperref}")
    (description
     "The package provides a small Ruby script that corrects bookmarks in PDF
files created by pLaTeX or upLaTeX, using @code{hyperref}.")
    (license license:expat)))

(define-public texlive-cookingsymbols
  (package
    (name "texlive-cookingsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cookingsymbols/"
                                     "fonts/source/public/cookingsymbols/"
                                     "fonts/tfm/public/cookingsymbols/"
                                     "source/latex/cookingsymbols/"
                                     "tex/latex/cookingsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cqz5hvb1vcf4mgk7i960kjdbg9cbxkik62riy6l2n1ld2cnl81x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cookingsymbols")
    (synopsis "Symbols for recipes")
    (description
     "The package provides 11 symbols for typesetting recipes: oven, gasstove,
topheat, fanoven, gloves and dish symbol (among others).  The symbols are
defined using Metafont.")
    (license license:lppl)))


(define-public texlive-cooperhewitt
  (package
    (name "texlive-cooperhewitt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cooperhewitt/"
                                     "fonts/enc/dvips/cooperhewitt/"
                                     "fonts/map/dvips/cooperhewitt/"
                                     "fonts/opentype/public/cooperhewitt/"
                                     "fonts/tfm/public/cooperhewitt/"
                                     "fonts/type1/public/cooperhewitt/"
                                     "fonts/vf/public/cooperhewitt/"
                                     "tex/latex/cooperhewitt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m81sxrwwsmzsan4iln2lsf16pijay7w9k29gjwlwikivvy21kj7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cooperhewitt")
    (synopsis "Cooper Hewitt family of sans serif fonts")
    (description
     "Cooper Hewitt is a contemporary sans serif, with characters composed of
modified-geometric curves and arches, by Chester Jenkins.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-cormorantgaramond
  (package
    (name "texlive-cormorantgaramond")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cormorantgaramond/"
                                     "fonts/enc/dvips/cormorantgaramond/"
                                     "fonts/map/dvips/cormorantgaramond/"
                                     "fonts/tfm/catharsis/cormorantgaramond/"
                                     "fonts/truetype/catharsis/cormorantgaramond/"
                                     "fonts/type1/catharsis/cormorantgaramond/"
                                     "fonts/vf/catharsis/cormorantgaramond/"
                                     "tex/latex/cormorantgaramond/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sd4g4s3d3nk4wrav3szzbihdj6saznnzm6kiyr4qqqgi5ib3ami"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cormorantgaramond")
    (synopsis "Cormorant Garamond family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Cormorant Garamond family of fonts, designed by Christian Thalman.  The
family includes light, regular, medium, semi-bold, and bold weights, with
italics.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-correctmathalign
  (package
    (name "texlive-correctmathalign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/correctmathalign/"
                                     "tex/latex/correctmathalign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zqla0gjv1b3x3z6g6fdb89c66ny7agshfmcsjjg42vlkz17ianm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/correctmathalign")
    (synopsis "Correct spacing of the alignment in expressions")
    (description
     "This package realigns the horizontal spacing of the alignments in some
mathematical environments.")
    (license license:bsd-2)))

(define-public texlive-countriesofeurope
  (package
    (name "texlive-countriesofeurope")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/countriesofeurope/"
                                     "fonts/afm/public/countriesofeurope/"
                                     "fonts/enc/dvips/countriesofeurope/"
                                     "fonts/map/dvips/countriesofeurope/"
                                     "fonts/opentype/public/countriesofeurope/"
                                     "fonts/tfm/public/countriesofeurope/"
                                     "fonts/type1/public/countriesofeurope/"
                                     "tex/latex/countriesofeurope/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07q0hrrlvadcc3vcl97gsgp1pbkmfhy60zm8ib65qd79m81kyxs0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/countriesofeurope")
    (synopsis "Font with the images of the countries of Europe")
    (description
     "The bundle provides a font CountriesOfEurope (in Adobe Type 1 format)
and the necessary metrics, together with LaTeX macros for its use.  The font
provides glyphs with a filled outline of the shape of each country; each glyph
is at the same cartographic scale.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-courier-scaled
  (package
    (name "texlive-courier-scaled")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/courier-scaled/"
                                     "tex/latex/courier-scaled/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d61afhvx9s70mg9d97m0zyzqfdlwbgljwgkv0z87khxy4z33wy6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/courier-scaled")
    (synopsis "Provides a scaled Courier font")
    (description
     "This package sets the default typewriter font to Courier with a possible
scale factor (in the same way as the @code{helvet} package for Helvetica works
for sans serif).")
    (license license:lppl1.2+)))

(define-public texlive-courierten
  (package
    (name "texlive-courierten")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/courierten/"
                                     "fonts/enc/dvips/courierten/"
                                     "fonts/map/dvips/courierten/"
                                     "fonts/opentype/public/courierten/"
                                     "fonts/tfm/public/courierten/"
                                     "fonts/type1/public/courierten/"
                                     "fonts/vf/public/courierten/"
                                     "tex/latex/courierten/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xfra9x03zjx7jsk48kj7mmjng3rs45ydj258c4s6inl91m7i9w0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/courierten")
    (synopsis "Courier 10 Pitch BT with LaTeX support")
    (description
     "This is the font Courier 10 Pitch BT, with LaTeX support and an OpenType
conversion as well.")
    (license license:expat)))

(define-public texlive-covington
  (package
    (name "texlive-covington")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/covington/"
                                     "tex/latex/covington/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16ba3mzahkaza69a92mqrnrr7jx6r9alcwxgma03pppblfkz3k3q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/covington")
    (synopsis "LaTeX macros for Linguistics")
    (description
     "This package provides numerous minor LaTeX enhancements for linguistics,
including multiple accents on the same letter, interline glosses (word-by-word
translations), Discourse Representation Structures, and example numbering.")
    (license license:lppl1.3+)))

(define-public texlive-cquthesis
  (package
    (name "texlive-cquthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cquthesis/"
                                     "doc/latex/cquthesis/"
                                     "source/latex/cquthesis/"
                                     "tex/latex/cquthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0591wd88zp4sgnv2avwqv8127c2g5zbhjr7y15xaahiy7s404hn2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cquthesis")
    (synopsis "LaTeX thesis template for Chongqing University")
    (description
     "CQUThesis stands for Chongqing University thesis template for LaTeX,
bearing the ability to support bachelor, master, doctor dissertations with
grace and speed.")
    (license license:lppl1.3+)))

(define-public texlive-create-theorem
  (package
    (name "texlive-create-theorem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/create-theorem/"
                                     "tex/latex/create-theorem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x7pr5xsmsy0a844nrfld18xiv7x0ckijnnjwd78y1hmsgd6cdqb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-crefthe))
    (home-page "https://ctan.org/pkg/create-theorem")
    (synopsis "Multilingual support for @code{theorem}-like environments")
    (description
     "This package provides commands for naming, initializing and configuring
@code{theorem}-like environments.  These commands have key-value based
interfaces and are especially useful in multilingual documents, allowing the
easy declaration of @code{theorem}-like environments that can automatically
adapt to the language settings.")
    (license license:lppl1.3c)))

(define-public texlive-crefthe
  (package
    (name "texlive-crefthe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crefthe/" "tex/latex/crefthe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xszhn0bg077297w981miwjnsqylxam9x5bkpli2k0vj73xqmsqs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crefthe")
    (synopsis "Cross referencing with proper definite articles")
    (description
     "By default, when using @code{cleveref}'s @code{\\cref} to reference
@code{theorem}-like environments, the names do not contain definite articles.
In languages such as French, Italian, Portuguese, Spanish, etc., this results
in incorrect grammar.  For this purpose, the current package offers
@code{\\crefthe}, which handles the definite articles properly (especially for
the article contractions in many European languages).")
    (license license:lppl1.3c)))

(define-public texlive-crimson
  (package
    (name "texlive-crimson")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/crimson/"
                                     "fonts/enc/dvips/crimson/"
                                     "fonts/map/dvips/crimson/"
                                     "fonts/opentype/kosch/crimson/"
                                     "fonts/tfm/kosch/crimson/"
                                     "fonts/type1/kosch/crimson/"
                                     "fonts/vf/kosch/crimson/"
                                     "tex/latex/crimson/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zrb015cs5f5kdyjy987mx4jdvi7vr1830dvnnygvkpcacvc3mc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crimson")
    (synopsis "Crimson fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX, and LuaLaTeX support for
the Crimson family of fonts, designed by Sebastian Kosch.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-crimsonpro
  (package
    (name "texlive-crimsonpro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/crimsonpro/"
                                     "fonts/enc/dvips/crimsonpro/"
                                     "fonts/map/dvips/crimsonpro/"
                                     "fonts/tfm/public/crimsonpro/"
                                     "fonts/truetype/public/crimsonpro/"
                                     "fonts/type1/public/crimsonpro/"
                                     "fonts/vf/public/crimsonpro/"
                                     "tex/latex/crimsonpro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pzsdm4i32pgwf726q5waga8lr37xfj1qj417kkblw3q3fgb4jsd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crimsonpro")
    (synopsis "CrimsonPro fonts with LaTeX support")
    (description
     "The CrimsonPro fonts are designed by Jacques Le Bailly and derived
from the Crimson Text fonts designed by Sebastian Kosch.  The family
includes eight weights and italics for each weight.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-crossrefenum
  (package
    (name "texlive-crossrefenum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/crossrefenum/"
                                     "tex/generic/crossrefenum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07h7d47fxjj70h4bxd5sqz8abjnvgvkrnsy13a26imbarzg14db4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crossrefenum")
    (synopsis
     "Smart typesetting of enumerated cross-references for various TeX formats")
    (description
     "@code{crossrefenum} lets TeX manage the formatting of bunches of
cross-references for you.  It features:

@itemize
@item automatic collapsing of references;
@item support for references by various criteria, including page and note
number, line number in ConTeXt, and @code{edpage} and @code{edline} when used
in conjunction with @code{reledmac};
@item handling of references combining two criteria (e.g., by page and note
number);
@item extension mechanisms to add support to other types of references without
modifying the internal macros.  Note that sorting is not supported.
@end itemize

It is written in Plain TeX as much as possible in order to make it compatible
with a wide array of formats.  For the moment, it works out of the box with
ConTeXt and LaTeX.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-crossrefware
  (package
    (name "texlive-crossrefware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bbl2bib.1"
                                     "doc/man/man1/bbl2bib.man1.pdf"
                                     "doc/man/man1/bibdoiadd.1"
                                     "doc/man/man1/bibdoiadd.man1.pdf"
                                     "doc/man/man1/bibmradd.1"
                                     "doc/man/man1/bibmradd.man1.pdf"
                                     "doc/man/man1/biburl2doi.1"
                                     "doc/man/man1/biburl2doi.man1.pdf"
                                     "doc/man/man1/bibzbladd.1"
                                     "doc/man/man1/bibzbladd.man1.pdf"
                                     "doc/man/man1/ltx2crossrefxml.1"
                                     "doc/man/man1/ltx2crossrefxml.man1.pdf"
                                     "doc/support/crossrefware/"
                                     "scripts/crossrefware/"
                                     "tex/latex/crossrefware/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01ajqi1ba7fhidzpfrnvpszl5bkcjgnxp06fvxd1h7d5c5229iyi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "bbl2bib.pl"
                   "bibdoiadd.pl"
                   "bibmradd.pl"
                   "biburl2doi.pl"
                   "bibzbladd.pl"
                   "ltx2crossrefxml.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/crossrefware")
    (synopsis "Scripts for working with @url{crossref.org}")
    (description
     "This bundle contains the following scripts:
@itemize

@item @file{bibdoiadd.pl}: add DOI numbers to papers in a given @file{.bib}
file,

@item @file{bibzbladd.pl}: add Zbl numbers to papers in a given @file{.bib}
file,

@item @file{bibmradd.pl}: add MR numbers to papers in a given @file{.bib}
file,

@item @file{bbl2bib.pl}: convert @code{thebibliography} environment to
a @file{.bib} file,

@item @file{biburl2doi.pl}: convert URLs pointing to @url{doi.org} to DOIs,

@item @file{ltx2crossrefxml.pl}: tool for the creation of XML files for
submitting to @url{crossref.org}.

@end itemize")
    (license license:gpl3+)))

(define-public texlive-crossword
  (package
    (name "texlive-crossword")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crossword/"
                                     "source/latex/crossword/"
                                     "tex/latex/crossword/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yxjhni6jw7j7wnz6g6d1bmri8afvqsj58bar0aqliyfhr55xzai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crossword")
    (synopsis "Typeset crossword puzzles")
    (description
     "This is an extended grid-based puzzle package, designed to take all
input (both grid and clues) from the same file.  The package can
typeset grids with holes in them, and can deal with several sorts of
puzzle:
@itemize

@item the classical puzzle contains numbers for the words and clues
for the words to be filled in;

@item the numbered puzzle contains numbers in each cell where
identical numbers represent identical letters; the goal is to find out
which number corresponds to which letter;

@item the fill-in type of puzzle consists of a grid and a list of
words; the goal is to place all words in the grid;

@item Sudoku and Kakuro puzzles involve filling in grids of numbers
according to their own rules; format may be block-separated, or
separated by thick lines.

@end itemize")
    (license license:expat)))

(define-public texlive-crosswrd
  (package
    (name "texlive-crosswrd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crosswrd/"
                                     "source/latex/crosswrd/"
                                     "tex/latex/crosswrd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yhsrfn49wj579ms3smd1z97rjqnsi1wrsgrjs570bllgf09bcir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crosswrd")
    (synopsis "Macros for typesetting crossword puzzles")
    (description
     "The package provides a LaTeX method of typesetting crosswords, and
assists the composer ensure that the grid all goes together properly.")
    (license license:lppl)))

(define-public texlive-cryptocode
  (package
    (name "texlive-cryptocode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cryptocode/"
                                     "source/latex/cryptocode/"
                                     "tex/latex/cryptocode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i22bdg2mn305vlmpy32yqbsp7kf5ld54vdvjzq49n8v00qxy286"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cryptocode")
    (synopsis
     "Pseudocode, protocols, game-based proofs and black-box reductions in cryptography")
    (description
     "The @code{cryptocode} package provides a set of macros to ease the
typesetting of pseudocode, algorithms and protocols.  In addition it comes
with a wide range of tools to typeset cryptographic papers.  This includes
simple predefined commands for concepts such as a security parameter or
advantage terms but also flexible and powerful environments to layout
game-based proofs or black-box reductions.")
    (license license:lppl1.3+)))

(define-public texlive-cryst
  (package
    (name "texlive-cryst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cryst/" "fonts/afm/public/cryst/"
                                     "fonts/source/public/cryst/"
                                     "fonts/tfm/public/cryst/"
                                     "fonts/type1/public/cryst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05lbldwghpdrmw0ffncs86k5pn04zi0shkk40ycca3kb0h3fa3h8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cryst")
    (synopsis "Font for graphical symbols used in crystallography")
    (description
     "This package provides the Cryst font, which contains graphical symbols
used in crystallography.  It provided as an Adobe Type 1 font, and as Metafont
source.")
    (license license:lppl)))

(define-public texlive-csassignments
  (package
    (name "texlive-csassignments")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csassignments/"
                                     "source/latex/csassignments/"
                                     "tex/latex/csassignments/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gdrsh0iyg8dz0pnb9ak099qrznp54x37qqwd7kllw8jjzdcaqg1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csassignments")
    (synopsis "Extend @code{article} class for computer science assignments")
    (description
     "This class wraps the default @code{article} and extends it for
a homogeneous look of hand-in assignments at university (RWTH Aachen
University, Computer Science Department), specifically in the field of
computer science, but easily extensible to other fields.  It provides macros
for structuring exercises, aggregating points, and displaying a grading table,
as well as several macros for easier math mode usage.")
    (license license:expat)))

(define-public texlive-cuprum
  (package
    (name "texlive-cuprum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cuprum/"
                                     "fonts/map/dvips/cuprum/"
                                     "fonts/tfm/public/cuprum/"
                                     "fonts/truetype/public/cuprum/"
                                     "tex/latex/cuprum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wimmwjpx6dg41ncpjbrsxfv41ayppy87f1b8r38vyg0vw6vcsz5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cuprum")
    (synopsis "Cuprum font family support for LaTeX")
    (description
     "This package provides support for the Cuprum font family.")
    (license license:silofl1.1)))

(define-public texlive-custom-bib
  (package
    (name "texlive-custom-bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/custom-bib/"
                                     "source/latex/custom-bib/"
                                     "tex/latex/custom-bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hzy0j9k55ygkzvgs3y2jz435267l3g4isqynr64978zhyqybqpd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; The installation process requires ".mbs" files to be
               ;; available when generating the package.  Extend TEXINPUTS to
               ;; include their location.
               (add-before 'build 'extend-texinputs
                 (lambda _
                   (setenv "TEXINPUTS"
                           (string-append (getcwd)
                                          "/tex/latex/custom-bib/:")))))))
    (home-page "https://ctan.org/pkg/custom-bib")
    (synopsis "Customised BibTeX styles")
    (description
     "This package generates customized BibTeX bibliography styles from
a generic file using @code{docstrip} driven by parameters generated by a menu
application.  It includes support for the Harvard style of citations.")
    (license license:lppl)))

(define-public texlive-customdice
  (package
    (name "texlive-customdice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/customdice/"
                                     "source/latex/customdice/"
                                     "tex/latex/customdice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jwhvg13rla5pav0z4wns4s0x25myiqcinv592g6kqnbgwzj4q7g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/customdice")
    (synopsis "Simple commands for drawing customisable dice")
    (description
     "The @code{customdice} package for LaTeX, LuaLaTeX and XeTeX that
provides functionality for drawing dice.  The aim is to provide
highly-customisable but simple-to-use commands, allowing: adding custom text
to dice faces; control over colouring; control over sizing.")
    (license license:cc-by-sa4.0)))

(define-public texlive-cvss
  (package
    (name "texlive-cvss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cvss/" "source/latex/cvss/"
                                     "tex/latex/cvss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hs931xcj7jai901nvfvi942x403sda7xslq14bfjls0v74lkhbd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cvss")
    (synopsis "Compute and display CVSS base scores")
    (description
     "The Common Vulnerability Scoring System (CVSS) is an open framework for
communicating the characteristics and severity of software vulnerabilities.
CVSS consists of three metric groups: Base, Temporal, and Environmental.  This
package allows the user to compute CVSS3.1 base scores and use them in
documents, i.e., it only deals with the Base score.  Temporal and
Environmental scores will be part of a future release.")
    (license license:lppl1.3c)))

(define-public texlive-cweb-old
  (package
    (name "texlive-cweb-old")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/cweb-old/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vx235zpflqpnrfa9kqq7wmc1rylg5bw1r26knfzvh3w1swbp4ai"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cweb-old")
    (synopsis "Obsolete files from CWEB")
    (description
     "This package contains parts of CWEB that are no longer useful.")
    (license license:knuth)))

(define-public texlive-dad
  (package
    (name "texlive-dad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dad/"
                                     "fonts/afm/public/dad/"
                                     "fonts/map/dvips/dad/"
                                     "fonts/ofm/public/dad/"
                                     "fonts/ovf/public/dad/"
                                     "fonts/tfm/public/dad/"
                                     "fonts/type1/public/dad/"
                                     "tex/lualatex/dad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mkfhdai5m1fwj9x0rkpklvcrp3synfxl67dp6cb0bfz3w8nmis0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dad")
    (synopsis "Simple typesetting system for mixed Arabic/Latin documents")
    (description
     "This package allows simple typesetting in Arabic script, intended for
mixed Arabic/Latin script usage in situations where heavy-duty solutions are
discouraged.  The system operates with both Unicode and transliterated input,
allowing the user to choose the most appropriate approach for every
situation.")
    (license license:lppl)))

(define-public texlive-dancers
  (package
    (name "texlive-dancers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/dancers/"
                                     "fonts/tfm/public/dancers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nni21f6y9gynx1lsymb3pmh6w761q21idq60fib90hvv9jjd85q"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dancers")
    (synopsis "Font for Conan Doyle's @emph{The Dancing Men}")
    (description
     "The (Sherlock Holmes) book contains a code which uses dancing men as
glyphs.  The alphabet as given is not complete, lacking @samp{f}, @samp{j},
@samp{k}, @samp{q}, @samp{u}, @samp{w}, @samp{x} and @samp{z}, so those
letters in the font are not due to Conan Doyle.

The code required word endings to be marked by the dancing man representing
the last letter to be holding a flag: these are coded as A-Z.  In some cases,
the man has no arms, making it impossible for him to hold a flag.  In these
cases, he is wearing a flag on his hat in the character.  The font is
distributed as Metafont source.")
    ;; "This font may be freely used, modified and distributed."
    (license
     (license:fsf-free "file://fonts/source/public/dancers/dancers.mf"))))

(define-public texlive-dashrule
  (package
    (name "texlive-dashrule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dashrule/"
                                     "source/latex/dashrule/"
                                     "tex/latex/dashrule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0glnb77dmhl9svgxpz1s8ivsbmr0cy1a0sz68vfx1plfkxfglbyl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dashrule")
    (synopsis "Draw dashed rules")
    (description
     "The @code{dashrule} package makes it easy to draw a huge variety of
dashed rules (i.e., lines) in LaTeX.  It provides a command,
@code{\\hdashrule}, which draws horizontally dashed rules using the same
syntax as @code{\\rule}, but with an additional parameter that specifies the
pattern of dash segments and the space between those segments.  Those rules
are fully compatible with every @code{LaTeX} back-end processor.")
    (license license:lppl)))

(define-public texlive-dantelogo
  (package
    (name "texlive-dantelogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dantelogo/"
                                     "fonts/enc/dvips/dantelogo/"
                                     "fonts/map/dvips/dantelogo/"
                                     "fonts/opentype/public/dantelogo/"
                                     "fonts/tfm/public/dantelogo/"
                                     "fonts/type1/public/dantelogo/"
                                     "fonts/vf/public/dantelogo/"
                                     "tex/latex/dantelogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19wz5qyr4bhd0dwp0y38ql87s3103yimg5b6r2mjz4mz0dsiyy1b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dantelogo")
    (synopsis "Font for DANTE's logo")
    (description
     "The DANTE font for the logo of @url{https://www.dante.de, DANTE}, the
German speaking TeX users group.  The font includes only the five characters
@samp{d}, @samp{a}, @samp{n}, @samp{t}, and @samp{e}.  @file{dantelogo.sty}
provides an interface for LuaLaTeX, XeLaTeX, and pdfLaTeX.")
    (license license:lppl)))

(define-public texlive-dccpaper
  (package
    (name "texlive-dccpaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dccpaper/"
                                     "source/latex/dccpaper/"
                                     "tex/latex/dccpaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qqsg3mwai186phw0yij9fm1f9df0m4l24fbyzhf0vswclk2rmpk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dccpaper")
    (synopsis
     "Typeset papers for the @emph{International Journal of Digital Curation}")
    (description
     "The LaTeX class @code{ijdc-v14} produces camera-ready papers and
articles suitable for inclusion in the @emph{International Journal of Digital
Curation}, with applicability from volume 14 onwards; a legacy class
@code{ijdc-v9} is provided for papers and articles written for volumes 9-13.
The similar @code{idcc} class can be used for submissions to the International
Digital Curation Conference, beginning with the 2015 conference.")
    (license (list license:lppl1.3c license:cc-by4.0))))

(define-public texlive-decision-table
  (package
    (name "texlive-decision-table")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/decision-table/"
                                     "source/latex/decision-table/"
                                     "tex/latex/decision-table/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14cgf142wmi2qlrxaa8dmyr7grb7d33ngfpg8sbrm82a78cvl1yc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/decision-table")
    (synopsis "Create Decision Model and Notation decision tables")
    (description
     "The decision-table package allows for an easy way to generate decision
tables in the Decision Model and Notation (DMN) format.  This package ensures
consistency in the tables (i.e., fontsize), and is thus a better alternative
to inserting tables via images.

The decision-table package adds the @code{\\dmntable} command, with which
tables can be created.  This command expands into a tabular, so it can be used
within a @code{table} or @code{figure} environment.  Furthermore, this allows
labels and captions to be added seamlessly.  It is also possible to place
multiple DMN tables in one table/figure environment.")
    (license license:lppl1.3c)))

(define-public texlive-dejavu-otf
  (package
    (name "texlive-dejavu-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dejavu-otf/"
                                     "tex/latex/dejavu-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vn16rb816w7kdqkyqxr01w1qd654s1f3k368q0cj0ab1247q7q8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dejavu-otf")
    (synopsis "Support for the TTF and OTF DejaVu fonts")
    (description
     "The @code{dejavu-otf} package supports the TTF fonts from the DejaVu
project and the OpenType version of the TeXGyre Math.")
    (license license:lppl1.3+)))

(define-public texlive-delim
  (package
    (name "texlive-delim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/delim/" "source/latex/delim/"
                                     "tex/latex/delim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12h0zqn46yrqf079a6k939g3pv843rs417va4g2r39rhb2fvh6r8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/delim")
    (synopsis "Simplify typesetting mathematical delimiters")
    (description
     "The package permits simpler control of delimiters without excessive use
of @code{\\big} commands and the like.")
    (license license:lppl1.2+)))

(define-public texlive-delimseasy
  (package
    (name "texlive-delimseasy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/delimseasy/"
                                     "tex/latex/delimseasy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0afgcnwqcbw34wgfryzk1rjw82qakl6nq98gl2w1aw5lkgi4fb9p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/delimseasy")
    (synopsis "Delimiter commands that are easy to use and resize")
    (description
     "This package provides commands to give an easy way to control the size
and blackness of delimiters: append 1-4 @samp{b}s to command for larger sizes;
prepend @samp{B} for for boldface.  These commands reduce the likelihood of
incomplete delimeter pairs and typically use fewer characters than the LaTeX
default.")
    (license license:lppl1.3+)))

(define-public texlive-delimset
  (package
    (name "texlive-delimset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/delimset/"
                                     "source/latex/delimset/"
                                     "tex/latex/delimset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vkfk09g7vys4dfa01dxhznczdjklmj90lsw25glbcl1hxr1c1fn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/delimset")
    (synopsis
     "Typeset and declare sets of delimiters with convenient size control")
    (description
     "@code{delimset} is a LaTeX2e package to typeset and declare sets of
delimiters in math mode whose size can be adjusted conveniently.")
    (license license:lppl1.3+)))

(define-public texlive-denisbdoc
  (package
    (name "texlive-denisbdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/denisbdoc/"
                                     "source/latex/denisbdoc/"
                                     "tex/latex/denisbdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ypd5xl3psg11jss9n7g1qihd7rag480j63wxkvgifhi4kainypc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/denisbdoc")
    (synopsis "Personal dirty package for documenting packages")
    (description
     "This package provides a personal dirty package for documenting packages.")
    (license license:lppl1.3c)))

(define-public texlive-derivative
  (package
    (name "texlive-derivative")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/derivative/"
                                     "tex/latex/derivative/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06c1ha4w8i3f6k77cjr82cn1rl7jbk82q1n24dd3l7ha4d7qncjp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/derivative")
    (synopsis "Nice and easy derivatives")
    (description
     "Typesetting derivatives and differentials in a consistent way are clumsy
and require care to ensure the preferred formatting.  Several packages have
been developed for this purpose, each with its own features and drawbacks,
with the most ambitious one being @code{diffcoeff}.  While this package is
comparable to diffcoeff in terms of features, it takes a different approach.
One difference is this package provides more options to tweak the format of
the derivatives and differentials.  However, the automatic calculation of the
total order isn't as developed as the one in @code{diffcoeff}.  This package
makes it easy to write derivatives and differentials consistently with its
predefined commands.  It also provides a set of commands that can define
custom derivatives and differential operators.  The options follow
a consistent naming scheme making them easy to use and understand.")
    (license license:lppl1.3+)))

(define-public texlive-diadia
  (package
    (name "texlive-diadia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diadia/" "scripts/diadia/"
                                     "tex/latex/diadia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sjnjabgqsv6v45sffkkzm78fnx89vmk836dajsvck5pd5nvkzxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "diadia.lua")))
    (home-page "https://ctan.org/pkg/diadia")
    (synopsis "Package to keep a diabetes diary")
    (description
     "The @code{diadia} package allows you to keep a diabetes diary.  Usually,
this means keeping record of certain medical values like blood sugar, blood
pressure, pulse or weight.  It might also include other medical,
pharmaceutical or nutritional data (HbA1c, insulin doses, carbohydrate units).

The @code{diadia} package supports all of this plus more --- simply by adding
more columns to the data file!  It is able to evaluate the data file and
typesets formatted tables and derived plots.  Furthermore, it supports
medication charts and info boxes.")
    (license license:lppl)))

(define-public texlive-diagbox
  (package
    (name "texlive-diagbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diagbox/" "source/latex/diagbox/"
                                     "tex/latex/diagbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zr7ih8jr56j727gf3l1q87rlrqn3zfz8cm7hs2q5l1f3y1gmcgh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diagbox")
    (synopsis "Table heads with diagonal lines")
    (description
     "The package's principal command, @code{\\diagbox}, takes two
arguments (texts for the slash-separated parts of the box), and an optional
argument with which the direction the slash will go, the box dimensions, etc.,
may be controlled.  The package also provides @code{\\slashbox} and
@code{\\backslashbox} commands for compatibility with the now removed slashbox
package, which it supersedes.")
    (license license:lppl1.3+)))

(define-public texlive-dice
  (package
    (name "texlive-dice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dice/"
                                     "fonts/source/public/dice/"
                                     "fonts/tfm/public/dice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky33hg66d0x8bcjmdq4ilynpb25mm82x93wzwnz11y59nv4cvsl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dice")
    (synopsis "Font for die faces")
    (description
     "This package provides a Metafont font that can produce die faces in 2D
or with various 3D effects.")
    (license license:lppl)))

(define-public texlive-dictsym
  (package
    (name "texlive-dictsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dictsym/"
                                     "fonts/afm/public/dictsym/"
                                     "fonts/map/dvips/dictsym/"
                                     "fonts/map/vtex/dictsym/"
                                     "fonts/tfm/public/dictsym/"
                                     "fonts/type1/public/dictsym/"
                                     "tex/latex/dictsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ygnnmg2m57wzj1iz2wznvdbsi8323804s74a2ic7q1akpy5n2ac"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dictsym")
    (synopsis "DictSym font and macro package")
    (description
     "This directory contains the DictSym Type1 font designed by Georg
Verweyen and all files required to use it with LaTeX.  The font provides
a number of symbols commonly used in dictionaries.  The accompanying macro
package makes the symbols accessible as LaTeX commands.")
    (license license:lppl)))

(define-public texlive-din1505
  (package
    (name "texlive-din1505")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/din1505/" "doc/latex/din1505/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ggi58kra06k8r4drkhnlap9khvscpji78j8v92s3gzh8qmsjhp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/din1505")
    (synopsis "Bibliography styles for German texts")
    (description
     "This package provides a set of bibliography styles that conform to DIN
1505, and match the original BibTeX standard set (@code{plain}, @code{unsrt},
@code{alpha} and @code{abbrv}), together with a style @code{natdin} to work with
@code{natbib}.")
    (license license:knuth)))

(define-public texlive-dingbat
  (package
    (name "texlive-dingbat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dingbat/"
                                     "fonts/source/public/dingbat/"
                                     "fonts/tfm/public/dingbat/"
                                     "source/latex/dingbat/" "tex/latex/dingbat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12vhykmz1xzvrdzp61qy0q69fnxjjvc9m8v8kras92v49f6m4z7a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dingbat")
    (synopsis "Two dingbat symbol fonts")
    (description
     "The package provides the fonts (@code{ark10} and @code{dingbat}),
specified in Metafont; support macros are also provided for use in LaTeX.  An
Adobe Type 1 version of the fonts is available in the @code{niceframe} fonts
bundle.")
    (license license:lppl)))

(define-public texlive-diffcoeff
  (package
    (name "texlive-diffcoeff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diffcoeff/"
                                     "tex/latex/diffcoeff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01x16jh9d69pa085ib0di6x3vbgmz722byw73d0kjj8fpr4z4pnj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diffcoeff")
    (synopsis "Write differential coefficients easily and consistently")
    (description
     "This package allows the easy and consistent writing of ordinary, partial
and other derivatives of arbitrary (algebraic or numeric) order.  For mixed
partial derivatives, the total order of differentiation is calculated by the
package.  Optional arguments allow specification of points of
evaluation (ordinary derivatives), or variables held constant (partial
derivatives), and the placement of the differentiand (numerator or appended).
The package is built on xtemplate and the configurability it enables,
extending to differentials (including simple line elements) and jacobians.")
    (license license:lppl1.3c)))

(define-public texlive-digiconfigs
  (package
    (name "texlive-digiconfigs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/digiconfigs/"
                                     "tex/latex/digiconfigs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13682as94lpy3qws03ymgz380fkkihwppzdwijig85j1yq098wqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/digiconfigs")
    (synopsis "Writing ``configurations''")
    (description
     "In Stochastic Geometry and Digital Image Analysis some problems can be
solved in terms of so-called ``configurations''.  A configuration is basically
a square matrix of @code{\\circ} and @code{\\bullet} symbols.  This package
provides a convenient and compact mechanism for displaying these
configurations.")
    (license license:lppl)))

(define-public texlive-dijkstra
  (package
    (name "texlive-dijkstra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dijkstra/" "tex/latex/dijkstra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xjq51x4g1xngp8npicgnpmbkzk0rnj992pmhizjv0j92zmaikqm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dijkstra")
    (synopsis "Dijkstra algorithm for LaTeX")
    (description
     "This small package uses the Dijkstra algorithm for weighted
graphs,directed or not: the search table of the shortest path can be
displayed, the minimum distance between two vertices and the corresponding
path are stored in macros.")
    (license license:lppl1.3c)))

(define-public texlive-dinat
  (package
    (name "texlive-dinat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/dinat/" "doc/bibtex/dinat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ab7aq8h08a8pcl3si2lki569sf201bygf3ra95dpqhs1ijxaag"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dinat")
    (synopsis "Bibliography style for German texts")
    (description
     "This package provides bibliography style files intended for texts in
german.  They draw up bibliographies in accordance with the german DIN 1505,
parts 2 and 3.")
    (license license:public-domain)))

(define-public texlive-dirtree
  (package
    (name "texlive-dirtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dirtree/"
                                     "source/generic/dirtree/"
                                     "tex/generic/dirtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1righlip75ry0yc6kbpijq423k4m625byzgb55d32s7c0imvj41v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dirtree")
    (synopsis "Display trees in the style of Windows Explorer")
    (description
     "This package is designed to emulate the way Windows Explorer displays
directory and file trees, with the root at top left, and each level of subtree
displaying one step in to the right.  The macros work equally well with Plain
TeX and with LaTeX.")
    (license license:lppl)))

(define-public texlive-disser
  (package
    (name "texlive-disser")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/disser/" "makeindex/disser/"
                                     "source/latex/disser/" "tex/latex/disser/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sxvj4cka9xqzl2s3c465fm19lc1b8hyar1chjb51y42q4mx2bmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/disser")
    (synopsis "Class and templates for typesetting dissertations in Russian")
    (description
     "Disser comprises a document class and set of templates for typesetting
dissertations in Russian.  One of its primary advantages is a simplicity of
format specification for titlepage, headers and elements of automatically
generated lists (table of contents, list of figures, etc).  Bibliography
styles, that conform to the requirements of the Russian standard GOST
R 7.0.11-2011, are provided.")
    (license license:lppl1.3+)))

(define-public texlive-dithesis
  (package
    (name "texlive-dithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dithesis/" "tex/latex/dithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yz53jabca56k65pddhl68d3384k2f2jn4zrfkg2d4x8aa1dnvvx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dithesis")
    (synopsis "Class for undergraduate theses at the University of Athens")
    (description
     "The class conforms to the requirements of the Department of Informatics
and Telecommunications at the University of Athens regarding the preparation
of undergraduate theses, as of Sep 1, 2011.  The class is designed for use
with XeLaTeX.")
    (license license:lppl)))

(define-public texlive-dk-bib
  (package
    (name "texlive-dk-bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/dk-bib/"
                                     "bibtex/bst/dk-bib/"
                                     "bibtex/csf/dk-bib/"
                                     "doc/latex/dk-bib/"
                                     "source/latex/dk-bib/"
                                     "tex/latex/dk-bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bwmaja41mivsrcx3j9p0yplqccw62fd9wn6v1yx138kg0ayib1n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dk-bib")
    (synopsis "Danish variants of standard BibTeX styles")
    (description
     "Dk-bib is a translation of the four standard BibTeX style files (@code{abbrv},
@code{alpha}, @code{plain} and @code{unsrt}) and the @code{apalike} style file
into Danish.  The files have been extended with URL, ISBN, ISSN, annote and
printing fields which can be enabled through a LaTeX style file.  Dk-bib also
comes with a couple of Danish sorting order files for BibTeX8.")
    (license (list license:knuth license:gpl2+))))

(define-public texlive-dnp
  (package
    (name "texlive-dnp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/sfd/dnp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jlvb0nps1ij4sgbg3clgbk34p80la1fhh9zihn9fhl9nrqk637r"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dnp")
    (synopsis "Subfont numbers for DNP font encoding")
    (description "This package provides subfont numbers for DNP font encoding.")
    ;; This is part of the CJK package, use the same GPL license.
    (license license:gpl2)))

(define-public texlive-docbytex
  (package
    (name "texlive-docbytex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/docbytex/"
                                     "tex/generic/docbytex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09x4xpyq89jjjsp4yzrifcazz0p2f5w7785g8pvss8v0wwsb0lav"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/docbytex")
    (synopsis "Creating documentation from source code")
    (description
     "The package creates documentation from C source code, or other
programming languages.")
    ;; README states: "You can do anything with the files from DocBy.TeX
    ;; package without any limit".
    (license (license:fsf-free "file://doc/generic/docbytex/README"))))

(define-public texlive-doipubmed
  (package
    (name "texlive-doipubmed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/doipubmed/"
                                     "source/latex/doipubmed/"
                                     "tex/latex/doipubmed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1432hh1pr5r6izfcqlbvl1lxpradidrwpfkvjr25ds1rlh240y66"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/doipubmed")
    (synopsis "Special commands for use in bibliographies")
    (description
     "The package provides the commands @code{\\doi}, @code{\\pubmed} and
@code{\\citeurl}.  These commands are primarily designed for use in
bibliographies.  A @code{LaTeX2HTML} style file is also provided.")
    (license license:lppl)))

(define-public texlive-domitian
  (package
    (name "texlive-domitian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/domitian/"
                                     "fonts/enc/dvips/domitian/"
                                     "fonts/map/dvips/domitian/"
                                     "fonts/opentype/public/domitian/"
                                     "fonts/tfm/public/domitian/"
                                     "fonts/type1/public/domitian/"
                                     "fonts/vf/public/domitian/"
                                     "tex/latex/domitian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10pg90kdwklz2rsbcafhcld4zdchmxzr6cszrajwrky8hfz67dkg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/domitian")
    (synopsis "Drop-in replacement for Palatino")
    (description
     "The Domitian fonts are an OpenType font family, based on the Palatino
design by Hermann Zapf (1918-2015), as implemented in Palladio.  Domitian is
meant as a drop-in replacement for Adobe's version of Palatino.  It extends
Palladio with small capitals, old-style figures and scientific inferiors.  The
metrics have been adjusted to more closely match Adobe Palatino, and hinting
has been improved.")
    ;; Use any of the three licenses.
    (license (list license:lppl1.3c license:silofl1.1 license:agpl3))))

(define-public texlive-dosepsbin
  (package
    (name "texlive-dosepsbin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dosepsbin.1"
                                     "doc/man/man1/dosepsbin.man1.pdf"
                                     "doc/support/dosepsbin/"
                                     "scripts/dosepsbin/"
                                     "source/support/dosepsbin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "117crwcdpirvvm9srrzjn40marg00q16rzyqipm3xxbmwv52i93c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dosepsbin.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/dosepsbin")
    (synopsis "Deal with DOS binary EPS files")
    (description
     "This package provides a Encapsulated PostScript (EPS) file may given in
a special binary format to support the inclusion of a thumbnail.  This file
format, commonly known as DOS EPS format, starts with a binary header that
contains the positions of the possible sections: PostScript (PS); Windows
Metafile Format (WMF); and Tag Image File Format (TIFF).  The PS section must
be present and either the WMF file or the TIFF file should be given.  The
package provides a Perl program that will extract any of the sections of such
a file, in particular providing a text'-form EPS file for use with (La)TeX.")
    (license license:artistic2.0)))

(define-public texlive-doublestroke
  (package
    (name "texlive-doublestroke")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/doublestroke/"
                                     "fonts/map/dvips/doublestroke/"
                                     "fonts/source/public/doublestroke/"
                                     "fonts/tfm/public/doublestroke/"
                                     "fonts/type1/public/doublestroke/"
                                     "tex/latex/doublestroke/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v9g025l0qfw4zrjkm9yypcsramwl2di997jgnznxpxms0v6ib7c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/doublestroke")
    (synopsis "Typeset mathematical double stroke symbols")
    (description
     "This package provides a font based on Computer Modern Roman useful for
typesetting the mathematical symbols for the natural numbers, whole numbers,
rational numbers, real numbers and complex numbers; coverage includes all
Roman capital letters, @samp{1}, @samp{h} and @samp{k}.  The font is available
both as Metafont source and in Adobe Type 1 format, and LaTeX macros for its
use are provided.")
    (license license:knuth)))

(define-public texlive-dowith
  (package
    (name "texlive-dowith")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dowith/"
                                     "source/generic/dowith/"
                                     "tex/generic/dowith/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qlrcjac1qszgrap5v4g0d27g9k5ajqgyy493hmc9yh5wa9wmkmp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dowith")
    (synopsis "Apply a command to a list of items")
    (description
     "The package provides macros for applying a command to all elements of
a list without separators, and also for extending and reducing macros storing
such lists.  Applications in mind belonged to LaTeX, but the package should
work with other formats as well.")
    (license license:lppl1.3+)))

(define-public texlive-dozenal
  (package
    (name "texlive-dozenal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dozenal/"
                                     "fonts/afm/public/dozenal/"
                                     "fonts/map/dvips/dozenal/"
                                     "fonts/source/public/dozenal/"
                                     "fonts/tfm/public/dozenal/"
                                     "fonts/type1/public/dozenal/"
                                     "source/fonts/dozenal/"
                                     "tex/latex/dozenal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fhdcnpjpfxaqshddw6vxy0f8c1c3yn8p11aab8fkhnfg3pnllck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/dozenal")
    (synopsis "Typeset documents using base twelve numbering")
    (description
     "The package supports typesetting documents whose counters are
represented in base twelve, also called @dfn{dozenal}.  It includes a macro
for converting positive whole numbers to dozenal from decimal (base ten)
representation.  The package also includes a few other macros and redefines
all the standard counters to produce dozenal output.  Fonts, in Roman, italic,
slanted, and boldface versions, provide ten and eleven.  The fonts were
designed to blend well with the Computer Modern fonts, and are available both
as Metafont source and in Adobe Type 1 format.")
    (license license:lppl1.3+)))

(define-public texlive-dramatist
  (package
    (name "texlive-dramatist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dramatist/"
                                     "source/latex/dramatist/"
                                     "tex/latex/dramatist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17x10jaa7f9rnqfrnvgw225n5ypqrmacbpsfpl5zdhx9abbjh793"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dramatist")
    (synopsis "Typeset dramas, both in verse and in prose")
    (description
     "This package is intended for typesetting drama of any length.  It
provides two environments for typesetting dialogues in prose or in verse; new
document divisions corresponding to acts and scenes; macros that control the
appearance of characters and stage directions; and automatic generation of
a ``dramatis personae'' list.")
    (license license:gpl3+)))

(define-public texlive-drawmatrix
  (package
    (name "texlive-drawmatrix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/drawmatrix/"
                                     "source/latex/drawmatrix/"
                                     "tex/latex/drawmatrix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14y9xah06ya8krg7ckmhbmxs113g1vw0x2ryldapww7qi08i78yx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drawmatrix")
    (synopsis "Draw visual representations of matrices in LaTeX")
    (description
     "The package provides macros to visually represent matrices.  Various
options allow to change the visualizations, e.g., drawing rectangular,
triangular, or banded matrices.")
    (license license:expat)))

(define-public texlive-drawstack
  (package
    (name "texlive-drawstack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/drawstack/"
                                     "tex/latex/drawstack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qv2j7crg4b1ggxvmjb6zf0cxmr4mmpk382l7w3dqhywf9lr722v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drawstack")
    (synopsis "Draw execution stacks")
    (description
     "This simple LaTeX package provides support for drawing execution stack
(typically to illustrate assembly language notions).  The code is written on
top of TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-droit-fr
  (package
    (name "texlive-droit-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/droit-fr/" "tex/latex/droit-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lx4k3w7mzldhwykpfvhv05v7fhd1jibra80kz0zf9s0jga8sq4a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/droit-fr")
    (synopsis "Document class and bibliographic style for French law")
    (description
     "The bundle provides a toolkit intended for students writing a thesis in
French law.  It features a LaTeX document class, a bibliographic style for
BibLaTeX package, a practical example of french thesis document, and
documentation.  The class assumes use of Biber and BibLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-drm
  (package
    (name "texlive-drm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/drm/"
                                     "fonts/afm/public/drm/"
                                     "fonts/map/dvips/drm/"
                                     "fonts/opentype/public/drm/"
                                     "fonts/source/public/drm/"
                                     "fonts/tfm/public/drm/"
                                     "fonts/type1/public/drm/"
                                     "source/fonts/drm/"
                                     "tex/latex/drm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fxmwakgy7inin85pjad5rdqg11flrw8mlsh86ga6ghqcw69zhwq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/drm")
    (synopsis "Complete family of fonts written in Metafont")
    (description
     "The package provides access to the DRM (Don's Revised Modern) family of
fonts, which includes a variety of optical sizes in Roman (in four weights),
italic, and small caps, among other shapes, along with a set of symbols and
ornaments.  It is intended to be a full-body text font, but its larger sizes
can also be used for simple display purposes, and its significant body of
symbols can stand on its own.  It comes complete with textual (old-style) and
lining figures, and even has small-caps figures.  It also comes with
extensible decorative rules to be used with ornaments from itself or other
fonts, along with an extremely flexible ellipsis package.")
    (license license:lppl1.3+)))

(define-public texlive-droid
  (package
    (name "texlive-droid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/droid/"
                                     "fonts/enc/dvips/droid/"
                                     "fonts/map/dvips/droid/"
                                     "fonts/tfm/ascender/droid/droidsans/"
                                     "fonts/tfm/ascender/droid/droidsansmono/"
                                     "fonts/tfm/ascender/droid/droidserif/"
                                     "fonts/truetype/ascender/droid/droidsans/"
                                     "fonts/truetype/ascender/droid/droidsansmono/"
                                     "fonts/truetype/ascender/droid/droidserif/"
                                     "fonts/type1/ascender/droid/droidsans/"
                                     "fonts/type1/ascender/droid/droidsansmono/"
                                     "fonts/type1/ascender/droid/droidserif/"
                                     "fonts/vf/ascender/droid/droidsans/"
                                     "fonts/vf/ascender/droid/droidsansmono/"
                                     "fonts/vf/ascender/droid/droidserif/"
                                     "tex/latex/droid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10lgw5yv0s48rwydycq6lxj5dfyna7iflnhz1zq42akg21n595vx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/droid")
    (synopsis "LaTeX support for the Droid font families")
    (description
     "The Droid typeface family was designed by Steve Matteson.  The Droid
family consists of Droid Serif, Droid Sans and Droid Sans Mono fonts.  The
bundle includes the fonts in both TrueType and Adobe Type 1 formats.")
    (license (list license:lppl1.3c license:asl2.0))))

(define-public texlive-dsptricks
  (package
    (name "texlive-dsptricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dsptricks/"
                                     "tex/latex/dsptricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pjc78c195nkj493qyc0dxbr9d1488dc528vzkpgcgrf0g5pxm96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dsptricks")
    (synopsis "Macros for Digital Signal Processing (DSP) plots")
    (description
     "The package provides a set of @code{LaTeX} macros (based on PSTricks)
for plotting the kind of graphs and figures that are usually employed in
digital signal processing publications.  DSPTricks provides facilities for
standard discrete-time lollipop plots, continuous-time and frequency plots,
and pole-zero plots.  The companion package
DSPFunctions (@file{dspfunctions.sty}) provides macros for computing frequency
responses and DFTs, while the package DSPBlocks (@file{dspblocks.sty})
supports DSP block diagrams.")
    (license license:lppl)))

(define-public texlive-dsserif
  (package
    (name "texlive-dsserif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dsserif/"
                                     "fonts/afm/public/dsserif/"
                                     "fonts/map/dvips/dsserif/"
                                     "fonts/tfm/public/dsserif/"
                                     "fonts/type1/public/dsserif/"
                                     "source/fonts/dsserif/"
                                     "tex/latex/dsserif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dl8380lyv8r5kfrlhi5r4iwadb52m1397z68qwa65c5p2px1y3i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dsserif")
    (synopsis "Double-struck serifed font for mathematical use")
    (description
     "DSSerif is a mathematical font package with double struck serifed
digits, upper and lower case letters, in regular and bold weights.  The design
was inspired by the STIX double struck fonts, which are sans serif, but
starting from a Courier-like base.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-duerer
  (package
    (name "texlive-duerer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/duerer/"
                                     "fonts/source/public/duerer/"
                                     "fonts/tfm/public/duerer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x5s9qnmhhpj54l6cd0pzd9gmd0ipr95j60rcs73c66wwfjw0xki"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/duerer")
    (synopsis "Computer Duerer fonts")
    (description
     "These fonts are designed for titling use, and consist of capital roman
letters only.  Together with the normal set of base shapes, the family also
offers an informal shape.  The distribution is as Metafont source.  LaTeX
support is available in the @code{duerer-latex} bundle.")
    (license license:public-domain)))

(define-public texlive-duerer-latex
  (package
    (name "texlive-duerer-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/duerer-latex/"
                                     "tex/latex/duerer-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17ni6hrcblkbzn1f8cn2mvrc01sjqmi8qi2dxy82z14llr23qmbh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/duerer-latex")
    (synopsis "LaTeX support for the Duerer fonts")
    (description
     "This package provides LaTeX support for Hoenig's Computer Duerer fonts,
using their standard fontname names.")
    (license license:gpl3+)))

(define-public texlive-dutchcal
  (package
    (name "texlive-dutchcal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dutchcal/"
                                     "fonts/afm/public/dutchcal/"
                                     "fonts/map/dvips/dutchcal/"
                                     "fonts/tfm/public/dutchcal/"
                                     "fonts/type1/public/dutchcal/"
                                     "fonts/vf/public/dutchcal/"
                                     "tex/latex/dutchcal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "173c5k6q35ljbqdi00kplxss0n1aiss8nvigdv33mlkqpg7i74qg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dutchcal")
    (synopsis "Reworking of ESSTIX13, adding a bold version")
    (description
     "This package reworks the mathematical calligraphic font ESSTIX13,
adding a bold version.  LaTeX support files are included.")
    (license license:lppl)))

(define-public texlive-dvgloss
  (package
    (name "texlive-dvgloss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dvgloss/" "source/latex/dvgloss/"
                                     "tex/latex/dvgloss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fs5ghbyl3qhg1v0iljjqn723a93m4l7f873h3h81pcga75mng4s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dvgloss")
    (synopsis "Facilities for setting interlinear glossed text")
    (description
     "The package provides extensible macros for setting interlinear glossed
text --- useful, for instance, for typing linguistics papers.")
    (license license:lppl)))

(define-public texlive-dyntree
  (package
    (name "texlive-dyntree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dyntree/" "source/latex/dyntree/"
                                     "tex/latex/dyntree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j891cswgcyv5b4l6an0sa6vfwkn6lxswx55hsv2sdkkfbpb7dnd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dyntree")
    (synopsis "Construct Dynkin tree diagrams")
    (description
     "The package is intended for users needing to typeset a Dynkin Tree
Diagram---a group theoretical construct consisting of cartan coefficients in
boxes connected by a series of lines.  Such a diagram is a tool for working
out the states and their weights in terms of the fundamental weights and the
simple roots.")
    ;; Package mentions LGPL without any reference to the version.  Assuming
    ;; LGPL 2.1+.
    (license license:lgpl2.1+)))

(define-public texlive-e-french
  (package
    (name "texlive-e-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/e-french/"
                                     "makeindex/e-french/"
                                     "tex/generic/e-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14qxxfjlxygprs1ndhnn9mhz9hkb4j2dqikni5cvva457bivm4l9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/e-french")
    (synopsis "Comprehensive LaTeX support for French-language typesetting")
    (description
     "E-french is a distribution that keeps alive the work of Bernard
Gaulle (now deceased), under a free licence.  It replaces the old full
@code{frenchpro} (the professional distribution) and the light-weight
@code{frenchle} packages.")
    (license license:lppl1.3+)))

(define-public texlive-ean
  (package
    (name "texlive-ean")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ean/" "tex/generic/ean/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zyxjpc0ggas43lpvl1l1mknqmd94q0cqgw6w2by29w3r8wafjh9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ean")
    (synopsis "Macros for making EAN barcodes")
    (description "This package provides EAN-8 and EAN-13 forms.")
    (license license:gpl3+)))

(define-public texlive-easing
  (package
    (name "texlive-easing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easing/"
                                     "source/latex/easing/"
                                     "tex/latex/easing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j6y1i6cz7pcgrd6pisk6f11r30lrr4cnbhhdshl48wp97byjnw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easing")
    (synopsis "Easing functions for @code{pgfmath}")
    (description
     "This library implements a collection of easing functions and adds them
to the PGF mathematical engine.")
    (license license:lppl1.3+)))

(define-public texlive-ebgaramond
  (package
    (name "texlive-ebgaramond")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ebgaramond/"
                                     "fonts/enc/dvips/ebgaramond/"
                                     "fonts/map/dvips/ebgaramond/"
                                     "fonts/opentype/public/ebgaramond/"
                                     "fonts/tfm/public/ebgaramond/"
                                     "fonts/type1/public/ebgaramond/"
                                     "fonts/vf/public/ebgaramond/"
                                     "tex/latex/ebgaramond/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cm0cyfh3cmm7d6pjqbpi32yqssq062mgmdb9lfkkydh3k4visjj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebgaramond")
    (synopsis "LaTeX support for EBGaramond fonts")
    (description
     "EB Garamond is a revival by Georg Duffner of the 16th century fonts
designed by Claude Garamond.  The LaTeX support package works for (pdf)LaTeX,
XeLaTeX and LuaLaTeX users; configuration files for use with @code{microtype}
are provided.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-ebgaramond-maths
  (package
    (name "texlive-ebgaramond-maths")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ebgaramond-maths/"
                                     "fonts/enc/dvips/ebgaramond-maths/"
                                     "fonts/map/dvips/ebgaramond-maths/"
                                     "fonts/tfm/public/ebgaramond-maths/"
                                     "tex/latex/ebgaramond-maths/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rjrf360d7nsny4cxn5fa0gwpph28cx0v9mrr20sbx1vrv9aqvp9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebgaramond-maths")
    (synopsis "LaTeX support for EBGaramond fonts in mathematics")
    (description
     "This package provides some LaTeX support for the use of EBGaramond12 in
mathematics.")
    (license license:lppl1.3+)))

(define-public texlive-ebook
  (package
    (name "texlive-ebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebook/" "tex/latex/ebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i9zixl8wiwmfrhrzwm2adgwm5kzqk5xaq5nq9bks9i2ayvmiij2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebook")
    (synopsis "Helps creating an ebook by providing an @code{ebook} class")
    (description
     "The package defines a command @code{\\ebook} that defines page layout,
fonts, and font-sizes for documents to be rendered as PDF-ebooks on small
ebook-readers.")
    (license license:public-domain)))

(define-public texlive-ebsthesis
  (package
    (name "texlive-ebsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebsthesis/"
                                     "source/latex/ebsthesis/"
                                     "tex/latex/ebsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vmnkjnpg840rdgbim7gz2frzgr9dycmzqyj9kylicz5nvc4nk5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebsthesis")
    (synopsis "Typesetting theses for economics")
    (description
     "The @code{ebsthesis} class and @code{ebstools} package facilitate the
production of camera-ready manuscripts in conformance with the guidelines of
Gabler Verlag and typographical rules established by the European Business
School.")
    (license license:lppl)))

(define-public texlive-ecc
  (package
    (name "texlive-ecc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ecc/" "fonts/source/public/ecc/"
                                     "fonts/tfm/public/ecc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06mznqh1k9ff8rpifxkphv3yk9ym6zcvz3x1ksk677n6fp5a5jkh"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/ecc")
    (synopsis "Sources for the European Concrete fonts")
    (description
     "The Metafont sources and TFM files of the European Concrete Fonts.
This is the T1-encoded extension of Knuth's Concrete fonts, including also the
corresponding text companion fonts.  Adobe Type 1 versions of the fonts are
available as part of the @code{cm-super} font bundle.")
    (license license:lppl)))

(define-public texlive-ecltree
  (package
    (name "texlive-ecltree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecltree/" "tex/latex/ecltree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ki5zzpl8dkz7zwyccmsxfnfq7vl5vlx3gi1py64mgqxfxp0rivw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecltree")
    (synopsis "Trees using Epic and Eepic macros")
    (description
     "The package recursively draws trees: each subtree is defined in
a @code{bundle} environment, with a set of leaves described by @code{\\chunk}
macros.  A chunk may have a @code{bundle} environment inside it.")
    (license license:lppl)))

(define-public texlive-eco
  (package
    (name "texlive-eco")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eco/" "fonts/tfm/public/eco/"
                                     "fonts/vf/public/eco/" "source/fonts/eco/"
                                     "tex/latex/eco/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b2g3bmldad4vfx9qd3sakhayl9knijwn26xwysxrzc3rnfnz5w2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eco")
    (synopsis "Old style numerals using EC fonts")
    (description
     "This package provides a set of font metric files and virtual fonts for
using the EC fonts with old-style numerals.  The style file @file{eco.sty} is
sufficient to use the @code{eco} fonts but if you intend to use other font
families as well, e.g., PostScript fonts, try @code{altfont}.")
    (license license:gpl3+)))

(define-public texlive-ecobiblatex
  (package
    (name "texlive-ecobiblatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecobiblatex/"
                                     "tex/latex/ecobiblatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09569x2dx1h6a63ji44ipkx0nvapc9mgkgrqvc552x62c97zcf21"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecobiblatex")
    (synopsis
     "Global Ecology and Biogeography BibLaTeX styles for the Biber backend")
    (description
     "This bundle provides a set of styles for creating bibliographies using
BibLaTeX in the style of the @emph{Global Ecology and Biogeography} journal.")
    (license license:lppl1.3+)))

(define-public texlive-econ-bst
  (package
    (name "texlive-econ-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/econ-bst/"
                                     "doc/bibtex/econ-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zs07qznvz8hwlinacaas6lpyc6l2zmpcc1m3xxdkszl95xfc3md"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/econ-bst")
    (synopsis "BibTeX style for economics papers")
    (description
     "This is a BibTeX style file for papers in economics.  It provides the
following features: author-year type citation reference style used in
economics papers highly customizable use of certified random order, as
proposed by Ray Robson (2018)")
    (license license:lppl1.3+)))

(define-public texlive-econometrics
  (package
    (name "texlive-econometrics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/econometrics/"
                                     "tex/latex/econometrics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09sjgdsa93pfz7iha335z4xdh80939iqrwr3jxdmdxjyracz61vs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/econometrics")
    (synopsis
     "Simplified mathematic notation in economic and econometric writing")
    (description
     "Econometrics is a package that defines some commands that simplify
mathematic notation in economic and econometrics writing.  The commands are
related to the notation of vectors, matrices, sets, calligraphic and roman
letters statistical distributions constants and symbols matrix operators and
statistical operators.")
    (license license:lppl1.3+)))

(define-public texlive-economic
  (package
    (name "texlive-economic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/economic/"
                                     "doc/bibtex/economic/" "tex/latex/economic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b530sy5bf7f6xa4bakm5agnzx0dckafxkqsy9gv2rk2803qsf6c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/economic")
    (synopsis "BibTeX support for submitting to economics journals")
    (description
     "The bundle offers macros and BibTeX styles for the @emph{American
Economic Review} (AER), the @emph{American Journal of Agricultural
Economics} (AJAE), the @emph{Canadian Journal of Economics} (CJE), the
@emph{European Review of Agricultural Economics} (ERAE), the
@emph{International Economic Review} (IER) and @emph{Economica}.

The macro sets are based on (and require) the @code{harvard} package, and all
provide variations of author-date styles of presentation.")
    (license license:lppl)))

(define-public texlive-ecothesis
  (package
    (name "texlive-ecothesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecothesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1avnq2y5l2bc2lkf2g16p2vh77dabv52jr6jrm4jfm1wdapc6fmq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecothesis")
    (synopsis "LaTeX thesis template for the Universidade Federal de Vicosa")
    (description
     "The package provides a LaTeX thesis template for the @acronym{UFV,
Universidade Federal de Vicosa}, Brazil.")
    (license license:lppl1.3c)))

(define-public texlive-eczar
  (package
    (name "texlive-eczar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eczar/"
                                     "fonts/opentype/public/eczar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7alay4g12gn7sr6d584y04qzi77qiialmsq1wfxay7a2h8c3rn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eczar")
    (synopsis "Font family supporting Devanagari and Latin script")
    (description
     "Eczar is a type family designed by Vaibhav Singh.  The fonts support
over 45+3 languages in Latin and Devanagari scripts in 5 weights.")
    (license license:silofl1.1)))

(define-public texlive-edfnotes
  (package
    (name "texlive-edfnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/edfnotes/"
                                     "source/latex/edfnotes/"
                                     "tex/latex/edfnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "074db5fanasjzk7clj0l4ka3x1qpmvczwxix0l2v6sjjmyb4xfz4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/edfnotes")
    (synopsis "Critical annotations to footnotes with @code{ednotes}")
    (description
     "The package modifies the annotation commands and label-test mechanism of
the ednotes package so that critical notes appear on the pages and in the
order that one would expect.")
    (license license:lppl1.3+)))

(define-public texlive-edmac
  (package
    (name "texlive-edmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/edmac/" "source/latex/edmac/"
                                     "tex/generic/edmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pflqzrzfyw725ypc6lcryzzbizk13j69h4875r6q4fs763kv3w1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/edmac")
    (synopsis "Typeset critical editions")
    (description
     "This is the type example package for typesetting scholarly critical
editions.")
    (license license:gpl2)))

(define-public texlive-egameps
  (package
    (name "texlive-egameps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/egameps/" "tex/latex/egameps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wlki6y54czvvq7cvs7pvsvl1fhd8laaj5j52jv1v8w1msh5mlpr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/egameps")
    (synopsis "LaTeX package for typesetting extensive games")
    (description
     "The style is intended to have enough features to draw any extensive game
with relative ease.  The facilities of PSTricks are used for graphics.")
    (license license:lppl)))

(define-public texlive-eiad
  (package
    (name "texlive-eiad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eiad/"
                                     "fonts/source/public/eiad/"
                                     "fonts/tfm/public/eiad/" "tex/latex/eiad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0il058v1x79w5faxyalysdmfsgbxc3a1nq8kraffawpqw6wjcrbj"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont texlive-sauter))
    (home-page "https://ctan.org/pkg/eiad")
    (synopsis "Traditional style Irish fonts")
    (description
     "This package provides traditional style Irish fonts, in both lower and
upper case 32 letters are defined (18 plain ones, 5 long vowels and
9 aspirated consonants).  The ligature agus is also made available.  The
remaining characters (digits, punctuation and accents) are inherited from the
Computer Modern family of fonts.")
    (license license:public-domain)))

(define-public texlive-eiad-ltx
  (package
    (name "texlive-eiad-ltx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eiad-ltx/"
                                     "fonts/source/public/eiad-ltx/"
                                     "source/latex/eiad-ltx/"
                                     "tex/latex/eiad-ltx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qqwzl345v6hn0gp46flvhhzacgv810qjn575bhigqq726zl4kz7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eiad-ltx")
    (synopsis "LaTeX support for the @code{eiad} font")
    (description
     "The package provides macros to support use of the @code{eiad} fonts in
OT1 encoding.  Also offered are a couple of Metafont files described in the
font package, but not provided there.")
    (license license:lppl)))

(define-public texlive-einfart
  (package
    (name "texlive-einfart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/einfart/" "tex/latex/einfart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hlj00jp7s9b22r4a8l5fc98hnsblmn05v1ryqxknkcj6qdvrj9d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-minimalist))
    (home-page "https://ctan.org/pkg/einfart")
    (synopsis "Write your articles in a simple and clear way")
    (description
     "This package provides a LaTeX class for typesetting articles with a
simple and clear design.  Currently, it has native support for Chinese
(simplified and traditional), English, French, German, Italian, Japanese,
Portuguese (European and Brazilian), Russian and Spanish typesetting.  It
compiles with either XeLaTeX or LuaLaTeX.  This is part of the
@code{minimalist} class series and depends on that package.")
    (license license:lppl1.3c)))

(define-public texlive-ejpecp
  (package
    (name "texlive-ejpecp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ejpecp/" "source/latex/ejpecp/"
                                     "tex/latex/ejpecp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "083abggngg89nj4ra0a33j3s6wf0jba814lc4zp5sh64pc2x8h0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ejpecp")
    (synopsis "Class for EJP and ECP")
    (description
     "The class is designed for typesetting articles for the mathematical
research periodicals @emph{Electronic Journal of Probability} (EJP) and
@emph{Electronic Communications in Probability} (ECP).")
    (license license:lppl1.2+)))

(define-public texlive-ekaia
  (package
    (name "texlive-ekaia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ekaia/" "source/latex/ekaia/"
                                     "tex/latex/ekaia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n6zinzcg3win9nn86ljf8fcwsxxn6dq1gjnnw1si8ca01zdyx45"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ekaia")
    (synopsis
     "Article format for the Basque Country Science and Technology Journal
@emph{Ekaia}")
    (description
     "The package provides the article format for publishing the Basque
Country Science and Technology Journal @emph{Ekaia} at the University of the
Basque Country.")
    (license license:lppl1.2+)))

(define-public texlive-ektype-tanka
  (package
    (name "texlive-ektype-tanka")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ektype-tanka/"
                                     "fonts/truetype/public/ektype-tanka/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05jyx7dgbi19n6g8f4a5f8lkalld2p7lrlrfy1pj961hx65zbj80"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ektype-tanka")
    (synopsis "Devanagari fonts by EkType")
    (description
     "This package provides a collection of some Devanagari fonts by EkType:
Mukta, Baloo, Modak, and Jaini.")
    (license license:lppl1.3c)))

(define-public texlive-elbioimp
  (package
    (name "texlive-elbioimp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elbioimp/"
                                     "source/latex/elbioimp/"
                                     "tex/latex/elbioimp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iwsahllfw975cs11llr0ghx80wf5kmw5zrbs4iqviai12ipnkd2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elbioimp")
    (synopsis
     "LaTeX document class for the @emph{Journal of Electrical Bioimpedance}")
    (description
     "This package provides a document class for writing articles to the
@emph{Journal of Electrical Bioimpedance}.")
    (license license:lppl)))

(define-public texlive-electrum
  (package
    (name "texlive-electrum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/electrum/"
                                     "fonts/afm/arkandis/electrum/"
                                     "fonts/enc/dvips/electrum/"
                                     "fonts/map/dvips/electrum/"
                                     "fonts/tfm/arkandis/electrum/"
                                     "fonts/type1/arkandis/electrum/"
                                     "fonts/vf/arkandis/electrum/"
                                     "source/fonts/electrum/"
                                     "tex/latex/electrum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k8yckfh7pw2p3gy2j4ss9l42dmdbdnb7nsliz0j05g7wkkcp05w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/electrumadf")
    (synopsis "Electrum ADF fonts collection")
    (description
     "Electrum ADF is a slab-serif font featuring optical and italic
small-caps; additional ligatures and an alternate @samp{Q}; lining, hanging,
inferior and superior digits; and four weights.  The fonts are provided in
Adobe Type 1 format and the support material enables use with LaTeX. Licence
is mixed: LPPL for LaTeX support; GPL with font exception for the fonts.")
    ;; LPPL for LaTeX support, GPL with font exception for the fonts.
    (license (list license:lppl license:gpl2+))))

(define-public texlive-eledform
  (package
    (name "texlive-eledform")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eledform/"
                                     "source/latex/eledform/"
                                     "tex/latex/eledform/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sslbwabzpvx314bfmr6gy1p8nrh89v5mnkgdcby9w42hnfqiw2n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eledform")
    (synopsis "Define textual variants")
    (description
     "The package provides commands to formalize textual variants in critical
editions typeset using @code{eledmac}.")
    (license license:lppl1.3+)))

(define-public texlive-eledmac
  (package
    (name "texlive-eledmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eledmac/" "source/latex/eledmac/"
                                     "tex/latex/eledmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a4579g3rykcgbwjqbky260lx6x7mc41i6cqhi83anf3zilsii0r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eledmac")
    (synopsis "Typeset scholarly editions")
    (description
     "This package provides a package for typesetting scholarly critical editions,
replacing the established @code{ledmac} package.  The package supports
indexing by page and by line numbers, and simple @code{tabular}- and
@code{array}-style environments.  The package is distributed with the related
@code{eledpar} package.  The package is now superseded by @code{reledmac}.")
    (license license:lppl1.3+)))

(define-public texlive-els-cas-templates
  (package
    (name "texlive-els-cas-templates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/els-cas-templates/"
                                     "doc/latex/els-cas-templates/"
                                     "tex/latex/els-cas-templates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drp6gykqn4yaxjsiamsn8v5zv7nhvlqiblfhqg85fq3yl4q1sqk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/els-cas-templates")
    (synopsis "Elsevier updated LaTeX templates")
    (description
     "This bundle provides two class and corresponding template files for
typesetting journal articles supposed to go through Elsevier's updated
workflow.  One of the sets is meant for one-column, the other for two-column
layout.  These are now accepted for submitting articles both in Elsevier's
electronic submission system and elsewhere.")
    (license license:lppl1.2+)))

(define-public texlive-elsarticle
  (package
    (name "texlive-elsarticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/elsarticle/"
                                     "doc/latex/elsarticle/"
                                     "source/latex/elsarticle/"
                                     "tex/latex/elsarticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1616ql7yhf6fr66szgnpkxd2sz8vx22w25annf11i2zmr698k3aa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elsarticle")
    (synopsis "Class for articles for submission to Elsevier journals")
    (description
     "This class for typesetting journal articles is accepted for submitted
articles both in Elsevier's electronic submission system and elsewhere.")
    (license license:lppl1.2+)))

(define-public texlive-elteikthesis
  (package
    (name "texlive-elteikthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elteikthesis/"
                                     "tex/latex/elteikthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12lm8xsk7jwfhykfw3cz8knj4jphsmqzzs8v359fgpxnpqwnw5cw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elteikthesis")
    (synopsis "Thesis template for Eotvos Lorand University (Informatics)")
    (description
     "This package provides a bachelor and master thesis template for the
Eotvos Lorand University, Faculty of Informatics (Budapest, Hungary).  The
template supports producing both Hungarian and English theses.")
    (license license:expat)))

(define-public texlive-eltex
  (package
    (name "texlive-eltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eltex/" "tex/latex/eltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p6wy61n5q93mp07kv7bkp5nnsshshs6wrrhixicn0vankcgnm7w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eltex")
    (synopsis "Simple circuit diagrams in LaTeX picture mode")
    (description
     "The macros enable the user to draw simple circuit diagrams in the
picture environment, with no need of special resources.  The macros are
appropriate for drawing for school materials.  The circuit symbols accord to
the various parts of the standard IEC 617.")
    (license license:lppl)))

(define-public texlive-elvish
  (package
    (name "texlive-elvish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/elvish/"
                                     "fonts/source/public/elvish/"
                                     "fonts/tfm/public/elvish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vmvkc97a7j93jhdp0wbz4mqvk5q2kxjy5dlklwl5jawggagm7r4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/elvish")
    (synopsis "Fonts for typesetting Tolkien Elvish scripts")
    (description
     "The bundle provides fonts for Cirth and for Tengwar.  The Tengwar fonts
are supported by macros in @file{teng.tex}, or by the (better documented)
@code{tengtex} package.")
    ;; "If you produce modifications that seem useful, you are asked to send
    ;; them to me, so that they can be incorporated into the master files."
    (license (license:non-copyleft "file://doc/fonts/elvish/README"))))

(define-public texlive-emf
  (package
    (name "texlive-emf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emf/" "tex/latex/emf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w1wrvb2agq8vw2n8qg0mj3as09nygaxvjj6ji90qd865fj7lwzl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emf")
    (synopsis "Support for the EMF symbol")
    (description
     "This package provides LaTeX support for the symbol for the EMF in
electric circuits and electrodynamics.  It provides support for multiple
symbols but does not provide any fonts.  The fonts themselves must be acquired
otherwise.")
    (license license:gpl3)))

(define-public texlive-emisa
  (package
    (name "texlive-emisa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emisa/" "source/latex/emisa/"
                                     "tex/latex/emisa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02f8blixqqbn7k3h2sn59b9d8i2lxqnh2zwdk4gv7wyjr9l0sc1x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; "emisa.ins" apparently wants to generate itself!  Fix that.
               (add-after 'unpack 'fix-ins
                 (lambda _
                   (substitute* "source/latex/emisa/emisa.ins"
                     (("\\\\file\\{\\\\jobname\\.ins\\}.*") "")))))))
    (home-page "https://ctan.org/pkg/emisa")
    (synopsis "LaTeX package for preparing manuscripts for the journal
@emph{EMISA}")
    (description
     "The EMISA LaTeX package is provided for preparing manuscripts for
submission to @acronym{EMISA, Enterprise Modelling and Information Systems
Architectures}, and for preparing accepted submissions for publication as well
as for typesetting the final document by the editorial office.")
    (license license:lppl1.3c)))

(define-public texlive-endiagram
  (package
    (name "texlive-endiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endiagram/"
                                     "tex/latex/endiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07vm7ka7651mp5kk7m4ipk6agh4afmnq5ns1mjxvssb2wxfli3f0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endiagram")
    (synopsis "Easy creation of potential energy curve diagrams")
    (description
     "The package provides the facility of drawing potential energy curve
diagrams with just a few simple commands.")
    (license license:lppl1.3+)))

(define-public texlive-engtlc
  (package
    (name "texlive-engtlc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/engtlc/" "tex/latex/engtlc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xl0x6yanf2933p4ajlwzlrxjrn36kkdy6bm7cy10s1nys3y3pqk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/engtlc")
    (synopsis "Support for users in telecommunications engineering")
    (description
     "The package provides a wide range of abbreviations for terms used in
telecommunications engineering.")
    (license license:lppl1.3+)))

(define-public texlive-iexec
  (package
    (name "texlive-iexec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iexec/" "source/latex/iexec/"
                                     "tex/latex/iexec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pskdinm7rqsrb8xdz980wvxqjv018zj70l6gki0pch98ygwmg8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pgf))
    (home-page "https://ctan.org/pkg/iexec")
    (synopsis "Execute shell commands and input their output")
    (description
     "With the help of the @code{\\iexec} command, you can execute a shell
command and then input its output into your document.  This package also lets
you use any special symbols inside your command.")
    (license license:expat)))

(define-public texlive-eolang
  (package
    (name "texlive-eolang")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eolang/"
                                     "doc/man/man1/eolang.1"
                                     "doc/man/man1/eolang.man1.pdf"
                                     "scripts/eolang/"
                                     "source/latex/eolang/"
                                     "tex/latex/eolang/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "143k0j6cyysisraags5i1cp90199b7f6hdjg1rar6ysrrfvp9dhv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-amsfonts
           texlive-amsmath
           texlive-fancyvrb
           texlive-iexec
           texlive-pgf
           texlive-pgfopts
           texlive-stmaryrd))
    (home-page "https://ctan.org/pkg/eolang")
    (synopsis "Formulas and graphs for the EO programming language")
    (description
     "This LaTeX package helps you write φ-calculus formulas and
@url{https://github.com/objectionary/sodg, SODG} graphs for the
@url{https://www.eolang.org, EO} programming language.")
    (license license:expat)))

(define-public texlive-epigrafica
  (package
    (name "texlive-epigrafica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/epigrafica/"
                                     "fonts/afm/public/epigrafica/"
                                     "fonts/enc/dvips/epigrafica/"
                                     "fonts/map/dvips/epigrafica/"
                                     "fonts/tfm/public/epigrafica/"
                                     "fonts/type1/public/epigrafica/"
                                     "fonts/vf/public/epigrafica/"
                                     "tex/latex/epigrafica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s18ykapm50xyvrw5ls9gzc3m8r6pnjaplryr7q469k69455fh6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epigrafica")
    (synopsis "Greek and Latin font")
    (description
     "Epigrafica is a Greek and Latin font, forked from the development of the
Cosmetica font, which is a similar design to Optima and includes Greek.")
    (license license:gpl3+)))

(define-public texlive-eplain
  (package
    (name "texlive-eplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/eplain/"
                                     "doc/info/eplain.info"
                                     "doc/man/man1/eplain.1"
                                     "doc/man/man1/eplain.man1.pdf"
                                     "source/eplain/"
                                     "tex/eplain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00nmqhfckrf8ygw6i93d5xnf85i8a88ryadb5ml73w4rllwjxr72"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "eplain")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "eplain"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-pdftex
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/eplain")
    (synopsis "Extended plain TeX macros")
    (description
     "This package provides an extended version of the plain TeX format,
adding support for bibliographies, tables of contents, enumerated lists,
verbatim input of files, numbered equations, tables, two-column output,
footnotes, hyperlinks in PDF output and commutative diagrams.  Eplain can also
load some of the more useful LaTeX packages, notably @code{graphics},
@code{graphicx} (an extended version of graphics), @code{color},
@code{autopict} (a package instance of the LaTeX picture code), @code{psfrag},
and @code{url}.")
    (license license:gpl2+)))

(define-public texlive-epsdice
  (package
    (name "texlive-epsdice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epsdice/" "source/latex/epsdice/"
                                     "tex/latex/epsdice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09h3jqb44vl1jpb3hf6gbpfpbvfv6lvdvjmp4xpzhl1zs672wccj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsdice")
    (synopsis "Scalable dice font")
    (description
     "The @code{epsdice} package defines a single command @code{\\epsdice}
that takes a numeric argument (in the range 1-6), and selects a face image
from a file that contains each of the 6 possible die faces.  The graphic file
is provided in both Encapsulated PostScript and PDF formats.")
    (license license:lppl)))

(define-public texlive-epslatex-fr
  (package
    (name "texlive-epslatex-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epslatex-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xs9977g9g3i6sipkf7i9jdl8sdm69ci3161a4p7k66qbizi7zvb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fepslatex")
    (synopsis "French version of @emph{Graphics in LaTeX}")
    (description
     "This is the French translation of @code{epslatex}, and describes how to
use imported graphics in LaTeX(2e) documents.")
    (license license:gpl3+)))

(define-public texlive-eqexpl
  (package
    (name "texlive-eqexpl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqexpl/" "tex/latex/eqexpl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0crbq63m7ra20a1s1yka2v24spfvi86ls1v8asswdrf83zkdpibi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqexpl")
    (synopsis "Align explanations for formulas")
    (description
     "This package tries to create perfectly formatted explanation of
components of a formula.")
    (license license:cc-by-sa4.0)))

(define-public texlive-eqnarray
  (package
    (name "texlive-eqnarray")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqnarray/"
                                     "source/latex/eqnarray/"
                                     "tex/latex/eqnarray/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w01rh4a1yglfm9fqkhry1d6bs47caj0dsna9j648z0pxvdf1v38"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqnarray")
    (synopsis "More generalised equation arrays with numbering")
    (description
     "This package defines an @code{equationarray} environment, that allows
more than three columns, but otherwise behaves like LaTeX's @code{eqnarray}
environment.  This environment is similar, in some ways, to the @code{align}
environment of @code{amsmath}.")
    (license license:gpl3)))

(define-public texlive-eqnnumwarn
  (package
    (name "texlive-eqnnumwarn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqnnumwarn/"
                                     "tex/latex/eqnnumwarn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06z6rb0q5qln5knamwxljzw5h373r2xh159ml9akw4kb2cdk3bri"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqnnumwarn")
    (synopsis "Warn for a displaced equation number")
    (description
     "Sometimes an equation is too long that an equation number will be
typeset below the equation itself, but yet not long enough to yield an
@samp{overfull \\hbox} warning.  The @code{eqnnumwarn} package modifies the
standard @code{amsmath} numbered equation environments to throw a warning
whenever this occurs.")
    (license license:lppl1.3+)))

(define-public texlive-erdc
  (package
    (name "texlive-erdc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/erdc/" "source/latex/erdc/"
                                     "tex/latex/erdc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sqq0zd89jx2l4n1hpas4c4y4p3mh1mbnfigjbal9xg2h5pijkv1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/erdc")
    (synopsis "Style for reports by US Army Corps of Engineers")
    (description
     "This package provides a class for typesetting Technical Information
Reports of the Engineer Research and Development Center, US Army Corps of
Engineers.")
    (license license:lppl)))

(define-public texlive-erewhon
  (package
    (name "texlive-erewhon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/erewhon/"
                                     "fonts/afm/public/erewhon/"
                                     "fonts/enc/dvips/erewhon/"
                                     "fonts/map/dvips/erewhon/"
                                     "fonts/opentype/public/erewhon/"
                                     "fonts/tfm/public/erewhon/"
                                     "fonts/type1/public/erewhon/"
                                     "fonts/vf/public/erewhon/"
                                     "tex/latex/erewhon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02qhg27y24b533gnx90f8a1b7j06i369qswmpccq5a6gaaab8xcv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/erewhon")
    (synopsis "Font package derived from Heuristica and Utopia")
    (description
     "Erewhon is based on the Heuristica package, which is based in turn on
Utopia.  Erewhon adds a number of new features --- small caps in all styles
rather than just regular, added figure styles (proportional, inferior,
numerator, denominator) and superior letters.  The size is 6% smaller than
Heuristica, matching that of UtopiaStd.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-erewhon-math
  (package
    (name "texlive-erewhon-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/erewhon-math/"
                                     "fonts/opentype/public/erewhon-math/"
                                     "tex/latex/erewhon-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g3f4p2zacans6zp59zrjk5blgrsyhqpx98qkgi4w0klxiclxa1c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/erewhon-math")
    (synopsis "Utopia based OpenType math font")
    (description
     "Erewhon Math is an OpenType version of the Fourier Type1 fonts designed
by Michel Bovani.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-esrelation
  (package
    (name "texlive-esrelation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/esrelation/"
                                     "fonts/map/dvips/esrelation/"
                                     "fonts/source/public/esrelation/"
                                     "fonts/tfm/public/esrelation/"
                                     "fonts/type1/public/esrelation/"
                                     "source/fonts/esrelation/"
                                     "tex/latex/esrelation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "168pjrn3pgyqb79nvwk4rykb214jj1fvygnlb18rx7nrnzdmagjw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/esrelation")
    (synopsis "Symbol set for describing relations between ordered pairs")
    (description
     "This package provides an math symbol font, by Tauba Auerbach, for
describing relations between ordered pairs, using Metafont.")
    (license license:lppl1.3+)))

(define-public texlive-esstix
  (package
    (name "texlive-esstix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/esstix/"
                                     "fonts/afm/esstix/"
                                     "fonts/map/dvips/esstix/"
                                     "fonts/tfm/public/esstix/"
                                     "fonts/type1/public/esstix/"
                                     "fonts/vf/public/esstix/"
                                     "tex/latex/esstix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wfl7q6yx7pflzy402ldx7p3zw3xgvgvilrdzv7pm0w937a3qkm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/esstix")
    (synopsis "PostScript versions of the ESSTIX, with macro support")
    (description
     "These fonts represent translation to PostScript Type 1 of the ESSTIX
fonts.  ESSTIX seem to have been a precursor to the STIX project.  The
accompanying virtual fonts with customized metrics and LaTeX support files
allow their use as @code{calligraphic}, @code{fraktur} and
@code{double-struck} (blackboard bold) in maths mode.")
    (license license:silofl1.1)))

(define-public texlive-estcpmm
  (package
    (name "texlive-estcpmm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/estcpmm/" "source/latex/estcpmm/"
                                     "tex/latex/estcpmm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09fp8vidb9wzdsm05nira4p8dyjn75i1jhhwnr6k17pdrad1sqrj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/estcpmm")
    (synopsis "Style for Munitions Management Project Reports")
    (description
     "This package provides a class which supports typesetting Cost and
Performance Reports and Final Reports for Munitions Management Reports, US
Environmental Security Technology Certification Program.")
    (license license:lppl)))

(define-public texlive-esvect
  (package
    (name "texlive-esvect")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esvect/"
                                     "fonts/map/dvips/esvect/"
                                     "fonts/source/public/esvect/"
                                     "fonts/tfm/public/esvect/"
                                     "fonts/type1/public/esvect/"
                                     "source/latex/esvect/"
                                     "tex/latex/esvect/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15sr1rm86aamfy186v2zvvcjsw5rhcq6ph5ckpfn275vjp3fazrf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/esvect")
    (synopsis "Vector arrows")
    (description
     "This package can be used to write vectors using an arrow which differs
from the Computer Modern one.  You have the choice between several kinds of
arrows.  The package consists of the relevant Metafont code and a package to
use it.")
    (license license:gpl3+)))

(define-public texlive-etbb
  (package
    (name "texlive-etbb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/etbb/"
                                     "fonts/afm/public/etbb/"
                                     "fonts/enc/dvips/etbb/"
                                     "fonts/map/dvips/etbb/"
                                     "fonts/opentype/public/etbb/"
                                     "fonts/tfm/public/etbb/"
                                     "fonts/type1/public/etbb/"
                                     "fonts/vf/public/etbb/"
                                     "tex/latex/etbb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f07wz9qgvp9m3s4n7rzh2r5fq4h03ffxqpw5wv17imz2bvr1dr3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etbb")
    (synopsis "Expansion of Edward Tufte's ET-Bembo family")
    (description
     "The Bembo-like font family, ETbb, expands ET-Bembo features to include
a full set of figure styles, small caps in all styles, superior letters and
figures, inferior figures, a new capital Sharp @samp{S} with small caps
version, along with macros to activate these features in LaTeX.")
    (license (list license:expat license:lppl1.3+))))

(define-public texlive-etsvthor
  (package
    (name "texlive-etsvthor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etsvthor/" "tex/latex/etsvthor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lrvxr2lrfq1vkfkx7sjrm8fsxv8aalkpi0x0wmkdizc6n2wlhx4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etsvthor")
    (synopsis "Some useful abbreviations for members of e.t.s.v. Thor")
    (description
     "``e.t.s.v.  Thor'' stands for Elektrotechnische Studievereniging Thor,
a study association of Electrical Engeering at the Eindhoven University of
Technology.  This package provides abbreviations useful for creating meeting
notes or other documents within the association.")
    (license license:lppl1.3c)))

(define-public texlive-euclideangeometry
  (package
    (name "texlive-euclideangeometry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/euclideangeometry/"
                                     "source/latex/euclideangeometry/"
                                     "tex/latex/euclideangeometry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pzqagrkr0w67n4v3z3q37p1rk3zk8sp2z2kl86rcqq5zi1rf9cl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/euclideangeometry")
    (synopsis "Draw geometrical constructions")
    (description
     "This package provides tools to draw most of the geometrical
constructions that a high school instructor or bachelor degree professor might
need to teach geometry.  The connection to Euclide depends on the fact that in
his times calculations were made with ruler, compass and also with
ellipsograph.  This package extends the functionalities of the @code{curve2e}
package.")
    (license license:lppl1.3c)))

(define-public texlive-euler-math
  (package
    (name "texlive-euler-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/euler-math/"
                                     "fonts/opentype/public/euler-math/"
                                     "tex/latex/euler-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18vd27yqmch97xrjpw3wwhf4v74m97nxd2azr0vl5gbx3sx6igii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/euler-math")
    (synopsis "OpenType version of Hermann Zapf's Euler maths font")
    (description
     "@file{Euler-Math.otf} is an OpenType version of Hermann Zapf's Euler
maths font.  A style file @file{euler-math.sty} is provided as a replacement
of the @code{eulervm} package for LuaLaTeX and XeLaTeX users.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-euxm
  (package
    (name "texlive-euxm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/euxm/"
                                     "fonts/tfm/public/euxm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10dqknqlqrga9m2lgd74zx5hk4qcbkfvlzjgr304p94w3k7pclqc"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/euxm")
    (synopsis "Extended Euler")
    (description
     "This package extends Euler font to include two additional characters
needed for Concrete Math.")
    (license license:knuth)))

(define-public texlive-evangelion-jfm
  (package
    (name "texlive-evangelion-jfm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/evangelion-jfm/"
                                     "source/luatex/evangelion-jfm/"
                                     "tex/luatex/evangelion-jfm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g174ck75h43gppv2c7ihbf815zc07fchc56c5bidywfv09c4y3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/evangelion-jfm")
    (synopsis "Japanese font metric supporting many advanced features")
    (description
     "This package provides a Japanese font metric supporting vertical and
horizontal typesetting, linegap punctuations, extended fonts, and more
interesting and helpful features using traditional and simplified Chinese or
Japanese fonts under LuaTeX-ja.  It also makes full use of the priority
feature, meeting the standards, and allows easy customisation.")
    (license license:expat)))

(define-public texlive-expex
  (package
    (name "texlive-expex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/expex/" "tex/generic/expex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0is4cdpsqycaw8xzc6x1gkg4ldk8v6a1i52qmxw13q8k10qh6b95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expex")
    (synopsis "Linguistic examples and glosses, with reference capabilities")
    (description
     "The package provides macros for typesetting linguistic examples and
glosses, with a refined mechanism for referencing examples and parts of
examples.  The package can be used with LaTeX or with Plain TeX.")
    (license license:lppl)))

(define-public texlive-expose-expl3-dunkerque-2019
  (package
    (name "texlive-expose-expl3-dunkerque-2019")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/expose-expl3-dunkerque-2019/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xij1ycxnc3hfzkl0bfs03s0zzzv6xsj3myvykb6n836j1g66g2y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expose-expl3-dunkerque-2019")
    (synopsis "Using @code{expl3} to implement some numerical algorithms")
    (description
     "This is an article, in French, based on a presentation made in Dunkerque
for the @emph{Stage LaTeX} on 12 June 2019.  The article gives three examples
of code in @code{expl3} with (lots of) comments: Knuth's algorithm to create
a list of primes, the sieve of Eratosthenes, Kaprekar sequences.  The package
contains the code itself, the documentation as a PDF file, and all the files
needed to produce it.")
    (license license:lppl1.3+)))

(define-public texlive-extarrows
  (package
    (name "texlive-extarrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/extarrows/"
                                     "tex/latex/extarrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fspc9vgz1vwi5lamv30czh6pp1vqsrk6f2ynqygq166rfxxm1gz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/extarrows")
    (synopsis "Extra arrows beyond those provided in @code{amsmath}")
    (description
     "This package provides arrows to supplement @code{\\xleftarrow} and
@code{\\xrightarrow} of the @code{amsath} package.")
    ;; Package mentions LGPL without any reference to the version.  Assuming
    ;; LGPL 2.1+.
    (license license:lgpl2.1+)))

(define-public texlive-extpfeil
  (package
    (name "texlive-extpfeil")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/extpfeil/"
                                     "source/latex/extpfeil/"
                                     "tex/latex/extpfeil/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11vri2kij4y3da2v1gsps66jf4r529w4nqbgbfajrxh2nhfb60iv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/extpfeil")
    (synopsis "Extensible arrows in mathematics")
    (description
     "The package provides some more extensible arrows (usable in the same way
as @code{\\xleftarrow} from @code{amsmath}), and a simple command to create
new ones.")
    (license license:lppl1.3+)))

(define-public texlive-facture
  (package
    (name "texlive-facture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/facture/"
                                     "source/xelatex/facture/"
                                     "tex/xelatex/facture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04a9h99vqrb25pqwl3gn24kw7pm87i3bwq24inhfvac3sj7wq97k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/facture")
    (synopsis "Generate an invoice")
    (description
     "This package provides a simple class that allows production of an invoice,
with or without VAT; different addresses for delivery and for billing are
permitted.")
    (license license:cc-by-sa2.0)))

(define-public texlive-facture-belge-simple-sans-tva
  (package
    (name "texlive-facture-belge-simple-sans-tva")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/facture-belge-simple-sans-tva/"
                                     "tex/xelatex/facture-belge-simple-sans-tva/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zs2hcc5lhzvfkv83wym1rax58mryylq9b7i358ln0pklnm2gncx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/facture-belge-simple-sans-tva")
    (synopsis "Simple Belgian invoice without VAT")
    (description
     "This package can be used to generate invoices for Belgian individuals
who do not have a VAT number and who wish to do occasional work, or to carry
out paid additional activities during their free time up to 6,000 euros per
calendar year (amount indexed annually) without having to pay tax or social
security contributions (see the website Activites complementaires).  The
package can also generate expense reports.  All totals are calculated
automatically, in the invoice and in the expense report.")
    (license license:lppl1.3c)))

(define-public texlive-faktor
  (package
    (name "texlive-faktor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/faktor/" "source/latex/faktor/"
                                     "tex/latex/faktor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sridf0sn775n9ivrbfxz2fgrcm0wl7ajbhr4509ck0pq2n5hq17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/faktor")
    (synopsis "Typeset quotient structures with LaTeX")
    (description
     "The package provides the means to typeset factor structures, as are used
in many areas of algebraic notation.  The structure is similar to the A/B that
is provided by the @code{nicefrac} package (part of the @code{units}
distribution), and by the @code{xfrac} package; the most obvious difference is
that the numerator and denominator's sizes do not change in the
@code{\\faktor} command.")
    (license license:lppl)))

(define-public texlive-fascicules
  (package
    (name "texlive-fascicules")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fascicules/"
                                     "source/latex/fascicules/"
                                     "tex/latex/fascicules/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hsap900psylamhn3my7gsn7n06glqczcff0yw53zs9gjwyh4s13"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fascicules")
    (synopsis "Create mathematical manuals for schools")
    (description
     "This package enables LaTeX users to create math books for middle and
high schools.  It provides commands to create the front page of the manual and
the chapters.  Each chapter can consist of three sections: the lesson, the
exercises and the activities.")
    (license license:lppl)))

(define-public texlive-fbb
  (package
    (name "texlive-fbb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fbb/"
                                     "fonts/enc/dvips/fbb/"
                                     "fonts/map/dvips/fbb/"
                                     "fonts/opentype/public/fbb/"
                                     "fonts/tfm/public/fbb/"
                                     "fonts/type1/public/fbb/"
                                     "fonts/vf/public/fbb/"
                                     "tex/latex/fbb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "012zfxq6hdz9m4pn6dxqv3lsbr809r10mj795w96cijzrys4zww1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fbb")
    (synopsis "Bembo-like font")
    (description
     "The package provides a Bembo-like font package based on Cardo but with
many modifications, adding Bold Italic, small caps in all styles, six figure
choices in all styles, updated kerning tables, added figure tables and
corrected f-ligatures.  Both OpenType and Adobe Type 1 versions are provided;
all necessary support files are provided.  The font works well with
@code{newtxmath}'s @code{libertine} option.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-fbithesis
  (package
    (name "texlive-fbithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fbithesis/"
                                     "source/latex/fbithesis/"
                                     "tex/latex/fbithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1650ilscm47x606piwx7a8z08lhkq87g8k0z40ii3ig0c3p9isgl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/fbithesis")
    (synopsis "Computer Science thesis class for University of Dortmund")
    (description
     "At the department of computer science at the University of Dortmund
there are cardboard cover pages for research or internal reports like master
and phd theses.  The main function of this LaTeX2e document-class is
a replacement for the @code{\\maketitle} command to typeset a title page that
is adjusted to these cover pages.")
    (license license:lppl1.3+)))

(define-public texlive-fbs
  (package
    (name "texlive-fbs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/fbs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18h6n8azrnk2qabv30kpa8gmj2ljkvx0nqs8qb9r8dxxnhng78ch"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fbs")
    (synopsis "BibTeX style for @emph{Frontiers in Bioscience}")
    (description
     "This package provides a BibTeX style file made with @code{custom}-bib to
fit @emph{Frontiers in Bioscience} requirements.")
    (license license:lppl)))

(define-public texlive-fcavtex
  (package
    (name "texlive-fcavtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/fcavtex/" "doc/latex/fcavtex/"
                                     "tex/latex/fcavtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l87wlh9mzh0hysfw35mlx3asqw7lvwc55yiqr01jbmv1hwgfnl6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fcavtex")
    (synopsis "Thesis class for the FCAV/UNESP, Brazil")
    (description
     "This package provides a class and a bibliography style for the
@acronym{FCAV-UNESP, Faculdade de Ciencias Agrarias e Veterinarias de
Jaboticabal UNESP} Brazilian university, written based on the institution
rules for thesis publications.")
    (license license:lppl1.3+)))

(define-public texlive-fcltxdoc
  (package
    (name "texlive-fcltxdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fcltxdoc/"
                                     "source/latex/fcltxdoc/"
                                     "tex/latex/fcltxdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qb0l622svj1bqs0p05mcf30f4xy432aa4qzk6w4rlckssdfiwva"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fcltxdoc")
    (synopsis "Macros for use in the author's documentation")
    (description
     "The package is not advertised for public use, but is necessary for the
support of others of the author's packages (which are compiled under the
@code{ltxdoc} class).")
    (license license:lppl1.3+)))

(define-public texlive-fdsymbol
  (package
    (name "texlive-fdsymbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fdsymbol/"
                                     "doc/latex/fdsymbol/"
                                     "fonts/enc/dvips/fdsymbol/"
                                     "fonts/map/dvips/fdsymbol/"
                                     "fonts/opentype/public/fdsymbol/"
                                     "fonts/source/public/fdsymbol/"
                                     "fonts/tfm/public/fdsymbol/"
                                     "fonts/type1/public/fdsymbol/"
                                     "source/latex/fdsymbol/"
                                     "tex/latex/fdsymbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qw2bmw48xppn9jj5m46l3lr1zja6nall0a3vvpcfjd66ai3hmca"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/fdsymbol")
    (synopsis "Maths symbol font")
    (description
     "FdSymbol is a maths symbol font, designed as a companion to the Fedra
family, but it might also fit other contemporary typefaces.")
    (license license:silofl1.1)))

(define-public texlive-fduthesis
  (package
    (name "texlive-fduthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fduthesis/"
                                     "source/latex/fduthesis/"
                                     "tex/latex/fduthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w8dqld77pjcv5si3d1xmvphy908g5sqndy8rrbbi5rm2cqw6a5s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fduthesis")
    (synopsis "LaTeX thesis template for Fudan University")
    (description
     "This package is a LaTeX thesis template package for Fudan University.
It can make it easy to write theses both in Chinese and English.")
    (license license:lppl1.3c)))

(define-public texlive-fei
  (package
    (name "texlive-fei")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fei/" "source/latex/fei/"
                                     "tex/latex/fei/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13f2sn9pazq6ak37025wr20mi11069paw8hd7qlrcy10bn7bkbl7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fei")
    (synopsis "Class for academic works at FEI University Center, Brazil")
    (description
     "@code{fei} is a class created by graduate students and LaTeX enthusiasts
that allows students from FEI University Center to create their academic
works, be it a monograph, masters dissertation or PhD thesis, under the
typographic rules of the institution.  The class makes it possible to create
a full academic work, supporting functionalities such as cover, title page,
catalog entry, dedication, summary, lists of figures, tables, algorithms,
acronyms and symbols, multiple authors, index, references, appendices and
attachments.  @code{fei} is loosely based in the Brazilian National Standards
Organization (@acronym{ABNT, Associacao Brasileira de Normas Tecnicas}).")
    (license license:lppl1.3c)))

(define-public texlive-fetamont
  (package
    (name "texlive-fetamont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fetamont/"
                                     "fonts/afm/public/fetamont/"
                                     "fonts/map/dvips/fetamont/"
                                     "fonts/opentype/public/fetamont/"
                                     "fonts/source/public/fetamont/"
                                     "fonts/tfm/public/fetamont/"
                                     "fonts/type1/public/fetamont/"
                                     "metapost/fetamont/"
                                     "source/fonts/fetamont/"
                                     "tex/latex/fetamont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bs911vyn54i61vv3rhr0xcp6myap2s8ww6p1fd30ld1ha6nsrf6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Generating font metrics require unpackaged "mf2outline.py"
    ;; script.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/fetamont")
    (synopsis "Extended version of Knuth's Logo typeface")
    (description
     "The @code{fetamont} typeface was designed in Metafont and extends the
Logo fonts to complete the Type 1 encoding.")
    (license license:lppl1.3+)))

(define-public texlive-feyn
  (package
    (name "texlive-feyn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/feyn/"
                                     "fonts/source/public/feyn/"
                                     "fonts/tfm/public/feyn/"
                                     "source/fonts/feyn/" "tex/latex/feyn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kd5xs1xffgplpapj6rjv4aaz7pfjfh8rspy2xrabbf03npkdqz5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont texlive-sauter))
    (home-page "https://ctan.org/pkg/feyn")
    (synopsis "Font for in-text Feynman diagrams")
    (description
     "Feyn may be used to produce relatively simple Feynman diagrams within
equations in a LaTeX document.  While the @code{feynmf} package is good at
drawing large diagrams for figures, the present package and its fonts allow
diagrams within equations or text, at a matching size.  The fonts are
distributed as Metafont source, and macros for their use are also provided.")
    (license license:bsd-2)))

(define-public texlive-fge
  (package
    (name "texlive-fge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fge/"
                                     "fonts/map/dvips/fge/"
                                     "fonts/source/public/fge/"
                                     "fonts/tfm/public/fge/"
                                     "fonts/type1/public/fge/"
                                     "source/fonts/fge/"
                                     "tex/latex/fge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00q9rf8jrb6jl5c10kn6axnlza6q02xan2gf88rd736v0wpi4936"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/fge")
    (synopsis "Font for Frege's @emph{Grundgesetze der Arithmetik}")
    (description
     "The package provides fonts for Frege's @emph{Grundgesetze der
Arithmetik}.  The fonts are provided as Metafont source and Adobe Type 1 (pfb)
files.  A small LaTeX package (@code{fge}) is included.")
    (license license:lppl)))

(define-public texlive-figbas
  (package
    (name "texlive-figbas")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/figbas/"
                                     "fonts/afm/public/figbas/"
                                     "fonts/map/dvips/figbas/"
                                     "fonts/tfm/public/figbas/"
                                     "fonts/type1/public/figbas/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07dc19989sx968hbn3h2m1bbplp8zqh1yj9v92mcp54876rk8bbp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figbas")
    (synopsis "Mini-fonts for figured-bass notation in music")
    (description
     "This package consists of three mini-fonts (and associated metrics) of
conventional ligatures for the figured-bass notations 2+, 4+, 5+, 6+ and 9+ in
music manuscripts.  The fonts are usable with Computer Modern Roman and Sans,
and Palatino/Palladio, respectively.")
    (license license:lppl)))

(define-public texlive-figbib
  (package
    (name "texlive-figbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/figbib/" "doc/latex/figbib/"
                                     "tex/latex/figbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wvglj3z86xjz1bi5931hxm9b2kn6r4j7391di26wmsyhdajs2yz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figbib")
    (synopsis "Organize figure databases with BibTeX")
    (description
     "FigBib lets you organize your figures in BibTeX databases.  Some FigBib
features are:
@itemize

@item store and manage figures in a BibTeX database;

@item Include figures in your LaTeX document with one short command;

@item generate a list of figures containing more or other information than the
figure captions;

@item control with one switch where to output the figures, either as usual
float objects or in a separate part at the end of your document.

@end itemize")
    (license license:lppl)))

(define-public texlive-filecontentsdef
  (package
    (name "texlive-filecontentsdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filecontentsdef/"
                                     "source/latex/filecontentsdef/"
                                     "tex/latex/filecontentsdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pmjvxjsfnyzx3bl10n8is7l27l11mrw22g3w41f72kric0vfd65"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/filecontentsdef")
    (synopsis "filecontents, macro, and verbatim")
    (description
     "The package provides two environments called @code{filecontentsdef} and
@code{filecontentshere}.  They are derived from the LaTeX @code{filecontents}
environment.  In addition to the file creation they either store
the (verbatim) contents in a macro (@code{filecontentsdef}) or typeset
them (verbatim) on the spot (@code{filecontentshere}).  The author developed
the package to display TeX code verbatim in documentation and the same time
produce the corresponding files during the LaTeX run in order to embed them in
the PDF as file attachment annotations (by using Scott Pakin's package
@code{attachfile}).")
    (license license:lppl1.3+)))

(define-public texlive-firamath
  (package
    (name "texlive-firamath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/firamath/"
                                     "fonts/opentype/public/firamath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sc3ip9mvyqlbsj7vfcb1yaxlc32w18kqrqm051v5y2bbvp53s0p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/firamath")
    (synopsis "Fira sans serif font with Unicode math support")
    (description
     "Fira Math is a sans-serif font with Unicode math support.  The design of
this font is based on Fira Sans and FiraGO.  Fira Math is distributed in
OpenType format and can be used with the @code{unicode-math} package under
XeLaTeX or LuaLaTeX.  More support is offered by the @code{firamath-otf}
package.")
    (license license:silofl1.1)))

(define-public texlive-firamath-otf
  (package
    (name "texlive-firamath-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/firamath-otf/"
                                     "tex/latex/firamath-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "094b56is939li9cadqz2b7mz86ji5dnryi8k54nym8qmjsdx2gd1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-firamath))
    (home-page "https://ctan.org/pkg/firamath-otf")
    (synopsis "Use OpenType math font Fira Math")
    (description
     "The package offers XeTeX and LuaTeX support for the sans serif OpenType
Fira Math font.")
    (license license:lppl1.3+)))

(define-public texlive-fixdif
  (package
    (name "texlive-fixdif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixdif/" "source/latex/fixdif/"
                                     "tex/latex/fixdif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l15mkwbnk0k2qqdnkady5n3iqyj0w7f8k23rxnbyrk5835crl67"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixdif")
    (synopsis "Macros for typesetting differential operators")
    (description
     "This package redefines the @code{\\d} command in LaTeX and provides an
interface to define new commands for differential operators.  It is compatible
with pdfTeX, XeTeX and LuaTeX, and can also be used with the
@code{unicode-math} package.")
    (license license:lppl1.3c)))

(define-public texlive-fixfoot
  (package
    (name "texlive-fixfoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixfoot/" "tex/latex/fixfoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1anyswchln7y7a6x72ay6hm3ck36byxk2ciia0w6y100iqcpq2sl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixfoot")
    (synopsis "Multiple use of the same footnote text")
    (description
     "This package provides a @code{\\DeclareFixedFootnote} command to provide
a single command for a frequently-used footnote.  The package ensures that
only one instance of the footnote text appears on each page (LaTeX needs to be
run several times to achieve this).")
    (license license:lppl)))

(define-public texlive-fixjfm
  (package
    (name "texlive-fixjfm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fixjfm/" "tex/generic/fixjfm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x3wf7v03jqczvxaslqw422bvccvna31jl5sgld6llvfh7b0ziyx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixjfm")
    (synopsis "Fix JFM (for *pTeX)")
    (description
     "This package fixes several bugs in the JFM format.  Both LaTeX and plain
TeX are supported.")
    (license license:knuth)))

(define-public texlive-fixltxhyph
  (package
    (name "texlive-fixltxhyph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixltxhyph/"
                                     "source/latex/fixltxhyph/"
                                     "tex/latex/fixltxhyph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wjrq2gplal5hpij758c4mk6s6aidqp2h25mvf7jmbbzq2nfsyq1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixltxhyph")
    (synopsis "Allow hyphenation of partially-emphasised substrings")
    (description
     "The package fixes the problem of TeX failing to hyphenate letter strings
that seem (to TeX} to be words, but which are followed by an apostrophe and
then an emphasis command.  The cause of the problem is not the apostrophe, but
the font change in the middle of the string.  The problem arises in Catalan,
French, Italian and Romansh.")
    (license license:lppl1.3+)))

(define-public texlive-fixmath
  (package
    (name "texlive-fixmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixmath/" "source/latex/fixmath/"
                                     "tex/latex/fixmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15vwikvxxd8wagbfxjb1am3savciyppkq0bdk3zdxp09zg0dx2ra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixmath")
    (synopsis "Make maths comply with ISO 31-0:1992 to ISO 31-13:1992")
    (description
     "LaTeX's default style of typesetting mathematics does not comply with
the International Standards ISO 31-0:1992 to ISO 31-13:1992 which require that
uppercase Greek letters always be typset upright, as opposed to italic (even
though they usually represent variables) and allow for typsetting of variables
in a boldface italic style (even though the required fonts are available).
This package ensures that uppercase Greek be typeset in italic style, that
upright @samp{$\\Delta$} and @samp{$\\Omega$} symbols are available through
the commands @code{\\upDelta} and @code{\\upOmega}; and provides a new math
alphabet @code{\\mathbold} for boldface italic letters, including Greek.")
    (license license:lppl1.3c)))

(define-public texlive-fnspe
  (package
    (name "texlive-fnspe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fnspe/" "tex/latex/fnspe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wvr0jp8qyrrx907diphgjzvgq0alc922bmx905sndnwqzfl8fhd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fnspe")
    (synopsis "Macros for supporting mainly students of FNSPE CTU in Prague")
    (description
     "This package is primary intended for students of FNSPE CTU in Prague but
many other students or scientists can found this package as useful.  This
package implements different standards of tensor notation, interval notation
and complex notation.  Further many macros and shortcuts are added, e.g., for
spaces, operators, physics unit, etc.")
    (license license:lppl)))

(define-public texlive-foekfont
  (package
    (name "texlive-foekfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/foekfont/"
                                     "fonts/map/dvips/foekfont/"
                                     "fonts/tfm/public/foekfont/"
                                     "fonts/type1/public/foekfont/"
                                     "tex/latex/foekfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01l6mj5dh52cdaqdkv74j8qw2pfd6w7x53n856vsjgdha4r8362y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/foekfont")
    (synopsis "Title font of the @emph{Mads Fok} magazine")
    (description
     "The bundle provides the Foek font, an Adobe Type 1 font, and LaTeX
support for its use.")
    (license license:gpl3+)))

(define-public texlive-fonetika
  (package
    (name "texlive-fonetika")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fonetika/"
                                     "fonts/afm/public/fonetika/"
                                     "fonts/map/dvips/fonetika/"
                                     "fonts/tfm/public/fonetika/"
                                     "fonts/truetype/public/fonetika/"
                                     "fonts/type1/public/fonetika/"
                                     "tex/latex/fonetika/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d19a9v3innfq9602w8rd2ffn0yd52fz4wmdva6qnix0jgadc1ka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonetika")
    (synopsis "Support for the Danish Dania phonetic system")
    (description
     "Fonetika Dania is a font bundle with a serif font and a sans serif font
for the Danish phonetic system Dania.  Both fonts exist in regular and bold
weights.  LaTeX support is provided.")
    ;; The license is GPL3+, except for the fonts and metrics of the Fonetika
    ;; Dania Iwonae, which are under GUST Font Nosource License.
    (license (list license:gpl3+ license:gfl1.0))))

(define-public texlive-fontawesome
  (package
    (name "texlive-fontawesome")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontawesome/"
                                     "fonts/enc/dvips/fontawesome/"
                                     "fonts/map/dvips/fontawesome/"
                                     "fonts/opentype/public/fontawesome/"
                                     "fonts/tfm/public/fontawesome/"
                                     "fonts/type1/public/fontawesome/"
                                     "tex/latex/fontawesome/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3wl0jc00h8r4w3fa5vkf062hmaadb2rvf3x9lm4pb0c99ia5x9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontawesome")
    (synopsis "Font containing web-related icons")
    (description
     "The package offers access to the large number of web-related icons
provided by the FontAwesome font.")
    (license license:lppl1.3+)))

(define-public texlive-fontawesome5
  (package
    (name "texlive-fontawesome5")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontawesome5/"
                                     "fonts/enc/dvips/fontawesome5/"
                                     "fonts/map/dvips/fontawesome5/"
                                     "fonts/opentype/public/fontawesome5/"
                                     "fonts/tfm/public/fontawesome5/"
                                     "fonts/type1/public/fontawesome5/"
                                     "tex/latex/fontawesome5/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17cfqa2jjg3lp0damwy8kfdihmchx55994rrc897kcdba865rrwg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontawesome5")
    (synopsis "Font Awesome 5 with LaTeX support")
    (description
     "This package provides LaTeX support for the included Font Awesome 5 icon
set.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-fontmfizz
  (package
    (name "texlive-fontmfizz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontmfizz/"
                                     "fonts/truetype/public/fontmfizz/"
                                     "tex/latex/fontmfizz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z0k7n1yyisv3igw77bj3r8hywyz55ciylb3fjx9dpdcrwv3kngd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontmfizz")
    (synopsis "Font Mfizz icons for use in LaTeX")
    (description
     "The MFizz font provides scalable vector icons representing programming
languages, operating systems, software engineering, and technology.  It can be
seen as an extension to FontAwesome.")
    (license license:expat)))

(define-public texlive-fontsize
  (package
    (name "texlive-fontsize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fontsize/"
                                     "source/latex/fontsize/"
                                     "tex/latex/fontsize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y061r4hadb2c26dgch6lrjw6f4j87zj1gj5lgzgx0hyyz58snqy"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'fix-circular-dependency
                 ;; Documentation doesn't build, and generates a circular
                 ;; dependency with BIBLATEX-PHILOSOPHY package.  Since we're
                 ;; not interested in re-building the whole documentation,
                 ;; just skip that part.
                 (lambda _
                   (substitute* "source/latex/fontsize/fontsize.dtx"
                     (("\\[style=philosophy-classic\\]") "")
                     (("\\\\DocInput\\{fontsize\\.dtx\\}") "")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-biblatex
                  texlive-booktabs
                  texlive-caption
                  texlive-cochineal
                  texlive-csquotes
                  texlive-etoolbox
                  texlive-fontaxes
                  texlive-guitlogo
                  texlive-hologo
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-libertine
                  texlive-listings
                  texlive-ltxdockit
                  texlive-manfnt
                  texlive-mathalpha
                  texlive-mdframed
                  texlive-metalogo
                  texlive-microtype
                  texlive-needspace
                  texlive-newtx
                  texlive-parskip
                  texlive-pgf
                  texlive-sectsty
                  texlive-siunitx
                  texlive-tabu
                  texlive-upquote
                  texlive-xcolor
                  texlive-xkeyval
                  texlive-xstring
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/fontsize")
    (synopsis
     "Small package to set arbitrary sizes for the main font of the document")
    (description
     "The package allows you to set arbitrary sizes for the main font of the
document, through the @emph{fontsize=<size>} option.")
    (license license:lppl1.3+)))

(define-public texlive-fonttable
  (package
    (name "texlive-fonttable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fonttable/"
                                     "source/latex/fonttable/"
                                     "tex/latex/fonttable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mb83zzx5wk92x6zz28k42wmi82hyd1h7fb3p9imjssn6qb73356"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonttable")
    (synopsis "Print font tables from a LaTeX document")
    (description
     "This is a package version of @file{nfssfont.tex}; it enables you to
print a table of the characters of a font and/or some text (for demonstration
or testing purposes), from within a document.")
    (license license:lppl1.3c)))

(define-public texlive-footbib
  (package
    (name "texlive-footbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footbib/" "source/latex/footbib/"
                                     "tex/latex/footbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kv8nh82b16bmhxh2291ahznhjgm5g4qskqwdba66w48wkhzr32j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footbib")
    (synopsis "Bibliographic references as footnotes")
    (description
     "The package makes bibliographic references appear as footnotes.  It
defines a command @code{\\footcite} which is similar to the LaTeX
@code{\\cite} command but the references cited in this way appear at the
bottom of the pages.  This @code{foot} bibliography does not conflict with the
standard one and both may exist simultaneously in a document.  The command
@code{\\cite} may still be used to produce the standard bibliography.  The
@code{foot} bibliography uses its own style and bibliographic database which
may be specified independently of the standard one.  Any standard bibliography
style may be used.")
    (license license:lppl)))

(define-public texlive-formal-grammar
  (package
    (name "texlive-formal-grammar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/formal-grammar/"
                                     "source/latex/formal-grammar/"
                                     "tex/latex/formal-grammar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00vr0gdz6jikdycsbfn7n8ddb8391h9fl314vjf8yxz25rn75qz4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/formal-grammar")
    (synopsis "Typeset formal grammars")
    (description
     "This package provides a new environment and associated commands to
typeset BNF grammars.  It allows to easily write formal grammars.  Its
original motivation was to typeset grammars for beamer presentations,
therefore, there are macros to emphasize or downplay some parts of the
grammar (which is the main novelty compared to other BNF packages).")
    (license license:lppl1.3+)))

(define-public texlive-formation-latex-ul
  (package
    (name "texlive-formation-latex-ul")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/formation-latex-ul/"
                                     "source/latex/formation-latex-ul/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c8c7sdzfrqld0nq8s3xmdxlskws37mjg9z4ag9i82z4kr1ffb56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/formation-latex-ul")
    (synopsis "Introductory LaTeX course in French")
    (description
     "This package contains the supporting documentation, slides, exercise files,
and templates for an introductory LaTeX course (in French) prepared for
Universite Laval, Quebec, Canada.")
    (license license:cc-by4.0)))

(define-public texlive-forum
  (package
    (name "texlive-forum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/forum/"
                                     "fonts/enc/dvips/forum/"
                                     "fonts/map/dvips/forum/"
                                     "fonts/opentype/public/forum/"
                                     "fonts/tfm/public/forum/"
                                     "fonts/type1/public/forum/"
                                     "fonts/vf/public/forum/"
                                     "tex/latex/forum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07sbzd2da3i5adlbgrrxd7igyailzjwxvr3pcwmb9wl9jry1gg9m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/forum")
    (synopsis "Forum fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Forum font, designed by Denis Masharov.  Forum has antique, classic Roman
proportions.  It can be used to set body texts and works well in titles and
headlines too.  It is truly multilingual, with glyphs for Central and Eastern
Europe, Baltics, Cyrillic and Asian Cyrillic communities.  There is currently
just a regular weight and an artificially emboldened bold.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-fouridx
  (package
    (name "texlive-fouridx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fouridx/" "source/latex/fouridx/"
                                     "tex/latex/fouridx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mlinh47gcazi3icyvkixhdkwd1wkpffq8snabhh4bjsvh6m8sxz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fouridx")
    (synopsis "Left sub- and superscripts in maths mode")
    (description
     "The package enables left subscripts and superscripts in maths mode.  The
sub- and superscripts are raised for optimum fitting to the symbol indexed, in
such a way that left and right sub- and superscripts are set on the same
level, as appropriate.  The package provides an alternative to the use of the
@code{\\sideset} command in the @code{amsmath} package.")
    (license license:lppl)))

(define-public texlive-fouriernc
  (package
    (name "texlive-fouriernc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fouriernc/"
                                     "fonts/afm/public/fouriernc/"
                                     "fonts/tfm/public/fouriernc/"
                                     "fonts/vf/public/fouriernc/"
                                     "tex/latex/fouriernc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gg9l6zvyi98jg1w7z33pxsnmh7lqjcs2zakhj3pbv2q7ysxnppw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fouriernc")
    (synopsis "Use New Century Schoolbook text with Fourier maths fonts")
    (description
     "This package provides a LaTeX mathematics font setup for use with New
Century Schoolbook text.")
    (license license:lppl)))

(define-public texlive-francais-bst
  (package
    (name "texlive-francais-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/francais-bst/"
                                     "doc/bibtex/francais-bst/"
                                     "source/bibtex/francais-bst/"
                                     "tex/latex/francais-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07a0kqdwg9bzf1kgw11xn2344qdj52kgjc1iqz61hpirqlwfgw8s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/francais-bst")
    (synopsis "Bibliographies conforming to French typographic standards")
    (description
     "The package provides bibliographies (in French) conforming to the rules
in @emph{Guide de la communication ecrite} (Malo, M., Quebec Amerique, 1996).
The BibTeX styles were generated using @code{custom-bib} and they are
compatible with @code{natbib}.")
    (license license:lppl1.3+)))

(define-public texlive-frcursive
  (package
    (name "texlive-frcursive")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/frcursive/"
                                     "fonts/map/dvips/frcursive/"
                                     "fonts/source/public/frcursive/"
                                     "fonts/tfm/public/frcursive/"
                                     "fonts/type1/public/frcursive/"
                                     "tex/latex/frcursive/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04pqic407b0pfri5sydhbani0fxw0bxy3fl6x4isg2m2z73p4qqa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/frcursive")
    (synopsis "French cursive hand fonts")
    (description
     "This package provides a hand-writing font in the style of the French
academic running-hand.  The font was written in Metafont and has been
converted to Adobe Type 1 format.  LaTeX support is provided.")
    (license license:lppl1.2+)))

(define-public texlive-frederika2016
  (package
    (name "texlive-frederika2016")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/frederika2016/"
                                     "fonts/opentype/public/frederika2016/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10pvx4n4ahn8b251fzz8crg9pijpclan5w4b6jc7m7jjsykzw8xj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frederika2016")
    (synopsis "OpenType Greek calligraphy font")
    (description
     "Frederika2016 is an attempt to digitize Hermann Zapf's Frederika font.
The font is the Greek companion of Virtuosa by the same designer.  This font
is a calligraphy font and this is an initial release.")
    (license license:silofl1.1)))

(define-public texlive-frenchmath
  (package
    (name "texlive-frenchmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frenchmath/"
                                     "source/latex/frenchmath/"
                                     "tex/latex/frenchmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03z3dgdv8kcgwv5bilqavfc17lhhz9ybqcp3kawqyra55grlz5mb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frenchmath")
    (synopsis "Typesetting mathematics according to French rules")
    (description
     "The package provides:

@itemize
@item capital letters in roman (upright shape) in mathematical mode according
to French rule (can be optionally disabled),
@item optionally lowercase Greek letters in upright shape,
@item correct spacing in math mode after commas, before a semicolon and around
square brackets,
@item some useful macros and aliases for symbols used in France such as
@code{\\infeg}, @code{\\supeg}, @code{\\paral}, @item several macros for
writing french operator names like @emph{pgcd}, @emph{ppcm}, @emph{Card},
@emph{rg}, @emph{Vect}.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-frimurer
  (package
    (name "texlive-frimurer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/frimurer/"
                                     "fonts/afm/public/frimurer/"
                                     "fonts/enc/dvips/frimurer/"
                                     "fonts/tfm/public/frimurer/"
                                     "fonts/type1/public/frimurer/"
                                     "source/fonts/frimurer/"
                                     "tex/latex/frimurer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "072mbcn6272rs1sw85xznk0f7psqh3dkz8y0hayn8y7a83vcrfgr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frimurer")
    (synopsis "Access to the @emph{frimurer} cipher for use with LaTeX")
    (description
     "This package provides access to the @emph{frimurer} cipher for use with
LaTeX.")
    (license license:gpl3)))

(define-public texlive-frletter
  (package
    (name "texlive-frletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frletter/" "tex/latex/frletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8lsfmv0icb616kwhkqqbfh64l43vwc63p4bl8sw9xy2lfal5xm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frletter")
    (synopsis "Typeset letters in the French style")
    (description
     "This package provides a small class for typesetting letters in France.
No assumption is made about the language in use.  The class represents a small
modification of the @code{beletter} class, which is itself a modification of
the standard LaTeX @code{letter} class.")
    (license license:public-domain)))

(define-public texlive-frontespizio
  (package
    (name "texlive-frontespizio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frontespizio/"
                                     "source/latex/frontespizio/"
                                     "tex/latex/frontespizio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17xqq0n2b0acpqq2hd5c5qi5fsrhyjwm1c452i3rbdmf1xkqvkvy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frontespizio")
    (synopsis "Create a frontispiece for Italian theses")
    (description
     "Typesetting a frontispiece independently of the layout of the main
document is difficult.  This package provides a solution by producing an
auxiliary TeX file to be typeset on its own and the result is automatically
included at the next run.  The markup necessary for the frontispiece is
written in the main document in a @code{frontespizio} environment.
Documentation is mainly in Italian, as the style is probably apt only to
theses in Italy.")
    (license license:lppl)))

(define-public texlive-frpseudocode
  (package
    (name "texlive-frpseudocode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frpseudocode/"
                                     "tex/latex/frpseudocode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jsrx1slbbqx9hg0a3f7xylxfly2cinw2g5vhhvvgxpp356v6ick"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frpseudocode")
    (synopsis "French translation for the @code{algorithmicx} package")
    (description
     "This package is intended for use alongside @code{algorithmicx} package.
Its aim is to provide a French translation of terms and words used in
algorithms to make it integrate seamlessly in a French written document.")
    (license license:lppl1.3c)))

(define-public texlive-ftc-notebook
  (package
    (name "texlive-ftc-notebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ftc-notebook/"
                                     "tex/latex/ftc-notebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "068fc2wisryvgr8zqmkiwnyrrh5rmmw5njl41rn70bvv9qdgh31y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ftc-notebook")
    (synopsis "Typeset FIRST Tech Challenge (FTC) notebooks")
    (description
     "This LaTeX package will greatly simplify filling entries for your FIRST
Tech Challenge (FTC) engineering or outreach notebook.  We developed this
package to support most frequently used constructs encountered in an FTC
notebook: meetings, tasks, decisions with pros and cons, tables, figures with
explanations, team stories and bios, and more.")
    (license license:lppl1.3+)))

(define-public texlive-functan
  (package
    (name "texlive-functan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/functan/" "source/latex/functan/"
                                     "tex/latex/functan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "077jfm145bnan63r1rlqlmy15zqj89fl4nwksdpyd67zcda3k1vf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/functan")
    (synopsis "Macros for functional analysis and PDE theory")
    (description
     "This package provides a convenient and coherent way to deal with name of
functional spaces (mainly Sobolev spaces) in functional analysis and PDE
theory.  It also provides a set of macros for dealing with norms, scalar
products and convergence with some object oriented flavor (it gives the
possibility to override the standard behavior of norms, ...).")
    (license license:lppl)))

(define-public texlive-gaceta
  (package
    (name "texlive-gaceta")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gaceta/" "tex/latex/gaceta/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17w2i3qmks9qpdwpx0hy0mjrl5xhrc8hmz9s0229xnhf6h12yb1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gaceta")
    (synopsis "Class to typeset @code{La Gaceta de la RSME}")
    (description
     "The class will typeset papers for @emph{La Gaceta de la Real Sociedad
Matematica Espanola}.")
    (license license:lppl)))

(define-public texlive-gamebook
  (package
    (name "texlive-gamebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gamebook/"
                                     "source/latex/gamebook/"
                                     "tex/latex/gamebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ksyr0hb1bfhc1lbbnzlj7ih8xw516djkn0lddnn07sb6hpzl8x4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gamebook")
    (synopsis "Typeset gamebooks and other interactive novels")
    (description
     "This package provides the means in order to lay-out gamebooks with LaTeX.
A simple gamebook example is included with the package, and acts as
a tutorial.")
    (license license:lppl1.3+)))

(define-public texlive-gamebooklib
  (package
    (name "texlive-gamebooklib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gamebooklib/"
                                     "source/latex/gamebooklib/"
                                     "tex/latex/gamebooklib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j85xsvsw6xlkjr6z1qrbsld4kddhbcrbbsw9ci6azr6w47bh5vd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gamebooklib")
    (synopsis "Macros for setting numbered entries in shuffled order")
    (description
     "This package provides macros and environments to allow the user to
typeset a series of cross-referenced, numbered entries, shuffled into random
order, to produce an interactive novel or @dfn{gamebook}.  This allows entries
to be written in natural order and shuffled automatically into a repeatable
non-linear order.  Limited support is provided for footnotes to appear at the
natural position: the end of each entry, or the end of each page, whichever is
closest to the footnote mark.

This is unrelated to the @code{gamebook} package which is more concerned with
the formatting of entries rather than their order.  The two packages can be
used together or separately.")
    (license license:lppl1.3+)))

(define-public texlive-gammas
  (package
    (name "texlive-gammas")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/gammas/" "doc/latex/gammas/"
                                     "tex/latex/gammas/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jj8lbwlydsih01d637zxpj97ncd44qmf7azgpzn77s8fi760p8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gammas")
    (synopsis "Template for the @emph{GAMM Archive for Students}")
    (description
     "This is the official document class for typesetting journal articles for
@emph{GAMM Archive for Students}, the open-access online journal run by the
@acronym{GAMM, Gesellschaft fur angewandte Mathematik und Mechanik} Juniors.")
    (license license:lppl1.3c)))

(define-public texlive-garamond-libre
  (package
    (name "texlive-garamond-libre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/garamond-libre/"
                                     "fonts/enc/dvips/garamond-libre/"
                                     "fonts/map/dvips/garamond-libre/"
                                     "fonts/opentype/public/garamond-libre/"
                                     "fonts/tfm/public/garamond-libre/"
                                     "fonts/type1/public/garamond-libre/"
                                     "fonts/vf/public/garamond-libre/"
                                     "tex/latex/garamond-libre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mmfxpdy2r5wd51b8f2l0qb7d6nncypzfs4bmimcm68s4l0rzsw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/garamond-libre")
    (synopsis "Garamond Libre font face")
    (description
     "Garamond Libre is an old-style font family.  It is a true Garamond,
i.e., it is based off the designs of 16th-century French engraver Claude
Garamond (also spelled Garamont).  The Roman design is Garamond's; the italics
are from a design by Robert Granjon.  The upright Greek font is after a design
by Firmin Didot; the italic Greek font is after a design by Alexander Wilson.
The font family includes support for Latin, Greek (monotonic and polytonic)
and Cyrillic scripts, as well as small capitals, old-style figures, superior
and inferior figures, historical ligatures, Byzantine musical symbols, the IPA
and swash capitals.")
    (license (list license:expat license:lppl))))

(define-public texlive-garamond-math
  (package
    (name "texlive-garamond-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/garamond-math/"
                                     "fonts/opentype/public/garamond-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ay8qmcn8glzn0bpg4qqs3k6dr9h7lljal239qvxfvg1fzj76h4n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/garamond-math")
    (synopsis "An OTF math font matching EB Garamond")
    (description
     "Garamond-Math is an OpenType math font matching EB Garamond (Octavio
Pardo) and EB Garamond (Georg Mayr-Duffner).  Many mathematical symbols are
derived from other fonts, others are made from scratch.")
    (license license:silofl1.1)))

(define-public texlive-gastex
  (package
    (name "texlive-gastex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gastex/" "dvips/gastex/"
                                     "tex/latex/gastex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l56wi6z5zm7sks2pa3yvamkfxsz53ziprnpr0ay141z0l8bd3rl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gastex")
    (synopsis "Graphs and Automata Simplified in TeX")
    (description
     "GasTeX is a set of LaTeX macros which enable the user to draw graphs, automata,
nets, diagrams, etc., very easily, in the LaTeX @code{picture} environment.")
    (license license:lppl)))

(define-public texlive-gb4e
  (package
    (name "texlive-gb4e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gb4e/" "tex/latex/gb4e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pi6n59v8vrrm2qaff8z28kwb0xa6nykgrfi9r0lxc8f1d2r5k7f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gb4e")
    (synopsis "Linguistic tools")
    (description
     "This package provides an environment for linguistic examples, tools for
glosses, and various other goodies.")
    (license license:lppl1.2+)))

(define-public texlive-gbt7714
  (package
    (name "texlive-gbt7714")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/gbt7714/" "doc/bibtex/gbt7714/"
                                     "source/bibtex/gbt7714/"
                                     "tex/latex/gbt7714/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pmkbh0axh0qnc08fjn5g7pbw59n543siy4l9q3bihnyid11i5qp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bibtex texlive-natbib texlive-url))
    (home-page "https://ctan.org/pkg/gbt7714")
    (synopsis "China's bibliography style standard GB/T 7714-2015 for BibTeX")
    (description
     "The package provides a BibTeX implementation for the Chinese national
bibliography style standard GB/T 7714-2015.  It consists of two @file{.bst}
files for numerical and author-year styles as well as a LaTeX package which
provides the citation style defined in the standard.

The package is compatible with @code{natbib} and supports language
detection (Chinese and English) for each biblilography entry.")
    (license license:lppl1.3c)))

(define-public texlive-gchords
  (package
    (name "texlive-gchords")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gchords/" "tex/latex/gchords/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wchfk25v6rh5nffjyn8bypwjsqc9pi2rjrw3np65a0sxxc0sl1v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gchords")
    (synopsis "Typeset guitar chords")
    (description
     "This package provides a LaTeX package for typesetting of guitar chord
diagrams, including options for chord names, finger numbers and typesetting
above lyrics.  The bundle also includes a TCL script (@file{chordbox.tcl})
that provides a graphical application which creates LaTeX files that use
@file{gchords.sty}.")
    (license license:gpl3+)))

(define-public texlive-gene-logic
  (package
    (name "texlive-gene-logic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gene-logic/"
                                     "tex/latex/gene-logic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13nibrf1f1w92ia7fj8yfa44w9c5wiyy1ndaby5p6bbjdjcxhyv9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gene-logic")
    (synopsis "Typeset logic formulae, etc")
    (description
     "The package provides a facility to typeset certain logic formulae.  It
provides an environment like @code{eqnarray}, a @code{newtheorem}-like
environment (NewTheorem), and several macros.")
    (license license:isc)))

(define-public texlive-genealogy
  (package
    (name "texlive-genealogy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/genealogy/"
                                     "fonts/source/public/genealogy/"
                                     "fonts/tfm/public/genealogy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "155ifff77s5cwjk1gkib7gcdx1mcrzzbca35mm8f9w5rzg1d5x7k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/genealogy")
    (synopsis "Compilation of genealogy fonts")
    (description
     "This package provides a simple compilation of the genealogical symbols
found in the @code{wasy} and @code{gen} fonts, adding the male and female
symbols to Knuth's @code{gen} font, and so avoiding loading two fonts when you
need only genealogical symbols.  The font is distributed as Metafont source.")
    (license license:lppl)))

(define-public texlive-geradwp
  (package
    (name "texlive-geradwp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/geradwp/" "source/latex/geradwp/"
                                     "tex/latex/geradwp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g2kh2wdlf6y8wvs7r1zl2ws8ysrjzsk1k0032jci8ik9kx9wlg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/geradwp")
    (synopsis "Document class for the @emph{Cahiers du GERAD} series")
    (description
     "This package provides the @code{geradwp} class, a class based on
@code{article} and compatible with LaTeX.  With this class, researchers at
GERAD will be able to write their working paper while complying to all the
presentation standards required by the @emph{Cahiers du GERAD} series.")
    (license license:lppl1.3c)))

(define-public texlive-geschichtsfrkl
  (package
    (name "texlive-geschichtsfrkl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/geschichtsfrkl/"
                                     "source/latex/geschichtsfrkl/"
                                     "tex/latex/geschichtsfrkl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mplym0rkfl8pxzw31m1p117pbfz1s59180bhbwi2wgj4225p4w7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/geschichtsfrkl")
    (synopsis "BibLaTeX style for historians")
    (description
     "The package provides a BibLaTeX style, (mostly) meeting the requirements
of the History Faculty of the University of Freiburg (Germany).")
    (license license:lppl)))

(define-public texlive-gfdl
  (package
    (name "texlive-gfdl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gfdl/" "source/latex/gfdl/"
                                     "tex/latex/gfdl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yiyhks3097sz686sar1jnkska669hp7v2sv1fm7n0d4j00zm816"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfdl")
    (synopsis "Support for using GFDL in LaTeX")
    (description
     "The @acronym{GFDL, GNU Free Documentation License} is a popular license
used for programming manuals, documentations and various other textual works
too, but using this license with LaTeX is not very convenient.  This package
aims to help users in easily using the license without violating any rules of
the license.  With a handful of commands, users can rest assured that their
document will be perfectly licensed under GFDL.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-gfsartemisia
  (package
    (name "texlive-gfsartemisia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsartemisia/"
                                     "fonts/afm/public/gfsartemisia/"
                                     "fonts/enc/dvips/gfsartemisia/"
                                     "fonts/map/dvips/gfsartemisia/"
                                     "fonts/opentype/public/gfsartemisia/"
                                     "fonts/tfm/public/gfsartemisia/"
                                     "fonts/type1/public/gfsartemisia/"
                                     "fonts/vf/public/gfsartemisia/"
                                     "tex/latex/gfsartemisia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09kk65sn5wj70dksrywszdbwg2gg9wzdy9m25xj09d8k7hdirayn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsartemisia")
    (synopsis "Modern Greek font design")
    (description
     "GFS Artemisia is a relatively modern font, designed as a general purpose
font in the same sense as Times is nowadays treated.  The font supports the
Greek and Latin alphabets.  LaTeX support is provided, using the OT1, T1 and
LGR encodings.")
    (license (list license:silofl1.1 license:lppl1.0+))))

(define-public texlive-gfsbodoni
  (package
    (name "texlive-gfsbodoni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsbodoni/"
                                     "fonts/afm/public/gfsbodoni/"
                                     "fonts/enc/dvips/gfsbodoni/"
                                     "fonts/map/dvips/gfsbodoni/"
                                     "fonts/opentype/public/gfsbodoni/"
                                     "fonts/tfm/public/gfsbodoni/"
                                     "fonts/type1/public/gfsbodoni/"
                                     "fonts/vf/public/gfsbodoni/"
                                     "tex/latex/gfsbodoni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a4l6ijf7lqb8g7cz1fly3c73aq14pybr0cvpn86lsw3sg7cy9jk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsbodoni")
    (synopsis "Greek and Latin font based on Bodoni")
    (description
     "Bodoni's Greek fonts in the 18th century broke, for the first time,
with the Byzantine cursive tradition of Greek fonts.  GFS Bodoni resurrects
his work for general use.  The font family supports both Greek and Latin
letters.  LaTeX support of the fonts is provided, offering OT1, T1 and LGR
encodings.  The fonts themselves are provided in Adobe Type 1 and OpenType
formats.")
    (license license:silofl1.1)))

(define-public texlive-gfscomplutum
  (package
    (name "texlive-gfscomplutum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfscomplutum/"
                                     "fonts/afm/public/gfscomplutum/"
                                     "fonts/enc/dvips/gfscomplutum/"
                                     "fonts/map/dvips/gfscomplutum/"
                                     "fonts/opentype/public/gfscomplutum/"
                                     "fonts/tfm/public/gfscomplutum/"
                                     "fonts/type1/public/gfscomplutum/"
                                     "fonts/vf/public/gfscomplutum/"
                                     "tex/latex/gfscomplutum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "018hpaijnky23brhqmqsq2zm7h5w4y42vdfawba62qlz5m1zijn1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfscomplutum")
    (synopsis "Greek font with a long history")
    (description
     "GFS Complutum derives from a minuscule-only font cut in the 16th
century.  An unsatisfactory set of majuscules were added in the early 20th
century, but its author died before he could complete the revival of the font.
The Greek Font Society has released this version, which has a new set of
majuscules.")
    (license license:silofl1.1)))

(define-public texlive-gfsdidot
  (package
    (name "texlive-gfsdidot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsdidot/"
                                     "fonts/afm/public/gfsdidot/"
                                     "fonts/enc/dvips/gfsdidot/"
                                     "fonts/map/dvips/gfsdidot/"
                                     "fonts/opentype/public/gfsdidot/"
                                     "fonts/tfm/public/gfsdidot/"
                                     "fonts/type1/public/gfsdidot/"
                                     "fonts/vf/public/gfsdidot/"
                                     "tex/latex/gfsdidot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sh1xv2fvb0y9vfzl0wl8fps4474fkvvh82fbqgfm83ri8h8p4ck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsdidot")
    (synopsis "Greek font based on Didot's work")
    (description
     "The design of Didot's 1805 Greek typeface was influenced by the
neoclassical ideals of the late 18th century.  The font was brought to Greece
at the time of the 1821 Greek Revolution, by Didot's son, and was very widely
used.  The font supports the Greek alphabet, and is accompanied by a matching
Latin alphabet based on Zapf's Palatino.  LaTeX support is provided, using the
OT1, T1, TS1, and LGR encodings.")
    (license license:silofl1.1)))

(define-public texlive-gfsdidotclassic
  (package
    (name "texlive-gfsdidotclassic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsdidotclassic/"
                                     "fonts/opentype/public/gfsdidotclassic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cpsmgrq2x6ym9xb63msvm6pc4p2qyi2k40hmxmzhi979ch8gkaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsdidotclassic")
    (synopsis "Classic version of GFSDidot")
    (description
     "This is the classic version of GFSDidot provided for Unicode TeX
engines.")
    (license license:silofl1.1)))

(define-public texlive-gfsneohellenic
  (package
    (name "texlive-gfsneohellenic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsneohellenic/"
                                     "fonts/afm/public/gfsneohellenic/"
                                     "fonts/enc/dvips/gfsneohellenic/"
                                     "fonts/map/dvips/gfsneohellenic/"
                                     "fonts/opentype/public/gfsneohellenic/"
                                     "fonts/tfm/public/gfsneohellenic/"
                                     "fonts/type1/public/gfsneohellenic/"
                                     "fonts/vf/public/gfsneohellenic/"
                                     "tex/latex/gfsneohellenic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "109zgqj63ffryy42zi64p6r37jmzj5ma3d8bgn7mz3gc2scr1bpc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsneohellenic")
    (synopsis "Font in the Neo-Hellenic style")
    (description
     "The Neo-Hellenic style evolved in academic circles in the 19th and 20th
century; the present font follows a cut commissioned from Monotype in 1927.
The font supports both Greek and Latin characters, and has been adjusted to
work well with the @code{cmbright} fonts for mathematics support.  LaTeX
support of the fonts is provided, offering OT1, T1 and LGR encodings.")
    (license license:silofl1.1)))

(define-public texlive-gfsneohellenicmath
  (package
    (name "texlive-gfsneohellenicmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsneohellenicmath/"
                                     "fonts/opentype/public/gfsneohellenicmath/"
                                     "tex/latex/gfsneohellenicmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08yzv6qww3qvbg8bp4k8ibd46j1a41ysw4k8fi5nazchf3py7qb0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsneohellenicmath")
    (synopsis "Math font in the Neo-Hellenic style")
    (description
     "The GFSNeohellenic font, a historic font first designed by Victor
Scholderer, now has native support for Mathematics.  A useful application is
in Beamer documents since this is a sans math font.")
    (license license:silofl1.1)))

(define-public texlive-gfssolomos
  (package
    (name "texlive-gfssolomos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfssolomos/"
                                     "fonts/afm/public/gfssolomos/"
                                     "fonts/enc/dvips/gfssolomos/"
                                     "fonts/map/dvips/gfssolomos/"
                                     "fonts/opentype/public/gfssolomos/"
                                     "fonts/tfm/public/gfssolomos/"
                                     "fonts/type1/public/gfssolomos/"
                                     "fonts/vf/public/gfssolomos/"
                                     "tex/latex/gfssolomos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zjbmnkfnaiq7pmpv0xhp5vag2dww70049knf759lf2s0ygnmaaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfssolomos")
    (synopsis "Greek-alphabet font")
    (description
     "Solomos is a font which traces its descent from
a calligraphically-inspired font of the mid-19th century.  LaTeX support, for
use with the LGR encoding only, is provided.")
    (license license:silofl1.1)))

(define-public texlive-ghab
  (package
    (name "texlive-ghab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ghab/"
                                     "fonts/source/public/ghab/"
                                     "tex/latex/ghab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jknnlcigk6aa48xqvxd67015fxjlmmp36p52c95xrii4lv3m0zk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ghab")
    (synopsis "Typeset ghab boxes in LaTeX")
    (description
     "The package defines a command @code{\\darghab} that will typeset its
argument in a box with a decorated frame.  The width of the box may be set
using an optional argument.")
    (license license:lppl)))

(define-public texlive-ghsystem
  (package
    (name "texlive-ghsystem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ghsystem/" "tex/latex/ghsystem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a8plly9zcbym67yzk6rp5mlk12lngmhdx6c3riar2w86nlvq55l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ghsystem")
    (synopsis "Globally harmonised system of chemical (etc) naming")
    (description
     "The package provides the means to typeset all the hazard and
precautionary statements and pictograms in a straightforward way.  The
statements are taken from EU regulation 1272/2008.")
    (license license:lppl1.3+)))

(define-public texlive-gillcm
  (package
    (name "texlive-gillcm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gillcm/"
                                     "fonts/map/dvips/gillcm/"
                                     "fonts/tfm/public/gillcm/"
                                     "fonts/vf/public/gillcm/"
                                     "tex/latex/gillcm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cz6aqcq2fv6hb2yv2ymc3j6myb8y73gyqbyigabwc909fmh5qdm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gillcm")
    (synopsis "Alternative unslanted italic Computer Modern fonts")
    (description
     "This is a demonstration of the use of virtual fonts for unusual effects:
the package implements unslanted italic Computer Modern fonts.")
    (license license:bsd-3)))

(define-public texlive-gillius
  (package
    (name "texlive-gillius")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gillius/"
                                     "fonts/enc/dvips/gillius/"
                                     "fonts/map/dvips/gillius/"
                                     "fonts/opentype/arkandis/gillius/"
                                     "fonts/tfm/arkandis/gillius/"
                                     "fonts/type1/arkandis/gillius/"
                                     "fonts/vf/arkandis/gillius/"
                                     "tex/latex/gillius/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f2jr70ab5qnmla1n7iwhiw9x9q5fdzw9lcgjzji8rdqlsgq1451"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gillius")
    (synopsis "Gillius fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Gillius and Gillius No.@: 2 families of sans serif fonts and condensed
versions of them, designed by Hirwen Harendal.")
    (license (list license:gpl2+ license:lppl))))

(define-public texlive-glosmathtools
  (package
    (name "texlive-glosmathtools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glosmathtools/"
                                     "tex/latex/glosmathtools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rw194qxxf38fp1xczzjvsa6vb0jxz88cgc2s5fqx2k4fwg989kh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glosmathtools")
    (synopsis
     "Mathematical nomenclature tools based on the @code{glossaries} package")
    (description
     "This package can be used to generate a mathematical nomenclature (also
called list of symbols or notation).  It is based on the @code{glossaries}
package.  Its main features are:

@itemize
@item symbol categories (e.g., latin, greek),
@item automatic but customizable symbol sorting,
@item easy subscript management,
@item easy accentuation management,
@item abbreviation support (with first use definition),
@item bilingual nomenclatures (for bilingual documents),
@item bilingual abbreviations.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-gloss-occitan
  (package
    (name "texlive-gloss-occitan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gloss-occitan/"
                                     "source/latex/gloss-occitan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h9w7gk7klwhackx30c7wa2xv23jy2r75zvgs22crhv40h8blj3f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gloss-occitan")
    (synopsis "Polyglossia support for Occitan")
    (description
     "This package provides Occitan language description file for
Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries
  (package
    (name "texlive-glossaries")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries/"
                                     "doc/man/man1/makeglossaries-lite.1"
                                     "doc/man/man1/makeglossaries-lite.man1.pdf"
                                     "doc/man/man1/makeglossaries.1"
                                     "doc/man/man1/makeglossaries.man1.pdf"
                                     "scripts/glossaries/"
                                     "source/latex/glossaries/"
                                     "tex/latex/glossaries/base/"
                                     "tex/latex/glossaries/expl/"
                                     "tex/latex/glossaries/rollback/"
                                     "tex/latex/glossaries/styles/"
                                     "tex/latex/glossaries/test-entries/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pnmvrs927p35b3p7kbqvrrhz244aw44y1ziv7w7616igl1bblnx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "makeglossaries" "makeglossaries-lite.lua")))
    (inputs (list perl))
    (propagated-inputs
     (list texlive-amsmath
           texlive-datatool
           texlive-etoolbox
           texlive-mfirstuc
           texlive-tracklang
           texlive-xfor
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/glossaries")
    (synopsis "Create glossaries and lists of acronyms")
    (description
     "The glossaries package supports acronyms and multiple glossaries, and has
provision for operation in several languages (using the facilities of either
Babel or Polyglossia).  New entries are defined to have a name and description
(and optionally an associated symbol).  Support for multiple languages is
offered, and plural forms of terms may be specified.  An additional package,
@code{glossaries-accsupp}, can make use of the @code{accsupp} package
mechanisms for accessibility support for PDF files containing glossaries.  The
user may define new glossary styles, and preambles and postambles can be
specified.  There is provision for loading a database of terms, but only terms
used in the text will be added to the relevant glossary.

The package uses an indexing program to provide the actual glossary; either
MakeIndex or Xindy may serve this purpose, and a Perl script is provided to
serve as interface.  The package supersedes @code{glossary} package (which is
now obsolete).")
    (license license:lppl1.3+)))

(define-public texlive-gmverse
  (package
    (name "texlive-gmverse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmverse/" "tex/latex/gmverse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13vs1w9pfl4is5f5papwqqm83kmb17d4z7gv8nxkswnav9v5cl56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmverse")
    (synopsis "Package for typesetting (short) poems")
    (description
     "This package provides a redefinition of the @code{verse} environment to
make the @code{\\\\} command optional for line ends and to give it
a possibility of optical centering and right-hanging alignment of lines broken
because of length.")
    (license license:lppl)))

(define-public texlive-gnu-freefont
  (package
    (name "texlive-gnu-freefont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gnu-freefont/"
                                     "fonts/opentype/public/gnu-freefont/"
                                     "fonts/truetype/public/gnu-freefont/"
                                     "source/fonts/gnu-freefont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14bq8i7n6zhy8352pmhd5d9l4p152c6bgarz17wfp2p00kzs47aw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gnu-freefont")
    (synopsis "Unicode font, with rather wide coverage")
    (description
     "The package provides a set of outline (i.e., OpenType} fonts covering as
much as possible of the Unicode character set.  The set consists of three
typefaces: one monospaced and two proportional (one with uniform and one with
modulated stroke).")
    (license license:gpl3)))

(define-public texlive-go
  (package
    (name "texlive-go")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/go/" "fonts/source/public/go/"
                                     "fonts/tfm/public/go/" "source/fonts/go/"
                                     "tex/latex/go/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cvxfz9m7fx62iiz00f7qlywrmwwnpk0xzlyv63c90ji9xzfawcv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/go")
    (synopsis "Fonts and macros for typesetting go games")
    (description
     "The macros provide for nothing more complicated than the standard
19x19 board; the fonts are written in Metafont.")
    (license license:public-domain)))

(define-public texlive-gofonts
  (package
    (name "texlive-gofonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gofonts/"
                                     "fonts/enc/dvips/gofonts/"
                                     "fonts/map/dvips/gofonts/"
                                     "fonts/tfm/bh/gofonts/"
                                     "fonts/truetype/bh/gofonts/"
                                     "fonts/type1/bh/gofonts/"
                                     "fonts/vf/bh/gofonts/"
                                     "tex/latex/gofonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ysxm10xwg6cc781gdppidq1s87bqli4x6shkarjl29pxcncn61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gofonts")
    (synopsis "GoSans and GoMono fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the GoSans and GoMono families of fonts designed by the Bigelow & Holmes
foundry.  GoSans is available in three weights: Regular, Medium, and
Bold (with corresponding italics).  GoMono is available in regular and bold,
with italics.")
    (license (list license:bsd-3 license:lppl))))

(define-public texlive-gost
  (package
    (name "texlive-gost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/gost/" "bibtex/csf/gost/"
                                     "doc/bibtex/gost/" "source/bibtex/gost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rsqk4r1r741ggvpgg7g51knlaqrrdq9g8yiix66vx3n5v1arp26"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gost")
    (synopsis "BibTeX styles to format according to GOST")
    (description
     "This package provides BibTeX styles to format bibliographies in English,
Russian or Ukrainian according to GOST 7.0.5-2008 or GOST 7.1-2003.  Both
8-bit and Unicode (UTF-8) versions of each @code{BibTeX} style, in each case
offering a choice of sorted and unsorted.  Further, a set of three
styles (which do not conform to current standards) are retained for backwards
compatibility.")
    (license license:lppl1.3c)))

(define-public texlive-gothic
  (package
    (name "texlive-gothic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gothic/"
                                     "fonts/source/public/gothic/"
                                     "fonts/tfm/public/gothic/"
                                     "source/fonts/gothic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08hqp2a0ch67d38p2jca6cvx72vc6dagb04a9w6ff7dniqp6gps2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Strange path (turning
    ;; number is zero)." error.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/gothic")
    (synopsis "Collection of old German-style fonts")
    (description
     "This package provides a collection of fonts that reproduce those used in
old German printing and handwriting.  The set comprises Gothic, Schwabacher
and Fraktur fonts, a pair of handwriting fonts, Sutterlin and Schwell, and
a font containing decorative initials.  In addition, there are two re-encoding
packages for Haralambous's fonts, providing T1, using virtual fonts, and OT1
and T1, using Metafont.")
    ;; This is a collection of packages, with various licenses.
    (license (list license:lppl1.2+ license:lppl1.3c license:public-domain))))

(define-public texlive-gotoh
  (package
    (name "texlive-gotoh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gotoh/" "source/latex/gotoh/"
                                     "tex/latex/gotoh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h08ygzlhv1mpd27yfv8slvgfwa250z7alpv99p6768jafysp3k9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gotoh")
    (synopsis "Implementation of the Gotoh sequence alignment algorithm")
    (description
     "This package calculates biological sequence alignment with the Gotoh algorithm.
The package also provides an interface to control various settings including
algorithm parameters.")
    (license license:expat)))

(define-public texlive-gradstudentresume
  (package
    (name "texlive-gradstudentresume")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gradstudentresume/"
                                     "tex/latex/gradstudentresume/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jimvivx5vf1jy7yszvx2zbf13r0brqc0avz8lcx1rsqa3d7rjcn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gradstudentresume")
    (synopsis "Generic template for graduate student resumes")
    (description
     "The package offers a template for graduate students writing an academic
CV.  The goal is to create a flexible template that can be customized based on
each specific individual's needs.")
    (license license:lppl1.3+)))

(define-public texlive-grant
  (package
    (name "texlive-grant")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grant/" "source/latex/grant/"
                                     "tex/latex/grant/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cihhr3fqjbn2grkps5wl6aqx19s78vgklmriw2jqg27fqgv5q2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grant")
    (synopsis "Classes for formatting federal grant proposals")
    (description
     "This package provides LaTeX classes for formatting federal grant
proposals:
@itemize
@item grant: base class for formatting grant proposals;
@item grant-arl: Army Research Laboratory;
@item grant-darpa: Defense Advanced Research Projects Agency;
@item grant-doe: Department of Energy;
@item grant-nih: National Institutes of Health;
@item grant-nrl: Naval Research Laboratory;
@item grant-nsf: National Science Foundation;
@item grant-onr: Office of Naval Research.
@end itemize")
    (license license:expat)))

(define-public texlive-greenpoint
  (package
    (name "texlive-greenpoint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/greenpoint/"
                                     "fonts/source/public/greenpoint/"
                                     "fonts/tfm/public/greenpoint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y5an7lgx975ppb8s1abx494s4m115k137f82hy08iwdx9l1plj5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/greenpoint")
    (synopsis "Green Point logo")
    (description
     "This package provides a Metafont-implementation of the logo commonly
known as @emph{Der Grune Punkt} (``The Green Point'').  In Austria, it can be
found on nearly every bottle.  It should not be confused with the Recycle
logo.")
    (license license:gpl3+)))

(define-public texlive-gregoriotex
  (package
    (name "texlive-gregoriotex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/gregoriotex/"
                                     "fonts/source/gregoriotex/"
                                     "fonts/truetype/public/gregoriotex/"
                                     "scripts/gregoriotex/"
                                     "source/luatex/gregoriotex/"
                                     "tex/lualatex/gregoriotex/"
                                     "tex/luatex/gregoriotex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lnpq6rfdb6dg543cmbsm817ziim6arxnzxzbn0wn8i8aw681idr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-gregoriotex-bin))
    (home-page "https://ctan.org/pkg/gregoriotex")
    (synopsis "Engraving gregorian chant scores")
    (description
     "Gregorio is a software application for engraving gregorian chant scores
on a computer.  Gregorio's main job is to convert a gabc file (simple text
representation of a score) into a GregorioTeX file, which makes TeX able to
create a PDF of your score.")
    (license license:gpl3)))

(define-public texlive-gregoriotex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-gregoriotex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("gregorio"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-gregorio" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/gregorio"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/gregorio"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-gregoriotex))
    (synopsis "Binary for @code{texlive-gregoriotex}")
    (description
     "This package provides the binary for @code{texlive-gregoriotex}.")
    (license (package-license texlive-gregoriotex))))

(define-public texlive-grotesq
  (package
    (name "texlive-grotesq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/grotesq/"
                                     "fonts/afm/urw/grotesq/"
                                     "fonts/map/dvips/grotesq/"
                                     "fonts/tfm/urw/grotesq/"
                                     "fonts/type1/urw/grotesq/"
                                     "fonts/vf/urw/grotesq/"
                                     "tex/latex/grotesq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12q0n6z442j725drp3919k2qk7kg9fas4cqz415a8lj1nmvg60i4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-grotesq")
    (synopsis "URW Grotesq font pack for LaTeX")
    (description
     "The directory contains a copy of the Type 1 font URW Grotesq 2031
Bold, with supporting files for use with (La)TeX.")
    (license license:gpl3+)))

(define-public texlive-grundgesetze
  (package
    (name "texlive-grundgesetze")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grundgesetze/"
                                     "source/latex/grundgesetze/"
                                     "tex/latex/grundgesetze/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hpl336bn33qjmq2bhqn94fjdxlcxs0lxm4sdr124dnagdnksl4n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grundgesetze")
    (synopsis "Typeset Frege's @emph{Grundgesetze der Arithmetik}")
    (description
     "The package defines maths mode commands for typesetting Gottlob Frege's
concept-script in the style of his @emph{Grundgesetze der Arithmetik} (Basic
Laws of Arithmetic).")
    (license license:gpl2)))

(define-public texlive-gsemthesis
  (package
    (name "texlive-gsemthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gsemthesis/"
                                     "source/latex/gsemthesis/"
                                     "tex/latex/gsemthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wwd6pddxb91gj6jr6zc0xy0sr0s0mbdjzyw856w9ds0lp0k6cl9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gsemthesis")
    (synopsis "Geneva School of Economics and Management PhD thesis format")
    (description
     "The class provides a PhD thesis template for the @acronym{GSEM,
Geneva School of Economics and Management}, University of Geneva, Switzerland.
The class provides utilities to easily set up the cover page, the front matter
pages, the page headers, etc., conformant to the official guidelines of the
GSEM Faculty for writing PhD dissertations.")
    (license license:lppl1.3+)))

(define-public texlive-gtrcrd
  (package
    (name "texlive-gtrcrd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gtrcrd/" "tex/latex/gtrcrd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ndnzkm84ynn3wcnfg6j6fcl87wmd3g9w5d17g1z6qp340asrkp9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gtrcrd")
    (synopsis "Add chords to lyrics")
    (description
     "The package provides the means to specify guitar chords to be played
with each part of the lyrics of a song.  The syntax of the macros reduces the
chance of failing to provide a chord where one is needed, and the structure of
the macros ensures that the chord specification appears immediately above the
start of the lyric.")
    (license license:lppl1.3+)))

(define-public texlive-gu
  (package
    (name "texlive-gu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gu/" "tex/latex/gu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13gw8gk03s3ha7xwn6vfix7w50if3gvlqywn1l6z5zi3qbfaapvr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gu")
    (synopsis "Typeset crystallographic group-subgroup-schemes")
    (description
     "The package simplifies typesetting of simple crystallographic
group-subgroup-schemes in the Barnighausen formalism.  It defines a new
environment @code{stammbaum}, wherein all elements of the scheme are defined.
Afterwards all necessary dimensions are calculated and the scheme is drawn.
Currently two steps of symmetry reduction are supported.")
    (license license:lppl)))

(define-public texlive-gudea
  (package
    (name "texlive-gudea")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gudea/"
                                     "fonts/enc/dvips/gudea/"
                                     "fonts/map/dvips/gudea/"
                                     "fonts/tfm/public/gudea/"
                                     "fonts/type1/public/gudea/"
                                     "fonts/vf/public/gudea/"
                                     "tex/latex/gudea/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kj53idgxyqwishg0vibhhrj443016z61c0jl7rx91a508vbwbn2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gudea")
    (synopsis "Gudea font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Gudea family of fonts designed by Agustina
Mingote, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-guide-to-latex
  (package
    (name "texlive-guide-to-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guide-to-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wc5pclv27af2zr6kjjahjzxxlab31d8970jvxr9lxiqllvkxyab"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guide-to-latex")
    (synopsis "Examples and more from @emph{Guide to LaTeX}, by Kopka and Daly")
    (description
     "This package contains material presented in the book @emph{Guide to LaTeX},
4th edition, by Helmut Kopka and Patrick W. Daly as code, sample figures,
processed files, as well as solutions to the exercices.")
    (license license:lppl1.3c+)))

(define-public texlive-guitar
  (package
    (name "texlive-guitar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitar/" "source/latex/guitar/"
                                     "tex/latex/guitar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rywmlz59mjm59n4607qk9fa62w1c9qv9iyyja8k9vb4pc9yijrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitar")
    (synopsis "Guitar chords and song texts")
    (description
     "This package provides (La)TeX macros for typesetting guitar chords over
song texts.  Note that this package only places arbitrary TeX code over the
lyrics.  To typeset the chords graphically (and not only by name), the author
recommends use of an additional package such as @code{gchords}.")
    (license license:lppl1.3+)))

(define-public texlive-guitarchordschemes
  (package
    (name "texlive-guitarchordschemes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitarchordschemes/"
                                     "tex/latex/guitarchordschemes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "189xx0y549ss4ip8x2f1rpcqyad5njrni785sxmy2cghqbdcgzzn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitarchordschemes")
    (synopsis "Guitar chord and scale tablatures")
    (description
     "This package provides two commands (@code{\\chordscheme} and
@code{\\scales}).  With those commands it is possible to draw schematic
diagrams of guitar chord tablatures and scale tablatures.  Both commands know
a range of options that allow wide customization of the output.")
    (license license:lppl1.3+)))

(define-public texlive-guitartabs
  (package
    (name "texlive-guitartabs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitartabs/"
                                     "tex/latex/guitartabs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hk5yl7za7mm6cpg9g4z5wnq4m2nwm41sq8w7m8ic38sr85n67zz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitartabs")
    (synopsis "Class for drawing guitar tablatures easily")
    (description
     "This package provides is a simple LaTeX2e class that allows guitarists
to create basic guitar tablatures using LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-guitlogo
  (package
    (name "texlive-guitlogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/guitlogo/"
                                     "source/latex/guitlogo/"
                                     "tex/latex/guitlogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fwp3w5b51qs9jr9xq0hl0hsqbx7dkj7qgwjpay88sflycv3qpba"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/guitlogo")
    (synopsis "Macros for typesetting the GuIT logo")
    (description
     "This package provides some commands useful to correctly write the logo
of @emph{Gruppo Utilizzatori Italiani di TeX} (Italian TeX User Group), using
the default document color or any other color the user may ever choose, in
conformity with the logo's scheme as seen on the group's website
@url{https://www.guitex.org}.  Likewise, commands are provided that simplify
the writing of the GuIT acronym's complete expansion, of the addresses of the
group's internet site and public forum, and the meeting GuITmeeting and the
magazine @emph{Ars TeXnica}'s logo.  Optionally, using @code{hyperref}, the
outputs of the above cited commands can become hyperlinks to the group's
website @url{https://www.guitex.org}.  The Documentation is available in
Italian only.")
    (license license:lppl1.3a)))

(define-public texlive-gustlib
  (package
    (name "texlive-gustlib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/gustlib/" "bibtex/bst/gustlib/"
                                     "doc/plain/gustlib/" "tex/plain/gustlib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jfmsx5zw9yb8fkhw4fad82m48n7fs1inmx471mr7ys0i7y1l92v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gustlib")
    (synopsis "Plain macros for much core and extra functionality, from GUST")
    (description
     "This package includes Plain TeX macros adding extra functionalities.
This comprises bibliography support, token manipulation, cross-references,
verbatim, determining length of a paragraph's last line, multicolumn output,
Polish bibliography and index styles, prepress and color separation, graphics
manipulation, and tables.")
    (license (list license:knuth license:public-domain))))

(define-public texlive-gustprog
  (package
    (name "texlive-gustprog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/gustprog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07qx4xvyqb4p0cx0macjgyg0pcxgcmdxmzfsx9ah5s0dqvminwrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gustprog")
    (synopsis "Utility programs for Polish users of TeX")
    (description
     "This package provides utility programs for Polish users of TeX.  These
programs are provided as sources, not installed in the @file{bin}
directories.")
    (license license:public-domain)))

(define-public texlive-gzt
  (package
    (name "texlive-gzt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gzt/" "source/latex/gzt/"
                                     "tex/latex/gzt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01vzqnh7fxpsd23q98n9x828lyjrvjlfkb9zv0sxydamp5qy3pn5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gzt")
    (synopsis "Bundle of classes for @emph{La Gazette des Mathematiciens}")
    (description
     "This bundle provides two classes and BibLaTeX styles for the French
journal @emph{La Gazette des Mathematiciens}: @code{gzt} for the complete
issues of the journal, aimed at the Gazette's team, @code{gztarticle},
intended for authors who wish to publish an article in the Gazette.  This
class's goals are to faithfully reproduce the layout of the Gazette, thus
enabling the authors to be able to work their document in actual conditions,
and provide a number of tools (commands and environments) to facilitate the
drafting of documents, in particular those containing mathematical formulas.")
    (license license:lppl1.3c)))

(define-public texlive-h2020proposal
  (package
    (name "texlive-h2020proposal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/h2020proposal/"
                                     "tex/latex/h2020proposal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fq43vpq3ixj6fc99fbmj129487xxzcmz22gisqmn469bam5qxj5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/h2020proposal")
    (synopsis "LaTeX class and template for EU H2020 RIA proposal")
    (description
     "This package consists of a class file as well as FET and ICT proposal
templates for writing EU H2020 RIA proposals and generating automatically the
many cross-referenced tables that are required.")
    (license license:gpl3)))

(define-public texlive-hacm
  (package
    (name "texlive-hacm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hacm/"
                                     "fonts/map/dvips/hacm/"
                                     "fonts/tfm/public/hacm/"
                                     "fonts/type1/public/hacm/"
                                     "fonts/vf/public/hacm/"
                                     "tex/latex/hacm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19n0mlb96ix4vlqaw95fgwah7mbn80l6jm1dim8sigagmhh3bimd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hacm")
    (synopsis "Font support for the Arka language")
    (description
     "The package supports typesetting @emph{hacm}, the alphabet of the
constructed language Arka.  The bundle provides nine official fonts, in Adobe
Type 1 format.")
    (license license:lppl1.3+)))

(define-public texlive-hagenberg-thesis
  (package
    (name "texlive-hagenberg-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hagenberg-thesis/"
                                     "tex/latex/hagenberg-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dp2mrf4smpllrgszi0cx5w42lm144qs3jvr44h6k98ibsfxdv9h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hagenberg-thesis")
    (synopsis
     "LaTeX classes, style files and example documents for academic
manuscripts")
    (description
     "This package provides a collection of modern LaTeX classes, style files
and example documents for authoring Bachelor, master or diploma theses and
related academic manuscripts in English and German.  It includes comprehensive
tutorials (in English and German) with detailed instructions and authoring
guidelines.")
    (license license:cc-by4.0)))

(define-public texlive-hamnosys
  (package
    (name "texlive-hamnosys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hamnosys/"
                                     "fonts/truetype/public/hamnosys/"
                                     "source/fonts/hamnosys/"
                                     "tex/latex/hamnosys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iilp1npy23azk7gjb3m6g9p9f853lbpn9cvply90g2s9jdw0bd9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hamnosys")
    (synopsis "Font for sign languages")
    (description
     "The Hamburg Notation System, HamNoSys for short, is a system for the
phonetic transcription of signed languages.  This package makes HamNoSys
available in XeLaTeX and LuaLaTeX.  The package provides a Unicode font for
rendering HamNoSys symbols as well as three methods for entering them.")
    (license license:lppl1.3c)))

(define-public texlive-hands
  (package
    (name "texlive-hands")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/hands/"
                                     "fonts/tfm/public/hands/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x0vdn7hq6k7wr7yxn8pnkvjhjq3mfl781ijrs2mpvjqygqffzag"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/hands")
    (synopsis "Pointing hand font")
    (description
     "This package provides right- and left-pointing hands in both
black-on-white and white-on-black realisation.  The font is distributed as
Metafont source.")
    (license license:public-domain)))

(define-public texlive-hanoi
  (package
    (name "texlive-hanoi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/hanoi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09a7cv76naxzdach5507wdqnjp12amvlia7kw0jh224ydmkzfx9x"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hanoi")
    (synopsis "Tower of Hanoi in TeX")
    (description
     "The Plain TeX program (typed in the shape of the towers of Hanoi) serves
both as a game and as a TeX programming exercise.  As a game, it will solve
the towers with (up to) 15 discs.")
    (license license:public-domain)))

(define-public texlive-happy4th
  (package
    (name "texlive-happy4th")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/happy4th/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x950scxbvcgwycpakflpklc775pknjab620g099dnsfrpb76f4a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/happy4th")
    (synopsis "Firework display in obfuscated TeX")
    (description
     "The output PDF file gives an amusing display, as the reader pages
through it.")
    (license license:public-domain)))

(define-public texlive-har2nat
  (package
    (name "texlive-har2nat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/har2nat/" "tex/latex/har2nat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13akhwjx48lkch46pk2syzizham3rk81ihrzbwxsvapa1fw74dzg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/har2nat")
    (synopsis "Replace the @code{harvard} package with @code{natbib}")
    (description
     "This small package allows a LaTeX document containing the citation
commands provided by the @code{harvard} package to be compiled using the
@code{natbib} package.")
    (license license:lppl)))

(define-public texlive-harmony
  (package
    (name "texlive-harmony")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/harmony/" "tex/latex/harmony/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky4aiv3zvykfwalf1md4lzjbr9pc14i93xsxdwl25jcsi2kvjk7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harmony")
    (synopsis "Typeset harmony symbols, etc., for musicology")
    (description
     "The package @file{harmony.sty} helps typesetting harmony symbols for
musicology.")
    (license license:lppl)))

(define-public texlive-hanzibox
  (package
    (name "texlive-hanzibox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/hanzibox/"
                                     "source/xelatex/hanzibox/"
                                     "tex/xelatex/hanzibox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bgbybzz5h79i2l3mbjxm11x9nsxm366c6d2mha9j5qabjghakya"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/hanzibox")
    (synopsis
     "Boxed Chinese characters with Pinyin above and translation below")
    (description
     "This is a LaTeX package written to simplify the input of Chinese with
Hanyu Pinyin and translation.  Hanyu Pinyin is placed above Chinese with the
@code{xpinyin} package, and the translation is placed below.  The package can
be used as a utility for learning to write and pronounce Chinese characters,
for Chinese character learning plans, presentations, exercise booklets and
other documentation work.")
    (license license:lppl1.3c)))

(define-public texlive-harvard
  (package
    (name "texlive-harvard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/harvard/" "bibtex/bst/harvard/"
                                     "doc/latex/harvard/" "source/latex/harvard/"
                                     "tex/latex/harvard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qcw1rrvcgcz26pwcmsfd7gs4bzlq1n4zws92xqsr5fi95pr8q7k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harvard")
    (synopsis "Harvard citation package for use with LaTeX")
    (description
     "This is a re-implementation, for LaTeX, of the original Harvard package.
The bundle contains the LaTeX package, several BibTeX styles, and a Perl
package for use with LaTeX2HTML.

Harvard is an author-year citation style (all but the first author are
suppressed in second and subsequent citations of the same entry); the package
defines several variant styles: @file{apsr.bst} for the @emph{American
Political Science Review}; @file{agsm.bst} for Australian government
publications; @file{dcu.bst} from the Design Computing Unit of the University
of Sydney; @file{kluwer.bst}, which aims at the format preferred in Kluwer
publications; @file{nederlands.bst} which deals with sorting Dutch names with
prefixes (such as van) according to Dutch rules, together with several styles
whose authors offer no description of their behaviour.")
    (license license:lppl)))

(define-public texlive-harvmac
  (package
    (name "texlive-harvmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/harvmac/" "tex/plain/harvmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bxa9vvkg79xk3nakdc5an2py6gwbv9ml66xmz1hp1llbg3562vf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harvmac")
    (synopsis "Macros for scientific articles")
    (description "This package provides macros for scientific articles.")
    (license license:cc-by3.0)))

(define-public texlive-havannah
  (package
    (name "texlive-havannah")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/havannah/"
                                     "source/latex/havannah/"
                                     "tex/latex/havannah/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kw71rr5jhn0gx89jynwxxgd6ddzpmr0wb5qnsh0drljmacq49ai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/havannah")
    (synopsis "Diagrams of board positions in the games of Havannah and Hex")
    (description
     "This package defines macros for typesetting diagrams of board positions
in the games of Havannah and Hex.")
    (license license:lppl1.2+)))

(define-public texlive-hecthese
  (package
    (name "texlive-hecthese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hecthese/"
                                     "source/latex/hecthese/"
                                     "tex/latex/hecthese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "167bbbfnzjdw6rxvqb49szn9gf2x9v4m47yxs32ragbhzn4rvixw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hecthese")
    (synopsis "Class for dissertations and theses at HEC Montreal")
    (description
     "This package provides the @code{hecthese} class, a class based on
@code{memoir} and compatible with LaTeX.  Using this class, postgraduate
students at HEC Montreal will be able to write their dissertation or thesis
while complying with all the presentation standards required by the
University.  This class is meant to be as flexible as possible; in particular,
there are very few hard-coded features except those that take care of the
document's layout.

Dissertations and theses at HEC Montreal can be written on a per-chapter or
per-article basis.  Documents that are written on a per-article basis require
a bibliography for each of the included articles and a general bibliography
for the entire document.  The @code{hecthese} class takes care of these
requirements.")
    (license license:lppl1.3c)))

(define-public texlive-helmholtz-ellis-ji-notation
  (package
    (name "texlive-helmholtz-ellis-ji-notation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/helmholtz-ellis-ji-notation/"
                                     "fonts/opentype/public/helmholtz-ellis-ji-notation/"
                                     "source/fonts/helmholtz-ellis-ji-notation/"
                                     "tex/latex/helmholtz-ellis-ji-notation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d2l682v0qsh5x6ab6f0swnbb70niahx145szzhm92ls1lsmkzck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/helmholtz-ellis-ji-notation")
    (synopsis "In-line microtonal just intonation accidentals")
    (description
     "The Helmholtz-Ellis JI Pitch Notation (HEJI), devised in the early 2000s
by Marc Sabat and Wolfgang von Schweinitz, explicitly notates the raising and
lowering of the untempered diatonic Pythagorean notes by specific microtonal
ratios defined for each prime.  It provides visually distinctive logos
distinguishing families of justly tuned intervals that relate to the harmonic
series.  These take the form of strings of additional accidental symbols based
on historical precedents, extending the traditional sharps and flats.  Since
its 2020 update, HEJI version 2 (HEJI2) provides unique microtonal symbols
through the 47-limit.  This package is a simple LaTeX implementation of HEJI2
that allows for in-line typesetting of microtonal accidentals for use within
theoretical texts, program notes, symbol legends, etc.  Documents must be
compiled using XeLaTeX.")
    (license license:cc-by4.0)))

(define-public texlive-hep
  (package
    (name "texlive-hep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep/" "tex/latex/hep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p7phgv3d4xch9c9qwkpgrpc34nzijxfxiqkpnc9b9a3xfwh71sg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep")
    (synopsis "Convenience wrapper for High Energy Physics packages")
    (description
     "This package loads the author's @code{hepunits} and @code{hepnicenames}
packages, and a selection of others that are useful in High Energy Physics
papers, etc.")
    (license license:lppl)))

(define-public texlive-hep-bibliography
  (package
    (name "texlive-hep-bibliography")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-bibliography/"
                                     "source/latex/hep-bibliography/"
                                     "tex/latex/hep-bibliography/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00zz26cp361z3wx9c8h7qq798xqm9gh945vg81hp9s4fpdd4wgzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-bibliography")
    (synopsis "Acronym extension for glossaries")
    (description
     "The @code{hep-bibliography} package extends the BibLaTeX package with
some functionality mostly useful for high energy physics.  In particular it
makes full use of all BibTeX fields provided by Discover High-Energy
Physics.")
    (license license:lppl1.3c)))

(define-public texlive-hep-font
  (package
    (name "texlive-hep-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hep-font/"
                                     "source/fonts/hep-font/"
                                     "tex/latex/hep-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k2kjq50zd5rdgwcgj3c803d68xx3zl77qp39nxzshbm3nks2sb9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-font")
    (synopsis "Latin modern extended by Computer Modern")
    (description
     "The @code{hep-font} package loads standard font packages and extends the
usual Latin Modern implementations by replacing missing fonts with Computer
Modern counterparts.")
    (license license:lppl1.3c)))

(define-public texlive-hep-math-font
  (package
    (name "texlive-hep-math-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hep-math-font/"
                                     "source/fonts/hep-math-font/"
                                     "tex/latex/hep-math-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v1fbll0knibmzsnbl7jiip99r79zr21f0kjkq9p5r49a55nwpi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-math-font")
    (synopsis "Extended Greek and sans-serif math")
    (description
     "The @code{hep-math-font} package adjust the math fonts to be sans-serif
if the document is sans-serif.  Additionally Greek letters are redefined to be
always italic and upright in math and text mode respectively.  Some math font
macros are adjusted to give more consistently the naively expected results.")
    (license license:lppl1.3c)))

(define-public texlive-hep-paper
  (package
    (name "texlive-hep-paper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-paper/"
                                     "source/latex/hep-paper/"
                                     "tex/latex/hep-paper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "192q9nhqmdxrfz1qh5i211k1b9g0cvlgdg5j85r1zx6lwfrrzfdi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-paper")
    (synopsis "Publications in @emph{High Energy Physics}")
    (description
     "This package aims to provide a single style file containing most
configurations and macros necessary to write appealing publications in
@emph{High Energy Physics}.  Instead of reinventing the wheel by introducing
newly created macros, hep-paper preferably loads third party packages as long
as they are light-weight enough.  For usual publications it suffices to load
the @code{hep-paper} package, without optional arguments, in addition to the
@code{article} class.")
    (license license:lppl1.3c)))

(define-public texlive-hep-reference
  (package
    (name "texlive-hep-reference")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-reference/"
                                     "source/latex/hep-reference/"
                                     "tex/latex/hep-reference/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1931sdr8ivh2aslrs3gzi1cvp1djcisypfzsyn6xjgjsbvrnw96k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-reference")
    (synopsis "Adjustments for publications in High Energy Physics")
    (description
     "This package makes some changes to the reference, citation and footnote
macros to improve the default behavior of LaTeX for High Energy Physics
publications.")
    (license license:lppl1.3c)))

(define-public texlive-hepnames
  (package
    (name "texlive-hepnames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepnames/" "tex/latex/hepnames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wvqf4r7p8bkvxwp7mvqnngxillbpii38i413q8acz0777bpassl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepnames")
    (synopsis "Pre-defined high energy particle names")
    (description
     "Hepnames provides a pair of LaTeX packages, @code{heppennames} and @code{hepnicenames},
providing a large set of pre-defined high energy physics particle names built
with the @code{hepparticles} package.  The packages are based on
@file{pennames.sty} by Michel Goosens and Eric van Herwijnen.  Heppennames
re-implements the particle names in @file{pennames.sty}, with some additions
and alterations and greater flexibility and robustness due to the
@code{hepparticles} structures, which were written for this purpose.
Hepnicenames provides the main non-resonant particle names from
@code{heppennames} with more friendly names.")
    (license license:lppl)))

(define-public texlive-hepparticles
  (package
    (name "texlive-hepparticles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepparticles/"
                                     "tex/latex/hepparticles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k8nzw5py23zvp4r4hgddjd2xypcpw85h4slad1yk43zxivb33n7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepparticles")
    (synopsis "Macros for typesetting high energy physics particle names")
    (description
     "HEPparticles is a set of macros for typesetting high energy particle names,
to meet the following criteria:

@enumerate
@item The main particle name is a Roman or Greek symbol, to be typeset in
upright font in normal contexts.
@item Additionally a superscript or subscript may follow the main symbol.
@item Particle resonances may also have a resonance specifier which is typeset
in parentheses following the main symbol.  In general the parentheses may also
be followed by sub- and superscripts.
@item The particle names are expected to be used both in and out of
mathematical contexts.
@item If the surrounding text is bold or italic then the particle name should
adapt to that context as best as possible (this may not be possible for Greek
symbols).  As a consequence, well-known problems with boldness of particle
names in section titles, headers and tables of contents automatically
disappear if these macros are used.
@end enumerate")
    (license license:lppl)))

(define-public texlive-hepthesis
  (package
    (name "texlive-hepthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepthesis/"
                                     "tex/latex/hepthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10yrdsrvnb259fi2qyjldwc6h55s5z8vadr5pf6sbaihyqnv9igg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepthesis")
    (synopsis "Class for academic reports, especially PhD theses")
    (description
     "@code{hepthesis} is a LaTeX class for typesetting large academic
reports, in particular PhD theses.  In particular, @code{hepthesis} offers:

@itemize
@item attractive semantic environments for various rubric sections;
@item extensive options for draft production, screen viewing and binding-ready
output;
@item helpful extensions of existing environments, including equation and
tabular;
@item support for quotations at the start of the thesis and each chapter.
@end itemize

The class is based on @code{scrbook}, from the KOMA-Script bundle.")
    (license license:lppl)))

(define-public texlive-hepunits
  (package
    (name "texlive-hepunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hepunits/"
                                     "tex/latex/hepunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k89jdw5hpav5wr2imrb5wcasi53qswnqqn6jb89kh5crbrywrlz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hepunits")
    (synopsis "Set of units useful in high energy physics applications")
    (description
     "@code{hepunits} is a LaTeX package built on the SIunits package which
adds a collection of useful @acronym{HEP, High Energy Physics} units to the
existing SIunits set.")
    (license license:lppl)))

(define-public texlive-heros-otf
  (package
    (name "texlive-heros-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/heros-otf/"
                                     "tex/latex/heros-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17ac8a8r5hvf76lifap070c4746jdhva9arcn1s0bqrs6kydfm56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/heros-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Heros")
    (description
     "This package can only be used with LuaLaTeX or XeLaTeX.  It does the
font setting for the OpenType font TeX Gyre Heros.  The condensed versions of
the fonts are also supported.  The missing typefaces for slanted text are
defined.")
    (license license:lppl1.3+)))

(define-public texlive-heuristica
  (package
    (name "texlive-heuristica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/heuristica/"
                                     "fonts/enc/dvips/heuristica/"
                                     "fonts/map/dvips/heuristica/"
                                     "fonts/opentype/public/heuristica/"
                                     "fonts/tfm/public/heuristica/"
                                     "fonts/type1/public/heuristica/"
                                     "fonts/vf/public/heuristica/"
                                     "tex/latex/heuristica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bpf3iikl3yv35bkihrnr7hjhvb0jgjpz01flllkp9zvbfl3kcb6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/heuristica")
    (synopsis "Fonts extending Utopia, with LaTeX support files")
    (description
     "The fonts extend the Utopia set with Cyrillic glyphs, additional figure
styles, ligatures and Small Caps in Regular style only.  Macro support, and
maths fonts that match the Utopia family, are provided by the Fourier and the
Mathdesign font packages.")
    (license license:silofl1.1)))

(define-public texlive-hexboard
  (package
    (name "texlive-hexboard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hexboard/"
                                     "source/latex/hexboard/"
                                     "tex/latex/hexboard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04z0qhajbjn55mqax4kaw53h7s6g84iy1yh0pfhzj3ib7gd4cpw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hexboard")
    (synopsis "For drawing Hex boards and games")
    (description
     "@code{hexboard} is a package for LaTeX that should also work with LuaTeX
and XeTeX, that provides functionality for drawing Hex boards and games.")
    (license license:cc-by-sa4.0)))

(define-public texlive-hexgame
  (package
    (name "texlive-hexgame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hexgame/" "tex/latex/hexgame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qr9v7225k6xzykw3rdsxf2sa3b5asvmd767i88jwimmacwi2cp1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hexgame")
    (synopsis "Provide an environment to draw a hexgame-board")
    (description
     "Hex is a mathematical game invented by the Danish mathematician Piet
Hein and independently by the mathematician John Nash.  This package defines
an environment that enables the user to draw such a game in a trivial way.")
    (license license:lppl)))

(define-public texlive-hfbright
  (package
    (name "texlive-hfbright")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hfbright/"
                                     "fonts/afm/public/hfbright/"
                                     "fonts/enc/dvips/hfbright/"
                                     "fonts/map/dvips/hfbright/"
                                     "fonts/type1/public/hfbright/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aw4h2law9q7sn2ppf3pxdazsk9kypss3chvca3741w8bzhxq5qr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfbright")
    (synopsis "@code{hfbright} fonts")
    (description
     "These are Adobe Type 1 versions of the OT1-encoded and maths parts of
the Computer Modern Bright fonts.")
    (license license:lppl)))

(define-public texlive-hfoldsty
  (package
    (name "texlive-hfoldsty")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hfoldsty/"
                                     "fonts/tfm/public/hfoldsty/"
                                     "fonts/vf/public/hfoldsty/"
                                     "source/fonts/hfoldsty/"
                                     "tex/latex/hfoldsty/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0skzw845i1b3lq76m4an4mpkm2w82hlpirnx4pckz3138nr1rlpf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfoldsty")
    (synopsis "Old style numerals with EC fonts")
    (description
     "The @code{hfoldsty} package provides virtual fonts for using old-style
figures with the European Computer Modern fonts.  It does a similar job as the
@code{eco} package but includes a couple of improvements, i.e., better kerning
with guillemets, and support for character protruding using the
@code{pdfcprot} package.")
    (license license:gpl3+)))

(define-public texlive-hfutexam
  (package
    (name "texlive-hfutexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hfutexam/" "tex/latex/hfutexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zvjkj0icdzb8bq31c5gv3nmw52s0969nlcbacbaxhgmkix9lfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfutexam")
    (synopsis "Exam class for Hefei University of Technology, China")
    (description
     "This package provides an exam class for Hefei University of
Technology (China).")
    (license license:lppl1.3c)))

(define-public texlive-hfutthesis
  (package
    (name "texlive-hfutthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/hfutthesis/"
                                     "tex/xelatex/hfutthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i7ljf5521f9dynrcnim0m4jzz2qkvpsb4pjvxbj5c7pr85gc34r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hfutthesis")
    (synopsis "LaTeX thesis template for Hefei University of Technology")
    (description
     "This project is based on the HFUT_Thesis LaTeX template of Hefei
University of Technology compiled on the basis of @code{ustctug} and
@code{ustcthesis}, in accordance with the latest version of @emph{Hefei
University of Technology Graduate Dissertation Writing Specifications} and
@emph{Hefei University of Technology Undergraduate Graduation Project (Thesis)
Work Implementation Rules}.")
    (license license:lppl1.3c)))

(define-public texlive-hithesis
  (package
    (name "texlive-hithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hithesis/"
                                     "doc/xelatex/hithesis/"
                                     "makeindex/hithesis/"
                                     "source/xelatex/hithesis/"
                                     "tex/xelatex/hithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w701f0ivf7k8jb2jiy5lhns4qiflyrslyiplm6aca67g2rcqgwn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; "hithesis.ins" writes files to "./figures" Create these
               ;; directories first to prevent an error.
               (add-before 'build 'prepare-build
                 (lambda _
                   (mkdir-p "build/figures"))))))
    (home-page "https://ctan.org/pkg/hithesis")
    (synopsis "Harbin Institute of Technology thesis template")
    (description
     "@code{hithesis} is a LaTeX thesis template package for Harbin Institute
of Technology supporting bachelor, master, doctor dissertations.")
    (license license:lppl1.3a)))

(define-public texlive-hindmadurai
  (package
    (name "texlive-hindmadurai")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/hindmadurai/"
                                     "fonts/enc/dvips/hindmadurai/"
                                     "fonts/map/dvips/hindmadurai/"
                                     "fonts/opentype/public/hindmadurai/"
                                     "fonts/tfm/public/hindmadurai/"
                                     "fonts/type1/public/hindmadurai/"
                                     "fonts/vf/public/hindmadurai/"
                                     "tex/latex/hindmadurai/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15bf8hka7f04l7zpkaav1azbailjv21w15iidbaxx9n2d4plf2kk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hindmadurai")
    (synopsis "HindMadurai font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the HindMadurai family of fonts designed by the
Indian Type Foundry, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-historische-zeitschrift
  (package
    (name "texlive-historische-zeitschrift")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/historische-zeitschrift/"
                                     "tex/latex/historische-zeitschrift/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w8zhk1darw39lrgs4i1p8zk78a1q7skc93ac8qczbrw5pln27k5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/historische-zeitschrift")
    (synopsis "BibLaTeX style for the journal @emph{Historische Zeitschrift}")
    (description
     "The package provides citations according with the house style of the
@emph{Historische Zeitschrift}, a German historical journal.")
    (license license:lppl)))

(define-public texlive-hitex
  (package
    (name "texlive-hitex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/hitex/base/"
                                     "doc/man/man1/hishrink.1"
                                     "doc/man/man1/hishrink.man1.pdf"
                                     "doc/man/man1/histretch.1"
                                     "doc/man/man1/histretch.man1.pdf"
                                     "doc/man/man1/hitex.1"
                                     "doc/man/man1/hitex.man1.pdf"
                                     "makeindex/hitex/"
                                     "tex/hitex/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wim25zd8wmqc2g8l9lk2gwwq51fwmj46hj8bmzbzy1a455ih0zq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "hilatex" "hitex")))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-etex
           texlive-firstaid
           texlive-hitex-bin
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/hitex")
    (synopsis "TeX extension writing HINT output for on-screen reading")
    (description
     "This package provides a TeX extension that generates HINT output.  The
HINT file format is an alternative to the DVI and PDF formats which was
designed specifically for on-screen reading of documents.  Especially on
mobile devices, reading DVI or PDF documents can be cumbersome.  Mobile
devices are available in a large variety of sizes but typically are not large
enough to display documents formated for a4/letter-size paper.  To compensate
for the limitations of a small screen, users are used to alternating between
landscape (few long lines) and portrait (more short lines) mode.  The HINT
format supports variable and varying screen sizes, leveraging the ability of
TeX to format a document for nearly-arbitrary values of @code{\\hsize} and
@code{\\vsize}.")
    (license license:x11)))

(define-public texlive-hitex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-hitex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-hitex"
                 (delete "--disable-hitex"
                         (delete "--enable-web2c" #$flags))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("hishrink" "histretch" "hitex")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)
                    (with-directory-excursion bin
                      (symlink "hitex" "hilatex"))))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-hitex))
    (synopsis "Binaries for @code{texlive-hitex}")
    (description
     "This package provides the binaries for @code{texlive-hitex}.")
    (license (package-license texlive-hitex))))

(define-public texlive-hitszbeamer
  (package
    (name "texlive-hitszbeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hitszbeamer/"
                                     "doc/latex/hitszbeamer/"
                                     "source/latex/hitszbeamer/"
                                     "tex/latex/hitszbeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00c23sdhkvr79lzag8v1j5hyzf5iwmkr07xnz0s0n3haicbfzz44"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hitszbeamer")
    (synopsis "Beamer theme for Harbin Institute of Technology, ShenZhen")
    (description
     ;; XXX: Cannot use @acronym and @comma here, because Guile Texinfo does
     ;; not support this combination.
     "This is a Beamer theme designed for HITSZ (Harbin Institute of
Technology, ShenZhen).")
    (license license:lppl1.3c)))

(define-public texlive-hitszthesis
  (package
    (name "texlive-hitszthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hitszthesis/"
                                     "doc/latex/hitszthesis/"
                                     "makeindex/hitszthesis/"
                                     "source/latex/hitszthesis/"
                                     "tex/latex/hitszthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m1wr3iq1nzcymvnamgna0iiqb3ndllflgawzjjv85aay9jszra0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hitszthesis")
    (synopsis
     "Dissertation template for Harbin Institute of Technology, ShenZhen")
    (description
     ;; XXX: Cannot use @acronym and @comma here, because Guile Texinfo does
     ;; not support this combination.
     "This package provides a dissertation template for HITSZ (Harbin
Institute of Technology, ShenZhen), including bachelor, master and doctor
dissertations.")
    (license license:lppl1.3c)))

(define-public texlive-hmtrump
  (package
    (name "texlive-hmtrump")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/hmtrump/"
                                     "fonts/truetype/public/hmtrump/"
                                     "tex/lualatex/hmtrump/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03r1f784ipr2j38y2xy8agl94xwcmyv4pxd0l42iclmx08rczb9q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hmtrump")
    (synopsis "Describe card games")
    (description
     "This package provides a font with LuaLaTeX support for describing
card games.")
    (license
     (list (license:fsf-free
            "doc/lualatex/hmtrump/nkd04_playing_cards_index/LICENSE")
           license:cc-by-sa4.0))))

(define-public texlive-hobete
  (package
    (name "texlive-hobete")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hobete/" "tex/latex/hobete/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gccpxh3bfj4sbnag8rjrz8hyrx3107mwxpydl0bcdn8dxyjkfi2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hobete")
    (synopsis "Unofficial Beamer theme for the University of Hohenheim")
    (description
     "The package provides a Beamer theme which features the Ci colors of the
University of Hohenheim.  Please note that this is not an official theme, and
that there will be no support for it from the University.")
    (license license:lppl)))

(define-public texlive-horoscop
  (package
    (name "texlive-horoscop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/horoscop/"
                                     "source/latex/horoscop/"
                                     "tex/latex/horoscop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08acv1sg37qzq3h14kxv62xhrzrv4psgpychshj3gmzvp4vz0jsn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/horoscop")
    (synopsis "Generate astrological charts in LaTeX")
    (description
     "The @code{horoscop} package provides a unified interface for
astrological font packages; typesetting with @code{pict2e} of standard wheel
charts and some variations, in PostScript- and PDF-generating TeX engines; and
access to external calculation software (Astrolog and Swiss Ephemeris) for
computing object positions.")
    (license license:public-domain)))

(define-public texlive-hrlatex
  (package
    (name "texlive-hrlatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hrlatex/" "source/latex/hrlatex/"
                                     "tex/latex/hrlatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16npkf18gy8clwkzvm0qysfv90wb6979cppj5rykn1x0icsvw2ix"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hrlatex")
    (synopsis "LaTeX support for Croatian documents")
    (description
     "This package simplifies creation of new documents for the (average)
Croatian user.  As an example, a class file @code{hrdipl.cls} (designed for
the graduation thesis at the University of Zagreb) and sample thesis documents
are included.")
    (license license:lppl)))

(define-public texlive-hu-berlin-bundle
  (package
    (name "texlive-hu-berlin-bundle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/hu-berlin-bundle/"
                                     "source/lualatex/hu-berlin-bundle/"
                                     "tex/lualatex/hu-berlin-bundle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y9qldwr231qh06djvck5zmvqva9hxppn8mx9a7isikr9d5152y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hu-berlin-bundle")
    (synopsis "LaTeX classes for the Humboldt-Universitat zu Berlin")
    (description
     "This package provides files according to the corporate design of the
Humboldt-Universitat zu Berlin.  This is not an official package by the
university itself, and not officially approved by it.")
    (license (list license:lppl1.3c license:gpl2 license:bsd-3))))

(define-public texlive-huaz
  (package
    (name "texlive-huaz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/huaz/" "tex/latex/huaz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "103wnzw8401d1ckc31y6ga75bph0ls71hxs0hdkszw719ghm7vjr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/huaz")
    (synopsis "Automatic Hungarian definite articles")
    (description
     "In Hungarian there are two definite articles, @samp{a} and @samp{az},
which are determined by the pronunciation of the subsequent word.  The
@code{huaz} package helps the user to insert automatically the correct
definite article for cross-references and other commands containing text.")
    (license license:lppl1.3+)))

(define-public texlive-hulipsum
  (package
    (name "texlive-hulipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hulipsum/"
                                     "source/latex/hulipsum/"
                                     "tex/latex/hulipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w62vawh2l49bgm7ivprmz61b71qsf38xdsrq6x2dc2ywzvs4z2f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hulipsum")
    (synopsis "Hungarian dummy text (Lorum ipse)")
    (description
     "Lorem ipsum is an improper Latin filler dummy text, cf.@: the
@code{lipsum} package.  It is commonly used for demonstrating the textual
elements of a document template.  Lorum ipse is a Hungarian variation of Lorem
ipsum. (Lorum is a Hungarian card game, and ipse is a Hungarian slang word
meaning bloke.)  With this package you can typeset 150 paragraphs of Lorum
ipse.")
    (license license:lppl1.3+)))

(define-public texlive-hustthesis
  (package
    (name "texlive-hustthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hustthesis/"
                                     "doc/latex/hustthesis/"
                                     "source/latex/hustthesis/"
                                     "tex/latex/hustthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12sacpq43wjkr0j0ziszw37achyc7cf0z5kajqdfb5d7ksas0j2n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hustthesis")
    (synopsis "Unofficial thesis template for Huazhong University")
    (description
     "The package provides an unofficial thesis template in LaTeX for Huazhong
University of Science and Technology.")
    (license license:lppl1.3+)))

(define-public texlive-hvarabic
  (package
    (name "texlive-hvarabic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvarabic/" "tex/latex/hvarabic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kjx2x3fnpqw6hybw7ifdlqad4mmbacba290qwlhhggpjrxsvp39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvarabic")
    (synopsis "Macros for RTL typesetting")
    (description
     "This package provides some macros for right-to-left typesetting.  It
uses by default the Arabic fonts Scheherazade and ALM fixed, the only
monospaced Arabic font.  The package only works with LuaLaTeX or XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-ibarra
  (package
    (name "texlive-ibarra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ibarra/"
                                     "fonts/enc/dvips/ibarra/"
                                     "fonts/map/dvips/ibarra/"
                                     "fonts/tfm/public/ibarra/"
                                     "fonts/truetype/public/ibarra/"
                                     "fonts/type1/public/ibarra/"
                                     "fonts/vf/public/ibarra/"
                                     "tex/latex/ibarra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mjf3mk95rs7qr2f4qpwa249kqycmbj0d13d3d0sc9lqkl0yza4w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ibarra")
    (synopsis "LaTeX support for the Ibarra Real Nova family of fonts")
    (description
     "The Ibarra Real Nova is a revival of a typeface designed by Geronimo Gil
for the publication of @emph{Don Quixote} for the Real Academia de la Lengua
in 1780.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-ibrackets
  (package
    (name "texlive-ibrackets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ibrackets/"
                                     "source/latex/ibrackets/"
                                     "tex/latex/ibrackets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "037c2g7dfr2c5l99ry0fvmwxh15jx9lq1hh4fwgcpnglh73lmkhp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ibrackets")
    (synopsis "Intelligent brackets")
    (description
     "This small package provides a new definition of brackets @samp{[} and
@samp{]} as active characters to get correct blank spaces in mathematical mode
when using for open intervals.")
    (license license:lppl1.3+)))

(define-public texlive-icite
  (package
    (name "texlive-icite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/icite/" "source/latex/icite/"
                                     "tex/latex/icite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a3gqnjbyn33ld3j66pfrrsv502zdrsag0glhar82fbba21qlj9w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/icite")
    (synopsis "Indices locorum citatorum")
    (description
     "The package is designed to produce from BibTeX or BibLaTeX
bibliographical databases the different indices of authors and works cited
which are called indices locorum citatorum.  It relies on a specific
@code{\\icite} command and can operate with either BibTeX or BibLaTeX.")
    (license (list license:gpl3+ license:cc-by-sa4.0))))

(define-public texlive-ietfbibs
  (package
    (name "texlive-ietfbibs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/ietfbibs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18ypa96z1gclq4amka28sv26pm7lycak68zf4b3sf1bx4ldnzmxq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ietfbibs")
    (synopsis "Generate BibTeX entries for various IETF index files")
    (description
     "The package provides scripts to translate IETF index files to BibTeX
files.")
    (license license:expat)))

(define-public texlive-ifsym
  (package
    (name "texlive-ifsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ifsym/"
                                     "fonts/source/public/ifsym/"
                                     "fonts/tfm/public/ifsym/" "tex/latex/ifsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07r16sgqc65wf8c8ijgmnmwq50yrlvjlmzbnk0czgnwqrbdz642g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ifsym")
    (synopsis "Collection of symbols")
    (description
     "This package provides a set of symbol fonts, written in Metafont, offering
(respectively) clock-face symbols, geometrical symbols, weather symbols,
mountaineering symbols, electronic circuit symbols and a set of miscellaneous
symbols.  A LaTeX package is provided, that allows the user to load only those
symbols needed in a document.")
    (license license:lppl1.0+)))

(define-public texlive-ijqc
  (package
    (name "texlive-ijqc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ijqc/" "doc/bibtex/ijqc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18sqc8k21l15zlplpaimdcg8g75z3lrlc0qcb6wx838980gn961r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ijqc")
    (synopsis "BibTeX style file for the @emph{Intl. J. Quantum Chem}")
    (description
     "@file{ijqc.bst} is a BibTeX style file to support publication in Wiley's
@emph{International Journal of Quantum Chemistry}.")
    (license license:lppl)))

(define-public texlive-imfellenglish
  (package
    (name "texlive-imfellenglish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/imfellenglish/"
                                     "fonts/enc/dvips/imfellenglish/"
                                     "fonts/map/dvips/imfellenglish/"
                                     "fonts/opentype/iginomarini/imfellenglish/"
                                     "fonts/tfm/iginomarini/imfellenglish/"
                                     "fonts/type1/iginomarini/imfellenglish/"
                                     "fonts/vf/iginomarini/imfellenglish/"
                                     "tex/latex/imfellenglish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pw4nsw4pl1nf99j58sy37064712by6kqcb40xkrcl5d9czx45bh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imfellenglish")
    (synopsis "IM Fell English fonts with LaTeX support")
    (description
     "Igino Marini has implemented digital revivals of fonts bequeathed to
Oxford University by Dr.@: John Fell, Bishop of Oxford and Dean of Christ
Church in 1686.  This package provides the English family, consisting of
Roman, Italic and Small-Cap fonts.")
    (license license:silofl1.1)))

(define-public texlive-impatient
  (package
    (name "texlive-impatient")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/impatient/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03cjl3lg7k7p4h8drw7vcbw6ymgmm2clv6sgfs3hdixs8dmab1b2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impatient")
    (synopsis "@emph{TeX for the Impatient} book")
    (description
     "@emph{TeX for the Impatient} is a book on TeX, Plain TeX and Eplain.")
    (license license:fdl1.3+)))

(define-public texlive-impatient-cn
  (package
    (name "texlive-impatient-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/impatient-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pc20pb0las3slam1d9hmqigipmr6r98wwif12m33mm750vmq65i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impatient")
    (synopsis "Chinese translation of @emph{TeX for the Impatient} book")
    (description
     "@emph{TeX for the Impatient} is a book (of around 350 pages) on TeX,
Plain TeX and Eplain.  This is its Chinese translation.")
    (license license:fdl1.3+)))

(define-public texlive-impatient-fr
  (package
    (name "texlive-impatient-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/impatient-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qwdllmi0ci304smf4yl6g8ah083jrch9clkyav7r5qsxnhwxbxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impatient")
    (synopsis "French translation of @emph{TeX for the Impatient} book")
    (description
     "@emph{TeX for the Impatient} is a book (of around 350 pages) on TeX,
Plain TeX and Eplain.  This is its French translation.")
    (license license:fdl1.3+)))

(define-public texlive-impnattypo
  (package
    (name "texlive-impnattypo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/impnattypo/"
                                     "source/latex/impnattypo/"
                                     "tex/latex/impnattypo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ddbpxvybr0a7sg1ximsifvgjg83qwx5pd9xcc22bliz3j5ixvm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/impnattypo")
    (synopsis "Support typography of l'Imprimerie Nationale Francaise")
    (description
     "The package provides useful macros implementing recommendations by the
French Imprimerie Nationale.")
    (license license:lppl1.3+)))

(define-public texlive-import
  (package
    (name "texlive-import")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/import/" "tex/latex/import/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wlzs31li6nvzigkxw59bbpmyqrkzpdangvjqq3z7wl6y79sic6g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/import")
    (synopsis "Establish input relative to a directory")
    (description
     "The commands @code{\\import@{full_path@}@{file@}} and
@code{\\subimport@{path_extension@}@{file@}} set up input through standard
LaTeX mechanisms (@code{\\input}, @code{\\include} and
@code{\\includegraphics}) to load files relative to the imported directory.
There are also @code{\\includefrom}, @code{\\subincludefrom}, and starred
variants of the commands.")
    (license license:public-domain)))

(define-public texlive-imsproc
  (package
    (name "texlive-imsproc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/imsproc/"
                                     "tex/xelatex/imsproc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1akzdc4nas4fkmlhm6xp97xw65vm5bif73jq2ki5if5kwssxc38z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imsproc")
    (synopsis "Typeset IMS conference proceedings")
    (description
     "The class typesets papers for IMS (Iranian Mathematical Society)
conference proceedings.  The class uses the XePersian package.")
    (license license:lppl1.3+)))

(define-public texlive-includernw
  (package
    (name "texlive-includernw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/includernw/"
                                     "tex/latex/includernw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kc14nq0f3jybidifvr6gjfy4ggs5qkbs1syv1k7bw3xrdmpplb8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/includernw")
    (synopsis "Include .Rnw inside .tex")
    (description
     "This package is for including @file{.Rnw} (knitr/sweave) files inside
@file{.tex} files.  It requires that you have R and the R-package @code{knitr}
installed.")
    (license license:lppl1.3c)))

(define-public texlive-initials
  (package
    (name "texlive-initials")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/initials/"
                                     "dvips/initials/"
                                     "fonts/afm/public/initials/"
                                     "fonts/map/dvips/initials/"
                                     "fonts/tfm/public/initials/"
                                     "fonts/type1/public/initials/"
                                     "tex/latex/initials/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hbvk2qjrhcx2l8nkca1s5lj65k5xd2v2fnk4zjxjpwdcwxf09zp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/initials")
    (synopsis "Adobe Type 1 decorative initial fonts")
    (description
     "This package provides Adobe Type 1 decorative initial fonts.  For each
font, at least a @file{.pfb} and a @file{.tfm} file is provided, with an
@file{.fd} file for use with LaTeX.")
    (license license:lppl)))

(define-public texlive-inlinebib
  (package
    (name "texlive-inlinebib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/inlinebib/"
                                     "doc/bibtex/inlinebib/"
                                     "tex/latex/inlinebib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13kfygh2r8s038rnskxnj91h08k8xs6cln16vzsy1j59c82idvkb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inlinebib")
    (synopsis "Citations in footnotes")
    (description
     "This package provides a BibTeX style and a LaTeX package that allow for
a full bibliography at the end of the document as well as citation details in
footnotes.")
    (license license:lppl)))

(define-public texlive-install-latex-guide-zh-cn
  (package
    (name "texlive-install-latex-guide-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/install-latex-guide-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hs9pqhbf5pkdk3a29xnicj7i8zxgf3vazf2mmm4z6fc4b0kfpjk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/install-latex-guide-zh-cn")
    (synopsis "Short introduction to LaTeX installation written in Chinese")
    (description
     "This package will introduce the operations related to installing TeX
Live and mainly introducing command line operations, in Chinese.")
    (license license:lppl1.3c)))

(define-public texlive-inter
  (package
    (name "texlive-inter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/inter/"
                                     "fonts/enc/dvips/inter/"
                                     "fonts/map/dvips/inter/"
                                     "fonts/opentype/public/inter/"
                                     "fonts/tfm/public/inter/"
                                     "fonts/type1/public/inter/"
                                     "fonts/vf/public/inter/"
                                     "tex/latex/inter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bfxp3ar62p1jddjisjnv3aqml00ckkz4fawacsjbb369jq9v0aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inter")
    (synopsis "Inter font face with support for LaTeX, XeLaTeX, and LuaLaTeX")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Inter Sans family of fonts, designed by Rasmus Andersson.  Inter is
a typeface specially designed for user interfaces with focus on high
legibility of small-to-medium sized text on computer screens.  The family
features a tall x-height to aid in readability of mixed-case and lower-case
text.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-interval
  (package
    (name "texlive-interval")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/interval/" "tex/latex/interval/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16qp8q95s8y4pvd7idh6nzz04nb81sm7w36gc2nc5sjmvjw1sk4f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/interval")
    (synopsis "Format mathematical intervals, ensuring proper spacing")
    (description
     "When typing an open interval as $]a,b[$, a closing bracket is being used
in place of an opening fence and vice versa.  This leads to wrong spacing.
The @code{\\interval} macro provided by this package attempts to solve this.
The package also supports fence scaling and ensures that the enclosing fences
will end up having the proper closing and opening types.")
    (license license:lppl1.3+)))

(define-public texlive-intro-scientific
  (package
    (name "texlive-intro-scientific")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/intro-scientific/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bzgi3zg0lm6zwjnac90ihaqwcvhindfdphjijv7mh11ii0qxlmf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/intro-scientific")
    (synopsis "Introducing scientific/mathematical documents using LaTeX")
    (description
     "@emph{Writing Scientific Documents Using LaTeX} is an article
introducing the use of LaTeX in typesetting scientific documents.  It covers
the basics of creating a new LaTeX document, special typesetting
considerations, mathematical typesetting and graphics.  It also touches on
bibliographic data and BibTeX.")
    (license license:lppl)))

(define-public texlive-ionumbers
  (package
    (name "texlive-ionumbers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ionumbers/"
                                     "source/latex/ionumbers/"
                                     "tex/latex/ionumbers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rbm4z2qg1ifwslxdsgzdcni701s3q32i2iaqldm7g7jinn8bivn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ionumbers")
    (synopsis "Restyle numbers in maths mode")
    (description
     "@code{ionumbers} stands for input/output numbers.  The package restyles
numbers in maths mode.  If a number in the input file is written, e.g., as
@samp{$3,231.44$} as commonly used in English texts, the package is able to
restyle it to be output as @samp{$3\\,231{,}44$} as commonly used in German
texts (and vice versa).  This may be useful, for example, if you have a large
table and want to include it in texts with different output conventions
without the need to change the table.

The package can also automatically group digits left of the decimal separator
(thousands) and right of the decimal separator (thousandths) in triplets
without the need of specifing commas (English) or points (German) as
separators.  E.g., the input @samp{$1234.567890$} can be output as
@samp{$1\\,234.\\,567\\,890$}.

Finally, an @emph{e} starts the exponent of the number.  For example,
@samp{$21e6$} may be output as @samp{$26\\times10\\,^@{6@}$}.")
    (license license:gpl3+)))

(define-public texlive-iopart-num
  (package
    (name "texlive-iopart-num")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/iopart-num/"
                                     "doc/bibtex/iopart-num/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n30ncmg0djhpdfa9jl5mv188347xmqsv08vgf2v4ipx7czhjm7v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iopart-num")
    (synopsis "Numeric citation style for IOP journals")
    (description
     "This package provides a BibTeX style providing numeric citation in
Harvard-like format.  Intended for use with Institute of Physics (IOP)
journals, including @emph{Journal of Physics}.")
    (license license:lppl)))

(define-public texlive-ipaex
  (package
    (name "texlive-ipaex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ipaex/"
                                     "fonts/truetype/public/ipaex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zpvpdpry4ckgbs79hy0gv8cc98x9c0cizzdqzg2qkx8clp8y1bn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ipaex")
    (synopsis "IPA (Japanese) fonts")
    (description
     "The fonts provide fixed-width glyphs for Kana and Kanji characters,
proportional width glyphs for Western characters.")
    (license license:ipa)))

(define-public texlive-ipaex-type1
  (package
    (name "texlive-ipaex-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ipaex-type1/"
                                     "fonts/enc/dvips/ipaex-type1/"
                                     "fonts/map/dvips/ipaex-type1/"
                                     "fonts/tfm/public/ipaex-type1/"
                                     "fonts/type1/public/ipaex-type1/"
                                     "tex/latex/ipaex-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "123m8i8gvyq3cncn8s11qzk976ml89aqcyapx2zs6phg9h090bc8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ipaex-type1")
    (synopsis "IPAex fonts converted to Type-1 format Unicode sub-fonts")
    (description
     "The package contains the IPAex Fonts converted into Unicode sub-fonts in
Type 1 format, which is most suitable for use with the CJK package.")
    (license license:ipa)))

(define-public texlive-is-bst
  (package
    (name "texlive-is-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/is-bst/" "doc/bibtex/is-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bdkk1s5nfqy95h9ia08h4kpij4khj1y5z6byxgn7fsvcxncl1cb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/is-bst")
    (synopsis "Extended versions of standard BibTeX styles")
    (description
     "The bundle contains an extended version (@file{xbtxbst.doc}) of the
source of the standard BibTeX styles, together with corresponding versions of
the standard styles.  The styles offer support for CODEN, ISBN, ISSN, LCCN,
and PRICE fields, extended PAGES fields, the PERIODICAL entry, and extended
citation label suffixing.")
    (license license:knuth)))

(define-public texlive-icsv
  (package
    (name "texlive-icsv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/icsv/" "source/latex/icsv/"
                                     "tex/latex/icsv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "133rbbq86qkd749bd20wdnjqddpwydm27ndh5yp2waimgij3cm8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/icsv")
    (synopsis "Class for typesetting articles for the ICSV conference")
    (description
     "This is an ad-hoc class for typesetting articles for the ICSV
conference.")
    (license license:lppl)))

(define-public texlive-ieeeconf
  (package
    (name "texlive-ieeeconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ieeeconf/"
                                     "source/latex/ieeeconf/"
                                     "tex/latex/ieeeconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f7v199mc1dw2fhp30qdkx48dyzk5mqmbqr91c1jm235isgs4fam"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieeeconf")
    (synopsis "Macros for IEEE conference proceedings")
    (description
     "The IEEEconf class implements the formatting dictated by the IEEE
Computer Society Press for conference proceedings.")
    (license license:lppl)))

(define-public texlive-ieeepes
  (package
    (name "texlive-ieeepes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ieeepes/" "doc/latex/ieeepes/"
                                     "tex/latex/ieeepes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nvllxxswww9p9l1h3ygak3g4j8ngmypxcbbw2jwwa8kh43yiqi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieeepes")
    (synopsis "IEEE Power Engineering Society Transactions")
    (description
     "This package supports typesetting of transactions, as well as
discussions and closures, for the IEEE Power Engineering Society Transactions
journals.")
    (license license:lppl)))

(define-public texlive-ieeetran
  (package
    (name "texlive-ieeetran")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/ieeetran/"
                                     "bibtex/bst/ieeetran/" "doc/latex/ieeetran/"
                                     "tex/latex/ieeetran/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j7vv8hp0ymzmclyrk23zmixcclhlm1g241y8dk3dl18zsj00f1c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieeetran")
    (synopsis "Document class for IEEE Transactions journals and conferences")
    (description
     "The class and its BibTeX style enable authors to produce
officially-correct output for the @acronym{IEEE, Institute of Electrical and
Electronics Engineers} transactions, journals and conferences.")
    (license license:lppl1.3+)))

(define-public texlive-ijmart
  (package
    (name "texlive-ijmart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ijmart/" "doc/latex/ijmart/"
                                     "source/latex/ijmart/" "tex/latex/ijmart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18fpf0na5y1nxz0c7r43f560dp4r8yawx8vj8356vdmw6d5r15h0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ijmart")
    (synopsis "LaTeX Class for the @emph{Israel Journal of Mathematics}")
    (description
     "The @emph{Israel Journal of Mathematics} is published by The Hebrew
University Magnes Press.  This class provides LaTeX support for its authors
and editors.  It strives to achieve the distinct look and feel of the journal,
while having the interface similar to that of the @code{amsart} document
class.  This will help authors already familiar with @code{amsart} to easily
submit manuscripts for the @emph{Israel Journal of Mathematics} or to put the
preprints in arXiv with minimal changes in the LaTeX source.")
    (license license:lppl)))

(define-public texlive-ijsra
  (package
    (name "texlive-ijsra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ijsra/" "tex/latex/ijsra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k6a92c6fhwafrw3m4fcj0dj29ip0zb28aiz861cx2mac92hyqgs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ijsra")
    (synopsis
     "LaTeX document class for the International Journal of Student Research
in Archaeology")
    (description
     "This is a document class called ijsra which is used for the
International Journal of Student Research in Archaeology.")
    (license license:lppl1.3+)))

(define-public texlive-imac
  (package
    (name "texlive-imac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/imac/" "doc/latex/imac/"
                                     "tex/latex/imac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06sc9irv318fc5zgngwrcdwx84pnhyhwh59jiq9sb8iayy1yxldh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imac")
    (synopsis "International Modal Analysis Conference format")
    (description
     "This package provides a set of files for producing correctly formatted
documents for the International Modal Analysis Conference.  The bundle
provides a LaTeX package and a BibTeX style file.")
    (license license:gpl3+)))

(define-public texlive-imakeidx
  (package
    (name "texlive-imakeidx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/imakeidx/"
                                     "source/latex/imakeidx/"
                                     "tex/latex/imakeidx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s65kbzafx5q7519pbxjldb87flws0mgg76yxi7a5mgxrnkfy961"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imakeidx")
    (synopsis "Package for producing multiple indexes")
    (description
     "The package enables the user to produce and typeset one or more indexes
simultaneously with a document.  The package is known to work in LaTeX
documents processed with pdfLaTeX, XeLaTeX and LuaLaTeX.  If
@command{makeindex} is used for processing the index entries, no particular
setting up is needed.  When using Xindy or other programs, it is necessary to
enable shell escape; shell escape is also needed if @command{splitindex} is
used.")
    (license license:lppl1.3+)))

(define-public texlive-imtekda
  (package
    (name "texlive-imtekda")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/imtekda/" "source/latex/imtekda/"
                                     "tex/latex/imtekda/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pbv50c6g024dhyw8mpnnyafp18pvf0cqy7j1fvhrbqwf13bn37x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/imtekda")
    (synopsis "IMTEK thesis class")
    (description
     "The class permits typesetting of diploma, bachelor's and master's theses
for the @acronym{IMTEK, Institute of Microsystem Technology} at the University
of Freiburg (Germany).  The class is based on the KOMA-Script class
@code{scrbook}.")
    (license license:lppl)))

(define-public texlive-inkpaper
  (package
    (name "texlive-inkpaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inkpaper/" "tex/latex/inkpaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yybzasv4708cw139k2dcqgi85lm6ard4ra9j78hrcdbnpnkqmw0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inkpaper")
    (synopsis "Mathematical paper template")
    (description
     "InkPaper is designed to write mathematical papers, especially designed
for mathematics students, ZJGS students, and magazine editors.")
    (license license:gpl3)))

(define-public texlive-iodhbwm
  (package
    (name "texlive-iodhbwm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iodhbwm/" "tex/latex/iodhbwm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10zqg2cyz7vcnsbgqajwlilakjzr23nhn49sqy82555zkqi27gsa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iodhbwm")
    (synopsis "Unofficial template of the DHBW Mannheim")
    (description
     "This package provides an unofficial template of the DHBW Mannheim for
the creation of bachelor thesis, studies or project work with LaTeX.  The aim
of the package is the quick creation of a basic framework without much
effort.")
    (license license:lppl1.3+)))

(define-public texlive-iscram
  (package
    (name "texlive-iscram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iscram/" "tex/latex/iscram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13p0nr6cwkchykdllf0ii035yjq7hxczb1g7qc7l7jaywfszr5ph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iscram")
    (synopsis "LaTeX class to publish article to ISCRAM conferences")
    (description
     "This is a LaTeX class to publish article to @acronym{ISCRAM,
International Conference on Information Systems for Crisis Response and
Management}.")
    (license license:lppl1.3+)))

(define-public texlive-isodate
  (package
    (name "texlive-isodate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isodate/" "source/latex/isodate/"
                                     "tex/latex/isodate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bha4qpa1hi5i4npr00wz4qvzzc4yw4qydjjmm8n878p8cfygvga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isodate")
    (synopsis "Tune the output format of dates according to language")
    (description
     "This package provides ten output formats of the commands @code{\\today},
@code{\\printdate}, @code{\\printdateTeX}, and @code{\\daterange} (partly
language dependent).  The commands @code{\\printdate} and
@code{\\printdateTeX} print any date.  The command @code{\\daterange} prints
a date range and leaves out unnecessary year or month entries.  This package
supports German (old and new rules), Austrian, US English, British English,
French, Danish, Swedish, and Norwegian.")
    (license license:lppl)))

(define-public texlive-isomath
  (package
    (name "texlive-isomath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isomath/" "tex/latex/isomath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jjz2hp9g6swjfbcd43j12dvsvgwgfid6v6lf3n1c87aq6jqx8ly"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isomath")
    (synopsis "Mathematics style for science and technology")
    (description
     "The package provides tools for a mathematical style that conforms to the
International Standard ISO 80000-2 and is common in science and technology.
It changes the default shape of capital Greek letters to italic, sets up bold
italic and sans-serif bold italic math alphabets with Latin and Greek
characters, and defines macros for markup of vector, matrix and tensor
symbols.")
    (license license:lppl)))

(define-public texlive-itnumpar
  (package
    (name "texlive-itnumpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/itnumpar/"
                                     "source/latex/itnumpar/"
                                     "tex/latex/itnumpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jjl1mskg0vsxfjg2wpnqi0y462mv2qrfsg15zjri83zwrilaa6f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/itnumpar")
    (synopsis "Spell numbers in words (Italian)")
    (description
     "Sometimes we need to say ``Capitolo primo'' or ``Capitolo uno'' instead
of ``Capitolo 1'', that is, spelling the number in words instead of the usual
digit form.  This package provides support for spelling out numbers in Italian
words, both in cardinal and in ordinal form.")
    (license license:lppl)))

(define-public texlive-jablantile
  (package
    (name "texlive-jablantile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/jablantile/"
                                     "fonts/source/public/jablantile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14cxmph6hhzvb06jdqr6d428p1kg3mvbgw2nk133ggrr2k3wjppg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jablantile")
    (synopsis "Metafont version of tiles in the style of Slavik Jablan")
    (description
     "This is a Metafont font to implement the modular tiles described by
Slavik Jablan. ")
    (license license:public-domain)))

(define-public texlive-jacow
  (package
    (name "texlive-jacow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jacow/" "tex/latex/jacow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wdmk9zl3916hgj3f16dlfvrxxlr7ffmjih2nipgfz376ryvnbgf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jacow")
    (synopsis
     "Class for submissions to the proceedings of conferences on JACoW.org")
    (description
     "The @code{jacow} class is used for submissions to the proceedings of
conferences on @acronym{JACoW, Joint Accelerator Conferences Website}, an
international collaboration that publishes the proceedings of accelerator
conferences held around the world.")
    (license license:lppl1.3c)))

(define-public texlive-jamtimes
  (package
    (name "texlive-jamtimes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jamtimes/"
                                     "fonts/map/dvips/jamtimes/"
                                     "fonts/tfm/public/jamtimes/"
                                     "fonts/vf/public/jamtimes/"
                                     "tex/latex/jamtimes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03ww7w963hgsxazlrabg4f0h35rd8jbr9ga11lrhqf66b6zvpyv1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jamtimes")
    (synopsis "Expanded Times Roman fonts")
    (description
     "The package offers LaTeX support for the expanded Times Roman font,
which has been used for many years in the @emph{Journal d'Analyse
Mathematique}.  Mathematics support is based on the Belleek fonts.")
    (license license:bsd-3)))

(define-public texlive-jbact
  (package
    (name "texlive-jbact")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jbact/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z0x6jrxaayp3w441r1zwlqirvv23g0b8h9xgy6r3ppi71glzqvp"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jbact")
    (synopsis "BibTeX style for biology journals")
    (description
     "The style is a development of @file{apalike.bst} in the BibTeX bundle.
The style serves two journals --- if the user executes
@samp{\\nocite@{TitlesOn@}}, the style serves for the @emph{Journal of
Theoretical Biology}; otherwise it serves for the @emph{Journal of Molecular
Biology}.")
    (license license:knuth)))

(define-public texlive-jeuxcartes
  (package
    (name "texlive-jeuxcartes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jeuxcartes/"
                                     "tex/latex/jeuxcartes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bs4jz87sh5mj0ka40w9lh4hq3pmlwmvm94fpmj8zwk1m7r74b7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jeuxcartes")
    (synopsis "Macros to insert playing cards")
    (description
     "This package provides macros to insert playing cards, single, or
hand, or random-hand, Poker or French Tarot or Uno, from PNG files.")
    (license
     (list license:cc-by-sa4.0
           license:expat
           license:lgpl2.1
           license:lppl1.3c
           license:public-domain))))

(define-public texlive-jfmutil
  (package
    (name "texlive-jfmutil")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/jfmutil/" "scripts/jfmutil/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c23wak28a1kwgsk6bw1ifa794zywmqzm7a6w5g883nmbfmsq388"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "jfmutil.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/jfmutil")
    (synopsis "Utility to process pTeX-extended TFM and VF")
    (description
     "This program provides functionality to process data files (JFM and VF) that
form logical fonts used in (u)pTeX.  The functions currently available
include:
@itemize
@item The mutual conversion between Japanese virtual fonts (pairs of VF and
JFM) and files in the ZVP format, which is an original text format
representing data in virtual fonts.  This function can be seen as
a counterpart to the @code{vftovp} and @code{vptovf} programs.
@item The mutual conversion between VF files alone and files in the ZVP0
format, which is a subset of the ZVP format.
@end itemize")
    (license license:expat)))

(define-public texlive-jigsaw
  (package
    (name "texlive-jigsaw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jigsaw/" "tex/latex/jigsaw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qpbsff6saxv2qp4fzyqrprxjy2434ylm11snyc3d59imdmksq0b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jigsaw")
    (synopsis "Draw jigsaw pieces with TikZ")
    (description
     "This is a small LaTeX package to draw jigsaw pieces with TikZ.  It is
possible to draw individual pieces and adjust their shape, create tile
patterns or automatically generate complete jigsaws.")
    (license license:lppl1.3c)))

(define-public texlive-jkmath
  (package
    (name "texlive-jkmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jkmath/" "tex/latex/jkmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gqm6wfarf20yi3cq2h4lbnqp39fif1wg6gpkvbqpy6zlndbdb0r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jkmath")
    (synopsis "Macros for mathematics that make the code more readable")
    (description
     "Inspired by the @code{physicspackage}, the package defines some simple
macros for mathematical notation which make the code more readable or allow
flexibility in typesetting material.")
    (license license:lppl)))

(define-public texlive-jmb
  (package
    (name "texlive-jmb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jmb/" "tex/latex/jmb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a5nz825jppq3pl1263w2sbm0a48kmmndppfpp7vi69n5j2248dy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jmb")
    (synopsis "BibTeX style for the @emph{Journal of Theoretical Biology}")
    (description
     "This BibTeX bibliography style is for the @emph{Journal of Molecular
Biology} and @emph{Journal of Theoretical Biology}; the accompanying LaTeX
package is a close relative of @code{apalike.sty} in the BibTeX distribution;
it features author-date references.")
    (license license:knuth)))

(define-public texlive-jmlr
  (package
    (name "texlive-jmlr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jmlr/" "source/latex/jmlr/"
                                     "tex/latex/jmlr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "125zcy1363xlay5ss411x1rl7nyidbh5aygvcr8q8j3qp4yqajrn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jmlr")
    (synopsis "Class files for the @emph{Journal of Machine Learning Research}")
    (description
     "The @code{jmlr} bundle provides a class for authors (@code{jmlr}) and
a class for production editors (@code{jmlrbook}) for the @emph{Journal of
Machine Learning Research}.  The @code{jmlrbook} class can be used to combine
articles written using the @code{jmlr} class into a book.")
    (license license:lppl1.3+)))

(define-public texlive-jneurosci
  (package
    (name "texlive-jneurosci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jneurosci/"
                                     "doc/latex/jneurosci/"
                                     "tex/latex/jneurosci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y010df0hxqsjb1q571z4s3vnz2q03l2n4lycg6z89b2yyvdplsv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jneurosci")
    (synopsis "BibTeX style for the @emph{Journal of Neuroscience}")
    (description
     "This is a slightly modified version of the @code{namedplus} style, which
fully conforms with the @emph{Journal of Neuroscience} citation style.  It
should be characterised as an author-date citation style; a BibTeX style and
a LaTeX package are provided.")
    (license license:lppl)))

(define-public texlive-jnuexam
  (package
    (name "texlive-jnuexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jnuexam/" "tex/latex/jnuexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n4nj9k5ahk2fncgdxbmq20kzar7jskwqcpiz76kdv136ci3c176"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jnuexam")
    (synopsis "Exam class for Jinan University")
    (description
     "The package provides an exam class for Jinan University (China).")
    (license license:lppl1.3+)))

(define-public texlive-josefin
  (package
    (name "texlive-josefin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/josefin/"
                                     "fonts/enc/dvips/josefin/"
                                     "fonts/map/dvips/josefin/"
                                     "fonts/tfm/public/josefin/"
                                     "fonts/truetype/public/josefin/"
                                     "fonts/type1/public/josefin/"
                                     "fonts/vf/public/josefin/"
                                     "tex/latex/josefin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ja91mkcpgvdycqxlfa1xfay427b3d7akq8pcdwvgakzgf9bkb1s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/josefin")
    (synopsis "Josefin fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Josefin Sans family of fonts, designed by Santiago Orozco.  Josefin Sans
is available in seven weights, with corresponding italics.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-jourcl
  (package
    (name "texlive-jourcl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jourcl/" "tex/latex/jourcl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wbq0mjl6931267qiw0nrfqxa4blpddqyv27m3wggbpbrz9hvakb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jourcl")
    (synopsis "Cover letter for journal submissions")
    (description
     "Paper submissions to journals are usually accompanied by a cover letter.
This package provides a LaTeX class and a template for such a cover letter
with the following main features:

@itemize

@item minimalistic design,

@item custom image,

@item pre-defined commands for journal name, author, date, etc.

@item many macros contained in this package speed up the process of
preparing the necessary ingredients for the cover letter;

@item macros for recommending up to three reviewers and editors;

@item ORCID logo and link to the submitting author's ORCID page;

@item controls for adding a ``conflict of interest'' statement and declaration;

@item custom greeting;

@item predefined valedictions for different types of submissions.

@end itemize")
    (license license:cc-by-sa4.0)))

(define-public texlive-jpsj
  (package
    (name "texlive-jpsj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jpsj/" "tex/latex/jpsj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gvszj0igklm8b0p268j59ysfbahh03c6nbm6gpzkan3p4ijabdi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jpsj")
    (synopsis
     "Document class for @emph{Journal of the Physical Society of Japan}")
    (description
     "This package provides a document class for @emph{Journal of the Physical
Society of Japan}.")
    (license license:lppl)))

(define-public texlive-junicode
  (package
    (name "texlive-junicode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/junicode/"
                                     "fonts/enc/dvips/junicode/"
                                     "fonts/map/dvips/junicode/"
                                     "fonts/opentype/public/junicode/"
                                     "fonts/tfm/public/junicode/"
                                     "fonts/truetype/public/junicode/"
                                     "fonts/type1/public/junicode/"
                                     "fonts/vf/public/junicode/"
                                     "tex/latex/junicode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qm6p9dhibyp2q6slw2fw1ph230rak8vqvk4mdhx4fls3i6zfcfj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/junicode")
    (synopsis "TrueType font for medievalists")
    (description
     "Junicode is a TrueType font with many OpenType features for
antiquarians (especially medievalists) based on typefaces used by the Oxford
Press in the late 17th and early 18th centuries.  It works well with
Xe(La)TeX.")
    (license license:silofl1.1)))

(define-public texlive-jupynotex
  (package
    (name "texlive-jupynotex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jupynotex/"
                                     "tex/latex/jupynotex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dfb20pv1ws89ckk80hnj57w64m4whmm8s66wh2lb9s3a2rd0brk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jupynotex")
    (synopsis "Include whole or partial Jupyter notebooks in LaTeX documents")
    (description
     "This package provides a Python script and a LaTeX @file{.sty} file which
can be used together to include Jupyter Notebooks (all of them, or some
specific cells) as part of a LaTeX document.  It will convert the Jupyter
Notebook format to proper LaTeX so it gets included seamlessly, supporting
text, LaTeX, images, etc.")
    (license license:asl2.0)))

(define-public texlive-jura
  (package
    (name "texlive-jura")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jura/" "source/latex/jura/"
                                     "tex/latex/jura/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lxss00mymcxljzaqmwj9zpy9cpc71a0a4g6bqrzvgspj506jdp7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jura")
    (synopsis "Document class for German legal texts")
    (description
     "This package implements the standard layout for German term papers in law
(one-and-half linespacing, 7 cm margins, etc.).  It includes @code{alphanum}
that permits alphanumeric section numbering (e.g., @samp{A. Introduction};
@samp{III. International Law}).")
    (license license:gpl3+)))

(define-public texlive-juraabbrev
  (package
    (name "texlive-juraabbrev")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/juraabbrev/"
                                     "makeindex/juraabbrev/"
                                     "source/latex/juraabbrev/"
                                     "tex/latex/juraabbrev/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xybpc9j3x0gvq8hs5hrbb6ivilmp8ayjp6bq8xd7gsy7awag5d7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/juraabbrev")
    (synopsis "Abbreviations for typesetting (German) juridical documents")
    (description
     "This package should be helpful for people working on (German) law.  It
helps you to handle abbreviations and creates a list of those (pre-defined)
abbreviations that have actually been used in the document.")
    (license license:gpl3+)))

(define-public texlive-jurabib
  (package
    (name "texlive-jurabib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/jurabib/" "bibtex/bst/jurabib/"
                                     "doc/latex/jurabib/" "source/latex/jurabib/"
                                     "tex/latex/jurabib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z8n654n0f97qayql0111smpydwmdf6i22bg55i6nh5al2jcsbbb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jurabib")
    (synopsis
     "Extended BibTeX citation support for the humanities and legal texts")
    (description
     "This package enables automated citation with BibTeX for legal studies
and the humanities.  In addition, the package provides commands for specifying
editors in a commentary in a convenient way.  Simplified formatting of the
citation as well as the bibliography entry is also provided.  It is possible
to display the (short) title of a work only if an authors is cited with
multiple works.  Giving a full citation in the text, conforming to the
bibliography entry, is supported.  Several options are provided which might be
of special interest for those outside legal studies--for instance, displaying
multiple full citations.  In addition, the format of last names and first
names of authors may be changed easily.  Cross references to other footnotes
are possible.  Language dependent handling of bibliography entries is possible
by the special language field.")
    (license license:gpl3+)))

(define-public texlive-juramisc
  (package
    (name "texlive-juramisc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/juramisc/" "tex/latex/juramisc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ka6gmlb0vlg0317ihjnlklvaajj4rrbi7c2iisngz69fgjm26iy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/juramisc")
    (synopsis "Typesetting German juridical documents")
    (description
     "This package provides a collection of classes for typesetting court
sentences, legal opinions, books and dissertations for German lawyers.
A @code{jurabook} class is also provided, which may not yet be complete.")
    (license license:lppl)))

(define-public texlive-jurarsp
  (package
    (name "texlive-jurarsp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jurarsp/" "doc/latex/jurarsp/"
                                     "source/latex/jurarsp/" "tex/latex/jurarsp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03lwp5v6fmq2zhiwaf4qj52k44grzh119il4pdp2fvgl2q4a39sm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jurarsp")
    (synopsis
     "Citations of judgements and official documents in (German) juridical
documents")
    (description
     "This package should be helpful for people working on (German) law.
It (ab)uses BibTeX for citations of judgements and official documents.  For
this purpose, a special BibTeX-style is provided.")
    (license license:gpl3+)))

(define-public texlive-jwjournal
  (package
    (name "texlive-jwjournal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jwjournal/"
                                     "tex/latex/jwjournal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "037brrxgd0zdjcac41n8gpvqiwj4n77f2q93bpdgla20ldyk7m51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-einfart))
    (home-page "https://ctan.org/pkg/jwjournal")
    (synopsis "Personal class for writing journals")
    (description
     "This LaTeX document class enables the user to turn simple pure text
entries into a colorful and nicely formatted journal.")
    (license license:lppl1.3c)))

(define-public texlive-karnaugh
  (package
    (name "texlive-karnaugh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/karnaugh/" "tex/latex/karnaugh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zpn2q5v9dv8196h9186b9wx2hbp0j9l1fg6k2pdqhwxgdcgssxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/karnaugh")
    (synopsis "Typeset Karnaugh-Veitch-maps")
    (description
     "The package provides macros for typesetting Karnaugh-Maps and
Veitch-Charts in a simple and user-friendly way.  Karnaugh-Maps and
Veitch-Charts are used to display and simplify logic functions manually.
These macros can typeset Karnaugh-Maps and Veitch-Charts with up to ten
variables.")
    (license license:lppl1.0+)))

(define-public texlive-karnaugh-map
  (package
    (name "texlive-karnaugh-map")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/karnaugh-map/"
                                     "source/latex/karnaugh-map/"
                                     "tex/latex/karnaugh-map/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01gcffk9vys81b0ad1rxlqnq8i8yflfhby43fr46h7li6p08rx09"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/karnaugh-map")
    (synopsis "LaTeX package for drawing Karnaugh maps with up to 6 variables")
    (description
     "This package draws Karnaugh maps with 2, 3, 4, 5, and 6 variables.  It
also contains commands for filling the karnaugh map with terms
semi-automatically or manually.  Last but not least it contains commands for
drawing implicants on top of the map.")
    (license license:cc-by-sa3.0)))

(define-public texlive-karnaughmap
  (package
    (name "texlive-karnaughmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/karnaughmap/"
                                     "source/latex/karnaughmap/"
                                     "tex/latex/karnaughmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wwgdcpv5chr7frnlf2j56yiwk5m28bixbv83p2h4f3jl10v5hwi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/karnaughmap")
    (synopsis "Typeset Karnaugh maps")
    (description
     "This package provides an easy to use interface to typeset Karnaugh maps
using TikZ.  Though similar to the @code{karnaugh} macros, it provides
a key-value system to customize Karnaugh maps and a proper LaTeX package.")
    (license license:lppl1.2+)))

(define-public texlive-kaytannollista-latexia
  (package
    (name "texlive-kaytannollista-latexia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kaytannollista-latexia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w45gqrvbjfzqsx84flyf150zj8jw1wcd1zfhd361nzazqz7b0xw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kaytannollista-latexia")
    (synopsis "Practical manual for LaTeX (Finnish)")
    (description
     "@emph{Kaytannollista Latexia} is a practical manual for LaTeX written in
the Finnish language.  The manual covers most of the topics that a typical
document author needs.  So it can be a useful guide for beginners as well as
a reference manual for advanced users.")
    (license license:cc-by-sa4.0)))

(define-public texlive-kdgdocs
  (package
    (name "texlive-kdgdocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kdgdocs/" "source/latex/kdgdocs/"
                                     "tex/latex/kdgdocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjd6y3h8m08zwhnd0bg3153xapxxqy2i23i30fcvv5mj5pnnql8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kdgdocs")
    (synopsis "Document classes for Karel de Grote University College")
    (description
     "The bundle provides two classes for usage by @acronym{KdG, Karel de
Grote} University College professors and master students: @code{kdgcoursetext}
for writing course texts, and @code{kdgmasterthesis} for writing master's
theses.")
    (license license:lppl1.3+)))

(define-public texlive-kdpcover
  (package
    (name "texlive-kdpcover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kdpcover/"
                                     "source/latex/kdpcover/"
                                     "tex/latex/kdpcover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "116pzg0bdrj78vs2sq196jcwnv16b734kqnhfcg3fka4mf6jk2d1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-anyfontsize
           texlive-geometry
           texlive-graphics
           texlive-microtype
           texlive-pgf
           texlive-setspace
           texlive-textpos
           texlive-tools
           texlive-xcolor
           texlive-xifthen
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/kdpcover")
    (synopsis "Covers for books published by Kindle Direct Publishing")
    (description
     "The problem this class solves is the necessity to change the size of the
cover PDF according to the number of pages in the book --- the bigger the
book, the larger the spine of the book must be.  The provided class makes the
necessary calculations on-the-fly, using the @code{qpdf} tool.")
    (license license:expat)))

(define-public texlive-kfupm-math-exam
  (package
    (name "texlive-kfupm-math-exam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kfupm-math-exam/"
                                     "source/latex/kfupm-math-exam/"
                                     "tex/latex/kfupm-math-exam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hgyasjhqpb1b9xnffzcwhsi8rr6wx929awn0sadx6rsabiamb16"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kfupm-math-exam")
    (synopsis
     "LaTeX document style to produce homework, quiz and exam papers")
    (description
     "The package provides commands and environments that simplify and
streamline the process of preparing homework, quiz and exam papers according
to a preferred style.  The default style is based on the guidelines set by the
department of mathematics at @acronym{KFUPM, King Fahd University of Petroleum
and Minerals}.  It can be easily customized to fit any style for any
institution.")
    (license license:expat)))

(define-public texlive-kixfont
  (package
    (name "texlive-kixfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kixfont/"
                                     "fonts/source/public/kixfont/"
                                     "fonts/tfm/public/kixfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w6fjsws26plm9p74c3qcvvgx5hhlabfbhpc046rb31183f7h0q5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/kixfont")
    (synopsis "Font for KIX codes")
    (description
     "The KIX code is a barcode-like format used by the Dutch PTT to encode
country codes, zip codes and street numbers in a machine-readable format.  If
printed below the address line on bulk mailings, a discount can be obtained.
The font is distributed in Metafont format, and covers the numbers and
upper-case letters.")
    (license license:public-domain)))

(define-public texlive-kluwer
  (package
    (name "texlive-kluwer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/kluwer/" "doc/latex/kluwer/"
                                     "source/latex/kluwer/" "tex/latex/kluwer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14y95srzggd8kaiyjq0sz5amvmppl3rilhj9fr0vcjsy2g1ms52z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; The "kluwer.ins" file only generates "kluwer.cls".  To that
          ;; effect, it needs data from files located in
          ;; "tex/latex/kluwer/".  Bring them to build directory.
          (add-before 'build 'bring-data-files
            (lambda _
              (for-each (lambda (f) (install-file f "build/"))
                        (find-files "tex/latex/kluwer/" "\\.(clo|sty)$")))))))
    (home-page "https://ctan.org/pkg/kluwer")
    (synopsis "@emph{Kluwer} publication support")
    (description
     "This package provides a class file for @emph{Kluwer} journal
submissions, and bibliography style for named references.  It also includes
@file{klucite.sty}, which collapses bibliographic citations, and
@file{klups.sty}, which attempts to select Times for text and MathTime for
math instead of Computer Modern.  This package is most likely long obsolete,
unfortunately.")
    (license license:knuth)))

(define-public texlive-kotex-oblivoir
  (package
    (name "texlive-kotex-oblivoir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kotex-oblivoir/"
                                     "tex/latex/kotex-oblivoir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rnwzbalirc1qdhwkn976w09r2q39vycn027m2cmk6wxcc2v67bs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kotex-utf texlive-memoir))
    (home-page "https://ctan.org/pkg/kotex-oblivoir")
    (synopsis "LaTeX document class for typesetting Korean documents")
    (description
     "The class is based on @code{memoir}, and is adapted to typesetting
Korean documents.")
    (license license:lppl1.3c)))

(define-public texlive-kotex-plain
  (package
    (name "texlive-kotex-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/kotex-plain/"
                                     "tex/plain/kotex-plain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r79cvm7iy1266yvrn60vwq9wjkgmzgfihbz9dqc84lif5q8kmnw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kotex-plain")
    (synopsis "Macros for typesetting Korean under Plain TeX")
    (description
     "The package provides macros for typesetting Hangul, the native alphabet
of the Korean language, using Plain TeX.  Korean text should be encoded in
UTF-8.")
    (license license:lppl1.3c)))

(define-public texlive-kotex-utf
  (package
    (name "texlive-kotex-utf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kotex-utf/"
                                     "tex/latex/kotex-utf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l3hlav7fihws2ly49fn994sc7mjcdwk3zp4xhkgvm0mqjbxzxzz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-cjk-ko))
    (home-page "https://ctan.org/pkg/kotex-utf")
    (synopsis "Typeset Hangul, coded in UTF-8")
    (description
     "The package typesets Hangul, which is the native alphabet of the Korean
language; input Korean text should be encoded in UTF-8.")
    (license license:lppl1.3c)))

(define-public texlive-kotex-utils
  (package
    (name "texlive-kotex-utils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kotex-utils/"
                                     "makeindex/kotex-utils/"
                                     "scripts/kotex-utils/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01qmr50fr3i2gzgjyj69jgj4czf62s22z58kja6hbqygczc1jba3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "jamo-normalize.pl" "komkindex.pl" "ttf2kotexfont.pl")))
    (inputs (list perl))
    (propagated-inputs (list texlive-kotex-utf))
    (home-page "https://ctan.org/pkg/kotex-utils")
    (synopsis "Utility scripts and support files for typesetting Korean")
    (description
     "The bundle provides scripts and support files for index generation in
Korean language typesetting.")
    (license license:lppl)))

(define-public texlive-knuth-errata
  (package
    (name "texlive-knuth-errata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/knuth-errata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rcyw7dqcwlnf9q421k017hrx5c0d9rra6rcr3n6wqmhxmdy5mn9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-errata")
    (synopsis "Knuth's published errata")
    (description
     "These files record details of problems reported in Knuth's Computers and
Typesetting series of books, for the Computer Modern fonts, and for TeX,
Metafont and related programs.")
    (license license:knuth)))

(define-public texlive-knuth-hint
  (package
    (name "texlive-knuth-hint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/knuth-hint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fl3nyzsf9jifccw75grhdgyh5qhj4akkkyaa7mp6kpfznipqbmc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-hint")
    (synopsis "HINT collection of typeset C/WEB sources in TeX Live")
    (description
     "The @code{knuth-hint} package contains the large collection of HINT
documents for many of the CWEB amd WEB sources of programs in the TeX Live
distribution (and, for technical reasons, PDF documents for CTWILL and XeTeX).
Each program is presented in its original form as written by the respective
authors, and in the changed form as used in TeX Live.  Care has been taken to
keep the section numbering intact, so that you can study the codes and the
changes in parallel.

Also included are the errata for Donald Knuth's @emph{Computers &
Typesetting}.  HINT is the dynamic document format created by Martin Ruckert's
HiTeX engine.  The HINT files can be viewed with the @code{hintview}
application.  The @code{knuth-hint} package is a showcase of HiTeX's
capabilities.")
    (license (list license:public-domain license:knuth))))

(define-public texlive-knuth-pdf
  (package
    (name "texlive-knuth-pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/knuth-pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ig3ml88gqks5j9ly73qsx0kdii5m2i46f9d9bnh7nr9bjbpmd38"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-pdf")
    (synopsis "PDF collection of typeset C/WEB sources in TeX Live")
    (description
     "Here you find a large collection of PDF documents for many C/WEB
programs in TeX Live, both in their original form as written by their
respective authors, and in the changed form as they are actually used in the
TeX Live system.  Care has been taken to keep the section numbering intact, so
that you can study the sources and their changes in parallel.

Also included is the collection of errata for Donald Knuth's @emph{Computers &
Typesetting series}.  Although not all the texts here are written or
maintained by Donald Knuth, it is more convenient for everything to be
collected in one place for reading and searching.  They all stem from the
system that Knuth created.  The central entry point is the index file, with
links to the individual documents, either in HTML or in PDF format.")
    (license license:public-domain)))

(define-public texlive-ksfh-nat
  (package
    (name "texlive-ksfh-nat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ksfh_nat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qzn0n19lslf2qg8fvm844xx5k7s8a275a77z2ynbb0vs1w4prpw"))))
    (properties '((upstream-name . "ksfh_nat")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ksfh-nat")
    (synopsis "BibTeX style for KSFH Munich")
    (description
     "The package supports bibliographies as standard for
KSFH (@emph{Katholische Stiftungsfachhochschule}) Munich.  BibTeX entries in
@code{article}, @code{book}, @code{inbook}, @code{incollection} and
@code{misc} formats are supported.")
    (license license:lppl1.3+)))

(define-public texlive-ksp-thesis
  (package
    (name "texlive-ksp-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ksp-thesis/"
                                     "tex/latex/ksp-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03jklx2yym78b29y3s8fh91mfsn9p4w1cl7yisj3kyyawygzs6hp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ksp-thesis")
    (synopsis
     "LaTeX class for theses published with KIT Scientific Publishing")
    (description
     "This package provides a LaTeX class intended for authors who want to
publish their thesis or other scientific work with @acronym{KSP, KIT
Scientific Publishing}.  The class is based on the @code{scrbook} class of the
KOMA-script bundle in combination with the ClassicThesis and ArsClassica
packages.  It modifies some of the layout and style definitions of these
packages in order to provide a document layout that should be compatible with
the requirements by KSP.")
    (license license:lppl1.3+)))

(define-public texlive-ku-template
  (package
    (name "texlive-ku-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ku-template/"
                                     "tex/latex/ku-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aa3rday97l1b7vca6sq1jwj81bqx6j7d0ijz0jr4vp3r27pxgs9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ku-template")
    (synopsis "Copenhagen University or faculty logo for front page")
    (description
     "This package provides a comprehensive package for adding University of
Copenhagen or faculty logo to your front page.  For use by student or staff at
University of Copenhagen (Kobenhavns Universitet).")
    (license license:expat)))

(define-public texlive-kvmap
  (package
    (name "texlive-kvmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kvmap/" "source/latex/kvmap/"
                                     "tex/latex/kvmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04sjs8r2ijd0rdx5d13p6pwnwnwd0rgzx894j3cqfi29y860c7yr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-amsmath texlive-l3experimental
                             texlive-pgf))
    (home-page "https://ctan.org/pkg/kvmap")
    (synopsis "Create Karnaugh maps with LaTeX")
    (description
     "This LaTeX package allows the creation of (even large) Karnaugh maps.
It provides a tabular-like input syntax and support for drawing bundles
(implicants) around adjacent values.")
    (license license:lppl1.3c)))

(define-public texlive-langsci
  (package
    (name "texlive-langsci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/langsci/"
                                     "tex/xelatex/langsci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jqv69wbr9mwg019h4x8b7s717299dy6pvmdpqs1mrdnrpzvl1v6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langsci")
    (synopsis "Typeset books for publication with Language Science Press")
    (description
     "This package allows you to typeset monographs and edited volumes for
publication with @url{https://www.langsci-press.org, Language Science Press}.
It includes all necessary files for title pages, frontmatter, main content,
list of references and indexes.")
    (license license:lppl1.3+)))

(define-public texlive-langsci-avm
  (package
    (name "texlive-langsci-avm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/langsci-avm/"
                                     "source/latex/langsci-avm/"
                                     "tex/latex/langsci-avm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n53syf2slndgjbndjhd3cl8y6bl9j3xgb86z9r1mwvdcdls5674"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langsci-avm")
    (synopsis "Feature structures and attribute-value matrices (AVM)")
    (description
     "This package provides a package for typesetting feature structures,
also known as attribute-value matrices (AVMs), for use in linguistics.  The
package provides a minimal and easy to read syntax.  The package serves the
same purpose as @code{avm} package, but shares no code base with that
package.")
    (license license:lppl1.3c)))

(define-public texlive-lato
  (package
    (name "texlive-lato")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lato/"
                                     "fonts/enc/dvips/lato/"
                                     "fonts/map/dvips/lato/"
                                     "fonts/tfm/typoland/lato/"
                                     "fonts/truetype/typoland/lato/"
                                     "fonts/type1/typoland/lato/"
                                     "fonts/vf/typoland/lato/"
                                     "tex/latex/lato/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ykwm108zh79dv96axl74izzhzvmbx74pcl46i99ix2qpicyvcf7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lato")
    (synopsis "Lato font family and LaTeX support")
    (description
     "Lato is a sanserif typeface family designed by Lukasz Dziedzic.  This
font, which includes five weights (hairline, light, regular, bold and black),
is available as TrueType files.  The package provides support for this font in
LaTeX.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-l2picfaq
  (package
    (name "texlive-l2picfaq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2picfaq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mk8d082gcqlxw2x7d2w85sm6i51928pijybzbsh9fy2rfcv99xz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2picfaq")
    (synopsis "LaTeX pictures how-to (German)")
    (description
     "The document (in German) is a collection of how-to notes about LaTeX and
pictures.  The aim of the document is to provide a solution, in the form of
some sample code, for every problem.")
    (license license:fdl1.3+)))

(define-public texlive-l2tabu
  (package
    (name "texlive-l2tabu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jl0n43bqbys0c9v0xb4sjql0gvk4r14ldzp2rbwzjsk8a39q8v8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu")
    (synopsis "Obsolete packages and commands")
    (description
     "This package provides a German translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:gpl3+)))

(define-public texlive-l2tabu-english
  (package
    (name "texlive-l2tabu-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dqmdr3lffhiaq7pg5pn6ia46miwq4nh5vimhd0qbf936amiv1mm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-english")
    (synopsis "English translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides an English translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:fdl1.2+)))

(define-public texlive-l2tabu-french
  (package
    (name "texlive-l2tabu-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c6fbmgwv2adlxbhl1shvpa1w6xd36gmrwvkjgdp9xc3q999l4dj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-french")
    (synopsis "English translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides a French translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:fdl1.2+)))

(define-public texlive-l2tabu-italian
  (package
    (name "texlive-l2tabu-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bgfmn5v80rdhs9wmjj6mki29p28ip1d29rmgbw4jh4z6gd4sf22"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-italian")
    (synopsis "Italian translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides an Italian translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:fdl1.2+)))

(define-public texlive-l2tabu-spanish
  (package
    (name "texlive-l2tabu-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l2tabu-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p83xflgv8x7nq9mylh468zn3hz5pv3zxprc63q51fwx0ylxfdbk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/l2tabu-spanish")
    (synopsis "Spanish translation of @emph{Obsolete packages and commands}")
    (description
     "This package provides a Spanish translation of the @emph{l2tabu}
practical guide to LaTeX2e by Mark Trettin.  It focuses on obsolete packages
and commands.")
    (license license:public-domain)))

(define-public texlive-labyrinth
  (package
    (name "texlive-labyrinth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/labyrinth/"
                                     "tex/latex/labyrinth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i4w3dmfjq9vp6m82p4afplca0pdvk36g2h1yskmwbis07bykdgp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/labyrinth")
    (synopsis "Draw labyrinths and solution paths")
    (description
     "The @code{labyrinth} package provides code and an environment for
typesetting simple labyrinths with LaTeX, and generating an automatic or
manual solution path.")
    (license license:lppl)))

(define-public texlive-lambda
  (package
    (name "texlive-lambda")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/lambda/base/" "tex/lambda/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajx5g5cd5s9jqr4b196689k7zmlxmhhksly88qps31s7lzaprvn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lambda")
    (synopsis "LaTeX for Omega and Aleph")
    (description "This is LaTeX for Omega and Aleph.")
    (license license:lppl1.0+)))

(define-public texlive-langnames
  (package
    (name "texlive-langnames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/langnames/"
                                     "source/latex/langnames/"
                                     "tex/latex/langnames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cyhqvr2j2h6sbblg4dpqwnl5kxlr82s0fs5ppm7vpnmqbhzcsm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langnames")
    (synopsis "Name languages and their genetic affiliations consistently")
    (description
     "This package attempts to make the typing of language names, codes, and
families slightly easier by providing macros to access pre-defined
language --- code --- family combinations from two important databases, as
well as the possibility to create new combinations.  It may be particularly
useful for large, collaborative projects as well as typologically minded ones
with a variety of language examples.")
    (license license:lppl1.3+)))

(define-public texlive-latex-notes-zh-cn
  (package
    (name "texlive-latex-notes-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/latex-notes-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w9rmd7b5fnfvix653n9vbnn1k8yxlaaak79ipvm8p53dx75xfxd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-notes-zh-cn")
    (synopsis "Chinese Introduction to TeX and LaTeX")
    (description
     "The document is an introduction to TeX and LaTeX, in Chinese.  It covers
basic text typesetting, mathematics, graphics, tables, Chinese language &
fonts, and some miscellaneous features (hyperlinks, long documents,
bibliographies, indexes and page layout).")
    (license license:lppl1.3+)))

(define-public texlive-latex2e-help-texinfo-fr
  (package
    (name "texlive-latex2e-help-texinfo-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2e-fr.info"
                                     "doc/latex/latex2e-help-texinfo-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13s0zjwk3m95kbx4qrz2xwp8kifzc2zmasp1ks9l2acf1nqfac9p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex2e-help-texinfo-fr")
    (synopsis "French translation of @code{latex2e-help-texinfo}")
    (description
     "This package provides a complete French translation of
@code{latex2e-help-texinfo}.")
    (license license:public-domain)))

(define-public texlive-latex2e-help-texinfo-spanish
  (package
    (name "texlive-latex2e-help-texinfo-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2e-es.info"
                                     "doc/latex/latex2e-help-texinfo-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v3wa99phdmsiajbq0ad4h939cpwjwzpq88h6s0796h5fr34hrvq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex2e-help-texinfo")
    (synopsis "Spanish translation of @code{latex2e-help-texinfo}")
    (description
     "This package provides a complete Spanish translation of
@code{latex2e-help-texinfo}.")
    (license license:public-domain)))

(define-public texlive-latex4musicians
  (package
    (name "texlive-latex4musicians")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex4musicians/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zvy2pa93kyn056d5n0irzdq5xmzki6d35zxacxfy19r0g9rwq6f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex4musicians")
    (synopsis "Guide for combining LaTeX and music")
    (description
     "This guide, @emph{LaTeX for Musicians}, explains how to create LaTeX
documents that include several kinds of music elements: music symbols, song
lyrics, guitar chords diagrams, lead sheets, music excerpts, guitar
tablatures, multi-page scores.")
    (license license:fdl1.3+)))

(define-public texlive-latexcheat-de
  (package
    (name "texlive-latexcheat-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cpqcvqkkyb2bf87yjvc2migxawnacx5mva8dapma7hmwx0z7rhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat-de")
    (synopsis "LaTeX cheat sheet, in German")
    (description
     "This is a translation to German of Winston Chang's LaTeX cheat sheet (a
reference sheet for writing scientific papers).  It has been adapted to German
standards using the KOMA script document classes.")
    (license license:lppl)))

(define-public texlive-latexcheat-esmx
  (package
    (name "texlive-latexcheat-esmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat-esmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d6nk9p9adlhgr28mnnizrxzzqlk20zw2clcddqlaa8pn73dqhcm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat-esmx")
    (synopsis "LaTeX cheat sheet, in Spanish")
    (description
     "This is a translation to Spanish (Castellano) of Winston Chang's LaTeX
cheat sheet (a reference sheet for writing scientific papers).")
    (license license:lppl)))

(define-public texlive-latino-sine-flexione
  (package
    (name "texlive-latino-sine-flexione")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latino-sine-flexione/"
                                     "tex/latex/latino-sine-flexione/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0py61xhgg73jlz6f9p7g9r06pn7m648d29068i4d97gqc20i2jvc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latino-sine-flexione")
    (synopsis "LaTeX support for documents written in Peano's Interlingua")
    (description
     "Latino sine Flexione (or Interlingua) is a language constructed by
Giuseppe Peano at the beginning of the last century.  This simplified Latin is
designed to be an instrument for international cooperation, especially in the
academic sphere.  This package provides the necessary translations to use the
language within a LaTeX document.  It also imports @code{fontenc} in order to
be able to use ligatures and quotation marks.  Finally, it offers a text in
Interlingua that can be used as a dummy text: @emph{Fundamento de
intelligentia}.")
    (license license:public-domain)))

(define-public texlive-leadsheets
  (package
    (name "texlive-leadsheets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/leadsheets/"
                                     "tex/latex/leadsheets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12aly170pf10dw82i6rykiaxl9r5mmva7kvkhlywir4s6gx07gjc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/leadsheets")
    (synopsis "Typesetting leadsheets and songbooks")
    (description
     "This LaTeX package offers support for typesetting simple leadsheets of
songs, i.e., song lyrics and the corresponding chords.")
    (license license:lppl1.3+)))

(define-public texlive-ledmac
  (package
    (name "texlive-ledmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ledmac/" "source/latex/ledmac/"
                                     "tex/latex/ledmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03b23rkhdhvr0rbmp687p76mlq68crsfyh67frxbnh11vccmfgnc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ledmac")
    (synopsis "Typeset scholarly editions")
    (description
     "This package provides a macro package for typesetting scholarly critical
editions.  The @code{ledmac} package is a LaTeX port of the Plain TeX EDMAC
macros.  It supports indexing by page and line number and simple
@code{tabular}- and @code{array}-style environments.  The package is
distributed with the related @code{ledpar} and @code{ledarab} packages.  The
package is now superseded by @code{reledmac}.")
    (license license:lppl1.3+)))

(define-public texlive-letgut
  (package
    (name "texlive-letgut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/letgut/"
                                     "source/lualatex/letgut/"
                                     "tex/lualatex/letgut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cylvg39cav72pg3h48awmj7fka5kyj805hv9ayzk9ybxyvkwayz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/letgut")
    (synopsis
     "Class for the newsletter @code{La Lettre GUTenberg} of the French TeX User
Group GUTenberg")
    (description
     "The French TeX User Group GUTenberg has been publishing @emph{The
GUTenberg Letter}, its irregular newsletter, since February 1993.  For this
purpose, a dedicated, in-house (La)TeX class was gradually created but,
depending on new needs and on the people who were publishing the Newsletter,
its development was somewhat erratic; in particular, it would not have been
possible to publish its code as it was.  In addition, its documentation was
non-existent.  The Board of Directors of the association, elected in November
2020, wished to provide a better structured, more perennial and documented
class, able to be published on the CTAN.  This is now done with the present
@code{letgut} class.")
    (license license:lppl1.3c)))

(define-public texlive-letterswitharrows
  (package
    (name "texlive-letterswitharrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/letterswitharrows/"
                                     "source/latex/letterswitharrows/"
                                     "tex/latex/letterswitharrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qws4in1qgj52z2d38lfyx3l3dxp01agfbipy5xdi1p4jyhw6b7c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/letterswitharrows")
    (synopsis "Draw arrows over math letters")
    (description
     "This package provides LaTeX math-mode commands for setting left and
right arrows over mathematical symbols so that the arrows dynamically scale
with the symbols.  While it is possible to set arrows over longer strings of
symbols, the focus lies on single characters.")
    (license license:lppl1.3+)))

(define-public texlive-lexend
  (package
    (name "texlive-lexend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lexend/"
                                     "fonts/truetype/public/lexend/"
                                     "tex/latex/lexend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jk9m3zb3xik463nwsjh003ly3xrrph7kam519b9lyqybyxb16xs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lexend")
    (synopsis "Lexend fonts for XeLaTeX and LuaLaTeX")
    (description
     "The purpose of this package is pretty straightforward: the Lexend font
collection has been designed by Dr.@: Bonnie Shaver-Troup and Thomas Jockin to
make reading easier for everyone.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-lexikon
  (package
    (name "texlive-lexikon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lexikon/" "tex/latex/lexikon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x2h8w3cchzr2lvx5xqs1fn01y7b4lqkky85dard223w2r1dn22m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lexikon")
    (synopsis "Macros for a two language dictionary")
    (description "This package provides macros for a two language
dictionary.")
    (license license:lppl)))

(define-public texlive-lexref
  (package
    (name "texlive-lexref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lexref/" "tex/latex/lexref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0562vjn0vvjsqfi2jqy1yp6mqi8nrs25yc9nr1zc950q421w0vrb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lexref")
    (synopsis "Convenient and uniform references to legal provisions")
    (description
     "The package is aimed at continental lawyers (especially those in
Switzerland and Germany), allowing the user to make references to legal
provisions conveniently and uniformly.  The package also allows the user to
add cited Acts to a nomenclature list (automatically), and to build specific
indexes for each cited Act.")
    (license license:lppl1.3+)))

(define-public texlive-lfb
  (package
    (name "texlive-lfb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lfb/" "fonts/source/public/lfb/"
                                     "fonts/tfm/public/lfb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n0cf7igvhqnmdk8hjj1lahzr3iaiaqsq01pxkphg6myab127x71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/lfb")
    (synopsis "Greek font with normal and bold variants")
    (description
     "This is a Greek font written in Metafont, with inspiration from the
Bodoni typefaces in old books.  It is stylistically a little more exotic than
the standard textbook Greek fonts, particularly in glyphs like the lowercase
rho and kappa.  It aims for a rather calligraphic feel, but seems to blend
well with Computer Modern.  There is a ligature scheme which automatically
inserts the breathings required for ancient texts, making the input text more
readable than in some schemes.")
    (license license:lppl)))

(define-public texlive-libertinegc
  (package
    (name "texlive-libertinegc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinegc/"
                                     "fonts/enc/dvips/libertinegc/"
                                     "fonts/map/dvips/libertinegc/"
                                     "fonts/tfm/public/libertinegc/"
                                     "tex/latex/libertinegc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17712j1gb38l4c5b2br7db8ix36kc8kwfpa7d6ass32wz5jck656"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinegc")
    (synopsis "Libertine add-on to support Greek and Cyrillic")
    (description
     "The package provides LaTeX support files to access the Greek and
Cyrillic glyphs in Linux Libertine.  It functions as an add-on to the
@code{libertine} package, using filenames and macro names that are compatible
with that package.")
    (license license:lppl1.3+)))

(define-public texlive-libertinus
  (package
    (name "texlive-libertinus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus/"
                                     "tex/latex/libertinus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13m20jkrf0sp39f0ihc0fw7spzc3gys5xdc720r5gzdnbdqdvih4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus")
    (synopsis
     "Use the correct @code{libertinus} package according to current TeX
engine")
    (description
     "This package is only a wrapper for the two packages @code{libertinus-type1}
(pdfLaTeX) and @code{libertinus-otf} (LuaLaTeX and XeLaTeX).  The Libertinus
fonts are similiar to Libertine and Biolinum, but come with math symbols.")
    (license license:lppl1.3+)))

(define-public texlive-libertinus-fonts
  (package
    (name "texlive-libertinus-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus-fonts/"
                                     "fonts/opentype/public/libertinus-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g4y3v7i8bs1677rj56v3kw5q3nkl9ksljmly4m7n42dlpggxiaj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus-fonts")
    (synopsis "Libertinus font family")
    (description
     "This is a fork of the Linux Libertine and Linux Biolinum fonts that
started as an OpenType math companion of the Libertine font family, but grown
as a full fork.  The family consists of Libertinus Serif, Libertinus Sans,
Libertinus Mono, and Libertinus Math, an OpenType math font for use in
OpenType math-capable applications.")
    (license license:silofl1.1)))

(define-public texlive-libertinus-otf
  (package
    (name "texlive-libertinus-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus-otf/"
                                     "tex/latex/libertinus-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j6p4q251jk3im3ghw9klp7m5psyz0vmkz2ivynml389sd466zgj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus-otf")
    (synopsis "Support for Libertinus OpenType")
    (description
     "This package offers LuaLaTeX and XeLaTeX support for the Libertinus
OpenType fonts.  Missing fonts are defined via several font feature settings.
The Libertinus fonts are similiar to Libertine and Biolinum, but come with
math symbols.")
    (license license:lppl1.3+)))

(define-public texlive-libertinus-type1
  (package
    (name "texlive-libertinus-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinus-type1/"
                                     "fonts/enc/dvips/libertinus-type1/"
                                     "fonts/map/dvips/libertinus-type1/"
                                     "fonts/tfm/public/libertinus-type1/"
                                     "fonts/type1/public/libertinus-type1/"
                                     "fonts/vf/public/libertinus-type1/"
                                     "tex/latex/libertinus-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04maqnzdwk3c0pkjhslyrxdprr581vc078bqzqapr03jxx9x1rlx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinus-type1")
    (synopsis "Support for using Libertinus fonts with LaTeX")
    (description
     "This package provides support for use of Libertinus fonts with
traditional processing engines (LaTeX with Dvips or Dvipdfmx, or pdfLaTeX).")
    (license (list license:gpl2 license:silofl1.1 license:lppl))))

(define-public texlive-libertinust1math
  (package
    (name "texlive-libertinust1math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertinust1math/"
                                     "fonts/afm/public/libertinust1math/"
                                     "fonts/enc/dvips/libertinust1math/"
                                     "fonts/map/dvips/libertinust1math/"
                                     "fonts/tfm/public/libertinust1math/"
                                     "fonts/type1/public/libertinust1math/"
                                     "fonts/vf/public/libertinust1math/"
                                     "tex/latex/libertinust1math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v9hj90lqv4rx9ivqj53n3f4cnnmjmk7bw396w4xryrpwvk2hssx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libertinust1math")
    (synopsis "Type 1 font and LaTeX support for Libertinus Math")
    (description
     "The package provides a Type 1 version of Libertinus Math, with a number
of additions and changes, plus LaTeX support files that allow it to serve as
a math accompaniment to Libertine under LaTeX.  In addition, with option
@code{sansmath}, it can function as a standalone math font with sans serif
Roman and Greek letters.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librebaskerville
  (package
    (name "texlive-librebaskerville")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librebaskerville/"
                                     "fonts/enc/dvips/librebaskerville/"
                                     "fonts/map/dvips/librebaskerville/"
                                     "fonts/tfm/impallari/librebaskerville/"
                                     "fonts/truetype/impallari/librebaskerville/"
                                     "fonts/type1/impallari/librebaskerville/"
                                     "fonts/vf/impallari/librebaskerville/"
                                     "tex/latex/librebaskerville/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rjac2w8q0m4a6qcdjphv3rgws19vbg65wv6gk1frl0d14bijqdy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librebaskerville")
    (synopsis "Libre Baskerville family of fonts with LaTeX support")
    (description
     "This package provides the Libre Baskerville family of fonts, designed by
Pablo Impallari, for use with LaTeX, pdfLaTeX, XeLaTeX or LuaLaTeX.  It is
primarily intended to be a web font but is also attractive as a text font.
A BoldItalic variant has been artificially generated.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librebodoni
  (package
    (name "texlive-librebodoni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librebodoni/"
                                     "fonts/enc/dvips/librebodoni/"
                                     "fonts/map/dvips/librebodoni/"
                                     "fonts/opentype/impallari/librebodoni/"
                                     "fonts/tfm/impallari/librebodoni/"
                                     "fonts/type1/impallari/librebodoni/"
                                     "fonts/vf/impallari/librebodoni/"
                                     "tex/latex/librebodoni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1skyjmb0drrs6z8bhmdyx7q9wqz9vbyi6nkif5rj95kqxxwznkyz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librebodoni")
    (synopsis "Libre Bodoni fonts with LaTeX support")
    (description
     "The Libre Bodoni fonts are designed by Pablo Impallari and Rodrigo
Fuenzalida, based on the 19th century Morris Fuller Benton's.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librecaslon
  (package
    (name "texlive-librecaslon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librecaslon/"
                                     "fonts/enc/dvips/librecaslon/"
                                     "fonts/map/dvips/librecaslon/"
                                     "fonts/opentype/impallari/librecaslon/"
                                     "fonts/tfm/impallari/librecaslon/"
                                     "fonts/type1/impallari/librecaslon/"
                                     "fonts/vf/impallari/librecaslon/"
                                     "tex/latex/librecaslon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16lmaa0rsrgrib00r8rsj9librkybq2zf1as11l3hiw5zcq3wj0w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librecaslon")
    (synopsis "Libre Caslon fonts, with LaTeX support")
    (description
     "The Libre Caslon fonts are designed by Pablo Impallari.  Although they
have been designed for use as web fonts, they work well as conventional text
fonts.  An artificially generated BoldItalic variant has been added.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-librefranklin
  (package
    (name "texlive-librefranklin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/librefranklin/"
                                     "fonts/enc/dvips/librefranklin/"
                                     "fonts/map/dvips/librefranklin/"
                                     "fonts/opentype/impallari/librefranklin/"
                                     "fonts/tfm/impallari/librefranklin/"
                                     "fonts/type1/impallari/librefranklin/"
                                     "fonts/vf/impallari/librefranklin/"
                                     "tex/latex/librefranklin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vkc2sj7689zn2rxc03q2spvs10865jrnv37s9dgw35hifb69m5s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librefranklin")
    (synopsis "LaTeX support for the Libre-Franklin family of fonts")
    (description
     "Libre Franklin is an interpretation and expansion based on the 1912
Morris Fuller Benton's classic, designed by Pablo Impallari, Rodrigo
Fuenzalida and Nhung Nguyen.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-libris
  (package
    (name "texlive-libris")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libris/"
                                     "fonts/afm/arkandis/libris/"
                                     "fonts/enc/dvips/libris/"
                                     "fonts/map/dvips/libris/"
                                     "fonts/tfm/arkandis/libris/"
                                     "fonts/type1/arkandis/libris/"
                                     "fonts/vf/arkandis/libris/"
                                     "source/fonts/libris/"
                                     "tex/latex/libris/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky2b4knhfd51yz6ycsly6q5rz2fk4h3rhnxmcx3qnhnai6cf9fc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libris")
    (synopsis "Libris ADF fonts, with LaTeX support")
    (description
     "LibrisADF is a sans-serif family designed to mimic Lydian.  The bundle
includes: fonts, in Adobe Type 1, TrueType and OpenType formats, and LaTeX
support macros, for use with the Type 1 versions of the fonts.")
    (license license:gpl3+)))

(define-public texlive-lie-hasse
  (package
    (name "texlive-lie-hasse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lie-hasse/"
                                     "tex/latex/lie-hasse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p4ln326spkzcp42p0bjk8cma4cj4ks8xs6ps5mq1b9q1r3vknaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lie-hasse")
    (synopsis "Draw Hasse diagrams")
    (description
     "This package draws Hasse diagrams of the partially ordered sets of the
simple roots of any complex simple Lie algebra.  It uses the Dynkin diagrams
package @code{dynkin-diagrams}.")
    (license license:lppl1.3c)))

(define-public texlive-lilyglyphs
  (package
    (name "texlive-lilyglyphs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lilyglyphs/"
                                     "fonts/opentype/public/lilyglyphs/"
                                     "scripts/lilyglyphs/"
                                     "source/latex/lilyglyphs/fonts/"
                                     "source/latex/lilyglyphs/glyphimages/definitions/"
                                     "source/latex/lilyglyphs/glyphimages/generated_src/"
                                     "tex/latex/lilyglyphs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5v2bq7ml9pnh2xlkzf6k9zh3azw7i96iapp8yajyxk8akj0ki2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "lily-glyph-commands.py"
                   "lily-image-commands.py"
                   "lily-rebuild-pdfs.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/lilyglyphs")
    (synopsis "Access Lilypond fragments and glyphs, in LaTeX")
    (description
     "The package provides the means to include arbitrary elements of LilyPond
notation, including symbols from Lilypond's Emmentaler font, in a LaTeX
document.  The package uses OpenType fonts, and as a result must be compiled
with LuaLaTeX or XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-limecv
  (package
    (name "texlive-limecv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/limecv/" "source/latex/limecv/"
                                     "tex/latex/limecv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bqqkbxzayb8wwlkj1vkf01lx78i7pq2kb9clrir0paxjm8xa6ja"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/limecv")
    (synopsis "(Xe/Lua)LaTeX document class for curriculum vitae")
    (description
     "@code{limecv} is a LaTeX document class to write curriculum vitae.  It
is designed with the following design rules: simple, elegant and clean.  To
this end, it offers several environments and macros for convenience.")
    (license license:lppl1.3c)))

(define-public texlive-lineara
  (package
    (name "texlive-lineara")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lineara/"
                                     "fonts/afm/public/lineara/"
                                     "fonts/map/dvips/lineara/"
                                     "fonts/tfm/public/lineara/"
                                     "fonts/type1/public/lineara/"
                                     "source/fonts/lineara/"
                                     "tex/latex/lineara/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k3frdshsc2cj1y61bcpz9fcs1rw1rkzh8fk3fzbaqyqmyka3yl7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lineara")
    (synopsis "Linear A script fonts")
    (description
     "The @code{lineara} package provides a simple interface to two fonts
which include all known symbols, simple and complex, of the Linear A script.
This way one can easily replicate Linear A texts using modern typographic
technology.")
    (license license:lppl)))

(define-public texlive-ling-macros
  (package
    (name "texlive-ling-macros")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ling-macros/"
                                     "tex/latex/ling-macros/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q5l9h5xkd9gkpx2g5inzkcsssqvdicv05r8xvlmmx41mf1ikc88"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ling-macros")
    (synopsis "Macros for typesetting formal linguistics")
    (description
     "This package contains macros for typesetting glosses and formal
expressions.  It covers a range of subfields in formal linguistics.")
    (license license:lppl1.3+)))

(define-public texlive-linguex
  (package
    (name "texlive-linguex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/linguex/" "tex/latex/linguex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w2rxvjljrl4b7s1dr7k2vk5nifq0zgmjlx68ajpsihjnzal7k8g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/linguex")
    (synopsis "Format linguists' examples")
    (description
     "This bundle comprises two packages: the @code{linguex} package
facilitates the formatting of linguist examples, automatically taking care of
example numbering, indentations, indexed brackets, and the @samp{*} in
grammaticality judgments.  The @code{ps-trees} package provides linguistic
trees.")
    (license license:lppl)))

(define-public texlive-linguisticspro
  (package
    (name "texlive-linguisticspro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/linguisticspro/"
                                     "fonts/enc/dvips/linguisticspro/"
                                     "fonts/map/dvips/linguisticspro/"
                                     "fonts/opentype/public/linguisticspro/"
                                     "fonts/tfm/public/linguisticspro/"
                                     "fonts/type1/public/linguisticspro/"
                                     "fonts/vf/public/linguisticspro/"
                                     "tex/latex/linguisticspro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yyclkwsa4ibsdc60mw22f2skq2wify9ic4lzvkjsaigvq28zj3y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/linguisticspro")
    (synopsis "LinguisticsPro fonts with LaTeX support")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the LinguisticsPro family of fonts.  This family is derived from the Utopia
Nova font family, by Andreas Nolda.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-lion-msc
  (package
    (name "texlive-lion-msc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/lion-msc/" "doc/latex/lion-msc/"
                                     "tex/latex/lion-msc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yj3xwbd4lb5vjkfqhwhy82pc9p59vffah6zmiqbgjaj10q1ihb5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lion-msc")
    (synopsis
     "LaTeX class for B.Sc.@: and M.Sc.@: reports at Leiden Institute of
Physics (LION)")
    (description
     "This is a LaTeX class for B.Sc.@: and M.Sc.@: reports at Leiden
Institute of Physics (LION).  The purpose of this class is twofold.  It
creates a uniform layout of the student theses from our department.  More
importantly, it contains several fields on the front-page that the user needs
to fill that are used in the university administration (name, student number
and name of supervisor).  Students are free to change the layout of the text
but should leave the title page as it is.")
    (license license:lppl1.3+)))

(define-public texlive-listbib
  (package
    (name "texlive-listbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/listbib/" "doc/latex/listbib/"
                                     "scripts/listbib/" "source/latex/listbib/"
                                     "tex/latex/listbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k4xwmv6lh1vaggimzmiqib8aai9dm0j586m0hds04485pvhv5ky"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "listbib")))
    (home-page "https://ctan.org/pkg/listbib")
    (synopsis "Lists contents of BibTeX files")
    (description
     "This package generates listings of bibliographic data bases in BibTeX
format.  Included is a @file{listbib.bst}, which is better suited for this
purpose than the standard styles.")
    (license license:gpl3+)))

(define-public texlive-lithuanian
  (package
    (name "texlive-lithuanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lithuanian/"
                                     "fonts/enc/dvips/lithuanian/"
                                     "fonts/map/dvips/lithuanian/"
                                     "fonts/tfm/public/lithuanian/"
                                     "tex/latex/lithuanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iq06vlryl4fj2mzkmmphw9ihm0y7wmi5k8wxniaciw5mm5vrw7x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lithuanian")
    (synopsis "Lithuanian language support")
    (description
     "This language support package provides:

@itemize
@item extra 8-bit encoding L7x used by @code{fontenc}: @file{l7xenc.def},
@file{l7xenc.dfu}, @file{l7xenc.sty};
@item Lithuanian TeX support for URW family Type1 fonts: map, fd, tfm with L7x
encoding;
@item extra code page definitions used by @code{inputenc}: @file{cp775.def}
and @file{latin7.def}.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-liturg
  (package
    (name "texlive-liturg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/liturg/" "source/latex/liturg/"
                                     "tex/latex/liturg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nmcz7zg27aasczdv3p6ilsmy66cbfjg9yri45d0pml7m7c56din"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; The "liturg.ins" provided by the package does not generate anything.
    ;; As a consequence, there's nothing to build.
    (arguments (list #:build-targets #~'()))
    (home-page "https://ctan.org/pkg/liturg")
    (synopsis "Support for typesetting Catholic liturgical texts")
    (description
     "The packages offers simple macros for typesetting Catholic liturgical
texts, particularly @code{Missal} and @code{Breviary} texts.  The package
assumes availability of Latin typesetting packages.")
    (license license:lppl)))

(define-public texlive-llncs
  (package
    (name "texlive-llncs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/llncs/" "doc/latex/llncs/"
                                     "tex/latex/llncs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ix21bqh7wjlcwpljy3wvbir76n270n8phxrls3pwq3dhd2aqz51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/llncs")
    (synopsis
     "Document class and bibliography style for @acronym{LNCS, Lecture Notes
in Computer Science}")
    (description
     "This is Springer's official macro package for typesetting contributions
to be published in Springer's @acronym{LNCS, Lecture Notes in Computer
Science} and its related proceedings series CCIS, LNBIP, LNICST, and IFIP
AICT.")
    (license license:cc-by4.0)))

(define-public texlive-llncsconf
  (package
    (name "texlive-llncsconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/llncsconf/"
                                     "tex/latex/llncsconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18z94lh90pzvbzfgxj27n2l12mfbcjd20vga16h8d2bln56lrfpm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/llncsconf")
    (synopsis "LaTeX package extending Springer's @code{llncs} class")
    (description
     "The package extends Springer's @code{llncs} class for adding additional
notes describing the status of the paper (submitted, accepted) as well as for
creating author-archived versions that include the references to the official
version hosted by Springer (as requested by the copyright transfer agreement
for Springer's LNCS series).")
    (license license:lppl1.3c)))

(define-public texlive-lni
  (package
    (name "texlive-lni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/lni/" "doc/latex/lni/"
                                     "source/latex/lni/" "tex/latex/lni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q4z7rkijx4gafsvz8rj3j1bvsd84cx323rz1hr44d3g8ra7hkj9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lni")
    (synopsis "Official class for the @emph{Lecture Notes in Informatics}")
    (description
     "This is the official version of the class @code{lni} for submissions to
the @emph{Lecture Notes in Informatics} published by the Gesellschaft fur
Informatik.")
    (license license:lppl1.3c)))

(define-public texlive-lobster2
  (package
    (name "texlive-lobster2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lobster2/"
                                     "fonts/enc/dvips/lobster2/"
                                     "fonts/map/dvips/lobster2/"
                                     "fonts/opentype/impallari/lobster2/"
                                     "fonts/tfm/impallari/lobster2/"
                                     "fonts/type1/impallari/lobster2/"
                                     "fonts/vf/impallari/lobster2/"
                                     "tex/latex/lobster2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jq6287n0c0qzcx6jch0d9k7axg119z2p2mw6i3s40jdyg67m3a4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lobster2")
    (synopsis "Lobster Two fonts, with support for all LaTeX engines")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Lobster Two family of fonts, designed by Pablo Impallari.  This is
a family of script fonts with many ligatures and terminal forms; for the best
results, use XeLaTeX or LuaLaTeX.  There are two weights and italic variants
for both.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-logicproof
  (package
    (name "texlive-logicproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logicproof/"
                                     "source/latex/logicproof/"
                                     "tex/latex/logicproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02iif9rvp8njp7zc4ab4jgksf0hrbg6z5cp7066y245bjwi99fi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logicproof")
    (synopsis "Box proofs for propositional and predicate logic")
    (description
     "This package provides a common style of proof used in propositional and
predicate logic is Fitch proofs, in which each line of the proof has
a statement and a justification, and subproofs within a larger proof have
boxes around them.  The package provides environments for typesetting such
proofs and boxes.  It creates proofs in a style similar to that used in
@emph{Logic in Computer Science} by Huth and Ryan.")
    (license license:lppl1.3+)))

(define-public texlive-logicpuzzle
  (package
    (name "texlive-logicpuzzle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logicpuzzle/"
                                     "scripts/logicpuzzle/"
                                     "tex/latex/logicpuzzle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m2yrizdj76gywxkcfz90by2qwx8pq8akacj5qmsin095hnyskfh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logicpuzzle")
    (synopsis "Typeset (grid-based) logic puzzles")
    (description
     "The package allows the user to typeset various logic puzzles.  At the
moment the following puzzles are supported:

@itemize

@item 2D-Sudoku (aka Magiequadrat, Diagon, ...),

@item Battleship (aka Bimaru, Marinespiel, Batalla Naval, ...),

@item Bokkusu (aka Kakurasu, Feldersummenratsel, ...),

@item Bridges (akak Bruckenbau, Hashi, ...),

@item Chaos Sudoku,

@item Four Winds (aka Eminent Domain, Lichtstrahl, ...),

@item Hakyuu (aka Seismic, Ripple Effect, ...),

@item Hitori,

@item Kakuro,

@item Kendoku (aka Mathdoku, Calcudoku, Basic, MiniPlu, Ken Ken, Square
Wisdom, Sukendo, Caldoku, ...),

@item Killer Sudoku (aka Samunapure, Sum Number Place, Sumdoku, Gebietssummen,
...),

@item Laser Beam (aka Laserstrahl, ...),

@item Magic Labyrinth (aka Magic Spiral, Magisches Labyrinth, ...),

@item Magnets (aka Magnetplatte, Magnetfeld, ...),

@item Masyu (aka Mashi, White or Black Pearls, ...),

@item Minesweeper (aka Minensuche, ...),

@item Nonogram (aka Griddlers, Hanjie, Tsunami, Logic Art, Logimage, ...),

@item Number Link (aka Alphabet Link, Arukone, Buchstabenbund, ...),

@item Resuko,

@item Schatzsuche,

@item Skyline (aka Skycrapers, Wolkenkratzer, Hochhauser, ...), including
Skyline Sudoku and Skyline Sudou (N*N) variants,

@item Slitherlink (aka Fences, Number Line, Dotty Dilemma, Sli-Lin, Takegaki,
Great Wall of China, Loop the Loop, Rundweg, Gartenzaun, ...),

@item Star Battle (aka Sternenschlacht, ...),

@item Stars and Arrows (aka Sternenhimmel, ...),

@item Sudoku,

@item Sun and Moon (aka Sternenhaufen, Munraito, ...),

@item Tents and Trees (aka Zeltlager, Zeltplatz, Camping, ...),

@item and Tunnel.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-logix
  (package
    (name "texlive-logix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/logix/"
                                     "fonts/opentype/public/logix/"
                                     "fonts/truetype/public/logix/"
                                     "tex/latex/logix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ak3zfqnx04rb5wcmzc5z3g8sp2wphi83lx9i58y41y3lp2z4kq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logix")
    (synopsis "Supplement to the Unicode math symbols")
    (description
     "The package provides a Unicode font with over 4,000 symbols to
supplement the Unicode math symbols.  It is compatible with and
complements the AMS STIX2 math fonts, but focuses on new symbols and
symbol variants more suited to work in logic.")
    (license (list license:silofl1.1 license:lppl1.3c))))

(define-public texlive-lollipop
  (package
    (name "texlive-lollipop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/lollipop/" "tex/lollipop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xdldlnhsr2n8544j9vd6gllin8bfkpcbhlpmxlhrvjl5bdg0rjp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "lollipop")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((tex (search-input-file inputs "bin/tex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink tex "lollipop"))))))))
    (propagated-inputs (list texlive-cm texlive-hyphen-base texlive-tex))
    (home-page "https://ctan.org/pkg/lollipop")
    (synopsis "TeX made easy")
    (description
     "Lollipop is a macro package that functions as a toolbox for writing TeX
macros.  Its main aim is to make macro writing so easy that implementing
a fully new layout in TeX would become a matter of less than an hour for an
average document.  The aim is that such a task could be accomplished by
someone with only a very basic training in TeX programming.")
    (license license:gpl3)))

(define-public texlive-longdivision
  (package
    (name "texlive-longdivision")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/longdivision/"
                                     "tex/latex/longdivision/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16pg9b4jxjfb0ik93i3pwfim0nz3c3b8cklarvpsngavzyx9mr2h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/longdivision")
    (synopsis "Typesets long division")
    (description
     "This package executes the long division algorithm and typesets the solutions.
The dividend must be a positive decimal number and the divisor must be
a positive integer.  Repeating decimals is handled correctly, putting a bar
over the repeated part of the decimal.

The package defines two macros, @code{\\longdivision} and
@code{\\intlongdivision}.  Each takes two arguments, a dividend and
a divisor. @code{\\longdivision} keeps dividing until the remainder is zero,
or it encounters a repeated remainder. @code{\\intlongdivision} stops when the
dividend stops (though the dividend doesn't have to be an integer).")
    (license license:lppl)))

(define-public texlive-lpform
  (package
    (name "texlive-lpform")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/lpform/" "tex/generic/lpform/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13pg4wb3z8xhmf9wry4rvdzhg0ydhpbdp6vxjk7g91p6s3lvqa51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lpform")
    (synopsis
     "Typesetting linear programming formulations and sets of equations")
    (description
     "The package is designed to aid the author writing linear programming
formulations, one restriction at a time.  With the package, one can easily
label equations, formulations can span multiple pages and several elements of
the layout (such as spacing, texts and equation tags) are also customizable.
Besides linear programming formulations, this package can also be used to
display any series of aligned equations with easy labeling/referencing and
other customization options.")
    (license license:lppl)))

(define-public texlive-lplfitch
  (package
    (name "texlive-lplfitch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lplfitch/"
                                     "source/latex/lplfitch/"
                                     "tex/latex/lplfitch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x396k71r8sb04pby3h6snjzmyzmai9s11icgxf1vi9dswh191cz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lplfitch")
    (synopsis "Fitch-style natural deduction proofs")
    (description
     "The package provides macros for typesetting natural deduction proofs in
Fitch style, with subproofs indented and offset by scope lines.  The proofs
from use of the package are in the format used in the textbook @emph{Language,
Proof, and Logic} by Dave Barker-Plummer, Jon Barwise, and John Etchemendy.")
    (license license:lppl1.3+)))

(define-public texlive-lps
  (package
    (name "texlive-lps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lps/" "source/latex/lps/"
                                     "tex/latex/lps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11jd8k1w2mk0xmwaxb1ps8pabxlzvs24z5hl74dwcim2xad7ahvj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lps")
    (synopsis "Class for @emph{Logic and Philosophy of Science}")
    (description
     "The @emph{Logic and Philosophy of Science} journal is an online
publication of the University of Trieste (Italy).  The class builds on the
standard article class to offer a format that LaTeX authors may use when
submitting to the journal.")
    (license license:lppl)))

(define-public texlive-lshort-bulgarian
  (package
    (name "texlive-lshort-bulgarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-bulgarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qg23asq2i5mqhp9xblv5hm3qxmd5886d5x0gq1fkdbyy9gsawi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-bulgarian")
    (synopsis
     "Bulgarian translation of the @emph{Short Introduction to LaTeX2e}")
    (description
     "This package includes the source files, PostScript and PDF files of the
Bulgarian translation of the @emph{Short Introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-chinese
  (package
    (name "texlive-lshort-chinese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-chinese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05b9fq4jhh9xifn2lj58fs17fc0prx915gwfz47s92spvv9fwbi6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-zh-cn")
    (synopsis "Introduction to LaTeX, in Chinese")
    (description
     "This package provides a Chinese edition of the @emph{(Not so) short
introduction to LaTeX2e}, with additional information of typesetting Chinese
language.")
    (license license:fdl1.3+)))

(define-public texlive-lshort-czech
  (package
    (name "texlive-lshort-czech")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-czech/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ar9qa0cg0mjv6ydgx1phaa1qpiy25s3jciznbylgi5xprvnnfa9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-czech")
    (synopsis "Czech translation to LaTeX")
    (description
     "This is the Czech translation of a @emph{(Not So) Short Introduction to
LaTeX2e}.}")
    (license license:gpl3+)))

(define-public texlive-lshort-dutch
  (package
    (name "texlive-lshort-dutch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-dutch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "160r060gmw6f6lgbnyvfxafjpqvyr4jwd56ddkjfm3ir2bfl973d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-dutch")
    (synopsis "Introduction to LaTeX in Dutch")
    (description
     "This is the Dutch (Nederlands) translation of the @emph{(No So) Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-estonian
  (package
    (name "texlive-lshort-estonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-estonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dfwp7kkynpskb345i3yz7h5pvc8iljqg3q6l546vrwla0bmb95c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-estonian")
    (synopsis "Estonian introduction to LaTeX")
    (description
     "This is the Estonian translation of @emph{(No So) Short Introduction to
LaTeX2e}.")
    (license license:gpl2)))

(define-public texlive-lshort-english
  (package
    (name "texlive-lshort-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pzqdbzynlwvpamd69cmfpa8jdcvq96qjr9k1fy3dxpzi2mapvhd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-english")
    (synopsis "(Not So) short introduction to LaTeX2e")
    (description
     "@emph{The Not So Short Introduction to LaTeX2e} derives from a German
introduction (@emph{lkurz}), which was translated and updated; it continues to
be updated.  This translation has, in its turn, been translated into several
other languages; see the @code{lshort} catalogue entry for the current list.")
    (license license:gpl2)))

(define-public texlive-lshort-finnish
  (package
    (name "texlive-lshort-finnish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-finnish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06madlm869kmwxprmy2c78ma4s8zk8mclzmd4xdl0r4mlhk4vdsl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-finnish")
    (synopsis "Finnish introduction to LaTeX")
    (description
     "This is the Finnish translation of @emph{(No So) Short Introduction to
LaTeX2e}, with added coverage of Finnish typesetting rules.")
    (license license:public-domain)))

(define-public texlive-lshort-french
  (package
    (name "texlive-lshort-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hdl0w7b1ablx7qfcvgniz7dcbgazb49b8wfw7c08hlb38gxfqh7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-french")
    (synopsis "Short introduction to LaTeX, French translation")
    (description
     "This package contains a French version of a @emph{(Not so) short
introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-german
  (package
    (name "texlive-lshort-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "073v7zvk8xri0f05mr0ad770p81akl9b9cnia1q4hcma9fk89k10"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-german")
    (synopsis
     "German version of @emph{A Short Introduction to LaTeX2e:
LaTeX2e-Kurzbeschreibung}")
    (description
     "This package provides the German version of @emph{A Short Introduction
to LaTeX2e: LaTeX2e-Kurzbeschreibung}.")
    (license license:opl1.0+)))

(define-public texlive-lshort-italian
  (package
    (name "texlive-lshort-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "085ydria5q7s648r7frl54sa1y4kyr569zvqjjkancfd83h873cg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-italian")
    (synopsis "Introduction to LaTeX in Italian")
    (description
     "This is the Italian translation of the @emph{(Not so) Short Introduction
to LaTeX2e.}")
    (license license:gpl3+)))

(define-public texlive-lshort-japanese
  (package
    (name "texlive-lshort-japanese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-japanese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mfxig980jyzhay1i83d69p294hgbr92v3kk2a4z8ca3fwzy8w74"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-japanese")
    (synopsis "Japanese version of the @emph{Short Introduction to LaTeX2e}")
    (description "This is the Japanese version of the @emph{(Not so) Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-korean
  (package
    (name "texlive-lshort-korean")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-korean/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07660lrss97hswmis7rgc419h05mgrvsfrrwmnrwk5yn97flhhqd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-korean")
    (synopsis "Korean introduction to LaTeX")
    (description
     "This package provides a translation of Oetiker's original @emph{(Not so)
short introduction to LaTeX2e}.")
    (license license:fdl1.3+)))

(define-public texlive-lshort-mongol
  (package
    (name "texlive-lshort-mongol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-mongol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "153k4dzia30fpx847wli7i5p407a808gmj3p7jifq5bpx479qg1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-mongol")
    (synopsis "Short introduction to LaTeX, in Mongolian")
    (description
     "This package provides a translation of Oetiker's @emph{(Not so) short
introduction to LaTeX2e}.")
    (license license:lppl)))

(define-public texlive-lshort-persian
  (package
    (name "texlive-lshort-persian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-persian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b1b45nh2d3d3zv735dymgyllj6m8i57icbihjkl1im0nghrzklk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-persian")
    (synopsis "Persian (Farsi) introduction to LaTeX")
    (description
     "This package provides a Persian (Farsi) translation of Oetiker's
@emph{(Not so) short introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-polish
  (package
    (name "texlive-lshort-polish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-polish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "121y638k4f4pbjpa4q0n9qj2w57624q2d1v4jz09qh399fl5yk81"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-polish")
    (synopsis "Introduction to LaTeX in Polish")
    (description
     "This is the Polish translation of the @emph{(Not so) Short Introduction
to LaTeX2e}.")
    (license license:gpl2+)))

(define-public texlive-lshort-portuguese
  (package
    (name "texlive-lshort-portuguese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-portuguese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wg51rjcayiizkz0vvjkirrx19q8fbnfrwilgh13prlbpams1hsh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-portuguese")
    (synopsis "Introduction to LaTeX in Portuguese")
    (description
     "This is the Portuguese translation of a @emph{(Not So) Short
Introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-russian
  (package
    (name "texlive-lshort-russian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-russian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02abh69xl43p56fcciyan4j0z4mqq2j7ynwazq1nywhz37d6zn7y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-russian")
    (synopsis "Russian introduction to LaTeX")
    (description "This package provides the Russian version of the @emph{Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-slovak
  (package
    (name "texlive-lshort-slovak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-slovak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b5gn95i32dyn8r7v2cdcz759fllp3b0zwx17adjs282n06vfymq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-slovak")
    (synopsis "Slovak introduction to LaTeX")
    (description
     "This package provides a Slovak translation of Oetiker's @emph{(Not So)
Short Introduction to LaTeX2e}.")
    (license license:lppl)))

(define-public texlive-lshort-slovenian
  (package
    (name "texlive-lshort-slovenian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-slovenian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cwjg0z5vr4x93bz1khwl27rk8k7kpjm978iyzn6w7gx3wi87zr0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-slovenian")
    (synopsis "Slovenian introduction to LaTeX")
    (description
     "This package provides a Slovenian translation of the @emph{(Not So)
Short Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-spanish
  (package
    (name "texlive-lshort-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ls50syrg3dl5dl5a3fi33cr9j990l2xr6pribn1vqglsqrh191l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-spanish")
    (synopsis "Short introduction to LaTeX, in Spanish")
    (description
     "This package provides a Spanish translation of the @emph{(Not So) Short
Introduction to LaTeX2e}.")
    (license license:gpl3+)))

(define-public texlive-lshort-thai
  (package
    (name "texlive-lshort-thai")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-thai/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16r9gx902a342q2mj570y269yw97yaj6hrbqrk4h49ihm695z30i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-thai")
    (synopsis "Introduction to LaTeX in Thai")
    (description
     "This is the Thai translation of the @emph{Short Introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-turkish
  (package
    (name "texlive-lshort-turkish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-turkish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00r6pv4z4933jw072djdasd2wp5j05wghln62ga4g6y6jblf6zks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-turkish")
    (synopsis "Turkish introduction to LaTeX")
    (description
     "This package provides a Turkish translation of Oetiker's @emph{(Not so)
short introduction to LaTeX2e}.")
    (license license:public-domain)))

(define-public texlive-lshort-ukr
  (package
    (name "texlive-lshort-ukr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-ukr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nsah1h3z3sy96a9x0mfdwby7pvvjwq7zxfv2s8nvsbvnn1al17s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-ukr")
    (synopsis "Ukrainian version of the LaTeX introduction")
    (description
     "This package provides the Ukrainian version of the @emph{Short
Introduction to LaTeX2e}.")
    (license license:gpl2+)))

(define-public texlive-lshort-vietnamese
  (package
    (name "texlive-lshort-vietnamese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lshort-vietnamese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "094lfry6cqvpk02c3acss6581mgb7j30fnja1b3qwzxmyxjdblwa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lshort-vietnamese")
    (synopsis "Vietnamese version of the LaTeX introduction")
    (description
     "This is the Vietnamese version of the @emph{Short Introduction to
LaTeX2e}.")
    (license license:lppl)))

(define-public texlive-lstbayes
  (package
    (name "texlive-lstbayes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lstbayes/"
                                     "source/latex/lstbayes/"
                                     "tex/latex/lstbayes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gd3zyq1z1n0ksmazky9dbal0qaiss2lgh7dh3021ckj7c3mwkmd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lstbayes")
    (synopsis "Listings language driver for Bayesian modeling languages")
    (description
     "The package provides language drivers for the listings package for
several languages not included in that package: BUGS, JAGS, and Stan.")
    (license license:lppl1.3+)))

(define-public texlive-ltb2bib
  (package
    (name "texlive-ltb2bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltb2bib/" "source/latex/ltb2bib/"
                                     "tex/latex/ltb2bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wrm89bynjm4g4a1zpx38v6yd2l3b1gh13h4m5hknvla2lydljfg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltb2bib")
    (synopsis "Converts @code{amsrefs} bibliographical databases to BibTeX
format")
    (description
     "This package implements a LaTeX command that converts an @code{amsrefs}
bibliographical database (@file{.ltb}) to a BibTeX bibliographical database
(@file{.bib}).  @code{ltb2bib} is the reverse of the @samp{amsxport} option in
@code{amsrefs}.")
    (license license:lppl1.3+)))

(define-public texlive-ltxdockit
  (package
    (name "texlive-ltxdockit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltxdockit/"
                                     "tex/latex/ltxdockit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n1c8g8kaaazg7kahfkckh86s29bi1p3sw9h8v7hl5zgg6mb3415"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltxdockit")
    (synopsis "Documentation support")
    (description
     "This bundle, consisting of a simple wrapper class and some packages,
forms a small LaTeX and BibTeX documentation kit; the author uses it for some
of his own packages.")
    (license license:lppl)))

(define-public texlive-luabibentry
  (package
    (name "texlive-luabibentry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luabibentry/"
                                     "source/lualatex/luabibentry/"
                                     "tex/lualatex/luabibentry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00f6sxkzmfznjbisicacxd546v8zizm1fz36s05iiyra04cawnw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luabibentry")
    (synopsis "Repeat BibTeX entries in a LuaLaTeX document body")
    (description
     "The package reimplements @code{bibentry}, for use in LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-lxfonts
  (package
    (name "texlive-lxfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lxfonts/"
                                     "fonts/map/dvips/lxfonts/"
                                     "fonts/source/public/lxfonts/"
                                     "fonts/tfm/public/lxfonts/"
                                     "fonts/type1/public/lxfonts/"
                                     "source/fonts/lxfonts/"
                                     "tex/latex/lxfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n7bznkcc1ma2k977306rjg1mlpcspc46xg14abnc2d4k2970bfg"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/lxfonts")
    (synopsis "Set of slide fonts based on CM")
    (description
     "The bundle contains the traditional slides fonts revised to be
completely usable both as text fonts and mathematics fonts; they are fully
integrate with the new operators, letters, symbols and extensible delimiter
fonts, as well as with the AMS fonts, all redone with the same stylistic
parameters.")
    (license license:lppl)))

(define-public texlive-lyluatex
  (package
    (name "texlive-lyluatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/lyluatex/" "scripts/lyluatex/"
                                     "tex/luatex/lyluatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d6yiyfbhlaljz80znjdzy9prhsxrzq0yhmylqc4yx9ajbjyp989"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lyluatex")
    (synopsis
     "Commands to include LilyPond scores within a (Lua)LaTeX document")
    (description
     "This package provides macros for the inclusion of LilyPond scores within
LuaLaTeX.  It calls LilyPond to compile scores, then includes the produced
files.")
    (license license:expat)))

(define-public texlive-m-tx
  (package
    (name "texlive-m-tx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/m-tx/"
                                     "doc/man/man1/prepmx.1"
                                     "doc/man/man1/prepmx.man1.pdf"
                                     "scripts/m-tx/"
                                     "tex/generic/m-tx/"
                                     "tex/latex/m-tx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sakzv7r6mybx0k7k0fi1qb789nf7lvbl0ns8s0hhc9fz37b0br5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "m-tx.lua")))
    (propagated-inputs (list texlive-m-tx-bin))
    (home-page "https://ctan.org/pkg/m-tx")
    (synopsis "Preprocessor for @command{pmx}")
    (description
     "M-Tx is a preprocessor to @command{pmx}, which is itself a preprocessor
to MusixTeX, a music typesetting system.  The prime motivation to the
development of M-Tx was to provide lyrics for music to be typeset.  In fact,
@command{pmx} now provides a lyrics interface, but M-Tx continues in use by
those who prefer its language.")
    (license license:expat)))

(define-public texlive-m-tx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-m-tx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("m-tx"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-m-tx" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/m-tx"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/m-tx"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-m-tx))
    (synopsis "Binary for @code{texlive-m-tx}")
    (description
     "This package provides the binary for @code{texlive-m-tx}.")
    (license (package-license texlive-m-tx))))

(define-public texlive-macros2e
  (package
    (name "texlive-macros2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/macros2e/" "tex/latex/macros2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vdw389gvwmpqs7ykm3vlyqbpwm45mgqasmqyxm7q9jgay3dn2iz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/macros2e")
    (synopsis "List of internal LaTeX2e macros")
    (description
     "This document lists the internal macros defined by the LaTeX2e base files,
which can also be useful to package authors.  The macros are hyper-linked to
their description in @code{source2e}.  For this to work both PDFs must be
inside the same directory.  This document is not yet complete in content and
format and may miss some macros.")
    (license license:lppl1.3c)))

(define-public texlive-mafr
  (package
    (name "texlive-mafr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mafr/" "tex/latex/mafr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bzmf36xy2ppd2bkc5lkcw43jangwn0w4scgr9il06d14lbw68yn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mafr")
    (synopsis "Mathematics in accord with French usage")
    (description
     "The package provides settings and macros for typesetting mathematics
with LaTeX in compliance with French usage.  It comes with two document
classes, @code{fiche} and @code{cours}, useful to create short high school
documents such as tests or lessons.  The documentation is in French.")
    (license license:gpl3+)))

(define-public texlive-magra
  (package
    (name "texlive-magra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/magra/"
                                     "fonts/enc/dvips/magra/"
                                     "fonts/map/dvips/magra/"
                                     "fonts/tfm/public/magra/"
                                     "fonts/type1/public/magra/"
                                     "fonts/vf/public/magra/"
                                     "tex/latex/magra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bbybiv6v05886qydj1c7l2ja520j15jgz6jz4g8qa58ycrls4kl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/magra")
    (synopsis "Magra font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Magra family of fonts designed by FontFuror,
with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-mahjong
  (package
    (name "texlive-mahjong")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mahjong/" "source/latex/mahjong/"
                                     "tex/latex/mahjong/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nkj6kri9dpk3gkms4raldzkj3dhsf54vggivb6nh169s7a16m7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mahjong")
    (synopsis "Typeset mahjong tiles using MPSZ Notation")
    (description
     "The @code{mahjong} package provides a LaTeX interface for typesetting
mahjong tiles using an extended version of MPSZ algebraic notation.  Its
features include spaces, rotated, blank, and concealed tiles, as well as red
fives.  The size of the mahjong tiles can be controlled using a package option
and an optional argument of @code{\\mahjong}.  It is primarily aimed at
Riichi (aka Japanese) Mahjong but can be used to typeset any style of
mahjong.")
    (license (list license:expat license:cc-by4.0))))

(define-public texlive-marcellus
  (package
    (name "texlive-marcellus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/marcellus/"
                                     "fonts/enc/dvips/marcellus/"
                                     "fonts/map/dvips/marcellus/"
                                     "fonts/tfm/public/marcellus/"
                                     "fonts/truetype/public/marcellus/"
                                     "fonts/type1/public/marcellus/"
                                     "fonts/vf/public/marcellus/"
                                     "tex/latex/marcellus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nnc0v15sjwzivy504lvrrfyzjhha7p42nwp0qqy7pwspb7cqsm5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marcellus")
    (synopsis "Marcellus fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Marcellus family of fonts, designed by Brian J. Bonislawsky.  Marcellus is
a flared-serif family, inspired by classic Roman inscription letterforms.
There is currently just a regular weight and small-caps.  The regular weight
will be silently substituted for bold.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-margbib
  (package
    (name "texlive-margbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/margbib/" "source/latex/margbib/"
                                     "tex/latex/margbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04aa9nfdxc475nyj4cl8gkj2grn7v3rkb3hwhbhff5nr88nx4aqq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/margbib")
    (synopsis "Display bibitem tags in the margins")
    (description
     "The package redefines the @code{thebibliography} environment to place
the citation key into the margin.")
    (license license:gpl3+)))

(define-public texlive-matapli
  (package
    (name "texlive-matapli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matapli/" "tex/latex/matapli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0khkgc80hbydnlciqr02ay88gazr4nxdq099pjgf1xcjlnlmnwcp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matapli")
    (synopsis "Class for the French journal @emph{MATAPLI}")
    (description
     "This is a class for the French journal @emph{MATAPLI} of the Société de
Mathématiques Appliquées et Industrielles (SMAI).")
    (license license:lppl1.3c)))

(define-public texlive-matc3
  (package
    (name "texlive-matc3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matc3/" "source/latex/matc3/"
                                     "tex/latex/matc3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rmrkdcda87pjl1lvyvzky0vdhghx0j6z1vdi9fdz2122f2drmpm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matc3")
    (synopsis "Commands for Matematica C3 textbooks")
    (description
     "The package provides support for the Matematica C3 project to produce
mathematical textbooks for use in Italian high schools.")
    (license license:lppl1.3+)))

(define-public texlive-matc3mem
  (package
    (name "texlive-matc3mem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matc3mem/"
                                     "source/latex/matc3mem/"
                                     "tex/latex/matc3mem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10igcyqzddl25gxasa9dxj2j49gqs9vi2g1ay0z6jyd5nfsp8ic0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matc3mem")
    (synopsis "Class for MatematicaC3 textbooks")
    (description
     "The class is a development of @code{memoir}, with
additions (specifically, mathematical extensions) that provide support for
writing the books for the Matematica C3 project to produce mathematical
textbooks for use in Italian high schools.")
    (license license:lppl1.3+)))

(define-public texlive-math-into-latex-4
  (package
    (name "texlive-math-into-latex-4")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/math-into-latex-4/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k11j92h9hpxnyciczknhl83b05avc0rqdnwn82ssqi1k3qixibd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/math-into-latex-4")
    (synopsis "Samples from @emph{(More) Math into LaTeX}, 4th Edition")
    (description
     "This package contains samples for the book @emph{(More) Math into LaTeX},
4th edition.")
    (license license:public-domain)))

(define-public texlive-mathabx
  (package
    (name "texlive-mathabx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mathabx/"
                                     "fonts/source/public/mathabx/"
                                     "fonts/tfm/public/mathabx/"
                                     "tex/generic/mathabx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kj95jl89wh43b9mfqp05hpa5jqyxca7hp9pfk21js2dhysr7x18"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mathabx")
    (synopsis "Three series of mathematical symbols")
    (description
     "Mathabx is a set of three mathematical symbols font series.
They are defined by Metafont code.  The package includes Plain TeX and LaTeX
support macros.  A version of the fonts, in Adobe Type 1 format, is also
available.")
    (license license:lppl)))

(define-public texlive-mathabx-type1
  (package
    (name "texlive-mathabx-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mathabx-type1/"
                                     "fonts/map/dvips/mathabx-type1/"
                                     "fonts/type1/public/mathabx-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j9aiwxq512bnwjvah06rygd8m6b68dpfkynagad627sfyrblcaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-mathabx))
    (home-page "https://ctan.org/pkg/mathabx-type1")
    (synopsis "Outline version of the @code{mathabx} fonts")
    (description
     "This is an Adobe Type 1 outline version of the @code{mathabx} fonts.")
    (license license:lppl)))

(define-public texlive-mathalpha
  (package
    (name "texlive-mathalpha")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathalpha/"
                                     "tex/latex/mathalpha/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19wniyaba8cz4vk279ashg68bxq9178cvvz53cng2cn6i6rw32rv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathalpha")
    (synopsis "General package for loading maths alphabets in LaTeX")
    (description
     "Package @code{mathalfa} was renamed to @code{mathalpha}.  For backward
compatibility the old name will continue to be recognized in LaTeX documents.
The package provides means of loading maths alphabets (such as are normally
addressed via macros @code{\\mathcal}, @code{\\mathbb}, @code{\\mathfrak} and
@code{\\mathscr}).")
    (license license:lppl1.3c)))

(define-public texlive-mathastext
  (package
    (name "texlive-mathastext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathastext/"
                                     "source/latex/mathastext/"
                                     "tex/latex/mathastext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02zx7v3vffz4wag24pd29dgw2l6vbs30vhrrkylsi26rwsr839zc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathastext")
    (synopsis "Use the text font in maths mode")
    (description
     "The package uses a text font (usually the document's text font) for the
letters of the Latin alphabet needed when typesetting
mathematics. (Optionally, other characters in the font may also be used).
This facility makes possible (for a document with simple mathematics) a far
wider choice of text font, with little worry that no specially designed
accompanying maths fonts are available.  The package also offers a simple
mechanism for using many different choices of (text hence, now, maths) font in
the same document.  Of course, using one font for two purposes helps produce
smaller PDF files.")
    (license license:lppl1.3+)))

(define-public texlive-mathcommand
  (package
    (name "texlive-mathcommand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathcommand/"
                                     "source/latex/mathcommand/"
                                     "tex/latex/mathcommand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vm7k1p5d74vkqmpxdza4127qj7622w0vfr2bh51wb612dpps2a5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathcommand")
    (synopsis "@code{\\newcommand}-like commands for defining math macros")
    (description
     "This package provides functionalities for defining macros that have
different behaviors depending on whether in math or text mode, that absorb
Primes, Indices and Exponents (PIE) as extra parameters usable in the code;
and it offers some iteration facilities for defining macros with similar code.
The primary objective of this package is to be used together with the
knowledge package for a proper handling of mathematical notations.")
    (license license:lppl1.3+)))

(define-public texlive-mathcomp
  (package
    (name "texlive-mathcomp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathcomp/"
                                     "source/latex/mathcomp/"
                                     "tex/latex/mathcomp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a7y6r9ikasr9v48671ij40z31j0mxiliy1k3yg3ldbiggrjh07i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathcomp")
    (synopsis "Text symbols in maths mode")
    (description
     "This package provides a package which provides access to some
interesting characters of the Text Companion fonts (TS1 encoding) in maths
mode.")
    (license license:lppl)))

(define-public texlive-mathfixs
  (package
    (name "texlive-mathfixs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathfixs/"
                                     "source/latex/mathfixs/"
                                     "tex/latex/mathfixs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "069gcdc6mhf045cpg5dbd81ng8v7bhqjxwpg9dvz4qdpf508jvq0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathfixs")
    (synopsis "Fix various layout issues in math mode")
    (description
     "This is a LaTeX2e package to fix some odd behaviour in math mode such as
spacing around fractions and roots, math symbols within bold text as well as
capital Greek letters.  It also adds some related macros.")
    (license license:lppl1.3+)))

(define-public texlive-mathlig
  (package
    (name "texlive-mathlig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/mathlig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pyaqwr2h9knxf1axi55vm6wr9xj15d5j5pagb2011k3b830f91b"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathlig")
    (synopsis "Define maths ligatures")
    (description
     "The package defines character sequences that behave like ligatures, in
maths mode.")
    ;; The license is basically CC-BY.
    (license (license:fsf-free "file://tex/generic/mathlig/mathlig.tex"))))

(define-public texlive-mathpartir
  (package
    (name "texlive-mathpartir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathpartir/"
                                     "source/latex/mathpartir/"
                                     "tex/latex/mathpartir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1baadhdxs4rp1qijkwiki2f4w1faarsq3dqy62q7rxs4640mxqa1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathpartir")
    (synopsis
     "Typesetting sequences of math formulas, e.g., type inference rules")
    (description
     "The package provides macros for typesetting math formulas in mixed
horizontal and vertical mode, automatically as best fit.  It provides an
environment @code{mathpar} that behaves much as a loose centered paragraph
where words are math formulas, and spaces between them are larger and
adjustable.  It also provides a macro @code{\\inferrule} for typesetting
fractions where both the numerator and denominator may be sequences of
formulas that will be also typeset in a similar way.  It can typically be used
for typeseting sets of type inference rules or typing derivations.")
    (license license:gpl2)))

(define-public texlive-mathpunctspace
  (package
    (name "texlive-mathpunctspace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathpunctspace/"
                                     "tex/latex/mathpunctspace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kbsdbnhiwgxa1yznsknni7gvv7x96x02ir2vxmlmhph1j3wqx28"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathpunctspace")
    (synopsis "Control the space after punctuation in math expressions")
    (description
     "This package provides a mechanism to control the space after commas and
semicolons in mathematical expressions.")
    (license license:bsd-2)))

(define-public texlive-mathsemantics
  (package
    (name "texlive-mathsemantics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathsemantics/"
                                     "tex/latex/mathsemantics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06p4i9nx8sh3dv2nzq3vk1m36nshxgalr8c6660ns9kbhraprkbp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathsemantics")
    (synopsis "Semantic math commands in LaTeX")
    (description
     "This LaTeX package provides both syntactic and semantic helpers to
typeset mathematics in LaTeX.  The syntactic layer eases typesetting of
formulae in general, while the semantic layer provides commands like
@code{\\inner@{x@}@{y@}} to unify typesetting of inner products.  These not
only unify typesetting of math formulae but also allow to easily adapt
notation if a user prefers to.  The semantic layer is split into topics.")
    (license license:expat)))

(define-public texlive-maths-symbols
  (package
    (name "texlive-maths-symbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/maths-symbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z83qf1rz84cr0b1zvwlacf24pc5r8dn1cxiiyl0xrqncl3279ka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/maths-symbols")
    (synopsis "Summary of mathematical symbols available in LaTeX")
    (description
     "This package provides a predecessor of the comprehensive symbols list,
covering mathematical symbols available in standard @code{LaTeX} (including
the AMS symbols, if available at compile time).")
    (license license:lppl1.2+)))

(define-public texlive-matlab-prettifier
  (package
    (name "texlive-matlab-prettifier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matlab-prettifier/"
                                     "source/latex/matlab-prettifier/"
                                     "tex/latex/matlab-prettifier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mr3h2pwz5ghhy3k9c35c6q9k946qzmg7clldmlzlrq3cm685lsh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matlab-prettifier")
    (synopsis "Pretty-print Matlab source code")
    (description
     "The package extends the facilities of the listings package, to
pretty-print Matlab and Octave source code. (Note that support of Octave
syntax is not complete.)")
    (license license:lppl1.3+)))

(define-public texlive-matrix-skeleton
  (package
    (name "texlive-matrix-skeleton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/matrix-skeleton/"
                                     "tex/latex/matrix-skeleton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07mqmc0kli0azp2vlzm8q3lp1b70lyggm2hqnq0v9c0jlfhvj9j7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/matrix-skeleton")
    (synopsis
     "PGF/TikZ library that simplifies working with multiple matrix nodes")
    (description
     "The package provides a PGF/TikZ library that simplifies working with
multiple matrix nodes.  To do so, it correctly aligns groups of nodes with the
content of the whole matrix.  Furthermore, @code{matrix-skeleton} provides
rows and columns for easy styling.")
    (license license:isc)))

(define-public texlive-mattens
  (package
    (name "texlive-mattens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mattens/" "source/latex/mattens/"
                                     "tex/latex/mattens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18v2hypd9vkxk3anixvgf16rmsjzq3apm6s7qxrkk4vyrgrahsnj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mattens")
    (synopsis "Matrices and tensor typesetting")
    (description
     "The @code{mattens} package contains the definitions to typeset matrices,
vectors and tensors as used in the engineering community for the
representation of common vectors and tensors such as forces, velocities,
moments of inertia, etc.")
    (license license:lppl1.3c)))

(define-public texlive-maze
  (package
    (name "texlive-maze")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/maze/" "tex/latex/maze/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dwsv62rpyll1cfh1qpz6msmypc1a61b1pb0a7lm89ks1cj42zmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/maze")
    (synopsis "Generate random mazes")
    (description
     "This package can generate random square mazes of a specified size.
The mazes generated by this package are natural and their solution is not too
obvious.  The output it based on the @code{picture} environment.")
    (license license:lppl1.3c)))

(define-public texlive-mcmthesis
  (package
    (name "texlive-mcmthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mcmthesis/"
                                     "source/latex/mcmthesis/"
                                     "tex/latex/mcmthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15v7dkf3ssjvxkxnwvmsz7h8cjcansf7cfc653j78504pvhj4jqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mcmthesis")
    (synopsis "Template designed for MCM and ICM")
    (description
     "The package offers a template for @acronym{MCM, The Mathematical Contest
in Modeling} and @acronym{ICM, The Interdisciplinary Contest in Modeling} for
typesetting the submitted paper.")
    (license license:lppl1.3c)))

(define-public texlive-mdputu
  (package
    (name "texlive-mdputu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mdputu/"
                                     "fonts/tfm/public/mdputu/"
                                     "fonts/vf/public/mdputu/"
                                     "tex/latex/mdputu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01baplnisdakypsrzcvz1hibqw2gq70hyk2dwgljhwcb14rcxylw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mdputu")
    (synopsis "Upright digits in Adobe Utopia Italic")
    (description
     "The @emph{Annals of Mathematics} uses italics for theorems.  However,
slanted digits and parentheses look disturbing when surrounded by (upright)
mathematics.  This package provides virtual fonts with italics and upright
digits and punctuation, as an extension to Mathdesign's Utopia bundle.")
    (license license:bsd-3)))

(define-public texlive-mdsymbol
  (package
    (name "texlive-mdsymbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mdsymbol/"
                                     "doc/latex/mdsymbol/"
                                     "fonts/enc/dvips/mdsymbol/"
                                     "fonts/map/dvips/mdsymbol/"
                                     "fonts/opentype/public/mdsymbol/"
                                     "fonts/source/public/mdsymbol/"
                                     "fonts/tfm/public/mdsymbol/"
                                     "fonts/type1/public/mdsymbol/"
                                     "source/latex/mdsymbol/"
                                     "tex/latex/mdsymbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ssvyqyh3k8q2snj8wk0xdbxgnafacsyj4iyh14hrxybknxxqh22"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mdsymbol")
    (synopsis "Symbol fonts to match Adobe Myriad Pro")
    (description
     "The package provides a font of mathematical symbols, MyriadPro.  The
font is designed as a companion to Adobe Myriad Pro, but it might also fit
well with other contemporary typefaces.")
    (license license:silofl1.1)))

(define-public texlive-mecaso
  (package
    (name "texlive-mecaso")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mecaso/" "tex/latex/mecaso/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11h10mxjdmknvi8r4dnkhv5q2bzgckwaq7p3dziyxkibq1ciq622"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mecaso")
    (synopsis "Formulas frequently used in rigid body mechanics")
    (description
     "This package provides a number of formulas frequently used in rigid body
mechanics.  Since most of these formulas are long and tedious to write, this
package wraps them up in short commands.")
    (license license:gpl3+)))

(define-public texlive-membranecomputing
  (package
    (name "texlive-membranecomputing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/membranecomputing/"
                                     "tex/latex/membranecomputing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r5k8ipf435vvffr7da8nl2j14myfp102i5qf0yy0jczziddbq6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/membranecomputing")
    (synopsis "Membrane Computing notation")
    (description
     "This is a LaTeX package for the Membrane Computing community.  It
comprises the definition of @samp{P} systems, rules and some concepts related
to languages and computational complexity usually needed for Membrane
Computing research.")
    (license license:lppl1.3+)))

(define-public texlive-memdesign
  (package
    (name "texlive-memdesign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/memdesign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aij1b7l1kb2x44qn33m39k0kbhdrclmr25nmvzfn6yw42lh9fz7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memdesign")
    (synopsis "Notes on book design")
    (description
     "@emph{A Few Notes on Book Design} provides an introduction to the
business of book design.  It is an extended version of what used to be the
first part of the @code{memoir} users manual.")
    (license license:lppl1.3+)))

(define-public texlive-memoirchapterstyles
  (package
    (name "texlive-memoirchapterstyles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/memoirchapterstyles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jxd7sbh5vc3j5d5jd3zmyg58kwhy550l5z8q14b4msm00fp6z0a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memoirchapterstyles")
    (synopsis "Chapter styles in @code{memoir} class")
    (description
     "This package provides a showcase of chapter styles available to users of
@code{memoir}: the six provided in the class itself, plus many from
elsewhere (by the present author and others).  The package's resources apply
only to @code{memoir}, but the package draws from a number of sources relating
to standard classes, including the @code{fncychap} package, and Vincent
Zoonekynd's tutorial on headings.")
    (license license:lppl)))

(define-public texlive-memorygraphs
  (package
    (name "texlive-memorygraphs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/memorygraphs/"
                                     "tex/latex/memorygraphs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03wsql3aq6327k905fz902il1acxcz2ik4adxfkl4vm1f1g045xn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memorygraphs")
    (synopsis "TikZ styles to typeset graphs of program memory")
    (description
     "This package defines some TikZ styles and adds anchors to existing
styles that ease the declaration of memory graphs.  It is intended for graphs
that represent the memory of a computer program during its execution.")
    (license license:lppl1.3+)))

(define-public texlive-mendex-doc
  (package
    (name "texlive-mendex-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/mendex-doc/"
                                     "makeindex/mendex-doc/"
                                     "source/latex/mendex-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "096b1v9zzl3qm189paaxz16z4a1xgcj7l2bhdgvl2wqshsz9lx4p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mendex-doc")
    (synopsis "Documentation for Mendex index processor")
    (description
     "This package provides documentation for Mendex (Japanese index
processor).")
    (license license:bsd-3)))

(define-public texlive-mentis
  (package
    (name "texlive-mentis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mentis/" "source/latex/mentis/"
                                     "tex/latex/mentis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0js6gp93jzj6kzvwqycilp42zbwslxk6z77g2198gip2i4m1li0i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mentis")
    (synopsis "Basis for books to be published by Mentis publishers")
    (description
     "This LaTeX class loads @code{scrbook} and provides changes necessary for
publishing at Mentis publishers in Paderborn, Germany.  It is not an official
Mentis class, but developed in close co-operation with Mentis.")
    (license license:lppl)))

(define-public texlive-merriweather
  (package
    (name "texlive-merriweather")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/merriweather/"
                                     "fonts/enc/dvips/merriweather/"
                                     "fonts/map/dvips/merriweather/"
                                     "fonts/opentype/sorkin/merriweather/"
                                     "fonts/tfm/sorkin/merriweather/"
                                     "fonts/type1/sorkin/merriweather/"
                                     "fonts/vf/sorkin/merriweather/"
                                     "tex/latex/merriweather/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dgjw3ld1srv2irnhn6b592y9q9917y6w1x1kcqb4a7dv8s7wpzj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/merriweather")
    (synopsis "Merriweather and MerriweatherSans fonts, with LaTeX support")
    (description
     "This package provides the Merriweather and MerriweatherSans families of
fonts, designed by Eben Sorkin, with support for LaTeX, pdfLaTeX, XeLaTeX, and
LuaLaTeX.  Merriweather features a very large x-height, slightly condensed
letterforms, a mild diagonal stress, sturdy serifs and open forms.  The Sans
family closely harmonizes with the weights and styles of the serif family.
There are four weights and italics for each.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-messagepassing
  (package
    (name "texlive-messagepassing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/messagepassing/"
                                     "source/latex/messagepassing/"
                                     "tex/latex/messagepassing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y73kc0jfk7mbcqa0z8g3rdqrw9yhz0z23j94wsks3g2lfl31l0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/messagepassing")
    (synopsis "Draw diagrams to represent communication protocols")
    (description
     "This package provides an environment to easily draw diagrams to
represent communication protocols using message passing among processes.
Processes are represented as horizontal or vertical lines, and communications
as arrows between lines.  The package also provides multiple macros to
decorate those diagrams, for instance to annotate the diagram, to add crashes
to the processes, checkpoints, ...")
    (license license:lppl1.3+)))

(define-public texlive-metafont-beginners
  (package
    (name "texlive-metafont-beginners")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/metafont-beginners/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12hhvlnvh8dj1396242m6yi0341cina7sxrv7pwzqxzzahwdvmgm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metafont-beginners")
    (synopsis "Introductory tutorial for Metafont")
    (description
     "This package provides an old introduction to the use of Metafont, that
has stood the test of time.  It focuses on using the program, rather than
designing fonts, but does offer advice about understanding errors in other
people's fonts.")
    (license license:public-domain)))

(define-public texlive-metapost-examples
  (package
    (name "texlive-metapost-examples")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metapost-examples/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rslyjnw27b5br17cbf6mjjkcgyr49yav4kw12spm3vdwyzb7gxr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metapost-examples")
    (synopsis "Example drawings using MetaPost")
    (description
     "This package provides a few (hundred) example pictures drawn with MetaPost,
ranging from very simple (lines and circles) to rather intricate (uncommon
geometric transformations, fractals, bitmap, etc).")
    (license license:gpl1+)))

(define-public texlive-metrix
  (package
    (name "texlive-metrix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metrix/" "source/latex/metrix/"
                                     "tex/latex/metrix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "185w7pgil8zix0czvd69l5pv6pcjc0n4nfbllm5v5mzr31sc0k5j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metrix")
    (synopsis "Typeset metric marks for Latin text")
    (description
     "The package may be used to type the prosodics/metrics of (Latin) verse;
it provides macros to typeset the symbols standing alone, and in combination
with symbols, giving automatic alignment.")
    (license license:lppl1.3c)))

(define-public texlive-mex
  (package
    (name "texlive-mex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/mex/base/" "source/mex/base/"
                                     "tex/mex/base/" "tex/mex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kc766cvvbcqrj60ncz4a105nrn454y5c2330y7s7jzh45dx8qsi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "mex" "pdfmex" "utf8mex")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "mex")
                       (symlink pdftex "pdfmex")
                       (symlink pdftex "utf8mex"))))))))
    (propagated-inputs
     (list texlive-enctex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-pdftex
           texlive-pl
           texlive-plain
           texlive-tex
           texlive-tex-ini-files
           texlive-utf8mex))
    (home-page "https://ctan.org/pkg/mex")
    (synopsis "Polish formats for TeX")
    (description
     "MeX is an adaptation of Plain TeX (MeX) and LaTeX209 (LaMeX) formats to
the Polish language and to Polish printing customs.  It contains a complete
set of Metafont sources of Polish fonts, hyphenation rules for the Polish
language and sources of formats.")
    (license license:knuth)))

(define-public texlive-mgltex
  (package
    (name "texlive-mgltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mgltex/" "source/latex/mgltex/"
                                     "tex/latex/mgltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lv18k5z59ayxm9z02pnfibhdblvl802nhmpxd7wg0fbl1sk886x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mgltex")
    (synopsis
     "High-quality graphics from MGL scripts embedded in LaTeX documents")
    (description
     "This package allows you to create high-quality publication-ready
graphics directly from MGL scripts embedded into your LaTeX document, using
the MathGL library.

MathGL is a fast and efficient library by Alexey Balakin for the creation of
high-quality publication-ready scientific graphics.  Although it defines
interfaces for many programming languages, it also implements its own
scripting language, called MGL, which can be used independently.")
    (license (list license:gpl3 license:cc-by-sa3.0))))

(define-public texlive-mhchem
  (package
    (name "texlive-mhchem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mhchem/" "tex/latex/mhchem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lnvca8f4xyc756mq2nj9skzjmm5m66ahzxf70yh4gpixc5ijq2r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-amsmath
           texlive-chemgreek
           texlive-graphics
           texlive-l3kernel
           texlive-l3packages
           texlive-tools))
    (home-page "https://ctan.org/pkg/mhchem")
    (synopsis
     "Typeset chemical formulae/equations and H and P statements")
    (description
     "The bundle provides three packages: The @code{mhchem} package provides
commands for typesetting chemical molecular formulae and equations.  The
@code{hpstatement} package provides commands for the official hazard
statements and precautionary statements (H and P statements) that are used to
label chemicals.  The @code{rsphrase} package provides commands for the
official Risk and Safety (R and S) Phrases that are used to label chemicals.")
    (license license:lppl1.3c)))

(define-public texlive-mhequ
  (package
    (name "texlive-mhequ")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mhequ/" "tex/latex/mhequ/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08k45mklj8ag5z3rmn9c15f6pgixz6pxlip4wp07q4l6xdzkk8fq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mhequ")
    (synopsis "Multicolumn equations, tags, labels, sub-numbering")
    (description
     "The @code{mhequ} style file simplifies creating multi-column equation
environments and tagging equations therein.  It supports sub-numbering of
blocks of equations, such as @samp{(1.2a)} and @samp{(1.2b)}, references to
each equation individually @samp{(1.2a)} or to the whole block @samp{(1.2)}.
The labels can be shown in draft mode.  The default behaviour is to show an
equation number if and only if the equation actually has a label, which
reduces visual clutter.")
    (license license:public-domain)))

(define-public texlive-miama
  (package
    (name "texlive-miama")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/miama/"
                                     "fonts/afm/public/miama/"
                                     "fonts/enc/dvips/miama/"
                                     "fonts/map/dvips/miama/"
                                     "fonts/opentype/public/miama/"
                                     "fonts/tfm/public/miama/"
                                     "fonts/type1/public/miama/"
                                     "source/fonts/miama/"
                                     "tex/latex/miama/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07a2i250himdjnphq39kq08ycl7mgi9v1w3cnsg1q2c7qwwizrkw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/miama")
    (synopsis "Miama Nueva handwriting font with LaTeX support")
    (description
     "Miama Nueva is a handwriting and script font with over 1300 glyphs that
supports Latin, Cyrillic, and Greek.  It comes complete with LaTeX support.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-miller
  (package
    (name "texlive-miller")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/miller/" "source/latex/miller/"
                                     "tex/latex/miller/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "062pzzzi72hrhvxqg8ay9bacqq1rcjry3ms3j9amzmz6zma3jrgw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/miller")
    (synopsis "Typeset Miller indices")
    (description
     "This package typesets Miller indices that are used in material science
with an easy syntax.  Minus signs are printed as bar above the corresponding
number.")
    (license license:lppl)))

(define-public texlive-minimalist
  (package
    (name "texlive-minimalist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minimalist/"
                                     "tex/latex/minimalist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rcplrng5ib61pwzi32rjxjprk8b5y087xbcyz5jrmkhsyawy575"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-projlib))
    (home-page "https://ctan.org/pkg/minimalist")
    (synopsis "Write your articles or books in a simple and clear way")
    (description
     "This package offers you a LaTeX style file and two classes to typeset
articles or books in a simple and clear way.  These classes currently have
native support for English, French, German, Italian, Portuguese (European and
Brazilian), and Spanish typesetting.  They compile with any major TeX engine.
You may also wish to consider the packages @code{einfart} and
@code{simplivre}, which are enhanced versions of the classes provided here.")
    (license license:lppl1.3c)))

(define-public texlive-mintspirit
  (package
    (name "texlive-mintspirit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mintspirit/"
                                     "fonts/enc/dvips/mintspirit/"
                                     "fonts/map/dvips/mintspirit/"
                                     "fonts/opentype/arkandis/mintspirit/"
                                     "fonts/tfm/arkandis/mintspirit/"
                                     "fonts/type1/arkandis/mintspirit/"
                                     "fonts/vf/arkandis/mintspirit/"
                                     "tex/latex/mintspirit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rh8xjrxm996k2qkd42r27fz8ir8cg8bpy1fgbdbbjyd3a6xpic3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mintspirit")
    (synopsis "LaTeX support for MintSpirit font families")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the MintSpirit and MintSpiritNo2 families of fonts, designed by Hirwen
Harendal.  MintSpirit was originally designed for use as a system font on
a Linux Mint system.  The No.@: 2 variant provides more conventional shapes
for some glyphs.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-mismath
  (package
    (name "texlive-mismath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mismath/" "source/latex/mismath/"
                                     "tex/latex/mismath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1400jh0lnrz24zdwn9hai222haz9fqr0rxld9lnf42drlmb0nlxz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mismath")
    (synopsis "Miscellaneous mathematical macros")
    (description
     "The package provides some mathematical macros to typeset: mathematical
constants @samp{e}, @samp{i}, @samp{p} in upright shape (automatically) as
recommended by ISO 80000-2, vectors with beautiful arrows and adjusted norm,
some standard operator names, improved spacings in mathematical formulas,
systems of equations and small matrices, @code{displaymath} in double columns
for long calculations.")
    (license license:lppl1.3+)))

(define-public texlive-missaali
  (package
    (name "texlive-missaali")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/missaali/"
                                     "fonts/opentype/public/missaali/"
                                     "tex/latex/missaali/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wa6knx1s82q86rl2icd9nqlh5ppa3636f28ns6g1l5fag6wd283"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/missaali")
    (synopsis "Late medieval OpenType Textura font")
    (description
     "This package contains the OpenType Textura font Missaali and a style
file for using it with XeLaTeX.  Textura is a typeface based on the
@emph{textus quadratus} form of the @emph{textualis formata} that late
medieval scribes used for the most valuable manuscripts.  The font Missaali is
based on Textura that German printer Bartholomew Ghotan used for printing
missals and psalters in the 1480s.

This font has two intended use cases: as a Gothic display font; and for
emulating late-medieval manuscripts.  In addition to the basic Textura
letters, the font contains a large number of abbreviation sigla as well as
a set of Lombardic initials.  As modern typesetting algorithms are not
intended for creating 15th century style layout, the package contains
a XeLaTeX style file that makes it easier to achieve the classic incunabula
look.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-mlacls
  (package
    (name "texlive-mlacls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mlacls/" "source/latex/mlacls/"
                                     "tex/latex/mlacls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g6kqsrvcvf8xmygb7rh18a1amqc83fp7fghvd17klsaslal83cd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mlacls")
    (synopsis "LaTeX class for MLA papers")
    (description
     "In the United States, secondary and undergraduate students are generally
expected to adhere to the format prescribed by the @acronym{MLA, Modern
Language Association} for typewritten essays, research papers and writings.
This package provides a simple, straightforward LaTeX class for composing
papers almost perfectly adherent to the MLA style guide.")
    (license license:lppl1.3c)))

(define-public texlive-mlmodern
  (package
    (name "texlive-mlmodern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mlmodern/"
                                     "fonts/map/dvips/mlmodern/"
                                     "fonts/tfm/public/mlmodern/"
                                     "fonts/type1/public/mlmodern/"
                                     "tex/latex/mlmodern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cw802x67yqh6zlkf89pdjlx0r5lmwdca5vcqxmv24c5gx2bc666"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mlmodern")
    (synopsis
     "Blacker Type 1 version of Computer Modern, with multilingual support")
    (description
     "MLModern is a text and math font family with (La)TeX support, based on
the design of Donald Knuth's Computer Modern and the Latin Modern project.  It
avoids the spindliness of most other Type 1 versions of Computer Modern.")
    (license license:lppl1.3c)))

(define-public texlive-mltex
  (package
    (name "texlive-mltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mltex/" "tex/latex/mltex/"
                                     "tex/mltex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ip0q5kqj6bg4jkginzljknbrd74ss4iky2gvlmf8nnrq06n89my"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "mllatex" "mltex")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "mllatex")
                       (symlink pdftex "mltex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/mltex")
    (synopsis "The MLTeX system")
    (description
     "MLTeX is a modification of TeX that allows the hyphenation of words with
accented letters using ordinary Computer Modern (CM) fonts.  The system is
distributed as a TeX change file.")
    (license license:knuth)))

(define-public texlive-mluexercise
  (package
    (name "texlive-mluexercise")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mluexercise/"
                                     "source/latex/mluexercise/"
                                     "tex/latex/mluexercise/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zvnz3rm9dq8h00hlbzll5cvw4zlcy8xr8l6cfjg0winfnyznky8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:build-targets #~(list "mluexercice.dtx")))
    (home-page "https://ctan.org/pkg/mluexercise")
    (synopsis
     "Exercises and homework at the Martin Luther University Halle-Wittenberg")
    (description
     "This package provides a template class for solving weekly exercises at
the Institute for Computer Science of Martin Luther University
Halle-Wittenberg.  The class can be used by all students --- especially first
semesters --- to typeset their exercises with low effort in beautiful LaTeX.
A bunch of handy macros are included that are used throughout many lectures
during the bachelor's degree program.")
    (license license:expat)))

(define-public texlive-mnras
  (package
    (name "texlive-mnras")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/mnras/" "doc/latex/mnras/"
                                     "tex/latex/mnras/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fzdd0r49g7wbdwhin93b8m4z8zx3n9ipl3gmpypncsmwr096crg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mnras")
    (synopsis "Monthly Notices of the Royal Astronomical Society")
    (description
     "This package is used for preparing papers in the journal @emph{Monthly
Notices of the Royal Astronomical Society}.")
    (license license:lppl1.3+)))

(define-public texlive-mnsymbol
  (package
    (name "texlive-mnsymbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mnsymbol/"
                                     "fonts/enc/dvips/mnsymbol/"
                                     "fonts/map/dvips/mnsymbol/"
                                     "fonts/map/vtex/mnsymbol/"
                                     "fonts/opentype/public/mnsymbol/"
                                     "fonts/source/public/mnsymbol/"
                                     "fonts/tfm/public/mnsymbol/"
                                     "fonts/type1/public/mnsymbol/"
                                     "source/latex/mnsymbol/"
                                     "tex/latex/mnsymbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "164zspl0wcpmba9j0kl6wy8k46xaafjvwjp0dn82dzh73r85jdk2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mnsymbol")
    (synopsis "Mathematical symbol font for Adobe MinionPro")
    (description
     "MnSymbol is a symbol font family, designed to be used in conjunction
with Adobe Minion Pro (via the MinionPro package).  Almost all of LaTeX and
AMS mathematical symbols are provided; remaining coverage is available from
the MinionPro font with the MinionPro package.  The fonts are available both
as Metafont source and as Adobe Type 1 format, and a comprehensive support
package is provided.")
    (license license:public-domain)))

(define-public texlive-modeles-factures-belges-assocs
  (package
    (name "texlive-modeles-factures-belges-assocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modeles-factures-belges-assocs/"
                                     "tex/latex/modeles-factures-belges-assocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rj4r3qa5khgc54f1gz73zywrh61rdw76hlrk9jb6b08gz56wzdz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modeles-factures-belges-assocs")
    (synopsis "Generate invoices for Belgian non-profit organizations")
    (description
     "This package provides templates and a @file{.sty} file for generating
invoices for Belgian non-profit organizations.")
    (license license:lppl1.3c)))

(define-public texlive-montserrat
  (package
    (name "texlive-montserrat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/montserrat/"
                                     "fonts/enc/dvips/montserrat/"
                                     "fonts/map/dvips/montserrat/"
                                     "fonts/opentype/public/montserrat/"
                                     "fonts/tfm/public/montserrat/"
                                     "fonts/type1/public/montserrat/"
                                     "fonts/vf/public/montserrat/"
                                     "tex/latex/montserrat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08aaypw8l30sb0rvv2s9jcw15k3909xam98z2c6vj2x5jyi9wzn7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/montserrat")
    (synopsis "Montserrat sans serif, with LaTeX support files")
    (description
     "Montserrat is a geometric sans-serif typeface designed by Julieta
Ulanovsky.  It is rather close in spirit to Gotham and Proxima Nova, but has
its own individual appearance --- more informal, less extended, and more
idiosyncratic.  It is provided in a total of nine different weights, each
having eight figure styles and small caps in both upright and italic shapes.
There are two quite different versions that don't fit into the usual LaTeX
classifications.  The version having the appellation Alternates has letter
shapes that are much more rounded than the default version, reflecting the
signage in the neighborhood of Montserrat.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-mparhack
  (package
    (name "texlive-mparhack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mparhack/"
                                     "source/latex/mparhack/"
                                     "tex/latex/mparhack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajlpri5bi62k9wsmic3j2xjkz1wzjc3n4fr04c5d667jsibpfmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mparhack")
    (synopsis "Work around a LaTeX bug in marginpars")
    (description
     "This package works around the LaTeX bug that marginpars will sometimes
come out at the wrong margin.")
    (license license:gpl2+)))

(define-public texlive-mpfonts
  (package
    (name "texlive-mpfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mpfonts/"
                                     "fonts/map/dvips/mpfonts/"
                                     "fonts/type3/mpfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z6pdjwi14fq6y1s39gxyqlpg6p5j09psjv1cyp7xjwjffdikgaf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpfonts")
    (synopsis "Computer Modern Type 3 fonts converted using MetaPost")
    (description
     "The Computer Modern fonts are available in Type 1 format, but these
renditions are somewhat thin and spindly, and produce much lighter results
than the originals.  These fonts are conversions to Type 3 fonts, done
entirely in MetaPost; they are vector fonts which are a direct conversion from
the original Metafont files, so they are the design most authentic to the
originals.  However, these fonts, because they are PostScript Type 3 fonts,
are not suitable for on-screen reading, and should probably only be used for
printing.")
    (license (list license:knuth
                   license:lppl1.2+
                   license:silofl1.1
                   license:public-domain))))

(define-public texlive-mucproc
  (package
    (name "texlive-mucproc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mucproc/" "source/latex/mucproc/"
                                     "tex/latex/mucproc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6xycas6asggpd4hd1b7x5x867nsx8aw2fkdd1ib8g98i5a8vhk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mucproc")
    (synopsis "Conference proceedings for the German MuC-conference")
    (description
     "The @file{mucproc.cls} is a document class to support the formatting
guidelines for submissions to the German Mensch und Computer conference.")
    (license license:lppl1.3+)))

(define-public texlive-mugsthesis
  (package
    (name "texlive-mugsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mugsthesis/"
                                     "source/latex/mugsthesis/"
                                     "tex/latex/mugsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xf3zjwx6k2dg1hrz4nw6shn6xk3lvmjprg3psfrh3z38r1sp9nh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mugsthesis")
    (synopsis
     "Thesis class complying with Marquette University Graduate School
requirements")
    (description
     "The bundle offers a thesis class, based on @code{memoir}, that complies
with Marquette University Graduate School requirements.")
    (license license:lppl1.3+)))

(define-public texlive-muling
  (package
    (name "texlive-muling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/muling/" "source/latex/muling/"
                                     "tex/latex/muling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lz19h237xkijcxlmbv982bs8niscya9m4l9w5ai01vlvh1hg9z6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/muling")
    (synopsis
     "MA thesis class for the Department of Linguistics, University of
Mumbai")
    (description
     "This is a class file for writing MA thesis as required by the
Department of Linguistics at the University of Mumbai.")
    (license license:lppl1.3c)))

(define-public texlive-multibib
  (package
    (name "texlive-multibib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/multibib/" "doc/latex/multibib/"
                                     "makeindex/multibib/"
                                     "source/latex/multibib/"
                                     "tex/latex/multibib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m16vi9fj2yc49a6iqcccd7yay26i8zpyzzsgxywlrp4ijrx4hqc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multibib")
    (synopsis "Multiple bibliographies within one document")
    (description
     "The package the creation of references to multiple bibliographies within
one document.  It thus provides complementary functionality to packages like
@code{bibunits} and @code{chapterbib}, which allow the creation of one
bibliography for multiple, but different parts of the document.  Multibib is
compatible with @code{inlinebib}, @code{natbib}, and @code{koma-script}.")
    (license license:lppl)))

(define-public texlive-multibibliography
  (package
    (name "texlive-multibibliography")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/multibibliography/"
                                     "doc/latex/multibibliography/"
                                     "scripts/multibibliography/"
                                     "source/latex/multibibliography/"
                                     "tex/latex/multibibliography/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10281fv7xfqmdc08pyk9l9280crklsfqwf5cwd5ysbhdz1r0grcm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "multibibliography.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/multibibliography")
    (synopsis
     "Multiple versions of a bibliography, with different sort orders")
    (description
     "Conventional standards for bibliography styles impose a forced choice
between index and name/year citations, and corresponding references.  The
package avoids this choice, by providing alphabetic, sequenced, and even
chronological orderings of references.  Inline citations, that integrate these
heterogeneous styles, are also supported (and work with other bibliography
packages).")
    (license license:lppl1.3+)))

(define-public texlive-multiobjective
  (package
    (name "texlive-multiobjective")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multiobjective/"
                                     "source/latex/multiobjective/"
                                     "tex/latex/multiobjective/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f5l6pg8877a7777vzlh91yxv2rliijgdhkm71fim5n66q0ym9y4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multiobjective")
    (synopsis "Symbols for multiobjective optimisation etc")
    (description
     "The package provides a series of operators commonly used in papers
related to multiobjective optimisation, multiobjective evolutionary
algorithms, multicriteria decision making and similar fields.")
    (license license:lppl)))

(define-public texlive-munich
  (package
    (name "texlive-munich")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/munich/" "doc/latex/munich/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w464hiivzccfk0i4hz60x3q14h38y2yzycldckx144q0z6i4c5r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/munich")
    (synopsis "Alternative author-date bibliography style")
    (description
     "The Munich BibTeX style is produced with @code{custom-bib}, as a German
(and, more generally, Continental European) alternative to such author-date
styles as @code{harvard} and @code{oxford}.")
    (license license:lppl)))

(define-public texlive-musical
  (package
    (name "texlive-musical")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musical/" "tex/latex/musical/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qdrd622vs5dkr5w6pvf04hvni1jqcgxfvhf0ak7gjaxjczisb9h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musical")
    (synopsis "Typeset (musical) theatre scripts")
    (description
     "This package is designed to simplify the development and distribution of
scripts for theatrical musicals, especially ones under development.  The
output is formatted to follow generally accepted script style while also
maintaining a high level of typographic integrity, and includes commands for
dialog, lyrics, stage directions, music and dance cues, rehearsal marks, and
more.  It gracefully handles dialog that crosses page breaks, and can generate
lists of songs and lists of dances in the show.")
    (license license:lppl1.3+)))

(define-public texlive-musicography
  (package
    (name "texlive-musicography")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musicography/"
                                     "tex/latex/musicography/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ppzxx875vzisdmmjkkgn6jcsnr0zvz06h0j1pkq2khl4mp59jik"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musicography")
    (synopsis "Accessing symbols for music writing with pdfLaTeX")
    (description
     "This package makes available the most commonly used symbols in writing
about music in a way that can be used with pdfLaTeX and looks consistent and
attractive.  It includes accidentals, meters, and notes of different rhythmic
values.  The package builds on the approach used in the @code{harmony}
package, where the symbols are taken from the MusiXTeX fonts.  But it provides
a larger range of symbols and a more flexible, user-friendly interface.")
    (license license:lppl1.3+)))

(define-public texlive-musikui
  (package
    (name "texlive-musikui")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musikui/" "tex/latex/musikui/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r5ygiavq51sj0l2jcn8jzc1jafach05a3pz2xvzxmxsxdjgzf02"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musikui")
    (synopsis "Easy creation of ``arithmetical restoration'' puzzles")
    (description
     "This package permits to easily typeset arithmetical restorations using
LaTeX.")
    (license license:lppl)))

(define-public texlive-musixguit
  (package
    (name "texlive-musixguit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musixguit/"
                                     "tex/latex/musixguit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ck8li0wdn22x0g4f57c9r57ans4rj7ggrm3rsp7xnqgc78as065"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musixguit")
    (synopsis "Easy notation for guitar music, in MusixTeX")
    (description
     "The package provides commands for typesetting notes for guitar,
especially for simplifying guitar notation with MusixTeX.")
    (license license:lppl1.3+)))

(define-public texlive-musixtex
  (package
    (name "texlive-musixtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/musixtex/"
                                     "doc/man/man1/musixflx.1"
                                     "doc/man/man1/musixflx.man1.pdf"
                                     "doc/man/man1/musixtex.1"
                                     "doc/man/man1/musixtex.man1.pdf"
                                     "dvips/musixtex/"
                                     "scripts/musixtex/"
                                     "source/generic/musixtex/musixcrd/"
                                     "tex/generic/musixtex/"
                                     "tex/latex/musixtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jjsciwgibw3zqng9ix51ykxjr9kvljsqpamrk7d62s2lkvxx4xn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets #~(list "strip.tex")
           #:link-scripts #~(list "musixflx.lua" "musixtex.lua")))
    (home-page "https://ctan.org/pkg/musixtex")
    (synopsis "Sophisticated music typesetting")
    (description
     "MusiXTeX provides a set of macros, based on the earlier MusicTeX,
for typesetting music with TeX.  To produce optimal spacing, MusiXTeX
is a three-pass system: @command{etex}, @command{musixflx}, and
@command{etex} again.  (Musixflx is a Lua script that is provided in
the bundle.) The three-pass process, optionally followed by processing
for printed output, is automated by the @command{musixtex} wrapper
script.

The package uses its own specialised fonts, which must be available on the
system for @command{musixtex} to run.  The MusiXTeX macros are universally
acknowledged to be challenging to use directly: the @command{pmx} preprocessor
compiles a simpler input language to MusiXTeX macros.")
    (license license:gpl2+)))

(define-public texlive-musixtex-fonts
  (package
    (name "texlive-musixtex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/musixtex-fonts/"
                                     "fonts/map/dvips/musixtex-fonts/"
                                     "fonts/opentype/public/musixtex-fonts/"
                                     "fonts/source/public/musixtex-fonts/"
                                     "fonts/tfm/public/musixtex-fonts/"
                                     "fonts/type1/public/musixtex-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ychs959d1yvxkhwayf73iwvl4qg0a6v5fk7lnw8w3hk8n7zvp86"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/musixtex-fonts")
    (synopsis "Fonts used by MusixTeX")
    (description
     "These are fonts for use with MusixTeX; they are provided both as
original Metafont source, and as converted Adobe Type 1.  The bundle renders
the older (Type 1 fonts only) bundle @code{musixtex-t1fonts} obsolete.")
    (license license:gpl3+)))

(define-public texlive-musixtnt
  (package
    (name "texlive-musixtnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/musixtnt/"
                                     "doc/man/man1/msxlint.1"
                                     "doc/man/man1/msxlint.man1.pdf"
                                     "tex/generic/musixtnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z1rfscla1hiibd0gs3lgf8x5yx19pmwdsbzvx2vvz0ikwgjglm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-musixtex texlive-musixtnt-bin))
    (home-page "https://ctan.org/pkg/musixtnt")
    (synopsis
     "MusiXTeX extension library enabling transformations of the effect of
notes commands")
    (description
     "This archive contains a MusiXTeX extension library @file{musixtnt.tex}
and a program, @command{msxlint}.

@file{musixtnt.tex} provides a macro @code{\\TransformNotes} that enables
transformations of the effect of notes commands such as @code{\\notes}.  In
general, the effect of @code{\\TransformNotes@{input@}@{output@}} is that
notes commands in the source will expect their arguments to match the input
pattern, but the notes will be typeset according to the output pattern.  An
example is extracting single-instrument parts from a multi-instrument score.

@command{msxlint} detects incorrectly formatted notes lines in a MusiXTeX
source file.  This should be used before using @code{\\TransformNotes}.")
    (license license:gpl2)))

(define-public texlive-musixtnt-bin
  (package
    (inherit texlive-bin)
    (name "texlive-musixtnt-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("musixtnt"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-musixtnt" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/musixtnt"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/musixtnt"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-musixtnt))
    (synopsis "Binary for @code{texlive-musixtnt}")
    (description
     "This package provides the binary for @code{texlive-musixtnt}.")
    (license (package-license texlive-musixtnt))))

(define-public texlive-musuos
  (package
    (name "texlive-musuos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/musuos/" "source/latex/musuos/"
                                     "tex/latex/musuos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a7cyjfgch6fvwdv2wi78sx2fdgmjbpb85gp2clhvgf15nkw0h94"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/musuos")
    (synopsis "Typeset papers for the department of music, Osnabruck")
    (description
     "The package provides a LaTeX class for typesetting term papers at the
institute of music and musicology of the University of Osnabruck, Germany,
according to the specifications of Prof.@: Stefan Hahnheide.  A BibLaTeX style
is provided.")
    (license license:lppl)))

(define-public texlive-muthesis
  (package
    (name "texlive-muthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/muthesis/" "tex/latex/muthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yydkhxpa9c5w8bpdx09w3mjggff0q2zsq8gkkbjjg29mg5x559j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/muthesis")
    (synopsis "Classes for University of Manchester Dept.@: of Computer
Science")
    (description
     "The bundle provides thesis and project report document classes from the
University of Manchester's Department of Computer Science.")
    (license license:lppl)))

(define-public texlive-msu-thesis
  (package
    (name "texlive-msu-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/msu-thesis/"
                                     "tex/latex/msu-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h84kk88mn1vvakcvxxfwpw1fhc9i8ypmz3y12frzvm6n9h2dyy2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/msu-thesis")
    (synopsis "Class for Michigan State University Master's and PhD theses")
    (description
     "This is a class file for producing dissertations and theses according to
the Michigan State University Graduate School Guidelines for Electronic
Submission of master's theses and dissertations.  The class should meet all
current requirements and is updated whenever the university guidelines change.
The class is based on the @code{memoir} document class, and inherits the
functionality of that class.")
    (license license:lppl1.3+)))

(define-public texlive-mwcls
  (package
    (name "texlive-mwcls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mwcls/" "source/latex/mwcls/"
                                     "tex/latex/mwcls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pj1m08gh5zsahvzan6wq9v0lnir9zb4qvgkadsl6jm9ia8990yn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mwcls")
    (synopsis "Polish-oriented document classes")
    (description
     "@code{mwcls} is a set of document classes for LaTeX designed with Polish
typographical tradition in mind.  The classes include: @code{mwart} (which is
a replacement for @code{article}), @code{mwrep} (replacing @code{report}), and
@code{mwbk} (replacing @code{book}).

Most features present in standard classes work with @code{mwcls} classes.
Some extensions/exceptions include: sectioning commands allow for second
optional argument (it is possible to state different texts for running head
and for TOC), new environments @code{itemize*} and @code{enumerate*} for lists
with long items, page styles have variants for normal, opening, closing, and
blank pages.")
    (license license:lppl1.2+)))

(define-public texlive-mxedruli
  (package
    (name "texlive-mxedruli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mxedruli/"
                                     "fonts/afm/public/mxedruli/"
                                     "fonts/map/dvips/mxedruli/"
                                     "fonts/source/public/mxedruli/"
                                     "fonts/tfm/public/mxedruli/"
                                     "fonts/type1/public/mxedruli/"
                                     "tex/latex/mxedruli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070lfw12mfimcwhkgb1hh092p8npmhpmba28rzzwfl1kmsmk99q5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/mxedruli")
    (synopsis "Pair of fonts for different Georgian alphabets")
    (description
     "This package provides two Georgian fonts, in both Metafont and Type
1 formats, which cover the Mxedruli and the Xucuri alphabets.")
    (license license:lppl)))

(define-public texlive-mynsfc
  (package
    (name "texlive-mynsfc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/mynsfc/"
                                     "source/xelatex/mynsfc/"
                                     "tex/xelatex/mynsfc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15vbgqmqsjqz068gn5ql5ca3wbw7gdq1vnaazpwmc71jdybxxv14"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; "mynsfc.ins" writes files to "./examples".  Create this
               ;; directory first to prevent an error.
               (add-before 'build 'prepare-build
                 (lambda _ (mkdir-p "build/examples"))))))
    (home-page "https://ctan.org/pkg/mynsfc")
    (synopsis "XeLaTeX template for writing the main body of NSFC proposals")
    (description
     "The package provides a XeLaTeX template for writing the main body of
@acronym{NSFC, National Natural Science Foundation of China} proposals, which
are allowed to apply online.  The package defines styles of the outlines and
uses BibLaTeX and Biber for the management of references.")
    (license license:lppl1.3c)))

(define-public texlive-na-box
  (package
    (name "texlive-na-box")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/na-box/" "tex/xelatex/na-box/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j02k0d4m23yackb1vn8pajxwkimkkrx9h512xs3hkxdi6qdwb73"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/na-box")
    (synopsis "Arabic-aware version of @code{pas-cours} package")
    (description
     "This is a modified version of the @code{pas-cours} package made
compatible with XeLaTeX and Polyglossia to write Arabic documents with fancy
boxed @code{theorem}-alike environments.")
    (license license:lppl)))

(define-public texlive-naive-ebnf
  (package
    (name "texlive-naive-ebnf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/naive-ebnf/"
                                     "source/latex/naive-ebnf/"
                                     "tex/latex/naive-ebnf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z32jdxnw9lzc49ar6h8wb7rzh52pbkh88jha7zgz6nywpr7dwk1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-filecontentsdef
           texlive-l3kernel
           texlive-pgfopts))
    (home-page "https://ctan.org/pkg/naive-ebnf")
    (synopsis "EBNF in Plain Text")
    (description
     "With the help of this LaTeX package, a context-free grammar (CFG) may be
rendered in a plain-text mode using a simplified Extended Backus-Naur
Form (EBNF) notation.")
    (license license:expat)))

(define-public texlive-namedtensor
  (package
    (name "texlive-namedtensor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/namedtensor/"
                                     "tex/latex/namedtensor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bsphfy1k9kplfmhn8qcb2y90l5ga1281r5xds4jn73m319n0iq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/namedtensor")
    (synopsis "Macros for named tensor notation")
    (description "This style file provides macros for named tensor notation.")
    (license license:expat)))

(define-public texlive-nanicolle
  (package
    (name "texlive-nanicolle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/nanicolle/"
                                     "tex/xelatex/nanicolle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lzcsmy4iw0ch3w1g3h5b23hkzspi5q2gs406l4cihfmf30yiadk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nanicolle")
    (synopsis "Typesetting herbarium specimen labels")
    (description
     "This package provides a LaTeX class @file{nanicolle.cls} for typesetting
collection labels and identification labels in Chinese style or in western
style for plant herbarium specimens.  So far, documents using this class can
only be compiled with XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-nanumtype1
  (package
    (name "texlive-nanumtype1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nanumtype1/"
                                     "fonts/afm/public/nanumtype1/"
                                     "fonts/map/dvips/nanumtype1/"
                                     "fonts/tfm/public/nanumtype1/"
                                     "fonts/type1/public/nanumtype1/"
                                     "fonts/vf/public/nanumtype1/"
                                     "tex/latex/nanumtype1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n7dbhxa186x7f2ql8kjr2bn425vlhswl2m5n2n3iklfam9bmf6k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nanumtype1")
    (synopsis "Type1 subfonts of Nanum Korean fonts")
    (description
     "Nanum is a unicode font designed especially for Korean-language script.
The font was designed by Sandoll Communication and Fontrix; it includes the
sans serif (gothic), serif (myeongjo), pen script and brush script typefaces.
The package provides Type1 subfonts converted from Nanum Myeongjo (Regular and
@code{ExtraBold)} and Nanum Gothic (Regular and Bold) OTFs.  C70, LUC, T1, and
TS1 font definition files are also provided.")
    (license license:silofl1.1)))

(define-public texlive-nar
  (package
    (name "texlive-nar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nwk71qirapkg3h6jwlv53fm6zwb2vq0fvmc4xcanf19sm3331mk"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nar")
    (synopsis "BibTeX style for @emph{Nucleic Acid Research}")
    (description
     "This BibTeX bibliography style is for the journal @emph{Nucleic Acid Research}.
It was adapted from the standard @file{unsrt.bst} style file.")
    (license license:knuth)))

(define-public texlive-natded
  (package
    (name "texlive-natded")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/natded/" "tex/latex/natded/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01zfxh4ryjjv5qyvbs1pgwpcnq19rdrg3drd2gfx3c4ppqvwbxp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/natded")
    (synopsis "Typeset natural deduction proofs")
    (description
     "The package provides commands to typeset proofs in the style used by Jaskowski,
or that of Kalish and Montague.")
    (license license:lppl1.3+)))

(define-public texlive-nath
  (package
    (name "texlive-nath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nath/" "tex/latex/nath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dq9hb3gbqak6406x8av9zig4pc7kxasa3ak0fr50hx4fvfa6v8q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nath")
    (synopsis "Natural mathematics notation")
    (description
     "Nath is a LaTeX style to separate presentation and content in
mathematical typography.  The style delivers a particular context-dependent
presentation on the basis of a rather coarse context-independent notation.
Highlighted features: depending on the context, the command @code{\\frac}
produces either built-up or case or solidus fractions, with parentheses added
whenever required for preservation of the mathematical meaning; delimiters
adapt their size to the material enclosed, rendering @code{\\left} and
@code{\\right} almost obsolete.")
    (license license:gpl3+)))

(define-public texlive-nature
  (package
    (name "texlive-nature")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nature/" "doc/latex/nature/"
                                     "tex/latex/nature/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04jxf6i83qnhy6i3rpqzm4nzqvc7r56ygx37741ii8yckz58xiah"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nature")
    (synopsis "Prepare papers for the journal @emph{Nature}")
    (description
     "@emph{Nature} does not accept papers in LaTeX, but it does accept PDF.
This class and BibTeX style provide what seems to be necessary to produce
papers in a format acceptable to the publisher.")
    (license license:lppl)))

(define-public texlive-navydocs
  (package
    (name "texlive-navydocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/navydocs/"
                                     "source/latex/navydocs/"
                                     "tex/latex/navydocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qisck3lr1nhjnqs195agvmiw93yld801nahr3bb7yyhzgn2f443"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/navydocs")
    (synopsis "Support for technical reports by US Navy organizations")
    (description
     "The @code{navydocs} package provides an easy means for creating title
pages and the following supplementary material pages used in technical reports
by United States Navy organizations.  These pages are generated by specifying
the page content via a set of commands and then calling a macro to create the
page at its occurence in the document.")
    (license license:lppl1.3+)))

(define-public texlive-nchairx
  (package
    (name "texlive-nchairx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nchairx/" "source/latex/nchairx/"
                                     "tex/latex/nchairx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cgp22c26afdpb5pfk5ljp1fr0wvlkf04viw9zbc4gss8hi3gqi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nchairx")
    (synopsis "Maths macros from chair X of Wurzburg University")
    (description
     "This package was developed by members of the chair for mathematical
physics at the University of Wurzburg as a collection of macros and predefined
environments for quickly creating nice mathematical documents.")
    (license license:lppl1.3+)))

(define-public texlive-nddiss
  (package
    (name "texlive-nddiss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nddiss/" "doc/latex/nddiss/"
                                     "source/latex/nddiss/" "tex/latex/nddiss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "131gzskjqhh5v677rxf2pap87jvi6jdznimqmql468y3pwc2zja0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nddiss")
    (synopsis "Notre Dame Dissertation format class")
    (description
     "This class file conforms to the requirements of the Graduate School of
the University of Notre Dame; with it a user can format a thesis or
dissertation in LaTeX.")
    (license license:lppl1.2+)))

(define-public texlive-nevelok
  (package
    (name "texlive-nevelok")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nevelok/" "source/latex/nevelok/"
                                     "tex/latex/nevelok/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02g60npy2hp181vnzpna7h2544y7bnbi9y6srpm7kjmd6immm7qn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nevelok")
    (synopsis "LaTeX package for automatic definite articles for Hungarian")
    (description
     "This LaTeX package provides automatic definite articles for Hungarian.")
    (license license:lppl1.3+)))

(define-public texlive-newcastle-bst
  (package
    (name "texlive-newcastle-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/newcastle-bst/"
                                     "doc/bibtex/newcastle-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q5mwwiwf6pvlk6xbvrc6rfm87qrkpp7nba4qgdagjkdrn0hs4jz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newcastle-bst")
    (synopsis
     "BibTeX style following Harvard at Newcastle style recommendations")
    (description
     "This package provides a BibTeX style to format reference lists in the
Harvard at Newcastle style recommended by Newcastle University.  It should be
used alongside @code{natbib} for citations.")
    (license license:lppl1.3c)))

(define-public texlive-newcomputermodern
  (package
    (name "texlive-newcomputermodern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newcomputermodern/"
                                     "fonts/opentype/public/newcomputermodern/"
                                     "tex/latex/newcomputermodern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qqw6src414v9f418xc9pjwzij67rh874rwz8vnrz9fczvpbiq8f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newcomputermodern")
    (synopsis "Computer Modern fonts including matching non-Latin alphabets")
    (description
     "This is a new assembly of Computer Modern fonts including extensions in
many directions for both Latin based languages, non-Latin based languages and
Mathematics, all compatible in style to CM fonts.  In addition to the Regular
weight of Computer Modern, it provides a Book weight for heavier printing.")
    (license license:gfl1.0)))

(define-public texlive-newpx
  (package
    (name "texlive-newpx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newpx/"
                                     "fonts/afm/public/newpx/"
                                     "fonts/enc/dvips/newpx/"
                                     "fonts/map/dvips/newpx/"
                                     "fonts/opentype/public/newpx/"
                                     "fonts/tfm/public/newpx/"
                                     "fonts/type1/public/newpx/"
                                     "fonts/vf/public/newpx/"
                                     "source/fonts/newpx/"
                                     "tex/latex/newpx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ijy6hgdgyscp8jl2hf1g115k8w41z7mjjh010avgbjjrj7i8zky"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newpx")
    (synopsis "Alternative uses of the PX fonts, with improved metrics")
    (description
     "This package, initially based on @code{pxfonts}, provides many fixes and
enhancements to that package, and splits it in two parts (@code{newpxtext} and
@code{newpxmath}) which may be run independently of one another.  It provides
scaling, improved metrics, and other options.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-newtxsf
  (package
    (name "texlive-newtxsf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newtxsf/"
                                     "fonts/map/dvips/newtxsf/"
                                     "fonts/tfm/public/newtxsf/"
                                     "fonts/type1/public/newtxsf/"
                                     "fonts/vf/public/newtxsf/"
                                     "tex/latex/newtxsf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "042n07d46ps1ciqnkqf7hf21nbgmsmlsrswq3q3v6vcqsxvyrc7d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newtxsf")
    (synopsis "Sans-math fonts for use with @code{newtx}")
    (description
     "The package provides a maths support that amounts to modifications of
the STIX sans serif Roman and Greek letters with most symbols taken from
@code{newtxmath}.")
    (license license:silofl1.1)))

(define-public texlive-newtxtt
  (package
    (name "texlive-newtxtt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newtxtt/"
                                     "fonts/enc/dvips/newtxtt/"
                                     "fonts/map/dvips/newtxtt/"
                                     "fonts/tfm/public/newtxtt/"
                                     "fonts/type1/public/newtxtt/"
                                     "tex/latex/newtxtt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yhlk13nmzaprkw3vp8gbrdripf9xix1b2wmb48ci2ja4j9fpm46"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newtxtt")
    (synopsis "Enhancement of typewriter fonts from @code{newtx}")
    (description
     "The package provides enhanced fonts with LaTeX support files providing
access to the typewriter fonts from @code{newtx}.  Regular and bold weights,
slanted variants and a choice of four different styles for zero.")
    (license (list license:gpl3 license:lppl))))

(define-public texlive-niceframe-type1
  (package
    (name "texlive-niceframe-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/niceframe-type1/"
                                     "fonts/afm/public/niceframe-type1/"
                                     "fonts/map/dvips/niceframe-type1/"
                                     "fonts/type1/public/niceframe-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vqdy0k94qn72mbz2kqccx2zlmzrh14qfwgqb16n017wlnynzvd7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/niceframe-type1")
    (synopsis "Type 1 versions of the fonts recommended in @code{niceframe}")
    (description
     "The bundle provides Adobe Type 1 versions of the fonts @code{bbding10},
@code{dingbat}, @code{karta15}, @code{umranda} and @code{umrandb}.")
    (license license:lppl)))

(define-public texlive-nicematrix
  (package
    (name "texlive-nicematrix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nicematrix/"
                                     "source/latex/nicematrix/"
                                     "tex/latex/nicematrix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15jlm41gi2573l1bsqh1ldw49g5gk2bcgcaxm959388xzyky53gy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nicematrix")
    (synopsis "Improve the typesetting of mathematical matrices with PGF")
    (description
     "This package is based on the package @code{array}.  It creates PGF/TikZ
nodes under the cells of the array and uses these nodes to provide
functionalities to construct tabulars, arrays and matrices.  Among the
features, it provides: continuous dotted lines for the mathematical matrices;
exterior rows and columns (so-called border matrices); control of the width of
the columns; tools to color rows and columns with a good PDF result; blocks of
cells; etc.")
    (license license:lppl1.3+)))

(define-public texlive-nimbus15
  (package
    (name "texlive-nimbus15")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nimbus15/"
                                     "fonts/afm/public/nimbus15/"
                                     "fonts/enc/dvips/nimbus15/"
                                     "fonts/map/dvips/nimbus15/"
                                     "fonts/opentype/public/nimbus15/"
                                     "fonts/tfm/public/nimbus15/"
                                     "fonts/type1/public/nimbus15/"
                                     "fonts/vf/public/nimbus15/"
                                     "tex/latex/nimbus15/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x5y8jcwg3ns4jdz3rqzmd1xsfsdjbab70dnlm3n7lgs64ljlzyk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fontools))
    (home-page "https://ctan.org/pkg/nimbus15")
    (synopsis "Support files for Nimbus 2015 Core fonts")
    (description
     "The Nimbus 2015 Core fonts added Greek and Cyrillic glyphs.  This
package may be best suited as an add-on to the comprehensive Times package,
providing support for Greek and Cyrillic.  A new intermediate weight of
NimbusMono (AKA Courier) is provided, along with a narrower version which may
be useful for rendering code.")
    (license (list license:agpl3 license:lppl1.3+))))

(define-public texlive-nimsticks
  (package
    (name "texlive-nimsticks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nimsticks/"
                                     "source/latex/nimsticks/"
                                     "tex/latex/nimsticks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y7v01a02lz6mj1fdyrqzgz7kf7y4m3jarkr3sdyid25k0zx9dbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nimsticks")
    (synopsis "Draws sticks for games of multi-pile nim")
    (description
     "This LaTeX package provides commands @code{\\drawnimstick} to draw
a single nim stick and @code{\\nimgame} which represents games of multi-pile
Nim.  Nim sticks are drawn with a little random wobble so they look thrown
together and not too regular.  The package also provides options to customise
the size and colour of the sticks, and flexibility to draw heaps of different
objects.")
    (license license:expat)))

(define-public texlive-nkarta
  (package
    (name "texlive-nkarta")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nkarta/"
                                     "fonts/source/public/nkarta/"
                                     "fonts/tfm/public/nkarta/"
                                     "metapost/nkarta/" "source/latex/nkarta/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x5rdacf3d2jm4rgcvmpz76icga4gis4ykmsmp745xb7kh99npjv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/nkarta")
    (synopsis "New version of the Karta cartographic fonts")
    (description
     "This package provides a development of the Karta font, offering more
mathematical stability in Metafont.  A version that will produce the glyphs as
Encapsulated PostScript is also provided.")
    (license license:public-domain)))

(define-public texlive-nmbib
  (package
    (name "texlive-nmbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/nmbib/" "doc/latex/nmbib/"
                                     "source/latex/nmbib/" "tex/latex/nmbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17snspchv0yafz062h59gs9px4dwjk99pwfyxcraw9243k2gd79g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nmbib")
    (synopsis "Multiple versions of a bibliography, with different sort orders")
    (description
     "This package is a rewrite of the @code{multibibliography} package
providing multiple bibliographies with different sorting.  The new version
offers a number of citation commands, streamlines the creation of
bibliographies, ensures compatibility with the @code{natbib} package, and
provides other improvements.")
    (license license:lppl1.3+)))

(define-public texlive-nnext
  (package
    (name "texlive-nnext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nnext/" "source/latex/nnext/"
                                     "tex/latex/nnext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hh2kn4ghnxv9l0xfkh0c0bkflmq5qwnc24y0jm1djjwrnyg1y2r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nnext")
    (synopsis "Extension for the @code{gb4e} package")
    (description
     "This is an add-on for the @code{gb4e} package used in linguistics.  It
implements the @code{\\Next}, @code{\\NNext}, @code{\\Last}, and
@code{\\LLast} commands from the @code{linguex} package or the @code{\\nextx},
@code{\\anextx}, @code{\\lastx}, @code{\\blastx}, and @code{\\bblastx}
commands from the @code{expex} package.")
    (license license:lppl1.3+)))

(define-public texlive-notes2bib
  (package
    (name "texlive-notes2bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/notes2bib/"
                                     "source/latex/notes2bib/"
                                     "tex/latex/notes2bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d51xy7hlwdl752yl1sfr7f6r77j41nkpj1mf1l7pycn5nlnii79"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notes2bib")
    (synopsis "Integrating notes into the bibliography")
    (description
     "The package defines a new type of note, @code{bibnote}, which will
always be added to the bibliography.  The package allows footnotes and
endnotes to be moved into the bibliography in the same way.  The package can
be used with @code{natbib} and BibLaTeX as well as plain LaTeX citations.
Both sorted and unsorted bibliography styles are supported.")
    (license license:lppl1.3c)))

(define-public texlive-notex-bst
  (package
    (name "texlive-notex-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/notex-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14r3q4z35k5n0rl2igjs4lj5ic4yd14xksg1qam5klb6raaf1jkh"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notex-bst")
    (synopsis "BibTeX style that outputs HTML")
    (description
     "@file{noTeX.bst} produces a number of beautifully formatted HTML
@samp{P} elements instead of TeX code.  It can be used to automatically
generate bibliographies to be served on the web starting from BibTeX files.")
    (license license:public-domain)))

(define-public texlive-noto-emoji
  (package
    (name "texlive-noto-emoji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/noto-emoji/"
                                     "fonts/truetype/google/noto-emoji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "117mj4w0gvbndhm7mcxbxzxscd73np5s35467jr2sq2pwbv87i8r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/noto-emoji")
    (synopsis "Noto Emoji fonts")
    (description
     "Noto Color Emoji supports all emoji defined in the latest Unicode
version.")
    (license license:silofl1.1)))

(define-public texlive-notomath
  (package
    (name "texlive-notomath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/notomath/"
                                     "fonts/map/dvips/notomath/"
                                     "fonts/tfm/public/notomath/"
                                     "fonts/type1/public/notomath/"
                                     "fonts/vf/public/notomath/"
                                     "tex/latex/notomath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yb7gs2ks0n714n9isbrh4rdrr96b10v58f29907kjixjhf52cd5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notomath")
    (synopsis "Math support for Noto fonts")
    (description
     "This package provides math support via @code{newtxmath} for NotoSerif
and NotoSans.  (Regular and Bold weights only.)")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-nuc
  (package
    (name "texlive-nuc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nuc/" "tex/latex/nuc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "006c9k3nix0y8nys3sf6r1sjzswhc0kwxhm01q0sk2pzih981w37"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nuc")
    (synopsis "Notation for nuclear isotopes")
    (description
     "This package provides a simple package providing nuclear sub- and
superscripts as commonly used in radiochemistry, radiation science, and
nuclear physics and engineering applications.  Isotopes which have Z with more
digits than A require special spacing to appear properly; this spacing is
supported in the package.")
    (license license:lppl)))

(define-public texlive-njurepo
  (package
    (name "texlive-njurepo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njurepo/" "source/latex/njurepo/"
                                     "tex/latex/njurepo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03dli7kk1h8kycbj83h2gy434zl6wvj4xz0lli91b1h8k59i8fv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njurepo")
    (synopsis "Reports for Nanjing University")
    (description
     "This LaTeX document class provides a thesis template for Nanjing
University in order to make it easy to write experiment reports and homework
for the bachelor's curriculum.")
    (license license:lppl1.3c)))

(define-public texlive-ndsu-thesis
  (package
    (name "texlive-ndsu-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ndsu-thesis/"
                                     "tex/latex/ndsu-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nwn17993jqiwgjjfi2jqj6m1qq8b1cbgxvq7shqvk48a0zh6y6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ndsu-thesis")
    (synopsis "North Dakota State University disquisition class")
    (description
     "This package provides a class for generating disquisitions, intended to
be in compliance with North Dakota State University requirements.")
    (license license:lppl1.3+)))

(define-public texlive-ndsu-thesis-2022
  (package
    (name "texlive-ndsu-thesis-2022")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ndsu-thesis-2022/"
                                     "tex/latex/ndsu-thesis-2022/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dpkqwl7w2rqv0k0a3s72incfp9qg04m1ql3mc1hsjnn8f9dysq2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ndsu-thesis-2022")
    (synopsis "North Dakota State University disquisition class 2022")
    (description
     "This package provides a class for generating disquisitions intended to
be in compliance with North Dakota State University requirements.
Updated (2022) North Dakota State University LaTeX thesis class features
several functionalities, including not limited to, numbered and non-numbered
versions, overall justification, document point sizes, fonts options, SI
units, show frames, URL breaking, long tables, subfigures, multi-page figures,
chapter styles, sub-files, algorithm listing, BibTeX and BibLaTeX support,
individual chapter and whole document bibliography, @code{natbib} citations,
and clever references.")
    (license license:lppl1.3c)))

(define-public texlive-nih
  (package
    (name "texlive-nih")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nih/" "tex/latex/nih/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fa4z598i5hvlc4g9zjvqfn34pmmpab37ghi5miklvji5r2a1835"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nih")
    (synopsis "Class for NIH grant applications")
    (description
     "The @code{nih} class offers support for grant applications to @acronym{NIH,
National Institutes of Health}, a US government agency.")
    (license license:lppl)))

(define-public texlive-nihbiosketch
  (package
    (name "texlive-nihbiosketch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nihbiosketch/"
                                     "tex/latex/nihbiosketch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15d22va4bxwy6h0dwahpakiqry0pq0j4mpc0rbm10lgm3z7hz25c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nihbiosketch")
    (synopsis "Class for NIH biosketches based on the 2015 updated format")
    (description
     "This LaTeX document class tries to adhere to the Biographical Sketch
formatting requirements outlined in NIH Notice NOT-OD-15-032..  This new
format is required for applications submitted for due dates on or after May
25, 2015.")
    (license license:lppl1.3+)))

(define-public texlive-njustthesis
  (package
    (name "texlive-njustthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njustthesis/"
                                     "source/latex/njustthesis/"
                                     "tex/latex/njustthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11xbxz3vvq15v5nr32ww6llq08v7r0x52zmq13dp90nmh0xyj7y6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njustthesis")
    (synopsis
     "Thesis template for the Nanjing University of Science and Technology")
    (description
     "This is a thesis template for the Nanjing University of Science and
Technology.")
    (license license:gpl3+)))

(define-public texlive-njuthesis
  (package
    (name "texlive-njuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njuthesis/"
                                     "source/latex/njuthesis/"
                                     "tex/latex/njuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s8vf63yhkmyzz3x72cmch4i69q5py0nr9n83rxxjs5rlv3aid9l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njuthesis")
    (synopsis "LaTeX thesis template for Nanjing University")
    (description
     "The @code{njuthesis} class is intended for typesetting Nanjing
University dissertations with LaTeX, providing support for bachelor, master,
and doctoral theses as well as postdoctoral reports.  Compilation of this
class requires either XeLaTeX or LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-njuvisual
  (package
    (name "texlive-njuvisual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/njuvisual/"
                                     "source/latex/njuvisual/"
                                     "tex/latex/njuvisual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v5iv44wi0hh77j56jjccgyrh9kyyfvzbl305vqryphq0r73bk36"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/njuvisual")
    (synopsis "Display logos related to Nanjing University")
    (description
     "The njuvisual package collects standard colors and logos related to
Nanjing University, saves the vector logos as TikZ pictures and provides
a user-friendly interface to display them in documents and beamers.")
    (license license:lppl1.3c)))

(define-public texlive-nostarch
  (package
    (name "texlive-nostarch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/nostarch/" "doc/latex/nostarch/"
                                     "makeindex/nostarch/"
                                     "source/latex/nostarch/"
                                     "tex/latex/nostarch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18c43p8mygfcjxl1swrn5i9snydxp4s9d0mcb4k5qng6b7saavf1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nostarch")
    (synopsis "LaTeX class for No Starch Press")
    (description
     "The package provides the official LaTeX style for No Starch Press.
Provided are a class, a package for interfacing to @code{hyperref} and an
index style file.  The style serves both for printed and for electronic
books.")
    (license license:lppl)))

(define-public texlive-nrc
  (package
    (name "texlive-nrc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nrc/" "source/latex/nrc/"
                                     "tex/latex/nrc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10h5adzwj8558rwgwipjsbq4j5h674v8nrqfp6hvs3wbn8gdd9hj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nrc")
    (synopsis "Class for the NRC technical journals")
    (description
     "This package provides macros, and some documentation, for typesetting
papers for submission to journals published by the National Research Council
Research Press.  At present, only @file{nrc2.cls} (for two-column layout)
should be used.")
    (license license:lppl)))

(define-public texlive-nucleardata
  (package
    (name "texlive-nucleardata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nucleardata/"
                                     "source/latex/nucleardata/"
                                     "tex/latex/nucleardata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sdqgb38yyk3bhjgfxy3gxvfmpc0y9s60hhig5rry7kydm2w5jfc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nucleardata")
    (synopsis "Provides data about atomic nuclides for documents")
    (description
     "The package provides data and commands for including nuclear and atomic
mass and energy data in LaTeX documents.  It uses the PythonTeX package and
requires @command{pythontex} to be called with the TeX file as the argument.")
    (license license:lppl1.3+)))

(define-public texlive-numberpt
  (package
    (name "texlive-numberpt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numberpt/"
                                     "source/latex/numberpt/"
                                     "tex/latex/numberpt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14515d1l9d9pxs333f8m99mclaf8mklrs14h2w3bdk5m37m7pv8i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numberpt")
    (synopsis "Counters spelled out in Portuguese")
    (description
     "This package defines commands to display counters spelled out in Portuguese.
Options are offered to select variations in the spelling of @samp{14}, or
Brazilian vs. European Portuguese forms in the spelling of @samp{16},
@samp{17}, and @samp{19}.")
    (license license:lppl1.3c)))

(define-public texlive-numerica
  (package
    (name "texlive-numerica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numerica/" "tex/latex/numerica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wgfc68v9n16kj5qc0x4l134jx5xc6gbara5wrci309gmxrylpj6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numerica")
    (synopsis "Numerically evaluate mathematical expressions in LaTeX form")
    (description
     "This package defines a command to wrap around a mathematical expression
in its LaTeX form and, once values are assigned to variables, numerically
evaluate it.  The intent is to avoid the need to modify the LaTeX form of the
expression being evaluated.  For programs with a preview facility like LyX, or
compile-as-you-go systems, interactive back-of-envelope calculations and
numerical exploration are possible within the document being worked on.")
    (license license:lppl1.3c)))

(define-public texlive-numerica-plus
  (package
    (name "texlive-numerica-plus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numerica-plus/"
                                     "tex/latex/numerica-plus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "098l5jfkwkkwlja5d0hizn4awd9gfgbr9m3f2cxi062fkjyk7rrv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numerica-plus")
    (synopsis "Iteration and recurrence relations")
    (description
     "The package defines commands to iterate functions of a single variable,
find fixed points, zeros and extrema of such functions, and calculate the
terms of recurrence relations.")
    (license license:lppl1.3c)))

(define-public texlive-numerica-tables
  (package
    (name "texlive-numerica-tables")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numerica-tables/"
                                     "tex/latex/numerica-tables/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q39rlmi1f9xaf627vdqnnhl0b36ppk5hrql64incf3i8vvqziyw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numerica-tables")
    (synopsis "Create multi-column tables of mathematical functions")
    (description
     "The package defines a command to create possibly multi-column tables of
mathematical function values.")
    (license license:lppl1.3c)))

(define-public texlive-nunito
  (package
    (name "texlive-nunito")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/nunito/"
                                     "fonts/enc/dvips/nunito/"
                                     "fonts/map/dvips/nunito/"
                                     "fonts/opentype/public/nunito/"
                                     "fonts/tfm/public/nunito/"
                                     "fonts/type1/public/nunito/"
                                     "fonts/vf/public/nunito/"
                                     "tex/latex/nunito/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0arx54h5hw50rlikw3sdxgqwhn1sr2jss30103cjip9wff606pa7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nunito")
    (synopsis "The Nunito font face with support for LaTeX and pdfLaTeX")
    (description
     "This package provides LaTeX and pdfLaTeX support for the Nunito family
of fonts, designed by Vernon Adams.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-nwafuthesis
  (package
    (name "texlive-nwafuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nwafuthesis/"
                                     "source/latex/nwafuthesis/"
                                     "tex/latex/nwafuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fmq2cf7687bwczwlh0br67smvwnkv7agxrqbcd2bqzijq0r8ks0"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-xetex")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "xetex" #:build-targets #~(list "nwafuthesis.dtx")))
    (native-inputs (list texlive-xetex))
    (home-page "https://ctan.org/pkg/nwafuthesis")
    (synopsis "Thesis template package for Northwest A&F University, China")
    (description
     "This template supports doctoral and master dissertations and
undergraduate theses in Chinese.  It aims to create a simple interface,
a normative format, as well as a hackable class for the users.  At present, it
only supports XeTeX and LuaTeX engines.")
    (license license:lppl1.3c)))

(define-public texlive-nwejm
  (package
    (name "texlive-nwejm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nwejm/" "source/latex/nwejm/"
                                     "tex/latex/nwejm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16lcn84hp3l5ibdiz9wpfdghlva4m9lq2xhppv4rcpixkxnm9g60"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list  #:build-targets #~(list "nwejm.dtx")))
    (home-page "https://ctan.org/pkg/nwejm")
    (synopsis
     "Support for the journal @emph{North-Western European Journal of
Mathematics}")
    (description
     "The bundle includes LaTeX classes and BibLaTeX styles files dedicated to
the new journal @emph{North-Western European Journal of Mathematics}:
@code{nwejm} for the complete issues of the journal, aimed at the NWEJM's
team, @code{nwejmart}, intended for the authors who wish to publish an article
in the NWEJM.")
    (license license:lppl1.3c)))

(define-public texlive-objectz
  (package
    (name "texlive-objectz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/objectz/" "source/latex/objectz/"
                                     "tex/latex/objectz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a10ajlpmx6gfg4h9rvwf0q7zkb843pl5xfcsd9pzfg33245wbrz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/objectz")
    (synopsis "Macros for typesetting Object Z")
    (description
     "The package will typeset both Z and Object-Z specifications.")
    (license license:lppl)))

(define-public texlive-obnov
  (package
    (name "texlive-obnov")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/obnov/"
                                     "fonts/source/public/obnov/"
                                     "fonts/tfm/public/obnov/" "tex/latex/obnov/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hjc381fw38qr7rkj137d5rp2jjv002g29bx5g3jjaxl9civvplq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/obnov")
    (synopsis "Obyknovennaya Novaya fonts")
    (description
     "The Obyknovennaya Novaya (Ordinary New Face) typeface was widely used in
the USSR for scientific and technical publications, as well as textbooks.  The
fonts are encoded to KOI8-R (which is a long-established Russian font
encoding, rather than a TeX/LaTeX encoding).  To use the fonts, the user needs
Cyrillic font support.")
    (license license:lppl)))

(define-public texlive-ocherokee
  (package
    (name "texlive-ocherokee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/omega/ocherokee/"
                                     "fonts/afm/public/ocherokee/"
                                     "fonts/map/dvips/ocherokee/"
                                     "fonts/ofm/public/ocherokee/"
                                     "fonts/ovf/public/ocherokee/"
                                     "fonts/ovp/public/ocherokee/"
                                     "fonts/tfm/public/ocherokee/"
                                     "fonts/type1/public/ocherokee/"
                                     "omega/ocp/ocherokee/"
                                     "omega/otp/ocherokee/"
                                     "tex/lambda/ocherokee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j2giz3rjr8hdzca5hny31zklnl721mhsgxm575fhh82qrpvdx26"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocherokee")
    (synopsis "LaTeX Support for the Cherokee language")
    (description
     "This package provides macros and Type 1 fonts for Typesetting the
Cherokee language with the Omega version of LaTeX (known as Lambda).")
    (license license:lppl)))

(define-public texlive-octave
  (package
    (name "texlive-octave")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/octave/" "tex/latex/octave/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1avikh00n92lxk7p7h0kvsv2dk2z411fv85fagj7bg6azb3fch8g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/octave")
    (synopsis "Typeset musical pitches with octave designations")
    (description
     "This package package typesets musical pitch names with designation for
the octave in either the Helmholtz system (with octave numbers), or the
traditional system (with prime symbols).  The system can also be changed
mid-document.")
    (license license:lppl1.3+)))

(define-public texlive-ocr-b
  (package
    (name "texlive-ocr-b")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ocr-b/"
                                     "fonts/source/public/ocr-b/"
                                     "fonts/tfm/public/ocr-b/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "089y4hihxdln1rvn87lmmiamcy8xc0niiv4gqxivahwkdjl8w0zw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ocr-b")
    (synopsis "Fonts for OCR-B")
    (description
     "This package includes Metafont source for OCR-B at several sizes.")
    ;; "you may freely use, modify, and/or distribute any of these files or
    ;; the resulting fonts, without limitation."
    (license (license:fsf-free "file://doc/fonts/ocr-b-outline/README"))))

(define-public texlive-ocr-b-outline
  (package
    (name "texlive-ocr-b-outline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ocr-b-outline/"
                                     "fonts/map/dvips/ocr-b-outline/"
                                     "fonts/opentype/public/ocr-b-outline/"
                                     "fonts/type1/public/ocr-b-outline/"
                                     "source/fonts/ocr-b-outline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wlgwz91iv3ck8qmwgqda1kmijs3076hccfvbk6v7dkrcy726014"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocr-b-outline")
    (synopsis "OCR-B fonts in Type 1 and OpenType")
    (description
     "The package contains OCR-B fonts in Type1 and OpenType formats.")
    ;; "You may freely use, modify, and/or distribute any of these files,
    ;; without limitation."
    (license (license:fsf-free "file://doc/fonts/ocr-b-outline/README"))))

(define-public texlive-ogham
  (package
    (name "texlive-ogham")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ogham/"
                                     "fonts/source/public/ogham/"
                                     "fonts/tfm/public/ogham/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lk419jbg3ahgcrmffl7snbgv521fccjpsx5i0nq55cs9vrsnav1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ogham")
    (synopsis "Fonts for typesetting Ogham script")
    (description
     "The font provides the Ogham alphabet, which is found on a number of
Irish and Pictish carvings dating from the 4th century AD.  The font is
distributed as Metafont source.")
    (license license:public-domain)))

(define-public texlive-oinuit
  (package
    (name "texlive-oinuit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oinuit/"
                                     "fonts/map/dvips/oinuit/"
                                     "fonts/ofm/public/oinuit/"
                                     "fonts/ovf/public/oinuit/"
                                     "fonts/tfm/public/oinuit/"
                                     "fonts/type1/public/oinuit/"
                                     "omega/ocp/oinuit/"
                                     "omega/otp/oinuit/"
                                     "source/lambda/oinuit/"
                                     "tex/lambda/oinuit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f5rlqgdz4r93z5prxjq7z7591frqz89gplj3y0dscjnlc98wxy4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oinuit")
    (synopsis "LaTeX Support for the Inuktitut Language")
    (description
     "The package provides a set of Lambda (Omega LaTeX) typesetting tools for
the Inuktitut language.  Five different input methods are supported and with
the necessary fonts are also provided.")
    (license license:lppl)))

(define-public texlive-old-arrows
  (package
    (name "texlive-old-arrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/old-arrows/"
                                     "fonts/afm/public/old-arrows/"
                                     "fonts/enc/dvips/old-arrows/"
                                     "fonts/map/dvips/old-arrows/"
                                     "fonts/tfm/public/old-arrows/"
                                     "fonts/type1/public/old-arrows/"
                                     "tex/latex/old-arrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lrw3r982646pdp5nf9y9s8w85c2zw7cvbq3lqa3d3lsnykvn3y7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/old-arrows")
    (synopsis "Computer Modern old-style arrows with smaller arrowheads")
    (description
     "This package provides Computer Modern old-style arrows with smaller
arrowheads, associated with the usual LaTeX commands.  It can be used in
documents that contain other amssymb arrow characters that also have small
arrowheads.  It is also possible to use the usual new-style Computer Modern
arrows together with the old-style ones.")
    (license license:lppl1.3+)))

(define-public texlive-oldlatin
  (package
    (name "texlive-oldlatin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oldlatin/"
                                     "fonts/source/public/oldlatin/"
                                     "fonts/tfm/public/oldlatin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvy8myxxa3a5g2s8b5m57a9ijg1qanwcrf701s9lix5yxaqn474"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/oldlatin")
    (synopsis "Compute Modern-like font with long @emph{s}")
    (description
     "This package provides Metafont sources modified from Computer Modern in
order to generate long @emph{s}, which was used in old text.")
    (license license:lppl)))

(define-public texlive-oldstandard
  (package
    (name "texlive-oldstandard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oldstandard/"
                                     "fonts/enc/dvips/oldstandard/"
                                     "fonts/map/dvips/oldstandard/"
                                     "fonts/opentype/public/oldstandard/"
                                     "fonts/tfm/public/oldstandard/"
                                     "fonts/type1/public/oldstandard/"
                                     "fonts/vf/public/oldstandard/"
                                     "tex/latex/oldstandard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1siw4zjyx40whsi7gsd05nhbhii2mf91vn837srhai2v7nll4fa8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oldstandard")
    (synopsis "OldStandard fonts with LaTeX support")
    (description
     "Old Standard is designed to reproduce the actual printing style of the
early 20th century, reviving a specific type of Modern (classicist) style of
serif typefaces, very commonly used in various editions of the late 19th and
early 20th century.

The font supports typesetting of Old and Middle English, Old Icelandic,
Cyrillic (with historical characters, extensions for Old Slavonic and
localised forms), Gothic transliterations, critical editions of Classical
Greek and Latin, and many more.")
    (license (list license:silofl1.1 license:lppl license:gpl3+))))

(define-public texlive-omega
  (package
    (name "texlive-omega")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/omega/base/"
                                     "dvips/omega/"
                                     "fonts/afm/public/omega/"
                                     "fonts/map/dvips/omega/"
                                     "fonts/ofm/public/omega/"
                                     "fonts/ovf/public/omega/"
                                     "fonts/ovp/public/omega/"
                                     "fonts/tfm/public/omega/"
                                     "fonts/type1/public/omega/"
                                     "omega/ocp/char2uni/"
                                     "omega/ocp/misc/"
                                     "omega/ocp/omega/"
                                     "omega/ocp/uni2char/"
                                     "omega/otp/char2uni/"
                                     "omega/otp/misc/"
                                     "omega/otp/omega/"
                                     "omega/otp/uni2char/"
                                     "tex/generic/encodings/"
                                     "tex/generic/omegahyph/"
                                     "tex/plain/omega/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gma5angnq5wdxianz0ml7y9jh04lsq9ksspykan06p0cp1bnmjc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/omega")
    (synopsis "Wide-character-set extension of TeX")
    (description
     "This package provides a development of TeX, which deals in multi-octet
Unicode characters, to enable native treatment of a wide range of languages
without changing character-set.  Work on Omega has ceased; its compatible
successor is Aleph, which is itself also in major maintenance mode only.
Ongoing projects developing Omega (and Aleph) ideas include Omega-2 and
LuaTeX.")
    (license license:gpl3+)))

(define-public texlive-omegaware
  (package
    (name "texlive-omegaware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/odvicopy.1"
                                     "doc/man/man1/odvicopy.man1.pdf"
                                     "doc/man/man1/odvitype.1"
                                     "doc/man/man1/odvitype.man1.pdf"
                                     "doc/man/man1/ofm2opl.1"
                                     "doc/man/man1/ofm2opl.man1.pdf"
                                     "doc/man/man1/opl2ofm.1"
                                     "doc/man/man1/opl2ofm.man1.pdf"
                                     "doc/man/man1/otangle.1"
                                     "doc/man/man1/otangle.man1.pdf"
                                     "doc/man/man1/otp2ocp.1"
                                     "doc/man/man1/otp2ocp.man1.pdf"
                                     "doc/man/man1/outocp.1"
                                     "doc/man/man1/outocp.man1.pdf"
                                     "doc/man/man1/ovf2ovp.1"
                                     "doc/man/man1/ovf2ovp.man1.pdf"
                                     "doc/man/man1/ovp2ovf.1"
                                     "doc/man/man1/ovp2ovf.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04fchy1n6ppi2l2c99mz1x64m8zl741d0z8fkjxapqn266z4bc7k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-omegaware-bin))
    (home-page "https://ctan.org/pkg/omega")
    (synopsis "Wide-character-set extension of TeX")
    (description
     "This package provides a development of TeX, which deals in multi-octet
Unicode characters, to enable native treatment of a wide range of languages
without changing character-set.  Work on Omega has ceased (the TeX Live
package contains only support files); its compatible successor is Aleph, which
is itself also in major maintenance mode only.  Ongoing projects developing
Omega (and Aleph) ideas include Omega-2 and LuaTeX.")
    (license license:gpl3+)))

(define-public texlive-omegaware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-omegaware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (let ((bin (string-append #$output "/bin")))
                  (with-directory-excursion "texk/web2c"
                    (let ((files '("odvicopy" "odvitype""otangle" "wofm2opl"
                                   "wopl2ofm" "wovf2ovp")))
                      (for-each (lambda (t) (invoke "make" t)) files)
                      (for-each (lambda (f) (install-file f bin)) files))
                    (with-directory-excursion "omegafonts"
                      (invoke "make" "omfonts")
                      (install-file "omfonts" bin))
                    (with-directory-excursion "otps"
                      (for-each (lambda (t)
                                  (invoke "make" t)
                                  (install-file t bin))
                                '("otp2ocp" "outocp"))))
                  (with-directory-excursion bin
                    (for-each (lambda (l) (symlink "omfonts" l))
                              '("ofm2opl" "opl2ofm" "ovf2ovp" "ovp2ovf"))))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-omegaware))
    (synopsis "Binaries for @code{texlive-omegaware}")
    (description
     "This package provides the binaries for @code{texlive-omegaware}.")
    (license (package-license texlive-omegaware))))

(define-public texlive-onrannual
  (package
    (name "texlive-onrannual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/onrannual/"
                                     "tex/latex/onrannual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m701gqf0my947jh4lsgwryn3h9m6w4b6rimm8wmzsxlvnag9ag7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/onrannual")
    (synopsis
     "Class for Office of Naval Research Ocean Battlespace Sensing annual
report")
    (description
     "This is an unofficial document class for writing @acronym{ONR, Office of
Naval Research} annual reports using LaTeX; as ONR has had numerous problems
with LaTeX-generated PDF submissions in the past.")
    (license license:lppl1.3+)))

(define-public texlive-opensans
  (package
    (name "texlive-opensans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/opensans/"
                                     "fonts/enc/dvips/opensans/"
                                     "fonts/map/dvips/opensans/"
                                     "fonts/tfm/ascender/opensans/"
                                     "fonts/truetype/ascender/opensans/"
                                     "fonts/type1/ascender/opensans/"
                                     "fonts/vf/ascender/opensans/"
                                     "tex/latex/opensans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l81y548cslwsy7m06pckf5w33gq53ly3a35zkd9jzfz6yg6w4bq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/opensans")
    (synopsis "Open Sans font family, and LaTeX support")
    (description
     "Open Sans is a humanist sans serif typeface designed by Steve Matteson.
The package provides support for this font family in LaTeX. It includes the
original TrueType fonts, as well as Type 1 versions.")
    (license (list license:asl2.0 license:lppl1.3c))))

(define-public texlive-oplotsymbl
  (package
    (name "texlive-oplotsymbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oplotsymbl/"
                                     "tex/latex/oplotsymbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kbkxy18yq7990rbbm8b8ky9dyvxknzhczkfa9ki93jap8hwac2r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oplotsymbl")
    (synopsis "Some symbols which are not easily available")
    (description
     "This package is named oPlotSymbl and it includes symbols, which are not
easily available.  Especially, these symbols are used in scientific plots, but
the potential user is allowed to use them in other ways.")
    (license license:lppl1.3+)))

(define-public texlive-opteng
  (package
    (name "texlive-opteng")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/opteng/" "tex/latex/opteng/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1svis9n0ssrc6pnvlshwprfjimdfrbisb0jjnlhhys343dv95jqs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/opteng")
    (synopsis "SPIE Optical Engineering and OE Letters manuscript template")
    (description
     "With this template, and associated style and LaTeX packages, it is
possible to estimate the page length of manuscripts for submission to the SPIE
journals @emph{Optical Engineering} and @emph{Optical Engineering Letters}.
With a strict three-page limit, this is particularly important for the latter.
The template gives simple instructions on how to prepare the manuscript.")
    (license license:lppl)))

(define-public texlive-ordinalpt
  (package
    (name "texlive-ordinalpt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ordinalpt/"
                                     "source/latex/ordinalpt/"
                                     "tex/latex/ordinalpt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02hsl021gd23qrfm3myazg606lmp149dmpss3vyx93dyqcg8axbr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ordinalpt")
    (synopsis "Counters as ordinal numbers in Portuguese")
    (description
     "The package provides a counter style (like @code{\\arabic},
@code{\\alph} and others) which produces output strings like
@samp{primeiro} (``first'' in Portuguese), @samp{segundo}, (``second''), and
so on up to 1999th.  Separate counter commands are provided for different
letter case variants, and for masculine and feminine gender inflections.")
    (license license:lppl)))

(define-public texlive-orkhun
  (package
    (name "texlive-orkhun")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/orkhun/"
                                     "fonts/source/public/orkhun/"
                                     "fonts/tfm/public/orkhun/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18p78sprnig93iq74y1vb1ai3ixqqj1pssrqczr1fiy0rnxsjdig"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/orkhun")
    (synopsis "Font for Orkhun script")
    (description
     "The Orkhun font covers an old Turkic script.  It is provided as Metafont
source.")
    (license license:lppl)))

(define-public texlive-oscola
  (package
    (name "texlive-oscola")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oscola/" "makeindex/oscola/"
                                     "tex/latex/oscola/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lx883rqq9p3f0vfv6i5xp35qpi79jf1jxycyi5j86i1fvk0jz08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oscola")
    (synopsis
     "BibLaTeX style for the Oxford Standard for the Citation of Legal
Authorities")
    (description
     "The package provides a set of style files for use with BibLaTeX and
Biber to produce citations and bibliographies in accordance with the
widely-used Oxford Standard for the Citation of Legal Authorities.  It also
includes facilities for constructing tables of cases and legislation from
citations (in conjunction with appropriate indexing packages).")
    (license license:lppl1.3+)))

(define-public texlive-oswald
  (package
    (name "texlive-oswald")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/oswald/"
                                     "fonts/enc/dvips/oswald/"
                                     "fonts/map/dvips/oswald/"
                                     "fonts/tfm/public/oswald/"
                                     "fonts/type1/public/oswald/"
                                     "fonts/vf/public/oswald/"
                                     "tex/latex/oswald/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ib7k3vgzmsjaxhfb3zcpy3m0yx8p5yyc2hr8x7b8ik7n1ik5sgm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oswald")
    (synopsis "Oswald family of fonts with support for LaTeX and pdfLaTeX")
    (description
     "This package provides the Oswald family of fonts, designed by Vernon Adams,
Kalapi Gajjar, Cyreal, with support for LaTeX and pdfLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-ot-tableau
  (package
    (name "texlive-ot-tableau")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ot-tableau/"
                                     "tex/latex/ot-tableau/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nbadc2c3973y7b28ddklpmhmms8f1nxc48ln5fxv68jmsmd4wb2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ot-tableau")
    (synopsis "Optimality Theory tableaux in LaTeX")
    (description
     "The package makes it easy to create beautiful optimality-theoretic tableaux.
The LaTeX source is visually very similar to a formatted tableau, which makes
working with the source code painless (well, less painful).  A variety of
stylistic variants are available to suit personal taste.")
    (license license:lppl1.3+)))

(define-public texlive-othello
  (package
    (name "texlive-othello")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/othello/"
                                     "fonts/source/public/othello/"
                                     "fonts/tfm/public/othello/"
                                     "tex/latex/othello/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ijb2giry6bjvx6ll51n9c8fqy1kmwgrwvrg21mxnj9xc4gkdjrh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/othello")
    (synopsis "Create othello boards")
    (description
     "This package can be used to create othello boards.  It includes also
fonts, as Metafont source.")
    (license license:gpl3+)))

(define-public texlive-othelloboard
  (package
    (name "texlive-othelloboard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/othelloboard/"
                                     "tex/latex/othelloboard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kaj01bn4828261n8s761qcv7hg6a5aqi577rqglbkjg9grdh1s6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/othelloboard")
    (synopsis
     "Typeset othello (Reversi) diagrams of any size, with annotations")
    (description
     "The package enables the user to generate high-quality othello (also
known as Reversi) board diagrams of any size.  The diagrams support
annotations, including full game transcripts.  Automated board or transcript
creation, from plain text formats standard to WZebra (and other programs) is
also supported.")
    (license license:lppl1.3+)))

(define-public texlive-otibet
  (package
    (name "texlive-otibet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/otibet/"
                                     "fonts/ofm/public/otibet/"
                                     "fonts/ovf/public/otibet/"
                                     "fonts/ovp/public/otibet/"
                                     "fonts/source/public/otibet/"
                                     "fonts/tfm/public/otibet/"
                                     "omega/ocp/otibet/"
                                     "omega/otp/otibet/"
                                     "source/latex/otibet/"
                                     "tex/latex/otibet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cman22brlm8qklb60mzq8f6c9kmdspv3zfg4s5p0lj9sf03bb6c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/otibet")
    (synopsis "Support for Tibetan using Omega")
    (description "This package provides support for Tibetan using Omega.")
    ;; Per "unidoc.tex": "this package is freely distributable under the GPL
    ;; Version~?.? or any later one."
    (license license:gpl1+)))

(define-public texlive-oubraces
  (package
    (name "texlive-oubraces")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oubraces/" "tex/latex/oubraces/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kh2acj4420cxd5x5y3dnfkdfqp5m70d16kiwz5b0f095af42v1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oubraces")
    (synopsis "Braces over and under a formula")
    (description
     "This package provides a means to interleave @code{\\overbrace} and
@code{\\underbrace} in the same formula.")
    ;; Library states: "Redistribution and use, with or without modification,
    ;; are permitted provided that the above copyright notice and this
    ;; condition for use are retained".
    (license (license:fsf-free "file://tex/latex/oubraces/oubraces.sty"))))

(define-public texlive-oup-authoring-template
  (package
    (name "texlive-oup-authoring-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oup-authoring-template/"
                                     "tex/latex/oup-authoring-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fbkrka650pv2k5n0fcdcgmzlfpj2kzlg9d72d145b24zza79qh0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oup-authoring-template")
    (synopsis
     "General template for journals published by Oxford University
Press (OUP)")
    (description
     "This package provides a general LaTeX template for journals published by
@acronym{OUP, Oxford University Press}.  The template outputs to the three
official page designs (traditional, contemporary, modern) used by many
journals published by OUP, with large, medium and small page options.")
    (license license:lppl1.2+)))

(define-public texlive-overarrows
  (package
    (name "texlive-overarrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/overarrows/"
                                     "source/latex/overarrows/"
                                     "tex/latex/overarrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zr1qq6g3zfabz4x37bc2ajlbrkdlskk99144kqwkvmrwr9nxpww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/overarrows")
    (synopsis "Custom extensible arrows over math expressions")
    (description
     "This package provides a LaTeX package to create custom arrows over math
expressions, mainly for vectors (but arrows can as well be drawn below).
Arrows stretch with content, scale with math styles, and have a correct
kerning when a subscript follows.  Some predefined commands are also
provided.")
    (license license:lppl1.3c)))

(define-public texlive-overlock
  (package
    (name "texlive-overlock")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/overlock/"
                                     "fonts/enc/dvips/overlock/"
                                     "fonts/map/dvips/overlock/"
                                     "fonts/opentype/tipo/overlock/"
                                     "fonts/tfm/tipo/overlock/"
                                     "fonts/type1/tipo/overlock/"
                                     "fonts/vf/tipo/overlock/"
                                     "tex/latex/overlock/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rpqpd5ja32i44lf8szr2hn0dz5dh2p238iid0dnkpylf006wni2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/overlock")
    (synopsis "Overlock sans fonts with LaTeX support")
    (description
     "The package provides the Overlock and OverlockSC families of fonts,
designed by Dario Manuel Muhafara, rounded sans-serif fonts in three
weights (Regular, Bold, Black) with italic variants for each of them.  There
are also small-caps and old-style figures in the Regular weight.")
    (license license:silofl1.1)))

(define-public texlive-pacioli
  (package
    (name "texlive-pacioli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pacioli/"
                                     "fonts/source/public/pacioli/"
                                     "fonts/tfm/public/pacioli/"
                                     "source/fonts/pacioli/" "tex/latex/pacioli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "100fs89b2nfybnjdg8b4v3z8q982b6x0azn0sc31533pkkkp19i3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/pacioli")
    (synopsis "Fonts designed by Fra Luca de Pacioli in 1497")
    (description
     "Pacioli was a 15th century mathematician, and his font was designed
according to the divine proportion.  The font consists of uppercase letters
together with punctuation and some analphabetics; no lowercase or digits.  The
package provides Metafont source for the font together with LaTeX support.")
    (license license:lppl)))

(define-public texlive-padauk
  (package
    (name "texlive-padauk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/padauk/"
                                     "fonts/truetype/public/padauk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yn5w8bkcf9ihqy4v2zq4yc74d2d3dc1c6dcissaa6pcdj4z9r9l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/padauk")
    (synopsis
     "High-quality TrueType font for languages using the Myanmar script")
    (description
     "Padauk is a Unicode-based font family with broad support for writing
systems that use the Myanmar script.")
    (license license:silofl1.1)))

(define-public texlive-pagella-otf
  (package
    (name "texlive-pagella-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pagella-otf/"
                                     "tex/latex/pagella-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yi5d5wffqcrlslk9gxifnx4imhpi1hqya6x7k1qq9znvlf97inl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagella-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Pagella")
    (description
     "This package can only be used with LuaLaTeX or XeLaTeX.  It does the
font setting for the OpenType font TeX Gyre Pagella for text and math.  The
missing typefaces like bold math and slanted text are also defined.")
    (license license:lppl1.3+)))

(define-public texlive-parallel
  (package
    (name "texlive-parallel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parallel/"
                                     "source/latex/parallel/"
                                     "tex/latex/parallel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14gca28ph90vhsliy5g8jc6fd87igni1wkiy41jrp33qhjiz94qa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parallel")
    (synopsis "Typeset parallel texts")
    (description
     "This package provides a @code{parallel} environment which allows two
potentially different texts to be typeset in two columns, while maintaining
alignment.  The two columns may be on the same page, or on facing pages.  This
arrangement of text is commonly used when typesetting translations, but it can
have value when comparing any two texts.")
    (license license:lppl)))

(define-public texlive-paratype
  (package
    (name "texlive-paratype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/paratype/"
                                     "fonts/afm/paratype/ptmono/"
                                     "fonts/afm/paratype/ptsans/"
                                     "fonts/afm/paratype/ptserif/"
                                     "fonts/enc/dvips/paratype/"
                                     "fonts/map/dvips/paratype/"
                                     "fonts/tfm/paratype/ptmono/"
                                     "fonts/tfm/paratype/ptsans/"
                                     "fonts/tfm/paratype/ptserif/"
                                     "fonts/truetype/paratype/ptmono/"
                                     "fonts/truetype/paratype/ptsans/"
                                     "fonts/truetype/paratype/ptserif/"
                                     "fonts/type1/paratype/ptmono/"
                                     "fonts/type1/paratype/ptsans/"
                                     "fonts/type1/paratype/ptserif/"
                                     "fonts/vf/paratype/ptmono/"
                                     "fonts/vf/paratype/ptsans/"
                                     "fonts/vf/paratype/ptserif/"
                                     "tex/latex/paratype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k93y4xlng9b9cwa9mk7bdxj2zzbyigv02z358lm0vpr7nw8vxig"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/paratype")
    (synopsis "LaTeX support for ParaType fonts")
    (description
     "The package offers LaTeX support for the fonts PT Sans, PT Serif and PT
Mono developed by ParaType for the project @emph{Public Types of Russian
Federation}.  The fonts themselves are provided in both the TrueType and Type
1 formats.  The fonts provide encodings OT1, T1, IL2, TS1, T2* and X2.  The
package provides a convenient replacement of the two packages @code{ptsans}
and @code{ptserif}.")
    (license license:lppl)))

(define-public texlive-parrun
  (package
    (name "texlive-parrun")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parrun/" "source/latex/parrun/"
                                     "tex/latex/parrun/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cfqvsda505pxwyjv6k197lg464y4njr2j65sghvzk7qp3i6vq11"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parrun")
    (synopsis "Typesets (two) streams of text running parallel")
    (description
     "This package can be used for typesetting translated text and the
original source, parallel on the same page, one above the other.")
    (license license:lppl)))

(define-public texlive-pas-crosswords
  (package
    (name "texlive-pas-crosswords")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pas-crosswords/"
                                     "tex/latex/pas-crosswords/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1masrs2ywyxa9rfw7vz9j9jw0b1hhkd5fin2rg7rd2x1qb305q5w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pas-crosswords")
    (synopsis "Creating crossword grids, using TikZ")
    (description
     "The package produces crossword grids, using a wide variety of colours
and decorations of the grids and the text in them.  The package uses TikZ for
its graphical output.")
    (license license:lppl)))

(define-public texlive-pascaltriangle
  (package
    (name "texlive-pascaltriangle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pascaltriangle/"
                                     "tex/latex/pascaltriangle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5y02gcgwhdq168n7d33plfhfp83zq97vjrfyz8ldlc7vncdnlh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pascaltriangle")
    (synopsis "Draw beautiful Pascal (Yanghui) triangles")
    (description
     "This LaTeX3 package based on TikZ helps to generate beautiful
Pascal (Yanghui) triangles.  It provides a unique drawing macro
@code{\\pascal} which can generate isosceles or right-angle triangles
customized by means of different @code{\\pascal} macro options or the
@code{\\pascalset} macro.")
    (license license:lppl1.3c)))

(define-public texlive-patgen2-tutorial
  (package
    (name "texlive-patgen2-tutorial")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/patgen2-tutorial/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "016bx1rp8kpvlywg0yafhbbhlzw4zxdcbdrd5525vffn6fyp9fi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/patgen2-tutorial")
    (synopsis "Tutorial on the use of Patgen 2")
    (description
     "This document describes the use of Patgen 2 to create hyphenation
patterns for wide ranges of languages.")
    (license license:lppl1.3c)))

(define-public texlive-perception
  (package
    (name "texlive-perception")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/perception/"
                                     "doc/bibtex/perception/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0958g65hv8fpyhhbkvkd2ybdbp6aiblnc5izbr5z5w8b0v5n0ixx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/perception")
    (synopsis "BibTeX style for the journal @emph{Perception}")
    (description
     "This package provides a BibTeX style for the journal
@emph{Perception}.")
    (license license:lppl)))

(define-public texlive-perfectcut
  (package
    (name "texlive-perfectcut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/perfectcut/"
                                     "tex/latex/perfectcut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13lclcf5aynbivhlsgnssi36dgacmyjl3rmr0i8s3az5941bsyfh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/perfectcut")
    (synopsis
     "Nested delimiters that consistently grow regardless of the contents")
    (description
     "This package defines the command @code{\\perfectcut#1#2} which displays
a bracket @samp{<#1||#2>}.  Various other delimiters are similarly
defined (parentheses, square brackets ...).  The effect of these commands is
to let the delimiters grow according to the number of nested
@code{\\perfectcommands} (regardless of the size of the contents).

The package was originally intended for solving a notational issue for
direct-style continuation calculi in proof theory.  For general use, the
package also defines commands for defining other sorts of delimiters which
will behave in the same way.  The package also offers a robust
reimplementation of @code{\\big}, @code{\\bigg}, etc.")
    (license license:lppl1.3+)))

(define-public texlive-persian-bib
  (package
    (name "texlive-persian-bib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/persian-bib/"
                                     "bibtex/csf/persian-bib/"
                                     "doc/xelatex/persian-bib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18x592g8y1i8kw724an65q84jj91cam5qvwp9mgnhqpwh3gjflpw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/persian-bib")
    (synopsis "Persian translations of classic BibTeX styles")
    (description
     "This package provides BibTeX styles modified for Persian documents
prepared with XePersian (which the present package depends on).  The Persian
@file{.bst} files can simultaneously handle both Latin and Persian references.
A file @file{p1256fa.csf} is provided for correct sorting of Persian
references and three fields LANGUAGE, TRANSLATOR and AUTHORFA are defined.")
    (license license:lppl1.3+)))

(define-public texlive-pfdicons
  (package
    (name "texlive-pfdicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pfdicons/" "tex/latex/pfdicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16xdy0ah7za1gr63w1pdfvbq8x4fkin7q0yfpml7y4wv7m1qxqgc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pfdicons")
    (synopsis "Draw process flow diagrams in chemical engineering")
    (description
     "This package provides TikZ shapes to represent commonly encountered unit
operations for depiction in process flow diagrams (PFDs) and, to a lesser
extent, process and instrumentation diagrams (PIDs).  The package was designed
with undergraduate chemical engineering students and faculty in mind, and the
number of units provided should cover--in Turton's estimate--about 90 percent
of all fluid processing operations.")
    (license license:lppl1.3c)))

(define-public texlive-phaistos
  (package
    (name "texlive-phaistos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/phaistos/"
                                     "fonts/afm/public/phaistos/"
                                     "fonts/map/dvips/phaistos/"
                                     "fonts/opentype/public/phaistos/"
                                     "fonts/tfm/public/phaistos/"
                                     "fonts/type1/public/phaistos/"
                                     "source/fonts/phaistos/"
                                     "tex/latex/phaistos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b5mjfzmhr6dw6i90mjym2hwi4cm2jfwfagl41dm6grnznwcn8bb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phaistos")
    (synopsis "Disk of Phaistos font")
    (description
     "This package provides a font that contains all the symbols of the famous
Disc of Phaistos, together with a LaTeX package.  The disc was printed by
stamping the wet clay with some sort of punches, probably around 1700 BCE.
The font is available in Adobe Type 1 and OpenType formats (the latter using
the Unicode positions for the symbols).")
    (license license:lppl)))

(define-public texlive-philosophersimprint
  (package
    (name "texlive-philosophersimprint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/philosophersimprint/"
                                     "source/latex/philosophersimprint/"
                                     "tex/latex/philosophersimprint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12rflr3w8lxk9yg1fx3kpyz52002571lh4g3m6hcp73mb393fq1w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/philosophersimprint")
    (synopsis "Typesetting articles for @emph{Philosophers' Imprint}")
    (description
     "The @emph{Philosophers' Imprint} is a series of original papers in
philosophy, edited by philosophy faculty at the University of Michigan, and
published on the World Wide Web by the University of Michigan Digital Library.
The class helps authors to typeset their own articles in Web-ready format.")
    (license license:lppl1.3+)))

(define-public texlive-phonetic
  (package
    (name "texlive-phonetic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/phonetic/"
                                     "fonts/source/public/phonetic/"
                                     "fonts/tfm/public/phonetic/"
                                     "tex/latex/phonetic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f1z1kzfyxap4hbmpjfhy417n3jcg3rv0m8f5ab1wlil64jn0rgb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/phonetic")
    (synopsis "Metafont Phonetic fonts, based on Computer Modern")
    (description
     "The Phonetic fonts are based on Computer Modern, and specified in
Metafont.  Macros for the fonts use are provided for LaTeX.")
    (license license:lppl)))

(define-public texlive-physconst
  (package
    (name "texlive-physconst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/physconst/"
                                     "source/latex/physconst/"
                                     "tex/latex/physconst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jrhsycm9fp4crhy4g9i4hn7wll85fczwmvxvlzgkzi249zcssm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/physconst")
    (synopsis "Macros for commonly used physical constants")
    (description
     "This package consists of several macros that are shorthand for a variety
of physical constants, e.g. the speed of light.  The constants can be used in
two forms, the most accurate available values, or versions that are rounded to
3 significant digits for use in typical classroom settings, homework
assignments, etc.  Most constants are taken from CODATA 2018, with the
exception of the astronomical objects, whose values are taken from
International Astronomical Union specified values.  Constants that are derived
from true constants, e.g. the fine structure constant, have been calculated
using the accepted values of the fundamental constants.")
    (license license:lppl1.3c)))

(define-public texlive-phonrule
  (package
    (name "texlive-phonrule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phonrule/" "tex/latex/phonrule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09nhlhqgq2af2p6rn5r0q8ccn9a2qq35znn5j4z2kjq744wbzjih"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phonrule")
    (synopsis "Typeset linear phonological rules")
    (description
     "The package provides macros for typesetting phonological rules like
those in @emph{Sound Pattern of English} (Chomsky and Halle 1968).")
    (license license:lppl1.0+)))

(define-public texlive-physics2
  (package
    (name "texlive-physics2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/physics2/"
                                     "source/latex/physics2/"
                                     "tex/latex/physics2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m4wv8kcmy3jrhsnfl5dx4aqzgrq51w8h32l3k378lfg5zdh0axa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/physics2")
    (synopsis "Macros for typesetting math faster and more simply")
    (description
     "The @code{physics2} package defines commands for typesetting math
formulae faster andmore simply.  @code{physics2} is a modularized package,
each module provides its own function.  You can load modules separately after
loading @code{physics2}.

Modules of physics provide the following supports:
@itemize
@item automatic braces,
@item Dirac bracket notation,
@item easy way to typeset diagonal matrices and matrices with similar entries,
@item double cross and double dot (binary) operators for tensors.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-physunits
  (package
    (name "texlive-physunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/physunits/"
                                     "source/latex/physunits/"
                                     "tex/latex/physunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "139qcg10879q17l84kqh8x1rzp8bgdcyd4iaxwgl4qlnrkg5rbl5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/physunits")
    (synopsis "Macros for commonly used physical units")
    (description
     "This package provides a collection of macros to simplify using physical units
(e.g., @samp{m} for meters, @samp{J} for joules, etc.), especially in math
mode.  All major SI units are included, as well as some @acronym{CGS,
Centimetre–Gram–Second} units used in astronomy.")
    (license license:lppl1.3c)))

(define-public texlive-piano
  (package
    (name "texlive-piano")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/piano/" "tex/latex/piano/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nbax18dgg2a9l6bihqhwx0va7829324lk29ibq29wjissmhjqww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/piano")
    (synopsis "Typeset a basic 2-octave piano diagram")
    (description
     "This package adds the @code{\\keyboard[1][2]..[7]} command to your
project.  When used, it draws a small 2 octaves piano keyboard on your
document, with up to 7 keys highlighted.")
    (license license:lppl)))

(define-public texlive-pigpen
  (package
    (name "texlive-pigpen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pigpen/"
                                     "fonts/map/dvips/pigpen/"
                                     "fonts/source/public/pigpen/"
                                     "fonts/tfm/public/pigpen/"
                                     "fonts/type1/public/pigpen/"
                                     "tex/latex/pigpen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17jgzzjyi6skpqgjmrbvd4mm3gggs5dls0jfj6qd8ccf7qdrxiaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/pigpen")
    (synopsis "Font for the Pigpen (or masonic) cipher")
    (description
     "The Pigpen cipher package provides the font and the necessary
wrappers (style file, etc.) in order to write Pigpen ciphers, a simple
substitution cipher.  The package provides a font (available both as Metafont
source, and as an Adobe Type 1 file), and macros for its use.")
    (license license:lppl)))

(define-public texlive-pinoutikz
  (package
    (name "texlive-pinoutikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pinoutikz/"
                                     "tex/latex/pinoutikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kqdvldrr7r0jsi2sd8rzqcgwfdy0p9ixqcrwg2k94dcs6ad9mhy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pinoutikz")
    (synopsis "Draw chip pinouts with TikZ")
    (description
     "The package provides a set of macros for typesetting electronic chip pinouts.
It is designed as a tool that is easy to use, with a lean syntax, native to
LaTeX, and directly supporting PDF output format.")
    (license license:lppl1.3c)))

(define-public texlive-pittetd
  (package
    (name "texlive-pittetd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pittetd/" "source/latex/pittetd/"
                                     "tex/latex/pittetd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q8ikj4qqlzw3kimywdmbvkvwyvyjn8q6gr68kc0wpypqd1a91as"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pittetd")
    (synopsis
     "Electronic theses and dissertations at the University of Pittsburgh")
    (description
     "This package provides a document class for theses and dissertations at
the University of Pittsburgh.")
    (license license:lppl)))

(define-public texlive-pkuthss
  (package
    (name "texlive-pkuthss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pkuthss/" "tex/latex/pkuthss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0chc8ikl3xkcrdcgj7mrlam5f8x39mafj2w1yyydq917i7xi129b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pkuthss")
    (synopsis "LaTeX template for dissertations in Peking University")
    (description
     "The package provides a simple, clear and flexible LaTeX template for
dissertations in Peking University.")
    (license
     (list license:lppl1.3+
           license:bsd-3
           license:public-domain))))

(define-public texlive-plainyr
  (package
    (name "texlive-plainyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/plainyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09py8psdqqnxmq2nkczxz092668zscvf9hbr6fcvrnj0blvz3wxy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plainyr")
    (synopsis "Plain bibliography style, sorted by year first")
    (description
     "This is a version of the standard plain BibTeX style, modified to sort
chronologically (by year) first, then by author, title, etc.")
    (license license:knuth)))

(define-public texlive-plari
  (package
    (name "texlive-plari")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/plari/" "source/latex/plari/"
                                     "tex/latex/plari/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07g4rn4nn5wvwqd39s0xnn35ijkamhzxi12icnha8vb0b564jwq8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plari")
    (synopsis "Typesetting stageplay scripts")
    (description
     "Plari is a @code{report}-alike class, without section headings, and with
paragraphs vertically separated rather than indented.")
    (license license:gpl3+)))

(define-public texlive-play
  (package
    (name "texlive-play")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/play/" "source/latex/play/"
                                     "tex/latex/play/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v1d8hfng6s8x8spzrzhhkgg36zay9jvfna9md1mh4ijlipnzyma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/play")
    (synopsis "Typeset drama using LaTeX")
    (description
     "This package provides a class and style file that supports the
typesetting of plays, including options for line numbering.")
    (license license:lppl)))

(define-public texlive-playfair
  (package
    (name "texlive-playfair")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/playfair/"
                                     "fonts/enc/dvips/playfair/"
                                     "fonts/map/dvips/playfair/"
                                     "fonts/opentype/public/playfair/"
                                     "fonts/tfm/public/playfair/"
                                     "fonts/type1/public/playfair/"
                                     "fonts/vf/public/playfair/"
                                     "tex/latex/playfair/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "060l6q6m410nn31mn09v3gy5nvbimplraifqcqlp3h8pzcrc3akf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/playfair")
    (synopsis "Playfair Display fonts with LaTeX support")
    (description
     "This package provides the PlayFairDisplay family of fonts, designed by
Claus Eggers Sorensen, for use with LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX.
PlayFairDisplay is well suited for titling and headlines.  It has an extra
large x-height and short descenders.  It can be set with no leading if space
is tight, for instance in news headlines, or for stylistic effect in titles.
Capitals are extra short, and only very slightly heavier than the lowercase
characters.  This helps achieve a more even typographical colour when
typesetting proper nouns and initialisms.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-plex
  (package
    (name "texlive-plex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/plex/"
                                     "fonts/enc/dvips/plex/"
                                     "fonts/map/dvips/plex/"
                                     "fonts/opentype/ibm/plex/"
                                     "fonts/tfm/ibm/plex/"
                                     "fonts/type1/ibm/plex/"
                                     "fonts/vf/ibm/plex/"
                                     "tex/latex/plex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h05ln5c74r85mpj0psf0zcv22mz5psbhqq10vap7x32pc7bhb48"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plex")
    (synopsis "Support for IBM Plex fonts")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the IBM Plex families of fonts.  Serif, Sans and Mono families are available
in eight weights: Regular, Light, ExtraLight, Thin, Bold, Text, Medium and
SemiBold (with corresponding italics).")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-plex-otf
  (package
    (name "texlive-plex-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/plex-otf/" "tex/latex/plex-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zkzr7mrmvfgnfd554vb0g6bka7976p93hqfmzapf17js2mfxfsz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plex-otf")
    (synopsis "Support for the OpenType font IBM Plex")
    (description
     "This package supports the OTF fonts from the IBM Plex project.  This
package supports only XeLaTeX or LuaLaTeX; for pdfLaTeX use
@code{}plex-mono.sty}, @code{}plex-sans.sty}, and @code{plex-serif.sty} from
the @code{plex} package.  IBM Plex has no math symbols.  You will have to use
one of the existing math fonts if you need them.")
    (license license:lppl1.3+)))

(define-public texlive-plimsoll
  (package
    (name "texlive-plimsoll")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/plimsoll/"
                                     "fonts/afm/public/plimsoll/"
                                     "fonts/enc/dvips/plimsoll/"
                                     "fonts/map/dvips/plimsoll/"
                                     "fonts/tfm/public/plimsoll/"
                                     "fonts/type1/public/plimsoll/"
                                     "source/fonts/plimsoll/"
                                     "tex/latex/plimsoll/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cxvlpb7z83ajyqh5nw1596i7ak582pp2mmqmfjqk2bffv6jqay1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plimsoll")
    (synopsis "Fonts with the Plimsoll symbol and LaTeX support")
    (description
     "This package provides access to the Plimsoll symbol for use with LaTeX.
The Plimsoll symbol is sometimes used in chemistry for denoting standard
states and values.  The LaTeX package provides access to this notation as
well.")
    (license license:gpl3+)))

(define-public texlive-pm-isomath
  (package
    (name "texlive-pm-isomath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pm-isomath/"
                                     "source/latex/pm-isomath/"
                                     "tex/latex/pm-isomath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a3qsv8x1pj2fd8hdbds6skvda9hpaph0a3hakf61xngc7q4ymxn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pm-isomath")
    (synopsis "Poor man ISO math for pdfLaTeX users")
    (description
     "This small package realizes a poor man approximation of the ISO
regulations for physical sciences and technology.  Contrary to other more
elegant solutions, it does not load any math alphabet, since pdfLaTeX can use
only a maximum of such alphabets.  The necessary user macros are defined for
typsetting common math symbols that require special ISO treatment.")
    (license license:lppl1.3c)))

(define-public texlive-pmhanguljamo
  (package
    (name "texlive-pmhanguljamo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pmhanguljamo/"
                                     "tex/latex/pmhanguljamo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k8cvzmrrpb6hkkjczfq4mad71450pappf68jdlf1vmg3qb0f9z3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pmhanguljamo")
    (synopsis "Poor man's Hangul Jamo input method")
    (description
     "This package provides a Hangul transliteration input method that allows
to typeset Korean letters (Hangul) using the proper fonts. The use of XeLaTeX
is recommended.")
    (license license:lppl1.3+)))

(define-public texlive-pmx
  (package
    (name "texlive-pmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pmx/"
                                     "doc/man/man1/pmxab.1"
                                     "doc/man/man1/pmxab.man1.pdf"
                                     "doc/man/man1/scor2prt.1"
                                     "doc/man/man1/scor2prt.man1.pdf"
                                     "tex/generic/pmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p9js9izv50vg7qqqmyg5jz4am4phhscqdfnn4nszlyfv3zkg7p3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pmx-bin))
    (home-page "https://ctan.org/pkg/pmx")
    (synopsis "Preprocessor for MusiXTeX")
    (description
     "PMX provides a preprocessor for MusiXTeX.  @command{pmxab} builds a TeX
input file based on a @file{.pmx} input file in a much simpler language,
making most of the layout decisions by itself.  It has most of MusiXTeX's
functionality, but it also permits in-line TeX to give access to virtually all
of MusiXTeX.  For proof-listening, @command{pmxab} will make a MIDI file of
your score.  @command{scor2prt} is an auxiliary program that makes parts from
a score.")
    (license license:gpl2)))

(define-public texlive-pmx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-pmx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("pmx"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-pmx" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/pmx"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/pmx"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-pmx))
    (synopsis "Binaries for @code{texlive-pmx}")
    (description
     "This package provides the binaries for @code{texlive-pmx}.")
    (license (package-license texlive-pmx))))

(define-public texlive-pmxchords
  (package
    (name "texlive-pmxchords")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pmxchords.1"
                                     "doc/man/man1/pmxchords.man1.pdf"
                                     "doc/pmxchords/" "scripts/pmxchords/"
                                     "tex/generic/pmxchords/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01dlic0b0fdm41982mqj3xpin0wksmsyz4h53vdckkz2ayyagagk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pmxchords.lua")))
    (home-page "https://ctan.org/pkg/pmxchords")
    (synopsis "Produce chord information to go with @command{pmx} output")
    (description
     "The bundle supplements @command{pmx}, providing the means of typesetting
chords above the notes of a score.  The bundle contains: macros for typing the
chords; a Lua script to transpose chord macros to the required key signature;
and support scripts for common requirements.")
    (license license:gpl2)))

(define-public texlive-pnas2009
  (package
    (name "texlive-pnas2009")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/pnas2009/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yl475rlfhlnd9d0pyzm1gj2gixrdzyn6858j1ndvkhr8vc055ns"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pnas2009")
    (synopsis "BibTeX style for PNAS (newer version)")
    (description
     "This style produces bibliographies in the format of @emph{Proceedings of
the National Academy of Sciences, USA}.  The style was derived from the
standard @file{unsrt.bst} and adapted to the new (2009) formatting rules.")
    (license license:knuth)))

(define-public texlive-poemscol
  (package
    (name "texlive-poemscol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/poemscol/"
                                     "source/latex/poemscol/"
                                     "tex/latex/poemscol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hz6zsqcvlzcccxywwzwlpp9gsv41g4hc88481vmj313bys77spd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poemscol")
    (synopsis "Typesetting critical editions of poetry")
    (description
     "The package offers LaTeX macros for typesetting critical editions of
poetry.  Its features include automatic linenumbering, generation of separate
endnotes sections for emendations, textual collations, and explanatory notes,
special marking for cases in which page breaks occur during stanza breaks,
running headers of the form @samp{Notes to pp.@: xx-yy} for the notes
sections, index of titles and first lines, and automatic generation of a table
of contents.")
    (license license:lppl1.3c)))

(define-public texlive-poetry
  (package
    (name "texlive-poetry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/poetry/" "source/latex/poetry/"
                                     "tex/latex/poetry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z262am0qh6h1qqf36hxj2lc7d5pr4r65yx8ysrydh0sijccgild"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poetry")
    (synopsis "Facilities for typesetting poetry and poetical structure")
    (description
     "This package provides some macros and general doodads for typesetting poetry.
There is, of course, already the excellent @code{verse} package, and the
@code{poetrytex} package provides some extra functionality on top of it.  But
@code{poetry} provides much of the same functionality in a bit of a different
way, and with a few additional abilities, such as facilities for a list of
poems, an index of first lines, and some structural commands.")
    (license license:lppl1.3c)))

(define-public texlive-poetrytex
  (package
    (name "texlive-poetrytex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/poetrytex/"
                                     "source/latex/poetrytex/"
                                     "tex/latex/poetrytex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y78zd1hd3z1901x6mc6q0mw4rgj3qcqhnjn34zix11r0gn4b2jr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           #:phases
           #~(modify-phases %standard-phases
               ;; Replace "\code{...}" with "\texttt{...}" (which is the alias
               ;; chosen in the documentation) in order to prevent a "Command
               ;; \code already defined" error.
               (add-after 'unpack 'fix-documentation-source
                 (lambda _
                   (substitute* "source/latex/poetrytex/poetrytex.dtx"
                     (("\\\\newcommand\\*\\\\code\\[1\\].*") "")
                     (("\\\\code\\{") "\\texttt{")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-fancyvrb
                  texlive-framed
                  texlive-hologo
                  texlive-hypdoc
                  texlive-parskip
                  texlive-tipa
                  texlive-tocloft))))
    (home-page "https://ctan.org/pkg/poetrytex")
    (synopsis "Typeset anthologies of poetry")
    (description
     "The package is designed to aid in the management and formatting of
anthologies of poetry and other writings; it does not concern itself with
actually typesetting the verse itself.")
    (license license:lppl1.3+)))

(define-public texlive-poiretone
  (package
    (name "texlive-poiretone")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/poiretone/"
                                     "fonts/enc/dvips/poiretone/"
                                     "fonts/map/dvips/poiretone/"
                                     "fonts/tfm/public/poiretone/"
                                     "fonts/truetype/public/poiretone/"
                                     "fonts/type1/public/poiretone/"
                                     "fonts/vf/public/poiretone/"
                                     "tex/latex/poiretone/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zdncw8pj0x8nwgk7b5lgqldiifqjnsci57jnkf5vyhzsxx1c8kr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poiretone")
    (synopsis "PoiretOne family of fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the PoiretOne family of fonts, designed by Denis Masharov.  PoiretOne is
a decorative geometric grotesque with a hint of Art Deco and constructivism.
There is currently just a regular weight and an artificially emboldened
bold.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-polexpr
  (package
    (name "texlive-polexpr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/polexpr/"
                                     "tex/generic/polexpr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09lryzizy59aaq92m2rzryxf0q0b9wqhrm258q1kqgm0sd2z6pn3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/polexpr")
    (synopsis "Parser for polynomial expressions")
    (description
     "The package provides a parser @code{\\poldef} of algebraic polynomial
expressions.  Once defined, a polynomial is usable by its name either as
a numerical function in @code{\\xintexpr} or @code{\\xinteval}, or for
additional polynomial definitions, or as argument to the package macros.  The
localization of real roots to arbitrary precision as well as the determination
of all rational roots is implemented via such macros.")
    (license license:lppl1.3c)))

(define-public texlive-powerdot-fuberlin
  (package
    (name "texlive-powerdot-fuberlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/powerdot-fuberlin/"
                                     "tex/latex/powerdot-fuberlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q49f7sbywfgdgn24ayg7ybfnqdnaqiwn463hiahib0vznwv1fn6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/powerdot-fuberlin")
    (synopsis "Powerdot, using the style of FU Berlin")
    (description
     "The bundle provides a Powerdot-derived class and a package for use with
Powerdot to provide the corporate design of the Free University in Berlin.
Users may use the class itself (FUpowerdot) or use the package in the usual
way with @code{\\style=BerlinFU} as a class option.")
    (license license:lppl)))

(define-public texlive-powerdot-tuliplab
  (package
    (name "texlive-powerdot-tuliplab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/powerdot-tuliplab/"
                                     "tex/latex/powerdot-tuliplab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wwml3n7lrfm4m9xw3a14ksa8mcrrp2gbwi9y4m5pgz1r92jmph3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/powerdot-tuliplab")
    (synopsis "Style package for Powerdot to provide the design of TULIP Lab")
    (description
     "@code{powerdot-tuliplab} is the LaTeX package used in TULIP Lab for
presentation drafting.")
    (license license:lppl1.3+)))

(define-public texlive-pracjourn
  (package
    (name "texlive-pracjourn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pracjourn/"
                                     "source/latex/pracjourn/"
                                     "tex/latex/pracjourn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pavlcxv7jqni6rl2hdqfmmns566151rvsaa1p5xhgfb6qa4l1b1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pracjourn")
    (synopsis "Typeset articles for PracTeX")
    (description
     "The @code{pracjourn} class is used for typesetting articles in the
@emph{PracTeX Journal}.  It is based on the @code{article} class with
modifications to allow for more flexible front-matter and revision control,
among other small changes.")
    (license license:gpl3+)))

(define-public texlive-prftree
  (package
    (name "texlive-prftree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prftree/" "tex/latex/prftree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h5cgk0jsdngmhzr90910fqyvnvabbpicwskan6yay7h8iqqmxvf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prftree")
    (synopsis "Macros for building proof trees")
    (description
     "This package provides a package to typeset proof trees for natural
deduction calculi, sequent-like calculi, and similar.")
    (license license:gpl3+)))

(define-public texlive-principia
  (package
    (name "texlive-principia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/principia/"
                                     "tex/latex/principia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i429lcyblqx6g6nf6s6bbbfnb62wxgglgkg28hmip81xxbx4vbg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/principia")
    (synopsis "Notations for typesetting the @emph{Principia Mathematica}")
    (description
     "This package supports typesetting the Peanese notation in Volume I of
Whitehead and Russell's 1910 @emph{Principia Mathematica}.")
    (license license:lppl1.3c)))

(define-public texlive-proba
  (package
    (name "texlive-proba")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proba/" "source/latex/proba/"
                                     "tex/latex/proba/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ym6szixg2dl17l07kdqmyah6pi6hn68ckr95xmimqhv8ib124kj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proba")
    (synopsis "Shortcuts commands to symbols used in probability texts")
    (description
     "This package includes some of the most often used commands in
probability texts, e.g., probability, expectation, variance, etc.  It also
includes some short commands for set (blackboard) or
filtrations (calligraphic).")
    (license license:lppl)))

(define-public texlive-prociagssymp
  (package
    (name "texlive-prociagssymp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prociagssymp/"
                                     "tex/latex/prociagssymp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c8fa2d0rsq5drrrckvm1b9mfdfn3p0b9wwwzr263lw7qdqhnlwj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prociagssymp")
    (synopsis "Macros for IAG symposium papers")
    (description
     "This package provides (re-)definitions of some LaTeX commands that can
be useful for the preparation of papers with the style of the proceedings of
symposia sponsored by the @acronym{IAG, International Association of Geodesy}
published by Springer-Verlag.")
    (license license:lppl)))

(define-public texlive-prodint
  (package
    (name "texlive-prodint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/prodint/"
                                     "fonts/afm/public/prodint/"
                                     "fonts/map/dvips/prodint/"
                                     "fonts/tfm/public/prodint/"
                                     "fonts/type1/public/prodint/"
                                     "tex/latex/prodint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k354qidij22mwxafh2zbam7qb4jd5pb8jakw0c660xdxaxrdxx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prodint")
    (synopsis "Font that provides the product integral symbol")
    (description
     "Product integrals are to products, as integrals are to sums.  They have
been around for more than a hundred years, they have not become part of the
standard mathematician's toolbox, possibly because no-one invented the right
mathematical symbol for them.  The authors have remedied that situation by
proposing the symbol and providing this font.")
    (license license:silofl1.1)))

(define-public texlive-profcollege
  (package
    (name "texlive-profcollege")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/profcollege/"
                                     "metapost/profcollege/"
                                     "tex/latex/profcollege/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03cnyd4dwxmsl2z46878x7l1k3dshwjkwc7lclw1ivlakl6h4g1f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/profcollege")
    (synopsis "LaTeX package for French maths teachers in college")
    (description
     "This package provides some commands to help French mathematics teachers
for 11-16 years olds.")
    (license license:lppl1.3c)))

(define-public texlive-proflabo
  (package
    (name "texlive-proflabo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proflabo/" "tex/latex/proflabo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0208sjybqgvd7xrrnc49d31cpvd0bfjyjamfsyzi6yb0fhsxd7x7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proflabo")
    (synopsis "Draw laboratory equipment")
    (description
     "This package was developed to help French chemistry teachers to create
drawings (using TikZ) for laboratory stuff.")
    (license license:lppl)))

(define-public texlive-proflycee
  (package
    (name "texlive-proflycee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proflycee/"
                                     "metapost/proflycee/"
                                     "tex/latex/proflycee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cmda7dqydvrg327sz5z635kzjs4p2r31z5pc1bj8zq7jc9c5f6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proflycee")
    (synopsis "LaTeX package for French maths teachers in high school")
    (description
     "This package provides some commands to help French mathematics teachers
for 15-18 years olds.")
    (license license:lppl1.3c)))

(define-public texlive-projlib
  (package
    (name "texlive-projlib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/projlib/" "source/latex/projlib/"
                                     "tex/latex/projlib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kp8khsr848lksnypj0n4j24pg5xi1lcplvfi8fksrmv0whzyi31"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-create-theorem))
    (home-page "https://ctan.org/pkg/projlib")
    (synopsis "Tools to simplify your workflow")
    (description
     "ProjLib is a collection of tools to help you write LaTeX documents.
With the main package ProjLib loaded, you no longer need to set up the
@code{theorem}-like environments, nor to manually configure the appropriate
multilingual settings.  In addition, a series of auxiliary functionalities are
introduced.")
    (license license:lppl1.3c)))

(define-public texlive-proof-at-the-end
  (package
    (name "texlive-proof-at-the-end")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proof-at-the-end/"
                                     "source/latex/proof-at-the-end/"
                                     "tex/latex/proof-at-the-end/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1axgv5lln20iwhn07z8ar3blnqmaj4fm6g98948zzlmvysjw5vi9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proof-at-the-end")
    (synopsis "Move proofs to appendix")
    (description
     "This package aims to provide a way to easily move proofs to the appendix.
You can (among other things) move proofs to different places/sections, create
links from theorems to proofs, restate theorems, add comments in appendix...")
    (license license:lppl1.3+)))

(define-public texlive-prooftrees
  (package
    (name "texlive-prooftrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prooftrees/"
                                     "tex/latex/prooftrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0apfsvnappjfnnw3962fwd5wmax6a0hqq8kz29qy3x20n4l8akk3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prooftrees")
    (synopsis "Forest-based proof trees (symbolic logic)")
    (description
     "The package supports drawing proof trees of the kind often used in
introductory logic classes, especially those aimed at students without strong
mathemtical backgrounds.  Hodges (1991) is one example of a text which uses
this system.  When teaching such a system it is especially useful to annotate
the tree with line numbers, justifications and explanations of branch
closures.  The package provides a single environment, @code{prooftree}, and
a variety of tools for annotating, customising and highlighting such trees.
A cross-referencing system is provided for trees which cite line numbers in
justifications for proof lines or branch closures.")
    (license license:lppl1.3+)))

(define-public texlive-proposal
  (package
    (name "texlive-proposal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proposal/base/"
                                     "doc/latex/proposal/dfg/"
                                     "doc/latex/proposal/eu/"
                                     "source/latex/proposal/base/"
                                     "source/latex/proposal/bin/"
                                     "source/latex/proposal/dfg/"
                                     "source/latex/proposal/eu/"
                                     "source/latex/proposal/lib/"
                                     "tex/latex/proposal/base/"
                                     "tex/latex/proposal/dfg/"
                                     "tex/latex/proposal/eu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0km6i418hdcbl457dfwh1hl3q8qshp1gvqc1frqc84f9a6cr0kzc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proposal")
    (synopsis
     "Set of LaTeX classes preparing proposals for collaborative projects")
    (description
     "The process of preparing a collaborative proposal, to a major funding body,
involves integration of contributions of a many people at many sites.  It is
therefore an ideal application for a text-based document preparation system
such as LaTeX, in concert with a distributed version control system such as
SVN.  The @code{proposal} class itself provides a basis for such an
enterprise.  The @code{dfgproposal} and @code{dfgproposal} classes provide two
specialisations of the base class for (respectively) German and European
research proposals.")
    (license license:lppl)))

(define-public texlive-prtec
  (package
    (name "texlive-prtec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/prtec/" "doc/latex/prtec/"
                                     "tex/latex/prtec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15l75a6blk1dpcj2q841i92cdvlfjxmmaqi5lk01rac8rxa5cghx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prtec")
    (synopsis "Template for PRTEC conference papers")
    (description
     "This package provides a LaTeX class, a BibTeX style, and a LaTeX
template to format conference papers for the @acronym{PRTEC, Pacific Rim
Thermal Engineering Conference}.")
    (license license:expat)))

(define-public texlive-pseudo
  (package
    (name "texlive-pseudo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pseudo/" "tex/latex/pseudo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rdhgg8y224959qr5c6ph66bkm572147fab3mdp8rw7s4dqkmjli"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pseudo")
    (synopsis "Straightforward pseudocode")
    (description
     "The package permits writing pseudocode without much fuss and with quite
a bit of configurability.  Its main environment combines aspects of
enumeration, tabbing and tabular for nonintrusive line numbering, indentation
and highlighting, and there is functionality for typesetting common syntactic
elements such as keywords, identifiers, and comments.")
    (license license:expat)))

(define-public texlive-pseudocode
  (package
    (name "texlive-pseudocode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pseudocode/"
                                     "tex/latex/pseudocode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "180m5yja3wkdnpfz0qx9m031qmhqyjjjgxynm3v4y8fz9jz7vidq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pseudocode")
    (synopsis "LaTeX environment for specifying algorithms in a natural way")
    (description
     "This package provides the environment @code{pseudocode} for describing
algorithms in a natural manner.")
    (license license:lppl)))

(define-public texlive-psgo
  (package
    (name "texlive-psgo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psgo/" "tex/latex/psgo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ki49zbdn0qvzsz7h53vqwpf4rmiiranq52lh344z7wypznddi28"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/psgo")
    (synopsis "Typeset go diagrams with PSTricks")
    (description
     "This package can be used to typeset go diagrams with PSTricks.")
    (license license:lppl)))

(define-public texlive-psizzl
  (package
    (name "texlive-psizzl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/psizzl/base/"
                                     "source/psizzl/base/" "tex/psizzl/base/"
                                     "tex/psizzl/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07h8raq2k80ycvsaaaxaaczwwnhkxdbnvnr52mihr8dyih5s7jns"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/psizzl")
    (synopsis "TeX format for physics papers")
    (description
     "PSIZZL is a TeX format for physics papers written at SLAC and used at
several other places.  It dates from rather early in the development of TeX82;
as a result, some of the descriptions of limitations look rather quaint to
modern eyes.")
    (license license:lppl)))

(define-public texlive-ptptex
  (package
    (name "texlive-ptptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ptptex/" "tex/latex/ptptex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f040dv31g8bdn0awa40mvhzp095glsfsxcg28cbslckbdds5k6c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptptex")
    (synopsis "Macros for @emph{Progress of Theoretical Physics}")
    (description
     "The distribution contains the class (which offers an option file for
preprints), a template, and macros for writing articles in @emph{Progress of
Theoretical Physics}.")
    (license license:lppl)))

(define-public texlive-punk
  (package
    (name "texlive-punk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/punk/"
                                     "fonts/source/public/punk/"
                                     "fonts/tfm/public/punk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ncarqjmwrsiw65p7mr44gjy0h90q5hw5n4jb5y2fxr1kgbzmz1p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/punk")
    (synopsis "Donald Knuth's Punk font")
    (description
     "This package provides a response to the assertion in a lecture that
``typography tends to lag behind other stylistic changes by about 10 years''.
Knuth felt it was (in 1988) time to design a replacement for his designs of
the 1970s, and came up with the Punk font!  The fonts are distributed as
Metafont source.  The package also offers LaTeX support for them, although
@code{punk-latex} is a better choice.")
    (license license:knuth)))

(define-public texlive-punk-latex
  (package
    (name "texlive-punk-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/punk-latex/"
                                     "tex/latex/punk-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gkbv3fwlfq8f3nn9zibhzwa5xw2scaf3xnkvlbxqcslmi129b2l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/punk-latex")
    (synopsis "LaTeX support for Punk fonts")
    (description
     "The package and @file{.fd} file provide support for Knuth's Punk fonts.
Although that bundle also offers support within LaTeX; the present package is
to be preferred.")
    (license license:gpl3+)))

(define-public texlive-punknova
  (package
    (name "texlive-punknova")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/punknova/"
                                     "fonts/opentype/public/punknova/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07g0j329bgyzn3f3ac8gf9m6jh6zpwirw5l72mzzm8n32sgajym0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/punknova")
    (synopsis "OpenType version of Knuth's Punk font")
    (description
     "Knuth's original Punk fonts generated different shapes at random.
This isn't actually possible in an OpenType font; rather, the font contains
several variants of each glyph, and uses the OpenType randomize function to
select a variant for each invocation.")
    (license license:knuth)))

(define-public texlive-pxtxalfa
  (package
    (name "texlive-pxtxalfa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pxtxalfa/"
                                     "fonts/tfm/public/pxtxalfa/"
                                     "fonts/vf/public/pxtxalfa/"
                                     "tex/latex/pxtxalfa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zanrgazaffpby6jmfncyq2g4sgi23p27wi2dx18zp0350ai55ia"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxtxalfa")
    (synopsis
     "Virtual maths alphabets based on @code{pxfonts} and @code{txfonts}")
    (description
     "The package provides virtual math alphabets based on @code{pxfonts} and
@code{txfonts}, with LaTeX support files and adjusted metrics.  The
@code{mathalpha} package offers support for this collection.")
    (license license:lppl)))

(define-public texlive-pythonhighlight
  (package
    (name "texlive-pythonhighlight")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pythonhighlight/"
                                     "tex/latex/pythonhighlight/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1grvq2sih8klkvzgyrc4fpalv7q670l9q00vs8293n698bhmn72g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pythonhighlight")
    (synopsis
     "Highlighting of Python code, based on the @code{listings} package")
    (description
     "This package allows highlighting of Python code, based on the
@code{listings} package.")
    (license license:bsd-3)))

(define-public texlive-qobitree
  (package
    (name "texlive-qobitree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qobitree/" "tex/latex/qobitree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pzy5i8fi37zhkpsrh179qd4gp8ahwk8s2gw6261kjjiqf6p6znc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qobitree")
    (synopsis "LaTeX macros for typesetting trees")
    (description
     "This package provides commands @code{\\branch} and @code{\\leaf} for
specifying the elements of the tree; you build up your tree with those
commands, and then issue the @code{\\tree} command to typeset the whole.")
    (license license:lppl)))

(define-public texlive-qrbill
  (package
    (name "texlive-qrbill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qrbill/" "scripts/qrbill/"
                                     "source/latex/qrbill/" "tex/latex/qrbill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "162czrwklb4ybxga12zw5mm50i0zg9abm3aydlz1kk453n2rzynp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qrbill")
    (synopsis "Create QR bills using LaTeX")
    (description
     "This LaTeX package provides support for creating QR-bills for the new
Swiss payment standards.  This implementation is intended to offer an option
to support these regulations and can be adapted for international use.")
    (license (list license:lppl1.3c license:bsd-3))))

(define-public texlive-qsharp
  (package
    (name "texlive-qsharp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qsharp/" "source/latex/qsharp/"
                                     "tex/latex/qsharp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "104asd1z3n7yqpq2midca2sjjxbbr0c9ngaqncj8zzb0i7ky19v4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qsharp")
    (synopsis "Syntax highlighting for the Q# language")
    (description
     "The package provides syntax highlighting for the Q# language,
a domain-specific language for quantum programming.")
    (license license:lppl1.3c)))

(define-public texlive-qtree
  (package
    (name "texlive-qtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qtree/" "tex/latex/qtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gmwkm6400pcrjnq111bih7za0p45nx6gy4lksvgjhdcpnykbbla"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qtree")
    (synopsis "Draw tree structures")
    (description
     "The package offers support for drawing tree diagrams, and is especially
suitable for linguistics use.  It allows trees to be specified in a simple
bracket notation, automatically calculates branch sizes, and supports both
DVI/PostScript and PDF output by use of @code{pict2e} facilities.  The package
is a development of the existing @code{qobitree} package, offering a new front
end.")
    (license license:lppl)))

(define-public texlive-qualitype
  (package
    (name "texlive-qualitype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/qualitype/"
                                     "fonts/opentype/public/qualitype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "027n3i9cy4p7wkbj1zrlsvagplxk74gz5cwv7mr4yl8gqzd41058"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qualitype")
    (synopsis "QualiType font collection")
    (description
     "This is a collection of 45 fonts, created by QualiType.")
    (license (list license:silofl1.1 license:gpl2+))))

(define-public texlive-quantumarticle
  (package
    (name "texlive-quantumarticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/quantumarticle/"
                                     "doc/latex/quantumarticle/"
                                     "tex/latex/quantumarticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00v04n109mbi7w0xcmfdzs8f1fabwd2qhf53fqps99k3dj4z5f0a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quantumarticle")
    (synopsis "Document class for submissions to the @emph{Quantum} journal")
    (description
     "This package provides the preferred document class for papers to be
submitted to @emph{Quantum --- the open journal of quantum science}.  It is
based on the @code{article} document class.

As a service to authors, the document class comes with a predefined
bibliography style @file{quantum.bst} that is optimized to be used with the
@code{quantumarticle} document class.  Additionally, the @code{quantumview}
document class is provided, which can be used as a proxy to typeset the
HTML-only editorial pieces in @emph{Quantum Views}.

The @code{quantumarticle} document class also offers an option to remove the
@emph{Quantum}-related branding.  In that way, users can use it for their
notes as well.")
    (license license:lppl1.3c)))

(define-public texlive-quattrocento
  (package
    (name "texlive-quattrocento")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/quattrocento/"
                                     "fonts/enc/dvips/quattrocento/"
                                     "fonts/map/dvips/quattrocento/"
                                     "fonts/tfm/impallari/quattrocento/"
                                     "fonts/truetype/impallari/quattrocento/"
                                     "fonts/type1/impallari/quattrocento/"
                                     "fonts/vf/impallari/quattrocento/"
                                     "tex/latex/quattrocento/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mgsyl3xc9274mdh3ssd9ifxb0d9rlv0y33nlw9pwnl9y9f9gd9a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quattrocento")
    (synopsis "Quattrocento and Quattrocento Sans fonts with LaTeX support")
    (description
     "The package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Quattrocento and Quattrocento Sans families of fonts, designed by Pablo
Impallari; the fonts themselves are also provided, in both TrueType and Type1
format.  Quattrocento is a classic typeface with wide and open letterforms,
and great x-height, which makes it very legible for body text at small sizes.
Tiny details that only show up at bigger sizes make it also great for display
use.  Quattrocento Sans is the perfect sans-serif companion for
Quattrocento.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-raleway
  (package
    (name "texlive-raleway")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/raleway/"
                                     "fonts/enc/dvips/raleway/"
                                     "fonts/map/dvips/raleway/"
                                     "fonts/opentype/impallari/raleway/"
                                     "fonts/tfm/impallari/raleway/"
                                     "fonts/type1/impallari/raleway/"
                                     "fonts/vf/impallari/raleway/"
                                     "tex/latex/raleway/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pp5m31rr4lww0z92q3vsaz1l01nb78ll5mn2l9w469hpghf2gd3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/raleway")
    (synopsis "Use Raleway with TeX(-alike) systems")
    (description
     "The package provides the Raleway family in an easy to use way.  For
XeLaTeX and LuaLaTeX users the original OpenType fonts are used.  The entire
font family is included.")
    (license license:silofl1.1)))

(define-public texlive-rank-2-roots
  (package
    (name "texlive-rank-2-roots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rank-2-roots/"
                                     "tex/latex/rank-2-roots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mjck9vcysgak245fl43vklzw0z1znmmz9jr5qxa2gdargnkvgxl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rank-2-roots")
    (synopsis "Draw (mathematical) rank 2 root systems")
    (description
     "This package concerns mathematical drawings arising in representation
theory.  The purpose of this package is to ease drawing of rank 2 root
systems, with Weyl chambers, weight lattices, and parabolic subgroups.")
    (license license:lppl1.3c)))

(define-public texlive-rbt-mathnotes
  (package
    (name "texlive-rbt-mathnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rbt-mathnotes/"
                                     "tex/latex/rbt-mathnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12zhnciww00z4rkxp2pr2l31nwgsp10h38pla5jqgicvvz77x67c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rbt-mathnotes")
    (synopsis
     "Rebecca Turner's personal macros and styles for typesetting mathematics notes")
    (description
     "This package includes styles for typesetting mathematics notes, classes
for typesetting homework assignments, and formula cheat sheets for exams.")
    (license license:lppl1.3c)))

(define-public texlive-realtranspose
  (package
    (name "texlive-realtranspose")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/realtranspose/"
                                     "source/latex/realtranspose/"
                                     "tex/latex/realtranspose/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ar1yisx6pq8qjhsvb406l5j06y9jkyxvvgq9s1sg15nk9sjzy1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/realtranspose")
    (synopsis "The ``real'' way to transpose a matrix")
    (description
     "With @code{realtranspose} you can notate the transposition of a matrix
by rotating the symbols 90 degrees.")
    (license license:expat)))

(define-public texlive-rec-thy
  (package
    (name "texlive-rec-thy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rec-thy/" "tex/latex/rec-thy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hnh371kvp2m98gg01cnqqia8gp6m0rvblff53sq86ihcij8ifz9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rec-thy")
    (synopsis "Commands to typeset recursion theory papers")
    (description
     "This package is designed to help mathematicians publishing papers in the
area of recursion theory (aka Computability Theory) easily use standard
notation.  This includes easy commands to denote Turing reductions, Turing
functionals, c.e.@: sets, stagewise computations, forcing and syntactic
classes.")
    (license license:public-domain)))

(define-public texlive-recorder-fingering
  (package
    (name "texlive-recorder-fingering")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/recorder-fingering/"
                                     "tex/latex/recorder-fingering/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yq4fwh7pqkhh52f1zfdgf0a5f0kqfh167c4fnh2pvirkfwi7312"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/recorder-fingering")
    (synopsis "Package to display recorder fingering diagrams")
    (description
     "This package provides support for generating and displaying fingering
diagrams for baroque fingering recorders.  Standard fingerings are provided
for recorders in both C and F, along with methods to create and display
alternate fingerings for trills, etc.")
    (license license:lppl1.3+)))

(define-public texlive-recycle
  (package
    (name "texlive-recycle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/recycle/"
                                     "fonts/map/dvips/recycle/"
                                     "fonts/source/public/recycle/"
                                     "fonts/tfm/public/recycle/"
                                     "fonts/type1/public/recycle/"
                                     "tex/latex/recycle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16kmi7a75vrv3pfnxydxb21pafvi98q39jrdd10a94vxx6fdlx7s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Inconsistent equation (off
    ;; by 0.00162)." errors.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/recycle")
    (synopsis "Font providing the ``recyclable'' logo")
    (description
     "This single-character font is provided as Metafont source, and in Adobe
Type 1 format.  It is accompanied by a trivial LaTeX package to use the logo
at various sizes.")
    (license license:gpl3+)))

(define-public texlive-reledmac
  (package
    (name "texlive-reledmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/reledmac/"
                                     "source/latex/reledmac/"
                                     "tex/latex/reledmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12ds4zbpv4zv6igg2pnqjxayxkrg06a69s4i10p408kwp9wwhs17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/reledmac")
    (synopsis "Typeset scholarly editions")
    (description
     "This package provides a package for typesetting scholarly critical
editions, replacing the established @code{ledmac} and @code{eledmac} packages.
It supports indexing by page and by line numbers, and simple @code{tabular}-
and @code{array}-style environments.  The package is distributed with the
related @code{reledpar} package.")
    (license license:lppl1.3+)))

(define-public texlive-resolsysteme
  (package
    (name "texlive-resolsysteme")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/resolsysteme/"
                                     "tex/latex/resolsysteme/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g51cmjd5gs0p198sb8v95l8jra6cv6smz2068b1pdpv1fqpmjfv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resolsysteme")
    (synopsis "Work on linear systems using xint or pyluatex")
    (description
     "This package provides some commands (in French) to perform calculations
on small (2x2 or 3x3 or 4x4) linear systems, with @code{xint} or
@code{pyluatex}:

@itemize
@item @code{\\DetMatrice} or @code{\\DetMatricePY} to diplay the determinant
of a matrix;
@item @code{\\MatriceInverse} or @code{\\MatriceInversePY} to display the
inverse of a matrix;
@item @code{\\SolutionSysteme} or @code{\\SolutionSystemePY} to display the
solution of a linear system;
@item @dots{}
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-resphilosophica
  (package
    (name "texlive-resphilosophica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/resphilosophica/"
                                     "doc/latex/resphilosophica/"
                                     "source/latex/resphilosophica/"
                                     "tex/latex/resphilosophica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12a0pnksxh3b0w9iwhly9sb8j6jhhmk9r1957mb7m01h435n9yb4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resphilosophica")
    (synopsis "Typeset articles for the journal @emph{Res Philosophica}")
    (description
     "The bundle provides a class for typesetting articles for the journal
@emph{Res Philosophica}.")
    (license license:lppl1.3+)))

(define-public texlive-rest-api
  (package
    (name "texlive-rest-api")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rest-api/"
                                     "source/latex/rest-api/"
                                     "tex/latex/rest-api/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yv81yisaqkxnq33803z7kx3rk6hsdnyza0dzgqmkf6x1jmsnlp9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rest-api")
    (synopsis "Describing a REST API")
    (description
     "This LaTeX package provides macros to describe REST APIs for
documentation purposes.  The endpoints can hold the following information:
method description path parameter request body and content type response body,
content type and status code.")
    (license license:lppl1.3c)))

(define-public texlive-resumecls
  (package
    (name "texlive-resumecls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/resumecls/"
                                     "source/xelatex/resumecls/"
                                     "tex/xelatex/resumecls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14za3bvvksq6xjvbppfm17cj8abspj7h7l7snyd2vciy0dc305yg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resumecls")
    (synopsis "Typeset a resume both in English and Chinese")
    (description
     "This package provides a LaTeX document class to typeset a resume or CV
both in English and Chinese with more ease and flexibility.")
    (license license:lppl1.3+)))

(define-public texlive-reverxii
  (package
    (name "texlive-reverxii")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/reverxii/"
                                     "source/generic/reverxii/"
                                     "tex/generic/reverxii/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gg8qbc8ll3n6rfp3pjshbbjd30s4n3yk219y6qcmz1nv66fp1qq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list (texlive-updmap.cfg)))
    (home-page "https://ctan.org/pkg/reverxii")
    (synopsis "Playing Reversi in TeX")
    (description
     "Following the lead of @file{xii.tex}, this little program plays
Reversi.")
    (license license:lppl1.3c)))

(define-public texlive-revquantum
  (package
    (name "texlive-revquantum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/revquantum/"
                                     "source/latex/revquantum/"
                                     "tex/latex/revquantum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00wac9xjzx9mw6vxd3wnjyb1f8c1661s2zwvd4d0r337ccs6jqbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/revquantum")
    (synopsis
     "Hacks to make writing quantum papers for revtex4-1 less painful")
    (description
     "This package provides a number of useful hacks to solve common
annoyances with the @code{revtex4-1} package, and to define notation in common
use within quantum information.  In doing so, it imports and configures
a number of commonly-available and used packages, and where reasonable,
provides fallbacks.  It also warns when users try to load packages which are
known to be incompatible with @code{revtex4-1}.")
    (license license:lppl1.3+)))

(define-public texlive-revtex4
  (package
    (name "texlive-revtex4")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/revtex4/" "doc/latex/revtex4/"
                                     "source/latex/revtex4/" "tex/latex/revtex4/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mfjp8ycsvq63vk5348r7yfcskldx6ipcwflxz7pnf60xfla5646"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/revtex4-0")
    (synopsis "Styles for various physics journals (old version)")
    (description
     "This is an old version of @code{revtex}, and is kept as a courtesy to
users having difficulty with the incompatibility of that latest version.")
    (license license:lppl)))

(define-public texlive-revtex4-1
  (package
    (name "texlive-revtex4-1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/revtex4-1/"
                                     "doc/latex/revtex4-1/"
                                     "source/latex/revtex4-1/"
                                     "tex/latex/revtex4-1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "023pzbf8hgyk6038zz9g4g95pwqrsqy1ahzy6byxh28b2p8qyk9a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:modules '((ice-9 match)
                  (ice-9 regex)
                  (srfi srfi-1)
                  (guix build texlive-build-system)
                  (guix build utils))
      #:build-targets #~(list "revtex4-1.dtx")
      #:phases
      #~(modify-phases %standard-phases
          ;; In order to build revtex4-1, we need files from revtex source.
          ;; Add them to TEXINPUTS.
          (add-before 'build 'extend-texinputs
            (lambda* (#:key inputs native-inputs #:allow-other-keys)
              (let ((revtex-source
                     (any (match-lambda
                            ((_ . dir)
                             (and (string-match "texlive-revtex-[0-9]+-checkout"
                                                dir)
                                  dir)))
                          (or native-inputs inputs))))
                (setenv "TEXINPUTS"
                        (string-append revtex-source
                                       "/source/latex/revtex/:"))))))))
    (native-inputs (list (package-source texlive-revtex)))
    (home-page "https://ctan.org/pkg/revtex4-1")
    (synopsis "Styles for various physics journals")
    (description
     "This is an old version of @code{revtex}, and is kept as a courtesy to
users having difficulty with the incompatibility of that latest version.")
    (license license:lppl1.3+)))

(define-public texlive-ribbonproofs
  (package
    (name "texlive-ribbonproofs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ribbonproofs/"
                                     "tex/latex/ribbonproofs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1590hcnmzffm1z2rqz0g3h5a7xpidjzw5am603pqvlsdxvjfm6my"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ribbonproofs")
    (synopsis "Drawing ribbon proofs")
    (description
     "The package provides a way to draw ribbon proofs in LaTeX, a graphical
proof system for the propositional fragment of the logic of bunched
implications.")
    (license license:lppl1.3+)))

(define-public texlive-rmathbr
  (package
    (name "texlive-rmathbr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rmathbr/" "source/latex/rmathbr/"
                                     "tex/latex/rmathbr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rgkl8fmq00w7yn445sfq3w2xf39d3waiphivvm6hx49nd6vacv0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rmathbr")
    (synopsis
     "Repeating of math operator at the broken line and the new line in inline equations")
    (description
     "Repeating of math operators at the broken line and the new line in
inline equations is used in Cyrillic mathematical typography (Russian for
example), but unfortunately LaTeX does not provide such an option.  This
package solves the problem by extending ideas described in M. I. Grinchuk
@emph{TeX and Russian Traditions of Typesetting}, and supports most of LaTeX
mathematical packages.")
    (license license:lppl1.3+)))

(define-public texlive-roboto
  (package
    (name "texlive-roboto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/roboto/"
                                     "fonts/enc/dvips/roboto/"
                                     "fonts/map/dvips/roboto/"
                                     "fonts/opentype/google/roboto/"
                                     "fonts/tfm/google/roboto/"
                                     "fonts/type1/google/roboto/"
                                     "fonts/vf/google/roboto/"
                                     "tex/latex/roboto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gbg9p9y6a2fis88qfcsscksrkkcnqvsrhdkak2jm2dfjnq6v2n8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/roboto")
    (synopsis "Support for the Roboto family of fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Roboto Sans, Roboto Condensed, Roboto Mono, Roboto Slab and Roboto Serif
families of fonts, designed by Christian Robertson and Greg Gazdowicz.")
    (license (list license:asl2.0 license:silofl1.1 license:lppl))))

(define-public texlive-romande
  (package
    (name "texlive-romande")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/romande/"
                                     "fonts/afm/arkandis/romande/"
                                     "fonts/enc/dvips/romande/"
                                     "fonts/map/dvips/romande/"
                                     "fonts/tfm/arkandis/romande/"
                                     "fonts/type1/arkandis/romande/"
                                     "fonts/vf/arkandis/romande/"
                                     "source/fonts/romande/"
                                     "tex/latex/romande/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xvahacjs8g5bl7yy89wi50m894r2402d5203ai79fk9d7rbc116"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/romandeadf")
    (synopsis "Romande ADF fonts and LaTeX support")
    (description
     "Romande ADF is a serif font family with oldstyle figures, designed as
a substitute for Times, Tiffany or Caslon.  The family currently includes
upright, italic and small-caps shapes in each of regular and demi-bold weights
and an italic script in regular.  The support package renames the fonts
according to the Karl Berry fontname scheme and defines four families.  Two of
these primarily provide access to the standard, or default, characters while
the alternate families support alternate characters, additional ligatures and
the long @emph{s}.  The included package files provide access to these
features in LaTeX.")
    (license license:lppl)))

(define-public texlive-rosario
  (package
    (name "texlive-rosario")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/rosario/"
                                     "fonts/enc/dvips/rosario/"
                                     "fonts/map/dvips/rosario/"
                                     "fonts/opentype/public/rosario/"
                                     "fonts/tfm/public/rosario/"
                                     "fonts/type1/public/rosario/"
                                     "fonts/vf/public/rosario/"
                                     "source/fonts/rosario/"
                                     "tex/latex/rosario/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bmz2xzx1xi3vn9s4wqij65nq54k9bc0kbxgnzd0p6q030g5yqby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rosario")
    (synopsis "Using the Rosario fonts with LaTeX")
    (description
     "The package provides the files required to use the Rosario fonts with
LaTeX.  Rosario is a set of four fonts provided by Hector Gatti.")
    (license license:lppl1.3c)))

(define-public texlive-rsfso
  (package
    (name "texlive-rsfso")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/rsfso/" "fonts/map/dvips/rsfso/"
                                     "fonts/tfm/public/rsfso/"
                                     "fonts/vf/public/rsfso/" "tex/latex/rsfso/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fm65p7k0kfiksap2f2g8lqmgdykmhq80ff5qgma4cnqa4sa3jza"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rsfso")
    (synopsis "Mathematical calligraphic font based on @code{rsfs}")
    (description
     "The package provides virtual fonts and LaTeX support files for
mathematical calligraphic fonts based on the @code{rsfs} Adobe Type 1 fonts,
with the slant substantially reduced.  The output is quite similar to that
from the Adobe Mathematical Pi script font.")
    (license license:lppl)))

(define-public texlive-rrgtrees
  (package
    (name "texlive-rrgtrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rrgtrees/"
                                     "source/latex/rrgtrees/"
                                     "tex/latex/rrgtrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h33q32pb1s8zv598aacdzfhpk2psrzxgxnav6am16cxfri60hpi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rrgtrees")
    (synopsis
     "Linguistic tree diagrams for Role and Reference Grammar (RRG) with LaTeX")
    (description
     "This package provides a set of LaTeX macros that makes it easy to
produce linguistic tree diagrams suitable for Role and Reference
Grammar (RRG).  This package allows the construction of trees with crossing
lines, as is required by this theory for many languages.")
    (license license:lppl)))

(define-public texlive-rsc
  (package
    (name "texlive-rsc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/rsc/" "doc/latex/rsc/"
                                     "source/latex/rsc/" "tex/latex/rsc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fgc54fyikrgx81gfhv7mab6sqj4xjz6pyrkxk8jnlwwqrsk0yxb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rsc")
    (synopsis "BibTeX style for use with RSC journals")
    (description
     "The @code{rsc} package provides a BibTeX style in accordance with the
requirements of the Royal Society of Chemistry.  It was originally based on
the file @file{pccp.bst}, but also implements a number of styles from the
@code{achemso} package.  The package is now a stub for the @code{chemstyle}.")
    (license license:lppl1.3+)))

(define-public texlive-rtklage
  (package
    (name "texlive-rtklage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rtklage/" "tex/latex/rtklage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p9z4dgh572n7j6b8vf8aqag8ybqw3xzsh5kab1czks2774gm7cq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ratex")
    (synopsis "Package for German lawyers")
    (description
     "RATeX is a newly developed bundle of packages and classes provided for
German lawyers.  Now in the early beginning it only contains @code{rtklage},
a class to make lawsuits.")
    (license license:lppl)))

(define-public texlive-rubik
  (package
    (name "texlive-rubik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rubik/"
                                     "doc/man/man1/rubikrotation.1"
                                     "doc/man/man1/rubikrotation.man1.pdf"
                                     "scripts/rubik/"
                                     "source/latex/rubik/"
                                     "tex/latex/rubik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v7j88d72acgrj24x8g859k7q6qd47pjy3wdqfvrqq3y39x48011"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "rubikrotation.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/rubik")
    (synopsis "Document Rubik cube configurations and rotation sequences")
    (description
     "The bundle provides four packages:
@itemize

@item @code{rubikcube} provides commands for typesetting Rubik cubes
and their transformations,

@item @code{rubiktwocube} provides commands for typesetting Rubik
twocubes and their transformations,

@item @code{rubikrotation} can process a sequence of Rubik rotation
moves, with the help of a Perl package executed via
@code{\\write18} (shell escape) commands,

@item @code{rubikpatterns} is a collection of well known patterns and
their associated rotation sequences.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-rutitlepage
  (package
    (name "texlive-rutitlepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rutitlepage/"
                                     "source/latex/rutitlepage/"
                                     "tex/latex/rutitlepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pcd6cqlm3r7wq9k96ignvars436hg9j5la4aaq35ldm01sqy268"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rutitlepage")
    (synopsis "Radboud University titlepage package")
    (description
     "This is an unofficial LaTeX package to generate titlepages for the
Radboud University, Nijmegen.  It uses official vector logos from the
university.")
    (license license:lppl1.3+)))

(define-public texlive-ryersonsgsthesis
  (package
    (name "texlive-ryersonsgsthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ryersonsgsthesis/"
                                     "tex/latex/ryersonsgsthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "170z5xqxwbx999dxlxhwf7mbml6j4pak6a8lgi4vbj8ii4njlygb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ryersonsgsthesis")
    (synopsis "Ryerson School of Graduate Studies thesis template")
    (description
     "This package provides a LaTeX class and template files for Ryerson
School of Graduate Studies (SGS) theses.")
    (license license:asl2.0)))

(define-public texlive-ryethesis
  (package
    (name "texlive-ryethesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ryethesis/"
                                     "source/latex/ryethesis/"
                                     "tex/latex/ryethesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xjzl1ng0nbcakiasi6sfbkannfipcfv96crq6y6cb7p7l707wg7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ryethesis")
    (synopsis "Class for Ryerson Unversity Graduate School requirements")
    (description
     "The class offers support for formatting a thesis, dissertation or
project according to Ryerson University's School of Graduate Studies thesis
formatting regulations.")
    (license license:lppl1.3+)))

(define-public texlive-sageep
  (package
    (name "texlive-sageep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/sageep/" "doc/latex/sageep/"
                                     "source/latex/sageep/" "tex/latex/sageep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xmfqqsabc7vv3rh74qlry5jkvp0ddyi8m4yynriv5vzyqigfw5y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sageep")
    (synopsis "Format papers for the annual meeting of EEGS")
    (description
     "The class provides formatting for papers for the annual meeting of the
@acronym{EEGS, Environmental and Engineering Geophysical Society}: Application
of Geophysics to Engineering and Environmental Problems, known as SAGEEP.")
    (license license:lppl)))

(define-public texlive-sankey
  (package
    (name "texlive-sankey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sankey/" "source/latex/sankey/"
                                     "tex/latex/sankey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "020in4r4pim07nya119767zjs90yqpkcyr6h6l5v7ig21n4q7d8s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sankey")
    (synopsis "Draw Sankey diagrams with TikZ")
    (description
     "This package provides macros and an environment for creating Sankey
diagrams, i.e., flow diagrams in which the width of the arrows is proportional
to the flow rate.")
    (license (list license:lppl1.3+ license:gpl3+))))

(define-public texlive-sansmathaccent
  (package
    (name "texlive-sansmathaccent")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/sansmathaccent/"
                                     "fonts/map/dvips/sansmathaccent/"
                                     "fonts/tfm/public/sansmathaccent/"
                                     "fonts/vf/public/sansmathaccent/"
                                     "tex/latex/sansmathaccent/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03xd3wpmzrggpmjrff4ka56v2zycbznlcdfyvz74xxjnngxz81qm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sansmathaccent")
    (synopsis "Correct placement of accents in sans-serif maths")
    (description
     "Sans serif maths (produced by the @code{beamer} class or the
@code{sfmath} package) often has accents positioned incorrectly.  This package
fixes the positioning of such accents when the default font (@code{cmssi}) is
used for sans serif maths.")
    (license license:lppl1.3+)))

(define-public texlive-sapthesis
  (package
    (name "texlive-sapthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/sapthesis/"
                                     "doc/latex/sapthesis/"
                                     "tex/latex/sapthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15livlw0xbc6ys408pqqvh3qvzphigar9cr57dd0is4zrh4c2y36"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sapthesis")
    (synopsis "Typeset theses for Sapienza-University, Rome")
    (description
     "The class will typeset PhD, master, and bachelor theses that adhere to
the publishing guidelines of the Sapienza University of Rome.")
    (license license:lppl1.3+)))

(define-public texlive-sasnrdisplay
  (package
    (name "texlive-sasnrdisplay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sasnrdisplay/"
                                     "tex/latex/sasnrdisplay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0siifxzkvgryixypgw7dywr5g7qqqrnbq622qhhyfd4xlgix43in"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sasnrdisplay")
    (synopsis "Typeset SAS or R code or output")
    (description
     "The SASnRdisplay package serves as a front-end to listings, which
permits statisticians and others to import source code and the results of
their calculations or simulations into LaTeX projects.  The package is also
capable of overloading the Sweave User Manual and SASweave packages.")
    (license license:lppl1.3+)))

(define-public texlive-sauterfonts
  (package
    (name "texlive-sauterfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sauterfonts/"
                                     "source/latex/sauterfonts/"
                                     "tex/latex/sauterfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h34vp94i16al0z8zw5xn3igk2hg4nnb507kiv87qxrr3gl11zy4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sauterfonts")
    (synopsis "Use Sauter's fonts in LaTeX")
    (description
     "The package provides font definition files (plus a replacement for the
package @code{exscale}) to access many of the fonts in Sauter's collection.
These fonts are available in all point sizes and look nicer for such
intermediate document sizes as 11pt.  Also included is the package
@code{sbbm}, an alternative to access the BBM fonts.")
    (license license:gpl3+)))

(define-public texlive-schola-otf
  (package
    (name "texlive-schola-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/schola-otf/"
                                     "tex/latex/schola-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ygc9bhdc9qgp20r17am8k7zmc1c1rdra0a56davw5y93zjvyzji"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schola-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Schola")
    (description
     "This package can only be used with LuaLaTeX or XeLaTeX.  It does the
font setting for the OpenType font TeX Gyre Schola for text and math.  The
missing typefaces like bold math and slanted text are also defined.")
    (license license:lppl1.3+)))

(define-public texlive-scholax
  (package
    (name "texlive-scholax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/scholax/"
                                     "fonts/afm/public/scholax/"
                                     "fonts/enc/dvips/scholax/"
                                     "fonts/map/dvips/scholax/"
                                     "fonts/opentype/public/scholax/"
                                     "fonts/tfm/public/scholax/"
                                     "fonts/type1/public/scholax/"
                                     "fonts/vf/public/scholax/"
                                     "tex/latex/scholax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jw09a75gw9favzpfkp4kmwf6wz9kp4jsk8f838rk1x76q213rrw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scholax")
    (synopsis
     "Extension of TeXGyreSchola (New Century Schoolbook) with math support")
    (description
     "This package contains an extension of TeXGyreSchola with extensive
superiors, inferior figures, upright punctuation glyphs added to the Italic
face for a theorem font, plus slanted and bold slanted faces.  Math support is
provided by one of two options to @code{newtxmath}, one of which uses an
adaptation of the Fourier math Greek letters.")
    (license license:lppl)))

(define-public texlive-schule
  (package
    (name "texlive-schule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schule/" "tex/latex/schule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j1qpr8712zailnl6cal11wl27zq2vk456xgx9dza354imxpsjs9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schule")
    (synopsis "Support for teachers at German schools")
    (description
     "The @code{schule} bundle was built to provide packages and commands that
could be useful for documents in German schools.  At the moment, its main
focus lies on documents for informatics as a school subject.  An extension for
physics is currently in progress.

For the time being, the whole package splits up into individual packages for
informatics (including syntax diagrams, Nassi-Shneiderman diagrams, sequence
diagrams, object diagrams, and class diagrams) as well as classes for written
exams (tests, quizzes, teaching observations, information sheets, worksheets,
and answer keys).")
    (license license:lppl1.3+)))

(define-public texlive-schulschriften
  (package
    (name "texlive-schulschriften")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/schulschriften/"
                                     "fonts/source/public/schulschriften/"
                                     "fonts/tfm/public/schulschriften/"
                                     "tex/latex/schulschriften/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14nbgqr213zfm1y50bh0ggs40zpi1lfjmc4yc5mprwf7q174zrbr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/schulschriften")
    (synopsis "German school scripts from Suetterlin to the present day")
    (description
     "This package provides the Metafont sources for the following school
fonts: Das Paket enthalt im wesentlichen die Metafont-Quellfiles fur die
folgenden Schulausgangsschriften: Suetterlinschrift, Deutsche Normalschrift,
Lateinische Ausgangsschrift, Schulausgangsschrift, and Vereinfachte
Ausgangsschrift.")
    (license license:lppl)))

(define-public texlive-scientific-thesis-cover
  (package
    (name "texlive-scientific-thesis-cover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scientific-thesis-cover/"
                                     "source/latex/scientific-thesis-cover/"
                                     "tex/latex/scientific-thesis-cover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ny19pczzrrwb20sin1qn914hy1npwxkx573g3n5gm62kzl1vc4k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scientific-thesis-cover")
    (synopsis "Provides cover page and affirmation at the end of a thesis")
    (description
     "Institutions require a cover page and an affirmation at the end of
a thesis.  This package provides both.")
    (license license:lppl1.3c)))

(define-public texlive-shobhika
  (package
    (name "texlive-shobhika")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/shobhika/"
                                     "fonts/opentype/public/shobhika/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a9l8gdn9ddz334dwfdn7vjgrq9jz6b41wph9sgchank4yj0sc64"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shobhika")
    (synopsis "OpenType Devanagari font designed for scholars")
    (description
     "This package provides a Unicode compliant OpenType font with support for
Devanagari, Latin, and Cyrillic scripts.  It is available in two
weights--regular and bold.  The font is designed with over 1600 Devanagari
glyphs, including support for over 1100 conjunct consonants, as well as vedic
accents.  The Latin component of the font not only supports a wide range of
characters required for Roman transliteration of Sanskrit, but also provides
a subset of regularly used mathematical symbols for scholars working with
scientific and technical documents.")
    (license license:silofl1.1)))

(define-public texlive-schwalbe-chess
  (package
    (name "texlive-schwalbe-chess")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schwalbe-chess/"
                                     "source/latex/schwalbe-chess/"
                                     "tex/latex/schwalbe-chess/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i68bl4hb7cagwwb4lyihvdnwgd0irgqp7344m5kmsdxy7z94fmr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schwalbe-chess")
    (synopsis "Typeset the German chess magazine @emph{Die Schwalbe}")
    (description
     "The package is used to typeset the German chess magazine @emph{Die
Schwalbe}.  It is based on @code{chess-problem-diagrams}, which in its turn
has a dependency on the @code{bartel-chess-fonts}.")
    (license license:lppl1.2+)))

(define-public texlive-sciposter
  (package
    (name "texlive-sciposter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sciposter/"
                                     "tex/latex/sciposter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d4bfzx08df0vx805rhmcsl9b79lqglqbzg0i8y4rk9z9qbaajrq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sciposter")
    (synopsis "Make posters of ISO A3 size and larger")
    (description
     "This collection of files contains LaTeX packages for posters of ISO A3
size and larger (ISO A0 is the default size).  American paper sizes and custom
paper are supported.  In particular, @file{sciposter.cls} defines a document
class which allows cutting and pasting most of an article to a poster without
any editing (save reducing the size).")
    (license license:lppl)))

(define-public texlive-sclang-prettifier
  (package
    (name "texlive-sclang-prettifier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sclang-prettifier/"
                                     "source/latex/sclang-prettifier/"
                                     "tex/latex/sclang-prettifier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pjqhwnz7lihl4yqxr0xgfdxnsj2p7k10vj5y7smjyv0p93lqvaw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sclang-prettifier")
    (synopsis "Pretty-printing SuperCollider source code")
    (description
     "Built on top of the @code{listings} package, the package allows
effortless pretty-printing of SuperCollider source code in documents typeset
with LaTeX and friends.")
    (license license:lppl1.3+)))

(define-public texlive-scrabble
  (package
    (name "texlive-scrabble")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scrabble/" "tex/latex/scrabble/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zqqwxh4v7jmx7hamrhkix98b2my3j4kqfz5s1p5c5vq40dvfha3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scrabble")
    (synopsis "Commands for Scrabble boards")
    (description
     "This package provides some commands (in English and in French) to work
with a Scrabble board.")
    (license license:lppl1.3c)))

(define-public texlive-scratchx
  (package
    (name "texlive-scratchx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scratchx/" "tex/latex/scratchx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vy8599n8hxrvjc063p1dis0y7y221rlcwxxxryvibhz2kk7zwc2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scratchx")
    (synopsis "Include Scratch programs in LaTeX documents")
    (description
     "This package can be used to include every kind of Scratch program in
LaTeX documents.  This may be particularly useful for Math Teachers and IT
specialists.")
    (license license:lppl1.3c)))

(define-public texlive-screenplay
  (package
    (name "texlive-screenplay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/screenplay/"
                                     "source/latex/screenplay/"
                                     "tex/latex/screenplay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16vw7ikxblzlmamz0d95d0zj6vzhdg75w0q645sfh75pj7v6b1v0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/screenplay")
    (synopsis "Class file to typeset screenplays")
    (description
     "The class implements the format recommended by the Academy of Motion
Picture Arts and Sciences.")
    (license license:gpl3+)))

(define-public texlive-screenplay-pkg
  (package
    (name "texlive-screenplay-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/screenplay-pkg/"
                                     "tex/latex/screenplay-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07xl6631yjjx56whl1vl4mzdcn8k63i624lspxiw18ppfrxdh3an"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/screenplay-pkg")
    (synopsis "Package version of the screenplay document class")
    (description
     "This package implements the tools of the @code{screenplay} document
class in the form of a package so that screenplay fragments can be included
within another document class.")
    (license license:lppl1.3+)))

(define-public texlive-scripture
  (package
    (name "texlive-scripture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scripture/"
                                     "source/latex/scripture/"
                                     "tex/latex/scripture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d57w9av2ysji31sm8qafi29irhvz7ds22jjx6ckm00idqbxvn9i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scripture")
    (synopsis "LaTeX style for typesetting @emph{Bible} quotations")
    (description
     "The @code{scripture} package provides a set of macros for typesetting
quotations from the @emph{Bible}.  It provides many features commonly seen in
bibles such as dropped text for chapter numbers, superscripts for verse
numbers, indented lines for poetry sections, narrow sections and hanging
paragraphs.  A reference for the quotation can optionally be added.")
    (license license:lppl1.3c)))

(define-public texlive-scrjrnl
  (package
    (name "texlive-scrjrnl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scrjrnl/" "source/latex/scrjrnl/"
                                     "tex/latex/scrjrnl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10smy8cq2papzv63q5lsharxcn1l1ln97fhrd39wm2jf48967lbn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scrjrnl")
    (synopsis "Typeset diaries or journals")
    (description
     "This package provides a class, based on @code{scrbook}, designed for
typesetting diaries, journals or devotionals.")
    (license license:lppl1.3+)))

(define-public texlive-sduthesis
  (package
    (name "texlive-sduthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sduthesis/"
                                     "source/latex/sduthesis/"
                                     "tex/latex/sduthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c9dmgjbxc0xyphi4hcb9yilmhh6hg0l2r4vkyjds3xgii7kwkn7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sduthesis")
    (synopsis "Thesis template of Shandong University")
    (description
     "This package provides a thesis template of Shandong University.")
    (license license:lppl1.3+)))

(define-public texlive-se2thesis
  (package
    (name "texlive-se2thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/se2thesis/"
                                     "source/latex/se2thesis/"
                                     "tex/latex/se2thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02hlq4pr0bn33x45azbajxyqp4bh3lb9bvr338pki04qdjja9ayg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/se2thesis")
    (synopsis
     "Thesis class for the Chair of Software Engineering II at the
University of Passau, Germany")
    (description
     "The @code{se2thesis} bundle provides a document class for writing
a theses with the Chair of Software Engineering II at the University of
Passau, Germany.  The class is based on KOMA-Script classes.  While the class
provides some basic settings, mostly regrading the type area, fonts, and the
title page, it still provides large degrees of freedom to its users.")
    (license license:lppl1.3c)))

(define-public texlive-serbian-apostrophe
  (package
    (name "texlive-serbian-apostrophe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-apostrophe/"
                                     "tex/latex/serbian-apostrophe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hkgm4q74kn172nr5whlwjq88sfqm66cvnsv7nidcqssybnn5891"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-apostrophe")
    (synopsis "Commands for Serbian words with apostrophes")
    (description
     "The package provides a collection of commands (whose names are Serbian
words) whose expansion is the Serbian word with appropriate apostrophes.")
    (license license:lppl1.3+)))

(define-public texlive-serbian-date-lat
  (package
    (name "texlive-serbian-date-lat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-date-lat/"
                                     "tex/latex/serbian-date-lat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m23r2i2dxw4xnxih94iyiwk4a5ggvn7wkqhp8ai5va5grp36kfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-date-lat")
    (synopsis "Updated date typesetting for Serbian")
    (description
     "Babel defines dates for Serbian texts, in Latin script.  The style it
uses does not match current practices.  The present package defines
a @code{\\date} command that solves the problem.")
    (license license:gpl2)))

(define-public texlive-serbian-def-cyr
  (package
    (name "texlive-serbian-def-cyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-def-cyr/"
                                     "tex/latex/serbian-def-cyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "116sgzxvny1hbkfc5s8bxirk9zshyv8qdd2fdr8iwqjfd7lhx03i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-def-cyr")
    (synopsis "Serbian Cyrillic localization")
    (description
     "This package provides abstract, chapter, title, date etc, for Serbian
language in Cyrillic scripts in T2A encoding and CP1251 code pages.")
    (license license:lppl1.3+)))

(define-public texlive-serbian-lig
  (package
    (name "texlive-serbian-lig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/serbian-lig/"
                                     "tex/latex/serbian-lig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vq33mr8br7z7y5ayb5wmhy0ralgx6alb9kmhaahdx8a105dl81b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-lig")
    (synopsis "Control ligatures in Serbian")
    (description
     "The package suppresses @samp{fi} and @samp{fl} (and other ligatures) in
Serbian text written using Roman script.")
    (license license:lppl1.3+)))

(define-public texlive-sesamanuel
  (package
    (name "texlive-sesamanuel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sesamanuel/"
                                     "source/latex/sesamanuel/"
                                     "tex/latex/sesamanuel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jgr6syi26qbzdg37rq4d633klgb7s5bp1k3zvb3r538bawag8kc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sesamanuel")
    (synopsis "Class and package for sesamath books or paper")
    (description
     "The package contains a @code{sesamanuel} class which could be used to
compose a student's classroom book with LaTeX, and also
a @code{sesamanuelTIKZ} style to be used for TikZ pictures in the Sesamath
book.")
    (license license:lppl1.3+)))

(define-public texlive-seu-ml-assign
  (package
    (name "texlive-seu-ml-assign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/seu-ml-assign/"
                                     "tex/latex/seu-ml-assign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w8dhp0kmgi9ywskq772ccj5n0kd7j55y15xwm3ss3jjdh4vzh8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seu-ml-assign")
    (synopsis "Southeast University Machine Learning Assignment template")
    (description
     "This is a template for the Southeast University Machine Learning
Assignment that can be easily adapted to other usages.  This template features
a colorful theme that makes it look elegant and attractive.")
    (license license:expat)))

(define-public texlive-seuthesis
  (package
    (name "texlive-seuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/seuthesis/"
                                     "doc/latex/seuthesis/"
                                     "source/latex/seuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gb1bql0llnms1c18xzp4g8j16zffinjjydiv4gsasyvxc0p8c5n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seuthesis")
    (synopsis "LaTeX template for theses at Southeastern University")
    (description
     "This template is for theses at Southeastern University, Nanjing,
China.")
    (license license:gpl3)))

(define-public texlive-seuthesix
  (package
    (name "texlive-seuthesix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/seuthesix/"
                                     "doc/latex/seuthesix/"
                                     "source/latex/seuthesix/"
                                     "tex/latex/seuthesix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k87ib96pbihph399rc3kl1c3ncb4w4ljmwmvw880vvrxvz8mxjs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seuthesix")
    (synopsis "LaTeX class for theses at Southeast University, Nanjing, China")
    (description
     "This project provides a LaTeX document class as well as a bibliography
style file for typesetting theses at the Southeast University, Nanjing, China.
It is based on the @code{seuthesis}.")
    (license license:gpl3)))

(define-public texlive-sfg
  (package
    (name "texlive-sfg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sfg/" "tex/latex/sfg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bckiy5ahbbv69fdam1k74n5f7ikhmc3d08hh9770w4aqs6k017b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sfg")
    (synopsis "Draw signal flow graphs")
    (description
     "This package defines some commands to draw signal flow graphs as used by
electrical and electronics engineers and graph theorists.")
    (license license:lppl)))

(define-public texlive-sgame
  (package
    (name "texlive-sgame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sgame/" "tex/latex/sgame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kzrimwmgwa3f61vawc1fq5vvgx4pxa2586wqhd4cf66ywdikn0v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sgame")
    (synopsis "LaTeX style for typesetting strategic games")
    (description
     "This package can be used to format strategic games.  For a 2x2 game,
for example, the input: @samp{\\begin@{game@}{2}{2} &$L$ &$M$\\\\ $T$ &$2,2$
&$2,0$\\\\ $B$ &$3,0$ &$0,9$ \\end@{game@}} produces output with (a) boxes
around the payoffs, (b) payoff columns of equal width, and (c) payoffs
vertically centered within the boxes.")
    (license license:lppl)))

(define-public texlive-shortmathj
  (package
    (name "texlive-shortmathj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shortmathj/"
                                     "tex/latex/shortmathj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rkrskx2fay7h6naa995l46xjj8v3ffdd6kx6fq6fknr091yfp7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shortmathj")
    (synopsis "Automatically shortify titles of mathematical journals")
    (description
     "This small dummy package just contains a simple list of full and short
journal names as written in AMS standard:
@url{https://mathscinet.ams.org/msnhtml/serials.pdf}.")
    (license license:lppl1.3c)))

(define-public texlive-showtags
  (package
    (name "texlive-showtags")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/showtags/" "tex/latex/showtags/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0690p94mmlwhg06wzisa73w4445yg3ljy98haqf65acrcb09rl6j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showtags")
    (synopsis "Print the tags of bibliography entries")
    (description
     "This package prints the tag right-aligned on each line of the
bibliography.")
    (license license:public-domain)))

(define-public texlive-shtthesis
  (package
    (name "texlive-shtthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shtthesis/"
                                     "tex/latex/shtthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l7vfqvfcgpndp5kmpdx4d9w89b83j5s2kwkr37hih9cp9l3n9vz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-alphalph
           texlive-biber
           texlive-biblatex
           texlive-biblatex-gb7714-2015
           texlive-booktabs
           texlive-caption
           texlive-colortbl
           texlive-ctex
           texlive-datetime
           texlive-enumitem
           texlive-fancyhdr
           texlive-fmtcount
           texlive-lastpage
           texlive-latexmk
           texlive-listings
           texlive-lua-alt-getopt
           texlive-lualatex-math
           texlive-mathtools
           texlive-ntheorem
           texlive-tex-gyre
           texlive-tocvsec2
           texlive-transparent
           texlive-undolabl
           texlive-unicode-math
           texlive-xits
           texlive-xstring))
    (home-page "https://ctan.org/pkg/shtthesis")
    (synopsis "Unofficial LaTeX thesis template for ShanghaiTech University")
    (description
     "This package, forked from @code{ucasthesis}, is an unofficial LaTeX
thesis template for ShanghaiTech University and satisfies all format
requirements of the school.")
    (license license:gpl3)))

(define-public texlive-shuffle
  (package
    (name "texlive-shuffle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shuffle/"
                                     "fonts/source/public/shuffle/"
                                     "fonts/tfm/public/shuffle/"
                                     "source/latex/shuffle/" "tex/latex/shuffle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06ah481pi9bdbh1f9kpk66wa8yv9qbaif1b3l80415wcxijsxp24"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/shuffle")
    (synopsis "Symbol for the shuffle product")
    (description
     "The bundle provides a LaTeX package and a font (as Metafont source) for
the shuffle product which is used in some part of mathematics and physics.")
    (license license:public-domain)))

(define-public texlive-sides
  (package
    (name "texlive-sides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sides/" "tex/latex/sides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lffwhb6px6f09f8jk6r9kvfh49dl5n0461b261mk2sr6fgyxrfz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sides")
    (synopsis "LaTeX class for typesetting stage plays")
    (description
     "This is a LaTeX class for typesetting stage plays, based on the
@code{plari} class.  It has been updated and several formatting changes have
been made to it.")
    (license license:gpl3+)))

(define-public texlive-simplebnf
  (package
    (name "texlive-simplebnf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplebnf/"
                                     "tex/latex/simplebnf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iwqhk0nk1bbc6sxx8ylywv8ag1g32ncck44cf7gan22nm1y3xb2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplebnf")
    (synopsis "Simple package to format Backus-Naur form (BNF)")
    (description
     "This package provides a simple way to format Backus-Naur form (BNF).
The included @code{bnfgrammar} environment parses BNF expressions (possibly
annotated), so users can write readable BNF expressions in their documents.")
    (license license:expat)))

(define-public texlive-simpleicons
  (package
    (name "texlive-simpleicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/simpleicons/"
                                     "fonts/enc/dvips/simpleicons/"
                                     "fonts/map/dvips/simpleicons/"
                                     "fonts/opentype/public/simpleicons/"
                                     "fonts/tfm/public/simpleicons/"
                                     "fonts/type1/public/simpleicons/"
                                     "tex/latex/simpleicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k4dlyh9fng6358sp4njy51rh0165qipwaj5vpjljv2i3xbi7rxk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simpleicons")
    (synopsis "Simple Icons for LaTeX")
    (description
     "Similar to FontAwesome icons being provided on LaTeX by the
@code{fontawesome} package, this package aims to do the same with
@url{https://simpleicons.org/, Simple Icons}.")
    (license license:cc0)))

(define-public texlive-simpler-wick
  (package
    (name "texlive-simpler-wick")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simpler-wick/"
                                     "tex/latex/simpler-wick/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iicdx5n0ifjwifxk6i0242hkk388jz1mz01zpmznixjlhx780ni"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simpler-wick")
    (synopsis "Simpler Wick contractions")
    (description
     "In every quantum field theory course, there will be a chapter about
Wick's theorem and how it can be used to convert a very large product of many
creation and annihilation operators into something more tractable and normal
ordered.  The contractions are denoted with a square bracket over the
operators which are being contracted, which used to be rather annoying to
typeset in LaTeX as the only other package available was simplewick, which is
rather unwieldy.  This package provides a simpler syntax for Wick
contractions.")
    (license license:lppl1.3+)))

(define-public texlive-simples-matrices
  (package
    (name "texlive-simples-matrices")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simples-matrices/"
                                     "source/latex/simples-matrices/"
                                     "tex/latex/simples-matrices/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dvb989qf0ibgax0rjj49y827f9mzls0axdh28a6ar0r6dfvyjb3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simples-matrices")
    (synopsis "Define matrices by given list of values")
    (description
     "This package provides macros to define and write matrices whose
coefficients are given row by row in a list of values separated by commas.")
    (license license:lppl1.3c)))

(define-public texlive-simplewick
  (package
    (name "texlive-simplewick")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplewick/"
                                     "source/latex/simplewick/"
                                     "tex/latex/simplewick/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13c5hk9f8cw48j08qb0i4vh649n9maq7kjs1cf0zfmkdiqi3b6iw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplewick")
    (synopsis "Simple Wick contractions")
    (description
     "The package provides a simple means of drawing Wick contractions above
and below expressions.")
    (license license:gpl3+)))

(define-public texlive-sistyle
  (package
    (name "texlive-sistyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sistyle/" "source/latex/sistyle/"
                                     "tex/latex/sistyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y53ijyzridia40a5wrpgff74n6shbdh7xbn1n56ciqfgjn4rdq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sistyle")
    (synopsis "Package to typeset SI units, numbers and angles")
    (description
     "This package typesets SI units, numbers and angles according to the ISO
requirements.  Care is taken with font setup and requirements, and language
customisation is available.  Note that this package is (in principle)
superseded by @code{siunitx}; @code{sistyle} has maintenance-only support,
now.")
    (license license:lppl)))

(define-public texlive-siunits
  (package
    (name "texlive-siunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/siunits/" "source/latex/siunits/"
                                     "tex/latex/siunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lw9qjb1bnk357z20yri3lhcvxdnknb7yymb6hh5y8jb61pskns4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/siunits")
    (synopsis "International System of Units")
    (description
     "This package typesets physical units following the rules of the
International System of Units (SI).  Note that the package is now superseded
by @code{siunitx}; @code{siunits} has maintenance-only support, now.")
    (license license:lppl1.3+)))

(define-public texlive-skak
  (package
    (name "texlive-skak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skak/"
                                     "fonts/source/public/skak/"
                                     "fonts/tfm/public/skak/" "tex/latex/skak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12fbzvyz40fnb9v5y80wkmv1fmvi7frbyv28k68lagdalm7mwp3b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/skak")
    (synopsis "Fonts and macros for typesetting chess games")
    (description
     "This package provides macros and fonts in Metafont format which can be
used to typeset chess games using PGN, and to show diagrams of the current
board in a document.  An Adobe Type 1 implementation of skak's fonts is
available as package @code{skaknew}; an alternative chess notational scheme is
available in package @code{texmate}, and a general mechanism for selecting
chess fonts is provided in @code{chessfss}.")
    (license license:lppl)))

(define-public texlive-skaknew
  (package
    (name "texlive-skaknew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/skaknew/"
                                     "fonts/afm/public/skaknew/"
                                     "fonts/map/dvips/skaknew/"
                                     "fonts/opentype/public/skaknew/"
                                     "fonts/tfm/public/skaknew/"
                                     "fonts/type1/public/skaknew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jpm36qb65jbsrhq1yqhwajqz3jg35wid0wlav9hk7q4hd58qi4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skaknew")
    (synopsis "The @code{skak} chess fonts redone in Adobe Type 1")
    (description
     "This package offers Adobe Type 1 versions of the fonts provided as
Metafont source by the @code{skak} bundle.")
    (license license:lppl)))

(define-public texlive-skmath
  (package
    (name "texlive-skmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skmath/" "source/latex/skmath/"
                                     "tex/latex/skmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0si369hs7550v26mm3wcp69vnyr5ci2iqa6k2b8nv8wbjpcsb9jc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skmath")
    (synopsis "Extensions to the maths command repertoire")
    (description
     "The package provides a selection of new maths commands and improved
re-definitions of existing commands.")
    (license license:lppl1.3+)))

(define-public texlive-skull
  (package
    (name "texlive-skull")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/skull/"
                                     "fonts/tfm/public/skull/"
                                     "source/fonts/skull/" "tex/latex/skull/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vnqi8c5f1a78naa9pvsl43748bm52i3qhjcv96bwcf59miih730"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/skull")
    (synopsis "Font to draw a skull")
    (description
     "The font (defined in Metafont) defines a single character, a black solid
skull.  A package is supplied to make this character available as a symbol in
maths mode.")
    (license license:gpl3+)))

(define-public texlive-smflatex
  (package
    (name "texlive-smflatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/smflatex/" "doc/latex/smflatex/"
                                     "source/latex/smflatex/"
                                     "tex/latex/smflatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "160bdav5rzx2hzaqxqcmlc841awr7ks1k0bmpj8kq3gzzz1pqnwj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/smflatex")
    (synopsis "Classes for @emph{Societe mathematique de France} publications")
    (description
     "The @emph{Societe mathematique de France} provides a set of classes,
packages and BibTeX styles that are used in its publications.  They are based
on AMS classes.  Besides a quite different design, their main features are:

@itemize

@item new environments for typesetting some information in two languages
@code{altabstract}, @code{alttitle}, @code{altkeywords});

@item if necessary, use of Babel (option @code{frenchb});

@item deactivation of some features of @code{frenchb}.

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-songbook
  (package
    (name "texlive-songbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/songbook/" "makeindex/songbook/"
                                     "source/latex/songbook/"
                                     "tex/latex/songbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ab4l130dyzaslqmy7vm71rszwszw11kqzkn0b5fb680kxvsyicf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/songbook")
    (synopsis "Package for typesetting song lyrics and chord books")
    (description
     "The package provides an all purpose songbook style.  Three types of
output may be created from a single input file: ``words and chords'' books for
the musicians to play from, ``words only'' songbooks for the congregation to
sing from, and overhead transparency masters for congregational use.

The package will also print a table of contents, an index sorted by title and
first line, and an index sorted by key, or by artist/composer.  The package
attempts to handle songs in multiple keys, as well as songs in multiple
languages.")
    (license license:lgpl2.1)))

(define-public texlive-songproj
  (package
    (name "texlive-songproj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/songproj/"
                                     "source/latex/songproj/"
                                     "tex/latex/songproj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h9v91fza4bj5fv157rdnbzy208a7l8j9w4mlj8gmvk4lxxkwzkk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/songproj")
    (synopsis "Generate Beamer slideshows with song lyrics")
    (description
     "This package, together with the Beamer class, is used to generate
slideshows with song lyrics.  This is typically used in religious services in
churches equipped with a projector, for which this package has been written,
but it can be useful for any type of singing assembly.  It provides
environments to describe a song in a natural way, and formatting it into
slides with overlays.  The package comes with an additional Python script that
can be used to convert plain-text song lyrics to the expected LaTeX markup.")
    (license license:bsd-3)))

(define-public texlive-songs
  (package
    (name "texlive-songs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/songs/" "source/latex/songs/"
                                     "tex/latex/songs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mgzkh6cvq3smwjlkvd1gnhb7m151fgiv7f4v3drjqlsjyg2qds6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/songs")
    (synopsis "Produce song books for church or fellowship")
    (description
     "The package provides a means of producing beautiful song books for
church or fellowship.  It offers:
@itemize
@item a very easy chord-entry syntax;
@item multiple modes (words-only; words+chords; slides; handouts);
@item measure bars;
@item guitar tablatures;
@item automatic transposition;
@item scripture quotations;
@item multiple indexes (sorted by title, author, important lyrics, or
scripture references);
@item and projector-style output generation, for interactive use.
@end itemize")
    (license license:gpl2)))

(define-public texlive-sort-by-letters
  (package
    (name "texlive-sort-by-letters")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/sort-by-letters/"
                                     "doc/bibtex/sort-by-letters/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zsc6a97q5wjdgxcl7mjlbxzhj5xpfi4zi8ym1962l97dj4a96n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sort-by-letters")
    (synopsis "Bibliography styles for alphabetic sorting")
    (description
     "This bundle contains several bibliography styles for separating
a document's references by the first letter of the first author/editor in the
bibliography entry.  The styles are adapted from standard ones or from
@code{natbib} ones.")
    (license license:knuth)))

(define-public texlive-soton
  (package
    (name "texlive-soton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/soton/" "tex/latex/soton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ib4i98x14g5bl4l5bd9ciw6aay5n6fihkyzfls52l5y9vpyglix"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/soton")
    (synopsis "University of Southampton-compliant slides")
    (description
     "The bundle contains two packages: @code{soton-palette} which defines
colour-ways, and @code{soton-beamer}, which uses the colours to produce
compliant presentations.")
    (license license:lppl)))

(define-public texlive-soup
  (package
    (name "texlive-soup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/soup/" "source/latex/soup/"
                                     "tex/latex/soup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04lpc3nn45i66cwnjn0sycdpfaynzkb19djyfi8ca3ppb1sn79z6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/soup")
    (synopsis "Generate alphabet soup puzzles")
    (description
     "This package generates alphabet soup puzzles (aka word search puzzles),
and variations using numbers or other symbols.  It provides macros to generate
an alphabet soup style puzzle (also known as word search puzzles or
find-the-word puzzles).  It also allows creating number soup and soups with
custom symbol sets.")
    (license license:lppl1.3+)))

(define-public texlive-spalign
  (package
    (name "texlive-spalign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spalign/" "source/latex/spalign/"
                                     "tex/latex/spalign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1paxgykj07y8l5gbcz2823bn80s6y81zabqx67k0j0513ag75grf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spalign")
    (synopsis
     "Typeset matrices and arrays with spaces and semicolons as delimiters")
    (description
     "The purpose of this package is to decrease the number of keystrokes
needed to typeset small amounts of aligned material (matrices, arrays, etc.).
It provides a facility for typing alignment environments and macros with
spaces as the alignment delimiter and semicolons (by default) as the
end-of-row indicator.  This package also contains utility macros for
typesetting augmented matrices, vectors, arrays, systems of equations, and
more, and is easily extendable to other situations that use alignments.
People who have to typeset a large number of matrices (like linear algebra
teachers) should find this package to be a real time saver.")
    (license license:lppl1.3+)))

(define-public texlive-spbmark
  (package
    (name "texlive-spbmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spbmark/" "tex/latex/spbmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yyrl3367zaibn20pcxry2pcmhjh46ny1qaf7nc2syqhsyv12hnd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spbmark")
    (synopsis "Customize superscripts and subscripts")
    (description
     "This package provides three commands @code{\\super}, @code{\\sub} and
@code{\\supersub} to improve the layout of superscripts and subscripts which
can be adjusted with respect to relative position and format, and can be used
in text and math mode.")
    (license license:cc-by4.0)))

(define-public texlive-spectral
  (package
    (name "texlive-spectral")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/spectral/"
                                     "fonts/enc/dvips/spectral/"
                                     "fonts/map/dvips/spectral/"
                                     "fonts/tfm/production/spectral/"
                                     "fonts/truetype/production/spectral/"
                                     "fonts/type1/production/spectral/"
                                     "fonts/vf/production/spectral/"
                                     "tex/latex/spectral/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i5ijzzk18m65ibf8igll22992wgfxrgr4qpxki0dpynfm0wiwjj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spectral")
    (synopsis "Spectral fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Spectral family of fonts, designed by Jean-Baptiste Levee.  Spectral is
a new and versatile serif face available in seven weights of roman and italic,
with small caps.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-sphdthesis
  (package
    (name "texlive-sphdthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sphdthesis/"
                                     "tex/latex/sphdthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ncll9vd2yh15vp6gqzidrp011d1i2hsmlzfrfz954f9449ydx4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sphdthesis")
    (synopsis "LaTeX template for writing PhD thesis")
    (description
     "The package provides a LaTeX document class for writing a PhD thesis.
By default, the class adheres to the @acronym{NUS, National University of
Singapore} Guidelines on Format of Research Thesis Submitted For Examination.
However, modifying the class for conformation to a different guideline should
not be difficult.")
    (license license:public-domain)))

(define-public texlive-spie
  (package
    (name "texlive-spie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/spie/" "bibtex/bst/spie/"
                                     "doc/latex/spie/" "tex/latex/spie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z4nbm2w96lvwfcj8ghnzarv5f5klriyr3b6jjnb34wd3kw52xg8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spie")
    (synopsis "Support for formatting SPIE Proceedings manuscripts")
    (description
     "This package provides support for formatting SPIE Proceedings
manuscripts.  A class and a BibTeX style are provided.")
    (license license:lppl)))

(define-public texlive-splitbib
  (package
    (name "texlive-splitbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/splitbib/"
                                     "source/latex/splitbib/"
                                     "tex/latex/splitbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18jhdrj9zfnqr4wyazxsqng6a88fwgkw2ka03qskjps8s9pc2fw7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/splitbib")
    (synopsis "Split and reorder your bibliography")
    (description
     "This package enables you to split a bibliography into several categories
and subcategories.  It does not depend on BibTeX: any bibliography may be
split and reordered.")
    (license license:lppl)))

(define-public texlive-sr-vorl
  (package
    (name "texlive-sr-vorl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sr-vorl/" "source/latex/sr-vorl/"
                                     "tex/latex/sr-vorl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1izgzwg6a9i93zfxi0qvfrdgza3q8z5b4nhlhgq072glmdqzymf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sr-vorl")
    (synopsis "Class for Springer books")
    (description
     "This package provides a LaTeX class and templates for books to be
published at Springer Gabler Research, Springer Vieweg Research, Springer
Spektrum Research, Springer VS Research, or Springer VS Forschung.  It may be
used to produce monographs in different formats and several-authors-books
fitting the conditions of the aforementioned publishers.")
    (license license:lppl1.3c)))

(define-public texlive-srbtiks
  (package
    (name "texlive-srbtiks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/srbtiks/"
                                     "fonts/enc/dvips/srbtiks/"
                                     "fonts/map/dvips/srbtiks/"
                                     "fonts/tfm/public/srbtiks/"
                                     "fonts/vf/public/srbtiks/"
                                     "tex/latex/srbtiks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12b4xigicn259ghi5kc6nyk0bqr81kdiqfg0hql9fpwrldvbj4k6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/srbtiks")
    (synopsis "Font STIX2 for Serbian and Macedonian")
    (description
     "The @code{srbtiks} package is the extension of the @code{stix2-type1}
package that enables usage of the STIX2 font in LaTeX for the Serbian and
Macedonian languages.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-srdp-mathematik
  (package
    (name "texlive-srdp-mathematik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/srdp-mathematik/"
                                     "tex/latex/srdp-mathematik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wxgjfb98qjbbp0l87ajly9b3wp3lp4caw9c3f3zw8798midar15"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/srdp-mathematik")
    (synopsis "Typeset Austrian SRDP in mathematics")
    (description
     "This package provides basic commands for the defined formats of the
Austrian @acronym{sRDP, Standardisierte Reife- und Diplomprufung} in
mathematics.  Furthermore, it includes ways to implement answers in the
@file{.tex} file which can optionally be displayed in the PDF file, and it
offers a way to vary the answers in order to create different groups (e.g.,
for tests) easily.")
    (license license:lppl1.3c)))

(define-public texlive-stage
  (package
    (name "texlive-stage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stage/" "source/latex/stage/"
                                     "tex/latex/stage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0789mddzsadiw9fiasjzjdma0f9li8gddf8m9wy5jblnsl2asf5p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stage")
    (synopsis "LaTeX class for stage plays")
    (description
     "@file{stage.cls} is a LaTeX class for creating plays of any length in
a standard manuscript format for production and submission.")
    (license license:lppl1.3+)))

(define-public texlive-stanli
  (package
    (name "texlive-stanli")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stanli/" "tex/latex/stanli/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kspb85303z642qj3c9b2q3g41p612vshn37j7npf3if2gcyyxbq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stanli")
    (synopsis "TikZ Library for Structural Analysis")
    (description
     "STANLI is a STructural ANalysis LIbrary based on PGF/TikZ.  Creating new
assignments and tests, at university, is usually a very time-consuming task,
especially when this includes drawing graphics.  In the field of structural
engineering, those small structures are a key part for teaching.  This package
permits to create such 2D and 3D structures in a very fast and simple way.")
    (license (list license:gpl3+ license:lppl1.3+))))

(define-public texlive-starfont
  (package
    (name "texlive-starfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/starfont/"
                                     "fonts/afm/public/starfont/"
                                     "fonts/map/dvips/starfont/"
                                     "fonts/tfm/public/starfont/"
                                     "fonts/type1/public/starfont/"
                                     "tex/latex/starfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c2vnd5mycr6mnhwxz9gkjvfxwq0l91h2lhvpf49fjlfc3hdnd3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/starfont")
    (synopsis "StarFont Sans astrological font")
    (description
     "The package contains StarFontSans and StarFontSerif, two astrological
fonts designed by Anthony I.P. Owen, and the appropriate macros to use them
with TeX and LaTeX.  The fonts are supplied both in the original TrueType
Format and in Adobe Type 1 format.")
    (license license:public-domain)))

(define-public texlive-startex
  (package
    (name "texlive-startex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/startex/"
                                     "makeindex/startex/"
                                     "source/startex/startex/" "tex/startex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06hyz1bwzvabavkl6j9588skjwx8hc5dmiv8z9n7gr1w9aa9zm7x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/startex")
    (synopsis "XML-inspired format for student use")
    (description
     "This package provides a TeX format designed to help students write short
reports and essays.  It provides the user with a suitable set of commands for
such a task.  It is also more robust than plain TeX and LaTeX.")
    (license license:public-domain)))

(define-public texlive-statex
  (package
    (name "texlive-statex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statex/" "tex/latex/statex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02zd9877kryv749lyxlswdkdfbgc4i1d2vvbkaplxq81njxipxry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statex")
    (synopsis "Statistics style")
    (description
     "This package provides a package defining many macros for items of
significance in statistical presentations.  An updated, but incompatible,
version of the package is available: @code{statex2}.")
    (license license:lppl)))

(define-public texlive-statex2
  (package
    (name "texlive-statex2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statex2/" "tex/latex/statex2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g0ymd0l0cvqn61vjbncrg8cr8wkaw7bywnk85c82rsl0wsc89xk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statex2")
    (synopsis "Statistics style")
    (description
     "The package defines many macros for items of significance in statistical
presentations.  It represents a syntax-incompatible upgrade of
@code{statex}.")
    (license license:lppl)))

(define-public texlive-statistics
  (package
    (name "texlive-statistics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statistics/"
                                     "source/latex/statistics/"
                                     "tex/latex/statistics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cdajj4fclsqcjfc46n82vi8d276qxqklpvdn4gm36dgckrrxaxf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statistics")
    (synopsis "Compute and typeset statistics tables and graphics")
    (description
     "The @code{statistics} package can compute and typeset statistics like frequency tables,
cumulative distribution functions (increasing or decreasing, in frequency or
absolute count domain), from the counts of individual values, or ranges, or
even the raw value list with repetitions.  It can also compute and draw a bar
diagram in case of individual values, or, when the data repartition is known
from ranges, an histogram or the continuous cumulative distribution function.
You can ask @code{statistics} to display no result, selective results or all
of them.  Similarly @code{statistics} can draw only some parts of the
graphs.")
    (license license:gpl3+)))

(define-public texlive-statistik
  (package
    (name "texlive-statistik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statistik/"
                                     "source/latex/statistik/"
                                     "tex/latex/statistik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j1g9hidkq02v3f4alafi53qny3diazpfxb1w936dcy4wi5l584x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statistik")
    (synopsis "Store statistics of a document")
    (description
     "The package counts the numbers of pages per chapter, and stores the
results in a separate file; the format of the file is selectable.")
    (license license:gpl3+)))

(define-public texlive-statmath
  (package
    (name "texlive-statmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/statmath/"
                                     "source/latex/statmath/"
                                     "tex/latex/statmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zqln39cambscblrqck9lw4krpqbhlasz58zvx84h8pmapwsk13g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/statmath")
    (synopsis "Simple use of statistical notation")
    (description
     "The package offers a number of notational conventions to be used in
applied and theoretical papers in statistics which are currently lacking in
the popular @code{amsmath} package.")
    (license license:lppl1.3+)))

(define-public texlive-staves
  (package
    (name "texlive-staves")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/staves/"
                                     "fonts/map/dvips/staves/"
                                     "fonts/tfm/public/staves/"
                                     "fonts/type1/public/staves/"
                                     "source/latex/staves/"
                                     "tex/latex/staves/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wa4zx4c439q6ahs1fwa55dcxzrx382ksrj0bv1jnck6j3iw2dlc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/staves")
    (synopsis "Typeset Icelandic staves and runic letters")
    (description
     "This package contains all the necessary tools to typeset the magical
Icelandic staves plus the runic letters used in Iceland.  Included are a font
in Adobe Type 1 format and LaTeX support.")
    (license license:lppl)))

(define-public texlive-steinmetz
  (package
    (name "texlive-steinmetz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/steinmetz/"
                                     "source/latex/steinmetz/"
                                     "tex/latex/steinmetz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x7bs22q1p07njvsg7npm5wg25jx547nv7v98wvcfmlcr4zrvbh1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/steinmetz")
    (synopsis "Print Steinmetz notation")
    (description
     "The @code{steinmetz} package provides a command for typesetting complex
numbers in the Steinmetz notation used in electrotechnics.")
    (license license:lppl)))

(define-public texlive-stellenbosch
  (package
    (name "texlive-stellenbosch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/stellenbosch/"
                                     "doc/latex/stellenbosch/"
                                     "source/latex/stellenbosch/"
                                     "tex/latex/stellenbosch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yqlwlwlszrwg8bihkfxh77b3rkf8yx978vwb4a3xjmb5yyyx3q6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stellenbosch")
    (synopsis "Stellenbosch thesis bundle")
    (description
     "The @code{usthesis} class and style files are provided to typeset
reports, theses and dissertations that conform to the requirements of the
Engineering Faculty of the University of Stellenbosch.  The class file
@file{usthesis.cls} is based on the standard LaTeX @code{book} class, while
@file{usthesis.sty} is a style file to be loaded on top of the very powerful
@code{memoir} class.

Usthesis is primarily concerned with the formatting of the front matter such
as the title page, abstract, etc., and a decent page layout on A4 paper.  It
also works together with the Babel package to provide language options to
typeset documents in Afrikaans or in English.  Additional packages are
provided for bibliographic matter, note title pages, lists of symbols, as well
as various graphic files for logos.")
    (license license:lppl)))

(define-public texlive-step
  (package
    (name "texlive-step")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/step/"
                                     "fonts/enc/dvips/step/"
                                     "fonts/map/dvips/step/"
                                     "fonts/opentype/public/step/"
                                     "fonts/tfm/public/step/"
                                     "fonts/type1/public/step/"
                                     "fonts/vf/public/step/"
                                     "tex/latex/step/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p2fzbsxrq98hlykw23j26xi936vnnd95qggjcn5a4jjwfrzbx1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/step")
    (synopsis "Times-like font")
    (description
     "The STEP fonts are a Times-like (i.e., Times replacement) font family,
implementing a design first created for The Times of London in 1932.  These
fonts are meant to be compatible in design with Adobe's digitization of
Linotype Times, commonly used in publishing.  Type 1 support is provided for
legacy TeX engines.")
    (license license:silofl1.1)))

(define-public texlive-stepgreek
  (package
    (name "texlive-stepgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stepgreek/"
                                     "fonts/enc/dvips/stepgreek/"
                                     "fonts/map/dvips/stepgreek/"
                                     "fonts/tfm/public/stepgreek/"
                                     "fonts/type1/public/stepgreek/"
                                     "fonts/vf/public/stepgreek/"
                                     "tex/latex/stepgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00yh96gdk854yg61hgl7n938lyw11v9kdmwl7klriyq7wjy0zcaw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stepgreek")
    (synopsis "Times/Elsevier-style Greek font")
    (description
     "This is a beta version of the STEP Greek font.  Only a regular face is
available at present, though there are plans to add italic, bold and bold
italic in the future.  The font only supports LGR in TeX and is meant to serve
as a Greek complement to a Times-like font such as STEP.  The font supports
polytonic Greek.")
    (license license:silofl1.1)))

(define-public texlive-stickstoo
  (package
    (name "texlive-stickstoo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stickstoo/"
                                     "fonts/afm/public/stickstoo/"
                                     "fonts/enc/dvips/stickstoo/"
                                     "fonts/map/dvips/stickstoo/"
                                     "fonts/tfm/public/stickstoo/"
                                     "fonts/type1/public/stickstoo/"
                                     "fonts/vf/public/stickstoo/"
                                     "tex/latex/stickstoo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15hmplphlg5vc3a966x379bkn74vb39pv73w0py65nd9zbb7z27i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stickstoo")
    (synopsis "Reworking of STIX2")
    (description
     "SticksToo is a reworking of the STIX2 fonts with support files focussing
on enhancements of support for LaTeX users wishing to be able to access more
of its features.  A companion addition to the @code{newtxmath} package
provides a matching math package using STIX2 letters (Roman and Greek) with
@code{newtxmath} symbols.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-stix
  (package
    (name "texlive-stix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stix/"
                                     "fonts/enc/dvips/stix/"
                                     "fonts/map/dvips/stix/"
                                     "fonts/opentype/public/stix/"
                                     "fonts/tfm/public/stix/"
                                     "fonts/type1/public/stix/"
                                     "fonts/vf/public/stix/"
                                     "source/fonts/stix/"
                                     "tex/latex/stix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ixxglx4azdnppiqhlkgyahj9a67zamljzv98n6hycp7y6jbd1x0"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           ;; FIXME: I cannot build this package from source.
           #:phases #~(modify-phases %standard-phases (delete 'build))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-accents
                  texlive-caption
                  texlive-enumitem
                  texlive-fonttable
                  texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/stix")
    (synopsis "OpenType Unicode maths fonts")
    (description
     "The STIX fonts are a suite of unicode OpenType fonts containing
a complete set of mathematical glyphs.  This package is considered obsolete.
See @code{stix2-otf} and @code{stix2-type1} instead.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-stix2-type1
  (package
    (name "texlive-stix2-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stix2-type1/"
                                     "fonts/enc/dvips/stix2-type1/"
                                     "fonts/map/dvips/stix2-type1/"
                                     "fonts/tfm/public/stix2-type1/"
                                     "fonts/type1/public/stix2-type1/"
                                     "source/fonts/stix2-type1/"
                                     "tex/latex/stix2-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jsnyxbi5054fw0j5jw9cisj9xm8i8gf1f48m9l77bkybq0qviwp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stix2-type1")
    (synopsis "Type1 versions of the STIX Two OpenType fonts")
    (description
     "The @code{stix2} package provides minimal support for using the STIX Two
fonts with versions of TeX that are limited to TFM files, Type 1 PostScript
fonts, and 8-bit font encodings.

Some glyphs that are traditionally available in TeX math fonts are not yet
available in the STIX Two OpenType fonts.  In such cases, we have chosen to
omit them from the @code{stix2} package rather than create incompatibilities
between the OpenType and Type 1 versions.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-structmech
  (package
    (name "texlive-structmech")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/structmech/"
                                     "tex/latex/structmech/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nglxb3qa0q22k598y8p16fzwpi4x9pkhlqs1bvbk3zp9nnvfvq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/structmech")
    (synopsis "TikZ command set for structural mechanics drawings")
    (description
     "This package provides a collection of TikZ commands that allow users to
draw basic elements in material/structural mechanics.  It is thus possible to
draw member forces, nodal forces/displacements, various boundary conditions,
internal force distributions, etc.")
    (license license:gpl3+)))

(define-public texlive-struktex
  (package
    (name "texlive-struktex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/struktex/"
                                     "source/latex/struktex/"
                                     "tex/latex/struktex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05bvzxrqwiw9jcq1dvvwf6ss1207qygg3iqdlfd0yjv0y7rdjvvf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/struktex")
    (synopsis "Draw Nassi-Shneiderman charts")
    (description
     "Nassi-Shneiderman charts are a well known tool to describe an algorithm
in a graphical way.  The package offers some macros for generating those
charts in a LaTeX document.  The package provides the most important elements
of a Nassi-Shneiderman charts, including processing blocks, loops, mapping
conventions for alternatives, etc.  The charts are drawn using the
@code{picture} environment (using @code{pict2e} for preference).")
    (license license:lppl1.2+)))

(define-public texlive-subfiles
  (package
    (name "texlive-subfiles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subfiles/"
                                     "source/latex/subfiles/"
                                     "tex/latex/subfiles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lwbpf852qi0gmibwgd3i63mlwi2p8zb1ps0fis21r69hnisym8j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-import))
    (home-page "https://ctan.org/pkg/subfiles")
    (synopsis "Individual typesetting of sub-files of a main document")
    (description
     "Using this package one can handle multi-file projects more comfortably,
making it possible to both process the subsidiary files by themselves and to
process the main file that includes them, without making any changes to
either.")
    (license license:lppl1.3+)))

(define-public texlive-substances
  (package
    (name "texlive-substances")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/substances/"
                                     "tex/latex/substances/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lqg0bx34f7f9sva1lvvqdb7nfdaaf6lh23j0nwdy70z2g3kgkxp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/substances")
    (synopsis "Database of chemicals")
    (description
     "The package provides the means to create a database-like file that
contains data of various chemicals.  These data may be retrieved in the
document; an index of the chemicals mentioned in the document can be
created.")
    (license license:lppl1.3+)))

(define-public texlive-subsupscripts
  (package
    (name "texlive-subsupscripts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subsupscripts/"
                                     "tex/latex/subsupscripts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f9yn6ic1yn4nl2s8ngbrrl1xflb4g2j0iw77563j5n7prgy1wrf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subsupscripts")
    (synopsis "Range of sub- and superscript commands")
    (description
     "The package provides a comprehensive and flexible set of commands for
combinations of left and right sub- and superscripts.")
    (license license:lppl)))

(define-public texlive-subtext
  (package
    (name "texlive-subtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subtext/" "tex/latex/subtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wpb4087acwsgnsc1zw6ivqaqgdsq90zm63bgmrk77ban54qsqv0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subtext")
    (synopsis "Easy text-style subscripts in math mode")
    (description
     "This LaTeX package gives easy access to text-style subscripts in math
mode by providing an optional argument to @samp{_}.  This is implemented by
using the @code{\\text@{@}} command from the @code{amstext} package.")
    (license license:gpl3)))

(define-public texlive-sudoku
  (package
    (name "texlive-sudoku")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sudoku/" "source/latex/sudoku/"
                                     "tex/latex/sudoku/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14g1kkxinp9l57yvdpbdx4wclgka71gilcbxl1dc6sdj4cmw7mbz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sudoku")
    (synopsis "Create sudoku grids")
    (description
     "The @code{sudoku} package provides an environment for typesetting sudoku
grids.")
    (license license:lppl)))

(define-public texlive-sudokubundle
  (package
    (name "texlive-sudokubundle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sudokubundle/"
                                     "source/latex/sudokubundle/"
                                     "tex/latex/sudokubundle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1swsx8r0chgxv8h27syj4h5cf7lnj6mxvwhhzixbkjg6scrvd8kw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sudokubundle")
    (synopsis "A set of sudoku-related packages")
    (description
     "The bundle provides three packages: @code{printsudoku}, which provides
a command @code{\\sudoku} whose argument is the name of a file containing
a puzzle specification; @code{solvesudoku}, which attempts to find a solution
to the puzzle in the file named in the argument; and @code{createsudoku},
which uses the @code{random} package to generate a puzzle according to a bunch
of parameters that the user sets via macros.

The bundle comes with a set of ready-prepared puzzle files.")
    (license license:lppl)))

(define-public texlive-suftesi
  (package
    (name "texlive-suftesi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/suftesi/" "source/latex/suftesi/"
                                     "tex/latex/suftesi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07p2fv265g78zbfrq4j33ryz1z1b13g2rvln646w2g5md1zwm2hb"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "lualatex"
           #:phases #~(modify-phases %standard-phases
                        (add-after 'unpack 'support-greek-input
                          (lambda _
                            (substitute* "source/latex/suftesi/suftesi.dtx"
                              (("\\\\usepackage\\[T1\\]\\{fontenc\\}")
                               "\\usepackage[LGR, T1]{fontenc}")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-babel-greek
                  texlive-biblatex
                  texlive-biblatex-philosophy
                  texlive-booktabs
                  texlive-cbfonts
                  texlive-cbfonts-fd
                  texlive-cochineal
                  texlive-csquotes
                  texlive-etoolbox
                  texlive-fontaxes
                  texlive-fontsize
                  texlive-fontspec
                  texlive-greek-fontenc
                  texlive-guitlogo
                  texlive-hologo
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-libertine
                  texlive-listings
                  texlive-ltxdockit
                  texlive-manfnt
                  texlive-mathalpha
                  texlive-mdframed
                  texlive-microtype
                  texlive-multirow
                  texlive-needspace
                  texlive-newtx
                  texlive-parskip
                  texlive-pgf
                  texlive-sectsty
                  texlive-siunitx
                  texlive-txfonts
                  texlive-upquote
                  texlive-xcolor
                  texlive-xkeyval
                  texlive-xstring
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/suftesi")
    (synopsis "Document class for typesetting theses, books and articles")
    (description
     "The class can be used to typeset any kind of book (originally designed
for use in the humanities).")
    (license license:lppl1.3+)))

(define-public texlive-sugconf
  (package
    (name "texlive-sugconf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sugconf/" "tex/latex/sugconf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v9fp0dpbk4g9aab8jvwhfzh71w4276awi8lyf2pgk66d5qhfxsb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sugconf")
    (synopsis "SAS(R) user group conference proceedings document class")
    (description
     "The class may be used to typeset articles to be published in the
proceedings of SAS(R) User group conferences and workshops.  The layout
produced by the class is based on that published by SAS Institute (2021).")
    (license license:lppl)))

(define-public texlive-superiors
  (package
    (name "texlive-superiors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/superiors/"
                                     "tex/latex/superiors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sm3kk2j66lbr5amk4i4sp6i6yad5g1nwhg0yq1r3kxiy2mrl1vk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/superiors")
    (synopsis "Attach superior figures to a font family")
    (description
     "The package allows the attachment of an arbitrary superior figures font
to a font family that lacks one. (Superior figures are commonly used as
footnote markers.)  Two superior figures fonts are provided --- one matching
Times, the other matching Libertine.")
    (license license:lppl)))

(define-public texlive-susy
  (package
    (name "texlive-susy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/susy/" "tex/latex/susy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17v3cmkrpkdxssa50vzdasp885waf9jpg8sfjyw1dcj9z7xfz91g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/susy")
    (synopsis "Macros for SuperSymmetry-related work")
    (description "The package macros for SuperSymmetry-related work, such as
abbreviations of longer expressions.")
    (license license:lppl)))

(define-public texlive-svg
  (package
    (name "texlive-svg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svg/" "source/latex/svg/"
                                     "tex/latex/svg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yizgrjn6l9j1cf8mvkjz0zni7bzmajszc1y8q80xc723nwnbq7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svg")
    (synopsis "Include and extract SVG pictures in LaTeX documents")
    (description
     "This bundle contains the two packages @code{svg} and @code{svg-extract}.

The @code{svg} package is intended for the automated integration of SVG
graphics into LaTeX documents.  Therefore the capabilities provided by
Inkscape --- or more precisely its command line tool --- are used to export
the text within an SVG graphic to a separate file, which is then rendered by
LaTeX.  For this purpose the two commands @code{\\includesvg} and
@code{\\includeinkscape} are provided which are very similar to the
@code{\\includegraphics} command of the @code{graphicx} package.

In addition, the package @code{svg-extract} allows the extraction of these
graphics into independent files in different graphic formats, exactly as it is
rendered within the LaTeX document, using either ImageMagick or Ghostscript.")
    (license license:lppl1.3c)))

(define-public texlive-svrsymbols
  (package
    (name "texlive-svrsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/svrsymbols/"
                                     "fonts/afm/public/svrsymbols/"
                                     "fonts/map/dvips/svrsymbols/"
                                     "fonts/opentype/public/svrsymbols/"
                                     "fonts/tfm/public/svrsymbols/"
                                     "fonts/type1/public/svrsymbols/"
                                     "source/fonts/svrsymbols/"
                                     "tex/latex/svrsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l1pj97pqlh9mq3m3zswnxm2vws916yjlx0pq1gr3bc23kwvhhl3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svrsymbols")
    (synopsis "Font with symbols for use in physics texts")
    (description
     "The @code{svrsymbols} package is a LaTeX interface to the SVRsymbols
font.  The glyphs of this font are ideograms that have been designed for use
in physics texts.")
    (license license:lppl1.3c)))

(define-public texlive-syllogism
  (package
    (name "texlive-syllogism")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/syllogism/"
                                     "tex/latex/syllogism/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ns8bv5qyzvcq59x7cjkncc9wlalcdhhnxs0r4s897qrrbz4cq43"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/syllogism")
    (synopsis "Typeset syllogisms in LaTeX")
    (description
     "The package provides a simple, configurable, way for neatly typesetting
syllogisms and syllogistic-like arguments, composed of two premises and
a conclusion.")
    (license license:lppl)))

(define-public texlive-symbats3
  (package
    (name "texlive-symbats3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/symbats3/" "tex/latex/symbats3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xr5m2irkbv376im1m5vms6gcpq3asj03dpfck2x1ccrywn4k3w2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/symbats3")
    (synopsis "Macros to use the Symbats3 dingbats fonts")
    (description
     "This package makes available for LaTeX the glyphs in Feorag's OpenType
Symbats3 neopagan dingbats fonts.")
    (license license:lppl1.3c)))

(define-public texlive-sympytexpackage
  (package
    (name "texlive-sympytexpackage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sympytexpackage/"
                                     "scripts/sympytexpackage/"
                                     "source/latex/sympytexpackage/"
                                     "tex/latex/sympytexpackage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ph8pldk2f477dm79vf5vrismfy8w1p2m455qfjqm7p704jm1pr3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sympytex")
    (synopsis "Include symbolic computation (using @code{sympy}) in documents")
    (description
     "The bundle supports inclusion of symbolic-python (@code{sympy})
expressions, as well as graphical output from the @code{sympy} plotting
module (or from Matplotlib).")
    (license license:gpl2)))

(define-public texlive-synproof
  (package
    (name "texlive-synproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/synproof/" "tex/latex/synproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02r0ld3lcxvjhij4lffx9kljmbv6fvz10x59bjvinqfbmmfmm58m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/synproof")
    (synopsis "Easy drawing of syntactic proofs")
    (description
     "The package provides a set of macros based on PSTricks that will enable
you to draw syntactic proofs easily (inspired by the Gamut books).  Very few
commands are needed, however fine tuning of the various
parameters (dimensions) can still be achieved through key=value pairs.")
    (license license:lppl)))

(define-public texlive-t-angles
  (package
    (name "texlive-t-angles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/t-angles/" "tex/latex/t-angles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jp16zd64c5xdsxfycdyvlwwss4k46y7nfd2dn6ybshx34kcv0qa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/t-angles")
    (synopsis
     "Draw tangles, trees, Hopf algebra operations and other pictures")
    (description
     "This package provides a LaTeX2e package for drawing tangles, trees, Hopf
algebra operations and other pictures.  It is based on emTeX or TPIC
@code{\\specials}.  Therefore, it can be used with the most popular drivers,
including emTeX drivers, dviwin, xdvi and dvips, and (using some code from
ConTeXt) it may also be used with pdfLaTeX.")
    (license license:gpl3+)))

(define-public texlive-t2
  (package
    (name "texlive-t2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/t2/" "fonts/enc/t2/"
                                     "tex/generic/t2/cyrfinst/" "tex/latex/t2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "058j3bpv03d9nb0nxal1vjpliqqibv6hsjl1qlbgnndm95xd5n1a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/t2")
    (synopsis "Support for using T2 encoding")
    (description
     "The T2 bundle provides a variety of separate support functions for using
Cyrillic characters in LaTeX:
@itemize
@item the @code{mathtext} package, for using Cyrillic letters
transparently in formulae;
@item the @code{citehack} package, for using Cyrillic (or indeed any
non-ASCII) characters in citation keys;
@item support for Cyrillic in BibTeX;
@item support for Cyrillic in Makeindex;
@item and various items of font support.
@end itemize")
    (license license:lppl)))

(define-public texlive-tablor
  (package
    (name "texlive-tablor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tablor/" "tex/latex/tablor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qacb25whzxwn85cxq1fa5rklq5fm06g6i5x88qymm8yaq1yxa71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tablor")
    (synopsis "Create tables of signs and of variations")
    (description
     "The package allows the user to use the computer algebra system XCAS to
generate tables of signs and of variations (the actual plotting of the tables
uses the MetaPost macro package tableauVariations).  Tables with forbidden
regions may be developed using the package.  A configuration file permits some
configuration of the language to be used in the diagrams.  The @code{tablor}
package requires that shell escape be enabled.")
    (license license:lppl)))

(define-public texlive-tabriz-thesis
  (package
    (name "texlive-tabriz-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabriz-thesis/"
                                     "doc/xelatex/tabriz-thesis/"
                                     "tex/latex/tabriz-thesis/"
                                     "tex/xelatex/tabriz-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13k6kmg1x143m1kfc3wcvyy6l60vpzz5ivmdpcqhjbdd3wz7b2ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabriz-thesis")
    (synopsis "Template for the University of Tabriz")
    (description
     "The package offers a document class for typesetting theses and
dissertations at the University of Tabriz.  The class requires use of
XeLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-tabvar
  (package
    (name "texlive-tabvar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabvar/"
                                     "fonts/afm/public/tabvar/"
                                     "fonts/map/dvips/tabvar/"
                                     "fonts/tfm/public/tabvar/"
                                     "fonts/type1/public/tabvar/"
                                     "metapost/tabvar/"
                                     "source/latex/tabvar/"
                                     "tex/latex/tabvar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjf0j3296a5csr6xrzziralfsy2iny21cyjf4dmlwp4l0h6kcpc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabvar")
    (synopsis "Typesetting tables showing variations of functions")
    (description
     "This LaTeX package is meant to ease the typesetting of tables showing
variations of functions as they are used in France.")
    (license license:lppl1.3+)))

(define-public texlive-tangramtikz
  (package
    (name "texlive-tangramtikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tangramtikz/"
                                     "tex/latex/tangramtikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18n67k7ggqh3mvp8iqyp44d70gh3s8jfbwbp3ympv2ff5drjjb3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tangramtikz")
    (synopsis "Tangram puzzles, with TikZ")
    (description
     "This package provides some commands (with English and French keys) to
work with tangram puzzles: @code{\\begin{EnvTangramTikz}} and
@code{\\PieceTangram} to position a piece, @code{\\TangramTikz} to display
a predefined tangram.")
    (license license:lppl1.3c)))

(define-public texlive-tapir
  (package
    (name "texlive-tapir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tapir/"
                                     "fonts/source/public/tapir/"
                                     "fonts/type1/public/tapir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b1r2zg8m46zd2cb8l3vglncvixzhcfq75s0s86pyn9f88b17w57"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tapir")
    (synopsis "Simple geometrical font")
    (description
     "Tapir is a simple geometrical font mostly created of line and circular
segments with constant thickness.  The font is available as Metafont source
and in Adobe Type 1 format.  The character set contains all ASCII characters
in the range 0-127 (as in @code{cmr10}), accented characters used in the
Czech, Slovak and Polish languages.")
    (license license:gpl3+)))

(define-public texlive-tdsfrmath
  (package
    (name "texlive-tdsfrmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tdsfrmath/"
                                     "source/latex/tdsfrmath/"
                                     "tex/latex/tdsfrmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z1z3jy0mbn6dc75pnfsq9877y8yafvdhv5p8a54dbxxkzdcl3ll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tdsfrmath")
    (synopsis "Macros for French teachers of mathematics")
    (description
     "This package provides a collection of macros for French maths teachers
in colleges and lycées (and perhaps elsewhere).  It is hoped that the package
will facilitate the everyday use of LaTeX by mathematics teachers.")
    (license license:lppl)))

(define-public texlive-technion-thesis-template
  (package
    (name "texlive-technion-thesis-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/technion-thesis-template/"
                                     "tex/xelatex/technion-thesis-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fnz3d3knflhm9349rn9xw3k698fn6dyxxh2a7zv8rx3z3y7kzwn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/technion-thesis-template")
    (synopsis "Template for theses on the Technion graduate school")
    (description
     "This is a template for writing a thesis according to the Technion
specifications.")
    (license license:cc-by4.0)))

(define-public texlive-tempora
  (package
    (name "texlive-tempora")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tempora/"
                                     "fonts/afm/public/tempora/"
                                     "fonts/enc/dvips/tempora/"
                                     "fonts/map/dvips/tempora/"
                                     "fonts/opentype/public/tempora/"
                                     "fonts/tfm/public/tempora/"
                                     "fonts/type1/public/tempora/"
                                     "fonts/vf/public/tempora/"
                                     "tex/latex/tempora/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vcg6al4navxhaha78zxigpwaj631hgm47z3ic36335rb80p8b83"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tempora")
    (synopsis "Greek and Cyrillic to accompany Times")
    (description
     "This package, derived from TemporaLGCUni by Alexej Kryukov, is meant as
a companion to Times text font packages, providing Greek and Cyrillic in
matching weights and styles.  OpenType and Type1 fonts are provided, with
LaTeX support files giving essentially complete LGR coverage of monotonic,
polytonic and ancient Greek, and almost full T2A coverage of Cyrillic.")
    (license license:gpl2)))

(define-public texlive-tengwarscript
  (package
    (name "texlive-tengwarscript")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tengwarscript/"
                                     "fonts/enc/dvips/tengwarscript/"
                                     "fonts/map/dvips/tengwarscript/"
                                     "fonts/tfm/public/tengwarscript/"
                                     "fonts/vf/public/tengwarscript/"
                                     "source/latex/tengwarscript/"
                                     "tex/latex/tengwarscript/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k3wgg8cj9n4ijj5qdbm74snwzdyabh1c93zm75p4x9pmawlpaa4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tengwarscript")
    (synopsis "LaTeX support for using Tengwar fonts")
    (description
     "The package provides mid-level access to Tengwar fonts, providing good
quality output.  Each tengwar sign is represented by a command, which will
place the sign nicely in relation to previous signs.  A transcription package
is available from the package's home page: writing all those tengwar commands
would quickly become untenable.  The package supports the use of a wide
variety of tengwar fonts that are available from the net; metric and map files
are provided for all the supported fonts.")
    (license license:lppl)))

(define-public texlive-tensind
  (package
    (name "texlive-tensind")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tensind/" "tex/latex/tensind/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i0iczq20ihx5y19j9ifpbm6sad6jv9cs8zwblgkddyhwxa7n764"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tensind")
    (synopsis "Typeset tensors")
    (description
     "This package typesets tensors with dots filling gaps and fine tuning of
index placement.")
    (license license:expat)))

(define-public texlive-tensor
  (package
    (name "texlive-tensor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tensor/" "source/latex/tensor/"
                                     "tex/latex/tensor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jnjx8zhzblg66m0ss7gsdwja87h0l07vzgyaqk332kgk457iz00"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tensor")
    (synopsis "Typeset tensors")
    (description
     "This allows the user to set tensor-style super- and subscripts with
offsets between successive indices.  It supports the typesetting of tensors
with mixed upper and lower indices with spacing, also typeset preposed
indices.")
    (license license:lppl)))

(define-public texlive-termes-otf
  (package
    (name "texlive-termes-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/termes-otf/"
                                     "tex/latex/termes-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z8a1d2k4170n14hf8faimwfd26cshsww1ypa8im937lna7c0j39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termes-otf")
    (synopsis "Using the OpenType fonts TeX Gyre Termes")
    (description
     "This package provides the OpenType version of the TeX Gyre Termes font,
including text and math fonts.  The package needs LuaLaTeX or XeLaTeX.  The
missing typefaces like bold math and slanted text are also defined.")
    (license license:lppl1.3+)))

(define-public texlive-tex-ewd
  (package
    (name "texlive-tex-ewd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-ewd/"
                                     "tex/generic/tex-ewd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xlxbnn16mf7mzz57rjzqqv18mcy0immmlcsnksda03dh7hn8b69"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-ewd")
    (synopsis
     "Macros to typeset calculational proofs and programs in Dijkstra's style")
    (description
     "Edsger W. Dijkstra and others suggest a unique style to present
mathematical proofs and to construct programs.  This package provides macros
that support calculational proofs and Dijkstra's guarded command language.")
    (license license:bsd-1)))

(define-public texlive-tex-virtual-academy-pl
  (package
    (name "texlive-tex-virtual-academy-pl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-virtual-academy-pl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kb86nn5vp1b0sy21aw9wlla1dwlaijppzq7728bmfs5nk1dnbjv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-virtual-academy-pl")
    (synopsis "TeX usage web pages, in Polish")
    (description
     "TeX Virtual Academy is a bundle of Polish documentation in HTML format
about TeX and Co.  It contains information for beginners, LaTeX packages,
descriptions, etc.")
    (license license:fdl1.3+)))

(define-public texlive-texilikechaps
  (package
    (name "texlive-texilikechaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/texilikechaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z9nvv2y2nzpkpxyf18p426wcl0g6gbg7qppq70b285kdbczbijd"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texilikechaps")
    (synopsis "Format chapters with a Texi-like format")
    (description
     "The package enables the user to reduce the size of the rather large
chapter headings in standard classes into a Texi-like smaller format.")
    (license license:lppl)))

(define-public texlive-texilikecover
  (package
    (name "texlive-texilikecover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/texilikecover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04bljvhvmrxh1a4sfqw57yysaw03c5ldi1bq63mlqqvd9p3hmyck"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texilikecover")
    (synopsis "Cover-page package, like TeXinfo")
    (description
     "The package creates document cover pages, like those that TeXinfo
produces.")
    (license license:lppl)))

(define-public texlive-texsis
  (package
    (name "texlive-texsis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/texsis/"
                                     "doc/man/man1/texsis.1"
                                     "doc/man/man1/texsis.man1.pdf"
                                     "doc/otherformats/texsis/base/"
                                     "tex/texsis/base/"
                                     "tex/texsis/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vdywyg03ab5w50370ml8hwiidim2sy7hhygmz917rnhsnm87lnv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "texsis")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "texsis"))))))))
    (propagated-inputs
     (list texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-pdftex
           texlive-plain
           texlive-tex))
    (home-page "https://ctan.org/pkg/texsis")
    (synopsis "Plain TeX macros for Physicists")
    (description
     "TeXsis is a TeX macro package which provides useful features for
typesetting research papers and related documents.  For example, it includes
support specifically for:

@itemize
@item automatic numbering of equations, figures, tables and references;
@item simplified control of type sizes, line spacing, footnotes, running
headlines and footlines, and tables of contents, figures and tables;
@item specialized document formats for research papers, preprints and
e-prints, conference proceedings, theses, books, referee reports, letters, and
memoranda;
@item simplified means of constructing an index for a book or thesis;
@item easy to use double column formatting;
@item specialized environments for lists, theorems and proofs, centered or
non-justified text, and listing computer code;
@item specialized macros for easily constructing ruled tables.
@end itemize

TeXsis was originally developed for physicists, but others may also find it
useful.  It is completely compatible with Plain TeX.")
    (license license:lppl)))

(define-public texlive-textglos
  (package
    (name "texlive-textglos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textglos/"
                                     "source/latex/textglos/"
                                     "tex/latex/textglos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jxx3wrwkmmm6ida3ih0yap57laflvsks8nv0395sv49xn7waxf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textglos")
    (synopsis "Typeset and index linguistic gloss abbreviations")
    (description
     "The package provides a set of macros for in-line linguistic examples (as
opposed to interlinear glossing, set apart from the main text).  It prevents
hyphenated examples from breaking across lines and consistently formats
phonemic examples, orthographic examples, and more.")
    (license license:lppl1.3+)))

(define-public texlive-textgreek
  (package
    (name "texlive-textgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textgreek/"
                                     "source/latex/textgreek/"
                                     "tex/latex/textgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a0x07xyy1akqwya54k5bf3f8k4vcrv4hfmijmcp60ikw4v5gha1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-greek-fontenc))
    (home-page "https://ctan.org/pkg/textgreek")
    (synopsis "Upright greek letters in text")
    (description
     "This package provides macros to use upright greek letters as text
symbols.")
    (license license:lppl)))

(define-public texlive-textopo
  (package
    (name "texlive-textopo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textopo/" "source/latex/textopo/"
                                     "tex/latex/textopo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rw41qg3l4jzvwsrhwazwxn85kgad8r7bxp9bfbq843b4zrlwnaz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textopo")
    (synopsis "Annotated membrane protein topology plots")
    (description
     "This package provides a LaTeX package for setting shaded and annotated
membrane protein topology plots and helical wheels.")
    (license license:gpl3+)))

(define-public texlive-tfrupee
  (package
    (name "texlive-tfrupee")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tfrupee/"
                                     "fonts/afm/public/tfrupee/"
                                     "fonts/map/dvips/tfrupee/"
                                     "fonts/tfm/public/tfrupee/"
                                     "fonts/type1/public/tfrupee/"
                                     "source/fonts/tfrupee/"
                                     "tex/latex/tfrupee/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qhgxn5g4wzhi81xgb30giw542nprlmf0ryyq6jy752jccl07b7j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tfrupee")
    (synopsis "Font offering the new (Indian) Rupee symbol")
    (description
     "The package provides LaTeX support for the (Indian) Rupee symbol font.
Simple LaTeX support written for its use.")
    (license license:gpl3)))

(define-public texlive-thaienum
  (package
    (name "texlive-thaienum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thaienum/" "tex/latex/thaienum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g7sf5gjnrmhgq4qmdh3gphc0ixyfx4rpm7kmbwmjra3b8j2i46w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thaienum")
    (synopsis "Thai labels in @code{enumerate} environments")
    (description
     "This LaTeX package provides a command to use Thai numerals or characters
as labels in enumerate environments.  Once the package is loaded with
@samp{\\usepackage@{thaienum@}} you can use labels such as @code{\\thainum*}
or @code{\\thaimultialph*} in conjunction with the package @code{enumitem}.
Concrete examples are given in the documentation.")
    (license license:lppl1.3+)))

(define-public texlive-thaispec
  (package
    (name "texlive-thaispec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thaispec/"
                                     "source/latex/thaispec/"
                                     "tex/latex/thaispec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d0mj98akv7bfq3msaplm2pffcwfayssn4i5an12zrw0wxicmp96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thaispec")
    (synopsis "Thai language typesetting in XeLaTeX")
    (description
     "This package allows you to input Thai characters directly to LaTeX
documents and choose any (system wide) Thai fonts for typesetting in XeLaTeX.
It also tries to appropriately justify paragraphs with no more external
tools.")
    (license license:lppl1.3+)))

(define-public texlive-thalie
  (package
    (name "texlive-thalie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thalie/" "tex/latex/thalie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08dg91nr469s3x5c8njj0gpki1j89dji7ii9sw5l5ajd3pk8xbwv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thalie")
    (synopsis "Typeset drama plays")
    (description
     "The package provides tools to typeset drama plays.  It defines commands
to introduce characters lines, to render stage directions, to divide a play
into acts and scenes and to build the dramatis personae automatically.")
    (license license:lppl1.3+)))

(define-public texlive-theanodidot
  (package
    (name "texlive-theanodidot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/theanodidot/"
                                     "fonts/enc/dvips/theanodidot/"
                                     "fonts/map/dvips/theanodidot/"
                                     "fonts/tfm/public/theanodidot/"
                                     "fonts/truetype/public/theanodidot/"
                                     "fonts/type1/public/theanodidot/"
                                     "fonts/vf/public/theanodidot/"
                                     "tex/latex/theanodidot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00qf03ssh7ncpl6l33zcmqkhbylv77w3d0jdvxv9pcbbsn3rzk7v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theanodidot")
    (synopsis "TheanoDidot fonts with LaTeX support")
    (description
     "This package provides the TheanoDidot font designed by Alexey Kryukov,
in both TrueType and Type1 formats, with support for both traditional and
modern LaTeX processors.  An artificially-emboldened variant has been provided
but there are no italic variants.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-theanomodern
  (package
    (name "texlive-theanomodern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/theanomodern/"
                                     "fonts/enc/dvips/theanomodern/"
                                     "fonts/map/dvips/theanomodern/"
                                     "fonts/tfm/public/theanomodern/"
                                     "fonts/truetype/public/theanomodern/"
                                     "fonts/type1/public/theanomodern/"
                                     "fonts/vf/public/theanomodern/"
                                     "tex/latex/theanomodern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17s04wcliqn5sgg5d6axc5ky3wg7xzh62c83hgrf3fq3pbykwm77"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theanomodern")
    (synopsis "Theano Modern fonts with LaTeX support")
    (description
     "This package provides the TheanoModern font designed by Alexey Kryukov,
in both TrueType and Type1 formats, with support for both traditional and
modern LaTeX processors.  An artificially-emboldened variant has been provided
but there are no italic variants.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-theanooldstyle
  (package
    (name "texlive-theanooldstyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/theanooldstyle/"
                                     "fonts/enc/dvips/theanooldstyle/"
                                     "fonts/map/dvips/theanooldstyle/"
                                     "fonts/tfm/public/theanooldstyle/"
                                     "fonts/truetype/public/theanooldstyle/"
                                     "fonts/type1/public/theanooldstyle/"
                                     "fonts/vf/public/theanooldstyle/"
                                     "tex/latex/theanooldstyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jkfdfrpp6v12mw5khw51ib9dsjnc5bz3y6bazyabx8z7lgksig5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theanooldstyle")
    (synopsis "Theano OldStyle fonts with LaTeX support")
    (description
     "This package provides the Theano OldStyle font designed by Alexey
Kryukov, in both TrueType and Type1 formats, with support for both traditional
and modern LaTeX processors.  An artificially-emboldened variant has been
provided but there are no italic variants.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-theatre
  (package
    (name "texlive-theatre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/theatre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nhm56spqvryhmhwmzly939mzv5yv3398lh2lyfhf40rr02mzgi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theatre")
    (synopsis "Sophisticated package for typesetting stage plays")
    (description
     "This package enables the user to typeset stage plays in a way that
permits to create highly customized printouts for each actor.")
    (license license:lppl1.2+)))

(define-public texlive-thermodynamics
  (package
    (name "texlive-thermodynamics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thermodynamics/"
                                     "source/latex/thermodynamics/"
                                     "tex/latex/thermodynamics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15g6nbv44f6rpnabz905025s7kh2lqgy6mzsgjm9bc97p87d4n6v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thermodynamics")
    (synopsis "Macros for multicomponent thermodynamics documents")
    (description
     "This package makes typesetting quantities found in thermodynamics texts
relatively simple.  The commands are flexible and intended to be relatively
intuitive.  It handles several sets of notation for total, specific, and molar
quantities; allows changes between symbols (e.g., @samp{A} vs. @samp{F} for
Helmholtz free energy); and greatly simplifies the typesetting of symbols and
partial derivatives commonly encountered in mixture thermodynamics.  Changes
of one's notes from one textbook to another can be achieved relatively easily
by changing package options.")
    (license license:lppl1.3+)))

(define-public texlive-thesis-ekf
  (package
    (name "texlive-thesis-ekf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thesis-ekf/"
                                     "source/latex/thesis-ekf/"
                                     "tex/latex/thesis-ekf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06jc8h1195h6440yc2xblv7x8cyf6yhfh99x3p6hk97hcvq0ing4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-ekf")
    (synopsis "Thesis class for Eszterhazy Karoly Catholic University")
    (description
     "This is a class file for theses and dissertations at the Eszterhazy
Karoly Catholic University (Eger, Hungary).  The documentation is in
Hungarian.")
    (license license:lppl1.2+)))

(define-public texlive-thesis-gwu
  (package
    (name "texlive-thesis-gwu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thesis-gwu/"
                                     "tex/latex/thesis-gwu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "120w3wfh5b7f6lmsf0l3wy6agxkds4rnpy5pzjnpa6rwk59plk8k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-gwu")
    (synopsis
     "Thesis class for George Washington University School of Engineering and
Applied Science")
    (description
     "This class is an attempt to create a standard format for @acronym{GWU
SEAS, George Washington University School of Engineering and Applied Science}
dissertations and theses.")
    (license license:gpl3)))

(define-public texlive-thesis-qom
  (package
    (name "texlive-thesis-qom")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/thesis-qom/"
                                     "tex/xelatex/thesis-qom/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cjx3yqnx6ijm664i747sxd19g7pmwpqsw24mh4bvdf0k1wqjj2a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-qom")
    (synopsis "Thesis style of the University of Qom, Iran")
    (description
     "This package provides a class file for writing theses and dissertations
according to the University of Qom Graduate Schools's guidelines for the
electronic submission of master theses and PhD dissertations.  The class
should meet all the current requirements and is updated whenever the
university guidelines change.  The class needs XeLaTeX in conjunction with the
following fonts: XB Niloofar, IranNastaliq, IRlotus, XB Zar, XB Titre, and
Yas.")
    (license license:lppl1.3c)))

(define-public texlive-thesis-titlepage-fhac
  (package
    (name "texlive-thesis-titlepage-fhac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thesis-titlepage-fhac/"
                                     "source/latex/thesis-titlepage-fhac/"
                                     "tex/latex/thesis-titlepage-fhac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zs1k43q4br29vyxk007ld0rmiz8z803i6xhlc6rmhmb1nb594nj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thesis-titlepage-fhac")
    (synopsis "Style to create a standard titlepage for diploma thesis")
    (description "This is yet another thesis titlepage style.")
    (license license:lppl)))

(define-public texlive-thmbox
  (package
    (name "texlive-thmbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thmbox/" "source/latex/thmbox/"
                                     "tex/latex/thmbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ibs75aqla6z3lww0xpxd0biarla8hhx9zz245isy9ks8q231v1l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thmbox")
    (synopsis "Decorate theorem statements")
    (description
     "The package defines an environment thmbox that presents theorems,
definitions and similar objects in boxes decorated with frames and various
aesthetic features.  The standard macro @code{\\newtheorem} may be redefined
to use the environment.")
    (license license:lppl)))

(define-public texlive-thuaslogos
  (package
    (name "texlive-thuaslogos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thuaslogos/"
                                     "tex/latex/thuaslogos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ndqqc5rgxsdkanycgxi79czx6ri9fsfghh1lwyrx6ssjz2hfd7p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thuaslogos")
    (synopsis
     "Logos for @acronym{THUAS, The Hague University of Applied Sciences}")
    (description
     "This package contains some logos of @acronym{THUAS, The Hague University
of Applied Sciences}.  These Logos are available in English and in Dutch.")
    (license license:lppl1.3+)))

(define-public texlive-thubeamer
  (package
    (name "texlive-thubeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/thubeamer/"
                                     "doc/latex/thubeamer/"
                                     "source/latex/thubeamer/"
                                     "tex/latex/thubeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07jha3pfklqas3f2mwpxqfi6h7dm4sl9jm4kl9kg68an4drzp4zj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thubeamer")
    (synopsis "Beamer theme for Tsinghua University")
    (description
     "This package provides a Beamer theme designed for Tsinghua University.")
    (license license:lppl1.3c)))

(define-public texlive-thucoursework
  (package
    (name "texlive-thucoursework")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thucoursework/"
                                     "source/latex/thucoursework/"
                                     "tex/latex/thucoursework/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cv2kadwzwwrw3q98wy7cjjl3084qqp55ki50v7m2ylrjxinwkv4"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "xelatex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'skip-documentation-build
            ;; Only extract the ".sty" files.
            (lambda _
              (substitute* "source/latex/thucoursework/thucoursework.dtx"
                (("\\\\DocInput\\{\\\\jobname\\.dtx\\}") "")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-booktabs
                  texlive-carlisle
                  texlive-ctex
                  texlive-enumitem
                  texlive-etoolbox
                  texlive-fancyhdr
                  texlive-hypdoc
                  texlive-kastrup
                  texlive-listings
                  texlive-metalogo
                  texlive-newpx
                  texlive-newtx
                  texlive-oberdiek
                  texlive-realscripts
                  texlive-xcolor
                  texlive-xstring))))
    (home-page "https://ctan.org/pkg/thucoursework")
    (synopsis "Coursework template for Tsinghua University")
    (description
     "This package provides a LaTeX package for students of Tsinghua
University to write coursework more efficiently.  It can also be used by
students from other universities.")
    (license license:lppl1.3+)))

(define-public texlive-thuthesis
  (package
    (name "texlive-thuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/thuthesis/"
                                     "doc/latex/thuthesis/"
                                     "source/latex/thuthesis/"
                                     "tex/latex/thuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04nqrg6ak102fhpn4myg3rby29mz1081y2s3qf0gb4aqc1yifv2l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thuthesis")
    (synopsis "Thesis template for Tsinghua University")
    (description
     "This package establishes a simple and easy-to-use LaTeX template for
Tsinghua dissertations, including general undergraduate research papers,
masters theses, doctoral dissertations, and postdoctoral reports.")
    (license license:lppl1.3c)))

(define-public texlive-tidyres
  (package
    (name "texlive-tidyres")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tidyres/" "tex/latex/tidyres/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d27430v529qhc0zg1yx6hx6858k5zsz2h5xjki0mihlmpjdrlhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tidyres")
    (synopsis "Create formal resumes easily")
    (description
     "This LaTeX package aims to provide users with a simple interface to
create multi-column formal resumes.")
    (license license:cc-by4.0)))

(define-public texlive-timbreicmc
  (package
    (name "texlive-timbreicmc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/timbreicmc/"
                                     "source/latex/timbreicmc/"
                                     "tex/latex/timbreicmc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nd44car7vksfrz53h54r7cz1flgkgmyjri5ai1k7s9g2fn16x2n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/timbreicmc")
    (synopsis "Typeset documents with ICMC/USP watermarks")
    (description
     "With this package you can typeset documents with ICMC/USP Sao Carlos
watermarks.  ICMC is acronym for @emph{Instituto de Ciencias Matematicas e de
Computacao} of the @emph{Universidade de Sao Paulo} (USP), in the city of Sao
Carlos-SP, Brazil.")
    (license license:lppl1.3c)))

(define-public texlive-tinos
  (package
    (name "texlive-tinos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tinos/"
                                     "fonts/enc/dvips/tinos/"
                                     "fonts/map/dvips/tinos/"
                                     "fonts/tfm/google/tinos/"
                                     "fonts/truetype/google/tinos/"
                                     "fonts/type1/google/tinos/"
                                     "fonts/vf/google/tinos/"
                                     "tex/latex/tinos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06cckhcjxrg1x2jb8w1y3k0sb5bb6nfs3k9qdjc9mywji4a20g18"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tinos")
    (synopsis "Tinos fonts with LaTeX support")
    (description
     "Tinos, designed by Steve Matteson, is an innovative serif design that is
metrically compatible with Times New Roman.")
    (license (list license:asl2.0 license:lppl))))

(define-public texlive-tiscreen
  (package
    (name "texlive-tiscreen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tiscreen/" "tex/latex/tiscreen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nrwai8qg26412jm8v3vgy7m4qk2kq6asc33j5a76z2ixnnhjlps"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tiscreen")
    (synopsis "Mimic the screen of older Texas Instruments calculators")
    (description
     "This package mimics the screen of older Texas Instruments dot matrix
display calculators, specifically the TI-82 STATS.")
    (license license:lppl1.3c)))

(define-public texlive-tlc-article
  (package
    (name "texlive-tlc-article")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tlc-article/"
                                     "tex/latex/tlc-article/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxghkxg1yls97zrcfyjn8nk45mg5ygcjiprdwcs0ha1bl3pybxs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tlc-article")
    (synopsis "LaTeX document class for formal documents")
    (description
     "The package provides a LaTeX document class that orchestrates a logical
arrangement for document header, footer, author, abstract, table of contents,
and margins.  It standardizes a document layout intended for formal
documents.")
    (license license:bsd-3)))

(define-public texlive-tocbibind
  (package
    (name "texlive-tocbibind")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tocbibind/"
                                     "source/latex/tocbibind/"
                                     "tex/latex/tocbibind/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "086yi3d11pj5cnf0jfsmyy495y6kcind88569mig2yvq2adjmq3b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tocbibind")
    (synopsis "Add bibliography/index/contents to table of contents")
    (description
     "This package automatically adds the bibliography and/or the index and/or
the contents, etc., to the table of contents.")
    (license license:lppl)))

(define-public texlive-topletter
  (package
    (name "texlive-topletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/topletter/"
                                     "source/latex/topletter/"
                                     "tex/latex/topletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s9yq65wwcw6mg09lk3x756iski1k55skik3n45l9wdbdz81w1p9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/topletter")
    (synopsis "Letter class for the @emph{Politecnico di Torino}")
    (description
     "This package provides a LaTeX class for typesetting letters conforming
to the official Corporate Image guidelines for the @emph{Politecnico di
Torino}.  The class can be used for letters written in Italian and in
English.")
    (license license:asl2.0)))

(define-public texlive-toptesi
  (package
    (name "texlive-toptesi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/toptesi/" "source/latex/toptesi/"
                                     "tex/latex/toptesi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mskk7swjgcy6lw1l81brcnw7n870mrz3la64ln0f3mxps98gik6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/toptesi")
    (synopsis "Bundle for typesetting multilanguage theses")
    (description
     "This bundle contains everything needed for typesetting a bachelor,
master, or PhD thesis in any language supported by LaTeX.  The infix strings
may be selected and specified at will by means of a configuration file, so as
to customize the layout of the front page to the requirements of a specific
university.  Thanks to its language management, the bundle is suited for
multi-language theses.  Toptesi is designed to save the PDF version of
a thesis in PDF/A-1b compliant mode and with all the necessary metadata.")
    (license license:lppl1.3c)))

(define-public texlive-tpslifonts
  (package
    (name "texlive-tpslifonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tpslifonts/"
                                     "source/latex/tpslifonts/"
                                     "tex/latex/tpslifonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i713qbhbv6yhax667igabfal1p2f8r6w0hgvs4y4pbpv4ffyqf6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tpslifonts")
    (synopsis "LaTeX package for configuring presentation fonts")
    (description
     "This package aims to improve of font readability in presentations,
especially with maths.  The standard CM maths fonts at large design sizes are
difficult to read from far away, especially at low resolutions and low
contrast color choice.  Using this package leads to much better overall
readability of some font combinations.  The package offers a couple of
harmonising combinations of text and maths fonts from the (distant) relatives
of Computer Modern fonts, with a couple of extras for optimising readability.
Text fonts from Computer Modern roman, Computer Modern sans serif, SliTeX
Computer Modern sans serif, Computer Modern Bright, or Concrete Roman are
available, in addition to maths fonts from Computer Modern maths, Computer
Modern Bright maths, or Euler fonts.")
    (license license:gpl3+)))

(define-public texlive-trajan
  (package
    (name "texlive-trajan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/trajan/"
                                     "fonts/afm/public/trajan/"
                                     "fonts/map/dvips/trajan/"
                                     "fonts/tfm/public/trajan/"
                                     "fonts/type1/public/trajan/"
                                     "source/latex/trajan/"
                                     "tex/latex/trajan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjx252c6a3bf1k2646sqf3n3s09x2gxya3ypn1zz9scn5kkh1wa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/trajan")
    (synopsis "Fonts from the Trajan's Column in Rome")
    (description
     "This package provides fonts (both as Metafont source and in Adobe Type
1 format) based on the capitals carved on the Trajan's Column in Rome in 114
AD, together with macros to access the fonts.  The font is uppercase letters
together with some punctuation and analphabetics; no lowercase or digits.")
    (license license:lppl)))

(define-public texlive-translation-array-fr
  (package
    (name "texlive-translation-array-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-array-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "128k8isyn4s0v496sykn22fqn0gfwyyk19kcrmxnc6clgxxfbdy6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-array-fr")
    (synopsis "French translation of the documentation of @code{array}")
    (description
     "This package provides a French translation of the documentation of
@code{array}.")
    (license license:lppl)))

(define-public texlive-translation-dcolumn-fr
  (package
    (name "texlive-translation-dcolumn-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-dcolumn-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xakssrkxb2wc6xyy1yvx4mm398x3yq032b7vapqxl82h992fjll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-dcolumn-fr")
    (synopsis "French translation of the documentation of @code{dcolumn}")
    (description
     "This package provides a French translation of the documentation of
@code{dcolumn}.")
    (license license:lppl)))

(define-public texlive-translation-natbib-fr
  (package
    (name "texlive-translation-natbib-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-natbib-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f0r1n8q3jkxsdcddabsgz9h9ndq4yffdpxdqxvqjmhfafhzwgkg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-natbib-fr")
    (synopsis "French translation of the documentation of @code{natbib}")
    (description
     "This package provides a French translation of the documentation of
@code{natbib}.")
    (license license:lppl)))

(define-public texlive-translation-tabbing-fr
  (package
    (name "texlive-translation-tabbing-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-tabbing-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cih442gp6zf8nwb2lbgjn7a64aglyrcw3aciqy5pkdw09pwn0an"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-tabbing-fr")
    (synopsis "French translation of the documentation of @code{tabbing}")
    (description
     "This package provides a translation to French of the documentation of
the @code{tabbing} package.")
    (license license:lppl1.0+)))

(define-public texlive-tree-dvips
  (package
    (name "texlive-tree-dvips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tree-dvips/" "dvips/tree-dvips/"
                                     "tex/latex/tree-dvips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wk86z29aqfrsg947h5qbp98fngdx55v8xcx6dgniv5fv7d9ffrp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tree-dvips")
    (synopsis "Trees and other linguists' macros")
    (description
     "The package defines a mechanism for specifying connected trees that uses
a @code{tabular} environment to generate node positions.  The package uses
PostScript code, loaded by Dvips, so output can only be generated by use of
Dvips.

The package @code{lingmacros.sty} defines a few macros for linguists:
@code{\\enumsentence} for enumerating sentence examples, simple
@code{tabular}-based non-connected tree macros, and gloss macros.")
    (license license:lppl1.0+)))

(define-public texlive-tuda-ci
  (package
    (name "texlive-tuda-ci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tuda-ci/" "tex/latex/tuda-ci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vv80p8p8xqdqg35d7ix32dl8lw1rmzfzqdz5c785llr9k87470p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tuda-ci")
    (synopsis "LaTeX templates of Technische Universitat Darmstadt")
    (description
     "The TUDa-CI-Bundle provides a possibility to use the corporate design
of TU Darmstadt in LaTeX.  It contains document classes as well as
some helper packages and config files together with some templates for
user documentation, which currently are only available in German.")
    (license license:lppl1.3c)))

(define-public texlive-tudscr
  (package
    (name "texlive-tudscr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tudscr/" "source/latex/tudscr/"
                                     "tex/latex/tudscr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1whwmablazz41hy1p99ls8l4lk80h202ynzhabpwcmhk7mj60ikn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-cbfonts
           texlive-environ
           texlive-etoolbox
           texlive-geometry
           texlive-graphics
           texlive-greek-inputenc
           texlive-iwona
           texlive-koma-script
           texlive-mathastext
           texlive-mweights
           texlive-oberdiek
           texlive-opensans
           texlive-trimspaces
           texlive-xcolor
           texlive-xpatch))
    (home-page "https://ctan.org/pkg/tudscr")
    (synopsis "Corporate design of Technische Universitat Dresden")
    (description
     "The TUD-Script bundle provides both classes and packages in order to
create LaTeX documents in the corporate design of the Technische Universitat
Dresden.  It bases on the KOMA-Script bundle.

The bundle offers:

@itemize

@item the three document classes @code{tudscrartcl}, @code{tudscrreprt}, and
@code{tudscrbook};

@item the class @code{tudscrposter} for creating posters;

@item the package @code{tudscrsupervisor} providing environments and macros to
create tasks, evaluations and notices for scientific theses;

@item the package @code{tudscrfonts}, which makes the corporate design fonts
of the Technische Universitat Dresden available for LaTeX standard classes and
KOMA-Script classes;

@item the package @code{fix-tudscrfonts}, which provides the same fonts to
additional corporate design classes not related to TUD-Script;

@item the package @code{tudscrcomp}, which simplifies the switch to TUD-Script
from external corporate design classes,

@item the package @code{mathswap} for swapping math delimiters within
numbers (similar to @code{ionumbers}),

@item and the package @code{twocolfix} for fixing the positioning bug of
headings in @code{twocolumn} layout.

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-tugboat
  (package
    (name "texlive-tugboat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/tugboat/" "doc/latex/tugboat/"
                                     "source/latex/tugboat/" "tex/latex/tugboat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g6shnxmq9ak0lp73c41m3x4ifr4qrd0s0i7pypnxa6r4i1miqci"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tugboat")
    (synopsis "LaTeX macros for @emph{TUGboat} articles")
    (description
     "This package provides @file{ltugboat.cls} for both regular and
proceedings issues of the @emph{TUGboat} journal.  It also provides a BibTeX
style, @file{tugboat.bst}.")
    (license license:lppl1.3+)))

(define-public texlive-tugboat-plain
  (package
    (name "texlive-tugboat-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/tugboat-plain/"
                                     "tex/plain/tugboat-plain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kqm03x42m3fpgsg644wychgi42wgpwl51ljarbf5kqcrjwij25z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tugboat-plain")
    (synopsis "Plain TeX macros for @emph{TUGboat}")
    (description
     "The macros defined in this package are used in papers written in Plain
TeX for publication in @emph{TUGboat}.")
    (license license:knuth)))

(define-public texlive-tui
  (package
    (name "texlive-tui")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tui/" "tex/latex/tui/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14wl2n8wbc2p6nmrallwsxp4s6h73h97qm1w8algyv67bfl5i0hs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tui")
    (synopsis "Thesis style for the University of the Andes, Colombia")
    (description
     "The class is used for doctoral dissertations from the Faculty of
Engineering at the Universidad de los Andes, Bogota, Colombia.  It is
implemented as an extension of the @code{memoir} class.")
    (license license:lppl)))

(define-public texlive-turabian
  (package
    (name "texlive-turabian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turabian/" "tex/latex/turabian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1waqdm6r4fpy602jfqjbfhm2x71llpg4wj4a9w61pkbca19xcnki"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turabian")
    (synopsis "Create Turabian-formatted material using LaTeX")
    (description
     "The bundle provides a class file and a template for creating
Turabian-formatted projects.  The class file supports citation formatting
conforming to the Turabian 8th Edition style guide.")
    (license license:lppl)))

(define-public texlive-turabian-formatting
  (package
    (name "texlive-turabian-formatting")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turabian-formatting/"
                                     "tex/latex/turabian-formatting/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h42lrgq59900bhzgw114w1sxi432rbnpb2j5amwz64bsckvd2ry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turabian-formatting")
    (synopsis "Formatting based on @emph{Turabian's Manual}")
    (description
     "The @code{turabian-formatting} package provides Chicago-style formatting
based on Kate L. Turabian's @emph{A Manual for Writers of Research Papers,
Theses, and Dissertations: Chicago Style for Students and Researchers} (9th
edition).")
    (license license:lppl1.3+)))

(define-public texlive-turnstile
  (package
    (name "texlive-turnstile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turnstile/"
                                     "source/latex/turnstile/"
                                     "tex/latex/turnstile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05ffizykplpisjy75s8zbaphpj5vk8r09ii5jzv929y54mi2qs06"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turnstile")
    (synopsis "Typeset the (logic) turnstile notation")
    (description
     "This package typesets the turnstile sign.  Among other uses, this sign
is used by logicians for denoting a consequence relation, related to a given
logic, between a collection of formulas and a derived formula.")
    (license license:lppl)))

(define-public texlive-twemoji-colr
  (package
    (name "texlive-twemoji-colr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/twemoji-colr/"
                                     "fonts/truetype/public/twemoji-colr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qadwv7malbji28pxjpz3r53kb94grp435yk8h7i93x143vd8p9n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/twemoji-colr")
    (synopsis "Twemoji font in COLR/CPAL layered format")
    (description
     "This is a COLR/CPAL-based color OpenType font from the Twemoji
collection of emoji images.")
    (license (list license:cc-by-sa4.0 license:asl2.0))))

(define-public texlive-txfontsb
  (package
    (name "texlive-txfontsb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/txfontsb/"
                                     "fonts/afm/public/txfontsb/"
                                     "fonts/enc/dvips/txfontsb/"
                                     "fonts/map/dvips/txfontsb/"
                                     "fonts/opentype/public/txfontsb/"
                                     "fonts/tfm/public/txfontsb/"
                                     "fonts/type1/public/txfontsb/"
                                     "fonts/vf/public/txfontsb/"
                                     "source/fonts/txfontsb/"
                                     "tex/latex/txfontsb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y7af1n1dymi6723jvn01rcjfwr6p47wr5y4c33wa4cgaa9m39hn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/txfontsb")
    (synopsis "Extensions to @code{txfonts}, using GNU Freefont")
    (description
     "This package provides a set of fonts that extend the @code{txfonts}
bundle with small caps and old style numbers, together with Greek support.
The extensions are made with modifications of the GNU Freefont.")
    (license (list license:gpl3+ license:lppl1.0+))))

(define-public texlive-txuprcal
  (package
    (name "texlive-txuprcal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/txuprcal/"
                                     "fonts/map/dvips/txuprcal/"
                                     "fonts/tfm/public/txuprcal/"
                                     "fonts/type1/public/txuprcal/"
                                     "tex/latex/txuprcal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "033h3rqj7kf0rx0kdy9s1kwhk1hkrc6z70ga6ky7xy79mc3k2vgp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/txuprcal")
    (synopsis "Upright calligraphic font based on TX calligraphic")
    (description
     "This small package provides a means of loading as @code{\\mathcal} an
uprighted version of the calligraphic fonts from the TX font package.
A scaled option is provided to allow arbitrary scaling.")
    (license license:gpl3)))

(define-public texlive-typicons
  (package
    (name "texlive-typicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/typicons/"
                                     "fonts/truetype/public/typicons/"
                                     "tex/latex/typicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p82gq8jy0brvps6y6qdw8bldfsck9fw1qy84vrzfjz65435dzvh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typicons")
    (synopsis "Font containing a set of web-related icons")
    (description
     "This package grants access to 336 web-related icons provided by the
included Typicons font, designed by Stephen Hutchings.")
    (license license:lppl1.3+)))

(define-public texlive-uaclasses
  (package
    (name "texlive-uaclasses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uaclasses/"
                                     "source/latex/uaclasses/"
                                     "tex/latex/uaclasses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n0bz3cq9zgl5ppwq02izjgiw6gpza05ymc6x0gsc8v13wfcgvz0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uaclasses")
    (synopsis "University of Arizona thesis and dissertation format")
    (description
     "This package provides a LaTeX2e document class named @code{ua-thesis}
for typesetting theses and dissertations in the official format required by
the University of Arizona.  Moreover, there is a fully compatible alternative
document class @code{my-thesis} for private nice copies of the dissertation,
and the respective title pages are available as separate packages to work with
any document class.")
    (license license:public-domain)))

(define-public texlive-uafthesis
  (package
    (name "texlive-uafthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uafthesis/"
                                     "tex/latex/uafthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vxd9vk4dzpxcpn4l20r5hm3cz04mwqvd8kw1yg7vvjlnpshi4i6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uafthesis")
    (synopsis "Document class for theses at University of Alaska Fairbanks")
    (description
     "This is document class for theses at University of Alaska Fairbanks.")
    (license license:lppl)))

(define-public texlive-uantwerpendocs
  (package
    (name "texlive-uantwerpendocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uantwerpendocs/"
                                     "source/latex/uantwerpendocs/"
                                     "tex/latex/uantwerpendocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kc8c2hb1lni19hi313y18n48ik37ba5bkqc431hfpgj18fl5jrq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uantwerpendocs")
    (synopsis
     "Course texts, master theses, and exams in University of Antwerp style")
    (description
     "These class files implement the house style of the University of
Antwerp.  Using these class files will make it easy for you to make and keep
your documents compliant to this version and future versions of the house
style of the University of Antwerp.")
    (license license:lppl1.3+)))

(define-public texlive-ucalgmthesis
  (package
    (name "texlive-ucalgmthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucalgmthesis/"
                                     "tex/latex/ucalgmthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10y0663xcggbykia38q85v429033m5p8k02v7vp4k9lrn10zixbn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucalgmthesis")
    (synopsis
     "LaTeX thesis class for University of Calgary Faculty of Graduate Studies")
    (description
     "@file{ucalgmthesis.cls} is a LaTeX class file that produces documents
according to the thesis guidelines of the University of Calgary Faculty of
Graduate Studies.  It uses the @code{memoir} class.")
    (license license:expat)))

(define-public texlive-ucbthesis
  (package
    (name "texlive-ucbthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucbthesis/"
                                     "tex/latex/ucbthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kwy84r7vz5nvq8nrar1ykik4ycpvgl1kwiyi0da6wjn4cazxxh9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucbthesis")
    (synopsis "Thesis and dissertation class supporting UCB requirements")
    (description
     "The class provides the necessary framework for electronic submission
of masters theses and PhD dissertations at the University of
California, Berkeley.  It is based on the @code{memoir} class.")
    (license license:lppl1.3+)))

(define-public texlive-ucdavisthesis
  (package
    (name "texlive-ucdavisthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucdavisthesis/"
                                     "source/latex/ucdavisthesis/"
                                     "tex/latex/ucdavisthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ymgnb2q77j5gfhcb4w4hvsafvs3vyygvzbq7zl9zgzzb02ml35j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucdavisthesis")
    (synopsis
     "Thesis and dissertation class for University of California at Davis")
    (description
     "The @code{ucdavisthesis} class is a LaTeX class that allows you to
create a dissertation or thesis conforming to UC Davis formatting
requirements as of April 2016.")
    (license license:lppl1.2+)))

(define-public texlive-ucsmonograph
  (package
    (name "texlive-ucsmonograph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucsmonograph/"
                                     "source/latex/ucsmonograph/"
                                     "tex/latex/ucsmonograph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13yf91i1c4bin9vbvsjpl5s7fkina5ai5zw868wdk5fiqvmqvgx7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucsmonograph")
    (synopsis
     "Typesetting academic documents from the University of Caxias do Sul")
    (description
     "This is a LaTeX class for typesetting academic documents according to
the @acronym{ABNT, Brazilian Technical Standards Association} standards and
the @acronym{UCS, University of Caxias do Sul} specifications.")
    (license license:lppl1.3c)))

(define-public texlive-ucthesis
  (package
    (name "texlive-ucthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucthesis/" "tex/latex/ucthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19s6s4wxq494shi2pgrdyaz9qx52zma62czd92mrkjp2diim1197"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucthesis")
    (synopsis "University of California thesis format")
    (description
     "This package provides a modified version of the standard LaTeX report
style that is accepted for use with University of California PhD dissertations
and masters theses.")
    (license license:lppl1.3+)))

(define-public texlive-udes-genie-these
  (package
    (name "texlive-udes-genie-these")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/udes-genie-these/"
                                     "source/latex/udes-genie-these/"
                                     "tex/latex/udes-genie-these/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00gc36hjc1mr3qgna2sr2hadr8673lvl1fw46anbskyj6509xx13"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/udes-genie-these")
    (synopsis
     "Thesis class for the @emph{Faculte de genie} at the Universite de
Sherbrooke")
    (description
     "The @code{udes-genie-these} class can be used for PhD theses,
master's theses and project definitions at the @emph{Faculte de genie} of the
Universite de Sherbrooke (Quebec, Canada).  The class file is coherent with
the latest version of the @emph{Protocole de redaction aux etudes superieures}
which is available on the faculte's intranet.  The class file documentation is
in French, the language of the typical user at the Universite de Sherbrooke.")
    (license license:lppl1.3c)))

(define-public texlive-uestcthesis
  (package
    (name "texlive-uestcthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/uestcthesis/"
                                     "doc/latex/uestcthesis/"
                                     "tex/latex/uestcthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gqa6yyj3nq75vfjxrcn0pxc9gmgdaf7mdhp5sf3hy3br9ix8qgw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uestcthesis")
    (synopsis "Thesis class for UESTC")
    (description
     "The class is for typesetting a thesis at the University of Electronic
Science and Technology of China.")
    (license license:lppl1.3+)))

(define-public texlive-ufrgscca
  (package
    (name "texlive-ufrgscca")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ufrgscca/" "tex/latex/ufrgscca/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l54a3bdrwr0dfi2nf5pq6jb3yd9pv5bgpkkgbq7j6g9fv00i6hz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ufrgscca")
    (synopsis
     "Bundle for undergraduate students final work or report (TCC) at
UFRGS/EE")
    (description
     "This bundled is aimed at producing undergraduate students final work or
report at UFRGS/EE (Engineering School at the Federal University of Rio Grande
do Sul), closely following ABNT rules (Brazilian Association for Technical
Norms).  It is composed of a main class, @code{ufrgscca}, and a set of
auxiliary packages, some of which can be used independently.")
    (license (list license:lppl1.3c license:gpl3+))))

(define-public texlive-uhhassignment
  (package
    (name "texlive-uhhassignment")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uhhassignment/"
                                     "source/latex/uhhassignment/"
                                     "tex/latex/uhhassignment/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15yvq00xsikb8c78gkyyqjdgcz2yw8dnp586mjcrk1p4kvlpwyam"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uhhassignment")
    (synopsis "Document class for typesetting homework assignments")
    (description
     "This document class was created for typesetting solutions to homework
assignments at the university of Hamburg (Universitat Hamburg).")
    (license license:lppl1.3c)))

(define-public texlive-uiucredborder
  (package
    (name "texlive-uiucredborder")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uiucredborder/"
                                     "source/latex/uiucredborder/"
                                     "tex/latex/uiucredborder/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wsf3cfmpfmsv3afm78gc91fsiba415ir4p5fa0ivfny3dh34qnq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uiucredborder")
    (synopsis "Class for UIUC thesis red-bordered forms")
    (description
     "The class offers a means of filling out the ``red-bordered form''
that gets signed by the department head, your advisor, and --- for
doctoral dissertations --- your thesis committee members.")
    (license license:lppl1.2+)))

(define-public texlive-uiucthesis
  (package
    (name "texlive-uiucthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uiucthesis/"
                                     "source/latex/uiucthesis/"
                                     "tex/latex/uiucthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kzp2p03p1v7qij2kz82xis88vh1g477vs2aa0sqfa24w9y28h5i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uiucthesis")
    (synopsis "UIUC thesis class")
    (description
     "The class produces a document that conforms to the format described in
the University's Handbook for Graduate Students Preparing to Deposit.")
    (license license:lppl)))

(define-public texlive-ukbill
  (package
    (name "texlive-ukbill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ukbill/" "tex/latex/ukbill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ba4j50qmhvncdb2nnmyczpwb6cy86jj96n6bj9azik755mzmh70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ukbill")
    (synopsis "Class for typesetting UK legislation")
    (description
     "This package provides formatting to easily typeset draft UK legislation.
The font Palatine Parliamentary is required to use this package.")
    (license license:lppl1.3c)))

(define-public texlive-ulqda
  (package
    (name "texlive-ulqda")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ulqda/" "scripts/ulqda/"
                                     "source/latex/ulqda/" "tex/latex/ulqda/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07jzmk0p4l28dxxqqpma4px9riykg0zynnjycyripg2m76a9ah2g"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "ulqda.pl")
           #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-dot2texi
                  texlive-etoolbox
                  texlive-hypdoc
                  texlive-moreverb
                  texlive-pgf
                  texlive-soul
                  texlive-subfigure
                  texlive-xkeyval))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ulqda")
    (synopsis "Support of Qualitative Data Analysis")
    (description
     "The package is for use in Qualitative Data Analysis research.  It
supports the integration of Qualitative Data Analysis (QDA) research tasks,
specifically for Grounded Theory, into the LaTeX work flow.  It assists in the
analysis of textual data such as interview transcripts and field notes by
providing the LaTeX user with macros which are used to markup textual
information.")
    (license license:lppl)))

(define-public texlive-ulthese
  (package
    (name "texlive-ulthese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ulthese/" "source/latex/ulthese/"
                                     "tex/latex/ulthese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kcw1zsgj0dr00h555qcld9dn58i8iipnka9s10fn9q0x46sq05q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ulthese")
    (synopsis "Thesis class and templates for Universite Laval")
    (description
     "The package provides a class based on @code{memoir} to prepare theses
and memoirs compliant with the presentation rules set forth by the Faculty of
Graduate Studies of Universite Laval, Quebec, Canada.  The class also comes
with an extensive set of templates for the various types of theses and memoirs
offered at Laval.

Please note that the documentation for the class and the comments in the
templates are all written in French, the language of the target audience.")
    (license license:lppl1.3c)))

(define-public texlive-umbclegislation
  (package
    (name "texlive-umbclegislation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umbclegislation/"
                                     "tex/latex/umbclegislation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0znzm0ymvz43f4kgvww79mnr7nl78xcmi7yw2vlwx332kq8hcw2v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umbclegislation")
    (synopsis
     "LaTeX class for legislation files for UMBC Student Government
Association Bills")
    (description
     "This is a LaTeX class for building legislation files for UMBC Student
Government Association Bills.")
    (license license:gpl3)))

(define-public texlive-umich-thesis
  (package
    (name "texlive-umich-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umich-thesis/"
                                     "tex/latex/umich-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15y25n9j2zh7hmgpq9fir6y0ydjwqhvyy6cx59jm8i0swkgw33vz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umich-thesis")
    (synopsis "University of Michigan thesis LaTeX class")
    (description
     "This package provides a LaTeX2e class to create a University of
Michigan dissertation according to the Rackham dissertation handbook.")
    (license license:lppl)))

(define-public texlive-umthesis
  (package
    (name "texlive-umthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umthesis/" "tex/latex/umthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y2ba0k9d2sab9mkfhpsm92v4wx6rhapj887jbvcl7871b4idbps"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umthesis")
    (synopsis "Dissertations at the University of Michigan")
    (description
     "This is a class for dissertations at the University of Michigan. it
loads @code{book} class, and makes minimal changes to it.")
    (license license:lppl)))

(define-public texlive-umtypewriter
  (package
    (name "texlive-umtypewriter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/umtypewriter/"
                                     "fonts/opentype/public/umtypewriter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19skqmchglac4lrk4qhvb4rabi73qmypdi20sbjxnvb8abw0pf3i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umtypewriter")
    (synopsis "Fonts to typeset with the @code{xgreek} package")
    (description
     "The UMTypewriter font family is a monospaced font family that was built
from glyphs from the CB Greek fonts, the CyrTUG Cyrillic alphabet fonts (LH),
and the standard Computer Modern font family.  It contains four OpenType fonts
which are required for use of the @code{xgreek} package for XeLaTeX.")
    (license license:silofl1.1)))

(define-public texlive-unam-thesis
  (package
    (name "texlive-unam-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unam-thesis/"
                                     "tex/latex/unam-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cn4qd3rvh9z8sp7g94fh11khij2vykv89inbmy7g52hxgxzkdhh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unam-thesis")
    (synopsis "Create documents according to the UNAM guidelines")
    (description
     "This is a class for creating dissertation documents according to the
National Autonomous University of Mexico (UNAM) guidelines.")
    (license license:gpl3+)))

(define-public texlive-unamth-template
  (package
    (name "texlive-unamth-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unamth-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ydaxzcwxq1rjkawlapnfipjzlyzvbvijrx98pi9yd4zk2nnqjfv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unamth-template")
    (synopsis "UNAM thesis LaTeX Template")
    (description
     "The bundle provides a template for UNAM's College of Engineering
Theses.")
    (license license:gpl3)))

(define-public texlive-unamthesis
  (package
    (name "texlive-unamthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/unamthesis/"
                                     "doc/latex/unamthesis/"
                                     "tex/latex/unamthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jdppibm49491ddgx6ny6hqsfs9qan948614bfcy67f5syjzx2jh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unamthesis")
    (synopsis "Style for Universidad Nacional Autonoma de Mexico theses")
    (description
     "The package provides a customisable format to typeset Theses according
to the Universidad Nacional Autonoma de Mexico guidelines.  The bundle also
includes an appropriate bibliographic style which enables the use of
author-year schemes using the @code{natbib} package.")
    (license license:lppl1.3+)))

(define-public texlive-unbtex
  (package
    (name "texlive-unbtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unbtex/" "tex/latex/unbtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a1lfv1ls6n1q5rxi7cdsvyfwhk4xf1qmwi17hv8g4sh1lwi0cyq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unbtex")
    (synopsis "Class for theses at @acronym{UnB, University of Brasilia}")
    (description
     "This package provides a class based on abnTeX and compatible with
pdfLaTex and Biber to prepare bachelor, master, and doctoral theses for the
@acronym{UnB, University of Brasilia}, Brazil.  The class also comes with
a template for the various types of theses for undergraduate and graduate
programs at UnB.  The documentation for the class and the comments in the
templates are all written in Portuguese, the language of the target
audience.")
    (license license:lppl1.3+)))

(define-public texlive-unfonts-core
  (package
    (name "texlive-unfonts-core")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/unfonts-core/"
                                     "fonts/truetype/public/unfonts-core/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12q7h1akmgc3vdvyb4i8x51a716451kwi90vh9i57xw76hmg5f4x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unfonts-core")
    (synopsis "TrueType version of Un-fonts")
    (description
     "This is TrueType version of Un-fonts core bundle.  It includes the
following font families (12 fonts):
@itemize
@item UnBatang, UnBatangBold: serif;
@item UnDotum, UnDotumBold: sans-serif;
@item UnGraphic, UnGraphicBold: sans-serif style;
@item UnDinaru, UnDinaruBold, UnDinaruLight;
@item UnPilgi, UnPilgiBold: script;
@item UnGungseo: cursive, brush-stroke.
@end itemize")
    (license license:gpl2)))

(define-public texlive-unfonts-extra
  (package
    (name "texlive-unfonts-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/unfonts-extra/"
                                     "fonts/truetype/public/unfonts-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1krs93dsi50278qxgm24ij9w9r7gdcxqsdfk6ai5klvkmlka8gkf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unfonts-extra")
    (synopsis "TrueType version of Un-fonts")
    (description
     "This is TrueType version of Un-fonts extra bundle.  It includes the
following Korean font families (11 fonts):
@itemize
@item UnPen, UnPenheulim: script;
@item UnTaza: typewriter style;
@item UnShinmun;
@item UnYetgul: old Korean printing style;
@item UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang;
@item UnPilgia;
@item UnVada.
@end itemize")
    (license license:gpl2)))

(define-public texlive-uni-wtal-ger
  (package
    (name "texlive-uni-wtal-ger")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uni-wtal-ger/"
                                     "tex/latex/uni-wtal-ger/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bxrvl10ccdqarffdf3xzcihnid8h84sv1hcbncjmwq249kf3f96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uni-wtal-ger")
    (synopsis
     "Citation style for literary studies at the University of Wuppertal")
    (description
     "The package defines a BibLaTeX citation style based on the author-title
style of @code{biblatex-dw}.  The citations are optimised for literary studies
in faculty of humanities at the Bergische Universitat Wuppertal.")
    (license license:lppl1.3+)))

(define-public texlive-uni-wtal-lin
  (package
    (name "texlive-uni-wtal-lin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uni-wtal-lin/"
                                     "tex/latex/uni-wtal-lin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ndzpby3m8ccw3r4sp9plrzmnnpiksvi8plnqyssklalmm406hj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uni-wtal-lin")
    (synopsis
     "Citation style for linguistic studies at the University of Wuppertal")
    (description
     "The package defines a BibLaTeX citation style based on the standard
author-year style.  The citations are optimised for linguistic studies at the
Institute of Linguistics at the Bergische Universitat Wuppertal.")
    (license license:lppl1.3+)))

(define-public texlive-unicode-alphabets
  (package
    (name "texlive-unicode-alphabets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unicode-alphabets/"
                                     "tex/latex/unicode-alphabets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xvzmx0xa8mmi39a8c89byi6c6y7vbl5k3plp63k5mif19ncyq3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unicode-alphabets")
    (synopsis "Macros for using characters from Unicode's Private Use Area")
    (description
     "While Unicode supports the vast majority of use cases, there are certain
specialized niches which require characters and glyphs not (yet) represented
in the standard.  Thus the Private Use Area (PUA) at code points E000-F8FF,
which enables third parties to define arbitrary character sets.  This package
allows configuring a number of macros for using various PUA character sets in
LaTeX (AGL, CYFI, MUFI, SIL, TITUS, UCSUR, UNZ), to enable transcription and
display of medieval and other documents.")
    (license license:cc-by-sa4.0)))

(define-public texlive-unifith
  (package
    (name "texlive-unifith")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/unifith/" "doc/latex/unifith/"
                                     "tex/latex/unifith/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06y9hkxv8y9p06pcyy2nv0nqma6bnh0n9i9pwpdadks9zs9sqn8r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unifith")
    (synopsis "Typeset theses for University of Florence (Italy)")
    (description
     "The package provides a class to typeset PhD, master, and bachelor theses
that adhere to the publishing guidelines of the University of
Florence (Italy).")
    (license license:lppl1.3c)))

(define-public texlive-unigrazpub
  (package
    (name "texlive-unigrazpub")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unigrazpub/"
                                     "source/latex/unigrazpub/"
                                     "tex/latex/unigrazpub/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02xnlp7p1ap0wvkn4skskh6av4rj8fh28gqk27x97yp0c255w3qv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unigrazpub")
    (synopsis
     "LaTeX templates for University of Graz Library Publishing Services")
    (description
     "This package provides a LaTeX class matching the preparation guidelines
of the Library Publishing Services of University of Graz.")
    (license license:lppl1.3c)))

(define-public texlive-unitn-bimrep
  (package
    (name "texlive-unitn-bimrep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unitn-bimrep/"
                                     "tex/latex/unitn-bimrep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0id55sfi9bzj7vp7dm9wxy355ca6k6dmxq488r4dwmndy2z4v8hl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unitn-bimrep")
    (synopsis
     "Bimonthly report class for the PhD School of Materials,
Mechatronics and System Engineering")
    (description
     "This package allows to rapidly write the bimonthly report for The PhD
School in Materials, Mechatronics and System Engineering.  It allows to define
the research activities, the participation to school and congress, and the
publication performed by a student.")
    (license license:expat)))

(define-public texlive-unitsdef
  (package
    (name "texlive-unitsdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unitsdef/"
                                     "source/latex/unitsdef/"
                                     "tex/latex/unitsdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r3d8af9543sfby3v39gq8vys0m0y3dvni7cly02q0cw6xxw784m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unitsdef")
    (synopsis "Typesetting units in LaTeX")
    (description
     "This package predefines common units, defines an easy to use interface
to define new units and changes the output concerning to the surrounding font
settings.")
    (license license:lppl)))

(define-public texlive-universa
  (package
    (name "texlive-universa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/universa/"
                                     "fonts/source/public/universa/"
                                     "fonts/tfm/public/universa/"
                                     "source/fonts/universa/"
                                     "tex/latex/universa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w1cw2236aj37iggxck1drsfbwsiap8mc3lrkqrimmz2rgixycdp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/universa")
    (synopsis "Herbert Bayer's Universal font")
    (description
     "This package provides an implementation of the Universal by Herbert
Bayer.  The Metafont sources of the fonts, and their LaTeX support, are
supplied.")
    (license license:gpl3+)))

(define-public texlive-universalis
  (package
    (name "texlive-universalis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/universalis/"
                                     "fonts/enc/dvips/universalis/"
                                     "fonts/map/dvips/universalis/"
                                     "fonts/opentype/arkandis/universalis/"
                                     "fonts/tfm/arkandis/universalis/"
                                     "fonts/type1/arkandis/universalis/"
                                     "fonts/vf/arkandis/universalis/"
                                     "tex/latex/universalis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hqlpyh3g682vwdxbgyp7jrswvf16ds8i4mqb6yyv00h3rv11cxk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/universalis")
    (synopsis "Universalis font, with support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the UniversalisADFStd family of fonts, designed by Hirwin Harendal.  The font
is suitable as an alternative to fonts such as Adrian Frutiger's Univers and
Frutiger.")
    (license (list license:gpl2+ license:lppl))))

(define-public texlive-univie-ling
  (package
    (name "texlive-univie-ling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/univie-ling/"
                                     "tex/latex/univie-ling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lxxqddsssacsn9q75jfg6mxvb9drz9swi3h2xjbaakg7bf5y2g2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/univie-ling")
    (synopsis
     "Papers, theses and research proposals in (Applied) Linguistics at Vienna
University")
    (description
     "This bundle provides LaTeX2e classes, BibLaTeX files, and templates
suitable for student papers, PhD research proposals (Exposes), and theses
in (Applied) Linguistics at the University of Vienna.  The classes implement
some standards for these types of text, such as suitable title pages.  They
are particularly suited for the field of (Applied) Linguistics and pre-load
some packages that are considered useful in this context.  The classes can
also be used for General and Historical Linguistics as well as for other
fields of study at Vienna University.  In this case, however, some settings
may have to be adjusted.")
    (license license:lppl1.3+)))

(define-public texlive-unizgklasa
  (package
    (name "texlive-unizgklasa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unizgklasa/"
                                     "tex/latex/unizgklasa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lrw0j34r9p2ydsajkvg2k7n8kirpi6lqj2iwhvfqh0pg230y82q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unizgklasa")
    (synopsis
     "LaTeX class for theses at the Faculty Of Graphic Arts in Zagreb")
    (description
     "This class is intended for generating graduate and final theses
according to the instructions of the Faculty of Graphic Arts, University of
Zagreb.  It does not necessarily correspond to the requirements of each
component of the University, but is designed as an idea for linking and
uniformizing the look of all graduate papers.")
    (license license:lppl1.3+)))

(define-public texlive-unswcover
  (package
    (name "texlive-unswcover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unswcover/"
                                     "tex/latex/unswcover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vdi90i07s8914sm7axn1pzks9d0w3qrsijynx5hxr7a36byafhp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unswcover")
    (synopsis "Typeset a dissertation cover page following UNSW guidelines")
    (description
     "The package an UNSW cover sheet following the 2011 GRS guidelines.  It
may also (optionally) provide other required sheets such as Originality,
Copyright and Authenticity statements.")
    (license license:lppl1.3+)))

(define-public texlive-uol-physics-report
  (package
    (name "texlive-uol-physics-report")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uol-physics-report/"
                                     "source/latex/uol-physics-report/"
                                     "tex/latex/uol-physics-report/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00rvqmrc1k67136748vq4j5c90iqa2ry65jkaqarazvlv8x77m4d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uol-physics-report")
    (synopsis "LaTeX document class for writing lab reports")
    (description
     "The package provides physics students at the University of Oldenburg
with a prepared document class for writing laboratory reports for the
laboratory courses conducted by the Institute of Physics.  The document class
consists of predefinded margins and heading formats.  Furthermore, it presets
the headers of the pages and excludes the titlepage and table of contents from
the page numbering.")
    (license license:lppl1.3c)))

(define-public texlive-uothesis
  (package
    (name "texlive-uothesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uothesis/"
                                     "source/latex/uothesis/"
                                     "tex/latex/uothesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04md5wkh11hpczvl7gpi2a5k2j5yalssjw5azpbr2g9q8fc99zp3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uothesis")
    (synopsis "Class for dissertations and theses at the University of Oregon")
    (description
     "The class generates documents that are suitable for submission to the
Graduate School and conform with the style requirements for dissertations and
theses as laid out in the Fall 2010 UO graduate school student manual.")
    (license license:lppl1.3+)))

(define-public texlive-uowthesis
  (package
    (name "texlive-uowthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uowthesis/"
                                     "tex/latex/uowthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "196w8ics6r9n4x05ydpr0hprpmcwqwfqa92h200kxgflp595xm43"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uowthesis")
    (synopsis
     "Document class for dissertations at the University of Wollongong")
    (description
     "This package provides a document class for higher degree research theses
in compliance with the specifications of @acronym{UoW, University of
Wollongong} theses in the @emph{Guidelines for Preparation and Submission of
Higher Degree Research Theses} (March 2006), by the Research Student Centre,
Research & Innovation Division, UoW.")
    (license license:lppl1.3+)))

(define-public texlive-uowthesistitlepage
  (package
    (name "texlive-uowthesistitlepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uowthesistitlepage/"
                                     "tex/latex/uowthesistitlepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mspjj6wvcb9cdbp3qp2cqd3mmmf3kyd77pmk1kji0wspg0jra6y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uowthesistitlepage")
    (synopsis "Title page for dissertations at the University of Wollongong")
    (description
     "The package redefines @code{\\maketitle} to generate a title page for
a @acronym{UoW, University of Wollongong} thesis, in accordance with the UoW
branding guidelines.  The package should be used with the @code{book} class to
typeset a thesis.  The package also defines a @code{\\declaration} command
that typesets the declaration that this thesis is your own work, etc., which
is required in the front of each PhD thesis.")
    (license (list license:lppl1.3c license:cc-by-sa4.0))))

(define-public texlive-uppunctlm
  (package
    (name "texlive-uppunctlm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/uppunctlm/"
                                     "fonts/tfm/public/uppunctlm/"
                                     "fonts/vf/public/uppunctlm/"
                                     "tex/latex/uppunctlm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d9x56rlxjavamx361582khj5idhy692hxm5wwwcc5y5i3xsc4pp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uppunctlm")
    (synopsis
     "Always keep upright shape for some punctuation marks and Arabic numerals")
    (description
     "The package provides a mechanism to keep punctuation always in upright
shape even if italic was specified.  It is directed to Latin Modern fonts, and
provides @file{.tfm}, @file{.vf}, @file{.fd}, and @file{.sty} files.  Here
a list of punctuation characters always presented in upright shapes: comma,
period, semicolon, colon, parentheses, square brackets, and Arabic numerals.")
    (license license:gfl1.0)))

(define-public texlive-urlbst
  (package
    (name "texlive-urlbst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/urlbst/" "doc/bibtex/urlbst/"
                                     "scripts/urlbst/" "source/bibtex/urlbst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sfs2ybkfcqy8w0wdni3aakpnmk60zkmnlc55xskyzzh4yc69qi7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "urlbst")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/urlbst")
    (synopsis "Web support for BibTeX")
    (description
     "This package supports a new BibTeX @code{webpage} entry type and @code{url},
@code{lastchecked}, and @code{eprint} and @code{DOI} fields.  The Perl script
@command{urlbst} can be used to add this support to an arbitrary @file{.bst}
file which has a reasonably conventional structure.  The result is meant to be
robust rather than pretty.")
    (license (list license:gpl2 license:lppl))))

(define-public texlive-urcls
  (package
    (name "texlive-urcls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/urcls/" "tex/latex/urcls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fkz3jqrfay9kzaq1iyyz95n1m7xg6cw8rar878dlgb1rmkds1fb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urcls")
    (synopsis
     "Beamer and @code{scrlttr2} classes and styles for the University of
Regensburg")
    (description
     "The bundle provides a Beamer-derived class and a theme style file for
the corporate design of the @acronym{UR, University of Regensburg}.  It also
contains a @code{scrlttr2}-derived class for letters using the corporate
design of the UR. Users may use the class itself (URbeamer) or use the theme
in the usual way with @code{\\usetheme@{UR@}}.")
    (license license:lppl)))

(define-public texlive-urwchancal
  (package
    (name "texlive-urwchancal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/urwchancal/"
                                     "fonts/tfm/urw/urwchancal/"
                                     "fonts/vf/urw/urwchancal/"
                                     "tex/latex/urwchancal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05mwicyb46hjlqpq432z4b3f0q566xplzp1fjiw1ijmns5xhvig9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urwchancal")
    (synopsis "Use URW's clone of Zapf Chancery as a maths alphabet")
    (description
     "The package allows (the URW clone of) Zapf Chancery to function as
a maths alphabet, the target of @code{\\mathcal} or @code{\\mathscr}, with
accents appearing where they should, and other spacing parameters set to
reasonable (not very tight) values.  The font itself may be found in the URW
basic fonts collection.  This package supersedes the @code{pzccal} package.")
    (license license:lppl)))

(define-public texlive-usebib
  (package
    (name "texlive-usebib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/usebib/" "source/latex/usebib/"
                                     "tex/latex/usebib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qymf8hnp7ilzm030ypbagmw6nicdfy8lhry20viws1v7dibk9l0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/usebib")
    (synopsis "Simple bibliography processor")
    (description
     "The package is described by its author as @emph{a poor person's
replacement for the more powerful methods provided by BibLaTeX to access data
from a @file{.bib} file}.  Its principle commands are @code{\\bibinput}, which
specifies a database to use, and @code{\\usebibdata}, which typesets a single
field from a specified entry in that database.")
    (license license:lppl1.3+)))

(define-public texlive-uspatent
  (package
    (name "texlive-uspatent")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uspatent/" "tex/latex/uspatent/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f2w7zczl6zmxysdwyksbq3zniyw6mfr9zhdz55j5l84fgkwcd3n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uspatent")
    (synopsis "U.S. Patent Application Tools for LaTeX and LyX")
    (description
     "The package provides a class and other tools for developing
a beautifully formatted, consistent U.S. Patent Application using LaTeX and/or
LyX.")
    (license license:lppl1.3+)))

(define-public texlive-ut-thesis
  (package
    (name "texlive-ut-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ut-thesis/"
                                     "source/latex/ut-thesis/"
                                     "tex/latex/ut-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z1rvgy4d2zdagb7x5ymdid02fwnpv2x4dd4jxxkhg9mgq0lscyn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ut-thesis")
    (synopsis "University of Toronto thesis style")
    (description
     "This LaTeX document class implements the formatting requirements of the
University of Toronto School of Graduate Studies (SGS), as of Fall 2020.")
    (license license:lppl1.3c)))

(define-public texlive-utexasthesis
  (package
    (name "texlive-utexasthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/utexasthesis/"
                                     "tex/latex/utexasthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12qgidbdyjj9mdjp6lzidw0ifkdh7hskxdmpmsk5wybjicvf24w4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utexasthesis")
    (synopsis "University of Texas at Austin graduate thesis style")
    (description
     "This class file complies with the Digital Submission Requirement for
masters and PhD thesis submissions of the University of Texas at Austin.")
    (license license:cc0)))

(define-public texlive-uvaletter
  (package
    (name "texlive-uvaletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uvaletter/"
                                     "tex/latex/uvaletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qqrlv7f4mdldf9gyllnaszvfv82ds8p0h63q802q8llviishjbm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uvaletter")
    (synopsis "Unofficial letterhead template for the University of Amsterdam")
    (description
     "This is an unofficial LaTeX package that provides a letterhead template
for the University of Amsterdam.")
    (license license:expat)))

(define-public texlive-uwa-colours
  (package
    (name "texlive-uwa-colours")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-colours/"
                                     "source/latex/uwa-colours/"
                                     "tex/latex/uwa-colours/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lryscsnwayp0s74rcdlr36bi2n45fbdq9f2h3av2n1nj57259a9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-colours")
    (synopsis "Colour palette of the University of Western Australia")
    (description
     "This package uses the @code{xcolor} package to define macros for the
colour palette of the University of Western Australia.")
    (license license:lppl1.3+)))

(define-public texlive-uwa-letterhead
  (package
    (name "texlive-uwa-letterhead")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-letterhead/"
                                     "source/latex/uwa-letterhead/"
                                     "tex/latex/uwa-letterhead/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06p4c6m8dizq4y3pd95bzf81y296r1gg134jnx5h0qzh4l5ywpyx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-letterhead")
    (synopsis "Letterhead of the University of Western Australia")
    (description
     "This package generates the letterhead of the @acronym{UWA, University of
Western Australia}.  It requires the UWA logo in PDF format, which is
available in SVG format at
@url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/},
and uses the Arial and UWA Slab fonts by default.  The package works with
XeLaTeX and LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-uwa-pcf
  (package
    (name "texlive-uwa-pcf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-pcf/" "source/latex/uwa-pcf/"
                                     "tex/latex/uwa-pcf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b41nfrrqmcq3abcwb13hb9anhb5c12c5ha60ni1yz2xqvimr1im"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-pcf")
    (synopsis
     "@acronym{PCF, Participant Consent Form} for a human research protocol
at the University of Western Australia")
    (description
     "This LaTeX class generates a @acronym{PCF, Participant Consent Form} for
a human research protocol at the @acronym{UWA, University of Western
Australia}.  It requires the UWA logo in PDF format, which is available in SVG
format at
@url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/},
and uses the Arial and UWA Slab fonts by default.  The class works with
XeLaTeX and LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-uwa-pif
  (package
    (name "texlive-uwa-pif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwa-pif/" "source/latex/uwa-pif/"
                                     "tex/latex/uwa-pif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "048367w14wnk8h517xc914xvp0g10ysk0kziikk2s4q70qk2jci0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwa-pif")
    (synopsis
     "@acronym{PIF, Participant Information Form} for a human research
protocol at the University of Western Australia")
    (description
     "This package generates a @acronym{PIF, Participant Information Form} for
a human research protocol at the @acronym{UWA, University of Western
Australia}.  It requires the UWA logo in PDF format, which is available in SVG
format at
@url{https://static-listing.weboffice.uwa.edu.au/visualid/core-rebrand/img/uwacrest/},
and uses the Calibri fonts by default.  The class works with XeLaTeX and
LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-uwthesis
  (package
    (name "texlive-uwthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwthesis/" "tex/latex/uwthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wcxpvr86556gxbcprwcv6ipdq3flyfwbcmjkxhy6x6220sfwp56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwthesis")
    (synopsis "University of Washington thesis class")
    (description "This is a thesis class for the University of Washington.")
    (license license:asl2.0)))

(define-public texlive-vak
  (package
    (name "texlive-vak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/vak/" "doc/bibtex/vak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v8bg5yvihskx04m1jjmhlykj2azqb0qv4b2a56vqirrwhldks75"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vak")
    (synopsis "BibTeX style for Russian theses, books, etc")
    (description
     "The file can be used to format the bibliographies of PhD theses,
books etc., according to the latest Russian standards: GOST 7.82 -- 2001 and
GOST 7.1 -- 2003.  It introduces the minimum number of new entries and styles
to cover all frequently used situations.  The style file provides an easy way
to perform a semiautomatic, or a completely manual sort of the list of the
references.  Processing bibliographies produced by the style requires a 8-bit
BibTeX system.")
    (license license:lppl)))

(define-public texlive-vancouver
  (package
    (name "texlive-vancouver")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/vancouver/"
                                     "doc/bibtex/vancouver/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r8x945cx32zn6ky4qqrki4xrj8ipbmkgm2dijmws5m0bkkh276r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vancouver")
    (synopsis "Bibliographic style file for Biomedical journals")
    (description
     "This BibTeX style file is expected to meet the Uniform Requirements for
Manuscripts Submitted to Biomedical Journals (also known as the Vancouver
style).")
    (license license:lppl1.3+)))

(define-public texlive-velthuis
  (package
    (name "texlive-velthuis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/velthuis/"
                                     "doc/man/man1/devnag.1"
                                     "doc/man/man1/devnag.man1.pdf"
                                     "fonts/afm/public/velthuis/"
                                     "fonts/map/dvips/velthuis/"
                                     "fonts/source/public/velthuis/"
                                     "fonts/tfm/public/velthuis/"
                                     "fonts/type1/public/velthuis/"
                                     "tex/generic/velthuis/"
                                     "tex/latex/velthuis/"
                                     "tex/plain/velthuis/"
                                     "tex/xelatex/velthuis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h9maci6b65x7zy13v5j4vlr07lnghiwckh7bn4ix7d1wmh74bij"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (propagated-inputs (list texlive-velthuis-bin texlive-xetex-devanagari))
    (home-page "https://ctan.org/pkg/devanagari")
    (synopsis "Typeset Devanagari")
    (description
     "This package provides Frans Velthuis preprocessor for Devanagari text,
and fonts and macros to use when typesetting the processed text.  The macros
provide features that support Sanskrit, Hindi, Marathi, Nepali, and other
languages typically printed in the Devanagari script.  The package provides
fonts, in both Metafont and Type 1 formats.")
    (license license:gpl3+)))

(define-public texlive-velthuis-bin
  (package
    (inherit texlive-bin)
    (name "texlive-velthuis-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("devnag"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-devnag" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/devnag"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/devnag"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-velthuis))
    (synopsis "Binary for @code{texlive-velthuis}")
    (description
     "This package provide the binary for @code{texlive-velthuis}.")
    (license (package-license texlive-velthuis))))

(define-public texlive-venn
  (package
    (name "texlive-venn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/venn/" "metapost/venn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08pp3b58lng4lfaphhpw5nrczlhj86kgi1ciq12f9241z4qgnq6q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/venn")
    (synopsis "Creating Venn diagrams with MetaPost")
    (description "This package provides MetaPost macros for Venn diagrams.")
    (license license:lppl)))

(define-public texlive-venturisadf
  (package
    (name "texlive-venturisadf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/venturisadf/"
                                     "fonts/afm/arkandis/venturis/"
                                     "fonts/afm/arkandis/venturis2/"
                                     "fonts/afm/arkandis/venturisold/"
                                     "fonts/afm/arkandis/venturissans/"
                                     "fonts/afm/arkandis/venturissans2/"
                                     "fonts/enc/dvips/venturisadf/"
                                     "fonts/map/dvips/venturis/"
                                     "fonts/map/dvips/venturis2/"
                                     "fonts/map/dvips/venturisold/"
                                     "fonts/map/dvips/venturissans/"
                                     "fonts/map/dvips/venturissans2/"
                                     "fonts/tfm/arkandis/venturis/"
                                     "fonts/tfm/arkandis/venturis2/"
                                     "fonts/tfm/arkandis/venturisold/"
                                     "fonts/tfm/arkandis/venturissans/"
                                     "fonts/tfm/arkandis/venturissans2/"
                                     "fonts/type1/arkandis/venturis/"
                                     "fonts/type1/arkandis/venturis2/"
                                     "fonts/type1/arkandis/venturisold/"
                                     "fonts/type1/arkandis/venturissans/"
                                     "fonts/type1/arkandis/venturissans2/"
                                     "fonts/vf/arkandis/venturis/"
                                     "fonts/vf/arkandis/venturis2/"
                                     "fonts/vf/arkandis/venturisold/"
                                     "fonts/vf/arkandis/venturissans/"
                                     "fonts/vf/arkandis/venturissans2/"
                                     "source/fonts/venturisadf/"
                                     "tex/latex/venturis/"
                                     "tex/latex/venturis2/"
                                     "tex/latex/venturisadf/"
                                     "tex/latex/venturisold/"
                                     "tex/latex/venturissans/"
                                     "tex/latex/venturissans2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nvr9g1zzm51zjws52y8cyyi3y1z77q8s7iwgcb6jq4s9n4b4xbc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/venturisadf")
    (synopsis "Venturis ADF fonts collection")
    (description
     "This package provides Venturis ADF fonts collection, serif and sans
serif complete text font families, in both Adobe Type 1 and OpenType formats
for publication.  The family is based on Utopia family.  Support for using the
fonts, in LaTeX, is also provided.")
    (license (list license:lppl1.3+
                   (license:fsf-free
                    "http://mirrors.ctan.org/fonts/utopia/README")))))

(define-public texlive-verse
  (package
    (name "texlive-verse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verse/" "source/latex/verse/"
                                     "tex/latex/verse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01c9mrq0zsa8i3wrhv4i21mcbl9y2ryjjnkph8v4d60wxsz6jcpy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verse")
    (synopsis "Aids for typesetting simple verse")
    (description
     "The package provides aids for typesetting simple verses; the package is
strong on layout, from simple alternate-line indentation to the @code{Mouse's
tale} from @emph{Alice in Wonderland}.")
    (license license:lppl)))

(define-public texlive-vlna
  (package
    (name "texlive-vlna")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/vlna.1"
                                     "doc/man/man1/vlna.man1.pdf" "doc/vlna/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nfb7mj6y9d4n89z59ppi96grfylwky97mxcv9rjflr5kpqlpga2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-vlna-bin))
    (home-page "https://ctan.org/pkg/vlna")
    (synopsis "Add @samp{~} after non-syllabic preposition, for Czech/Slovak")
    (description
     "This package provides a preprocessor for TeX source implementing the
Czech/Slovak typographical rule forbidding a non-syllabic preposition alone at
the end of a line.")
    (license license:knuth)))

(define-public texlive-vlna-bin
  (package
    (inherit texlive-bin)
    (name "texlive-vlna-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("vlna"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-vlna" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/vlna"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/vlna"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-vlna))
    (synopsis "Binary for @code{texlive-vlna}")
    (description
     "This package provides the binary for @code{texlive-vlna}.")
    (license (package-license texlive-vlna))))

(define-public texlive-vntex
  (package
    (name "texlive-vntex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/vntex/"
                                     "fonts/afm/vntex/chartervn/"
                                     "fonts/afm/vntex/grotesqvn/"
                                     "fonts/afm/vntex/urwvn/"
                                     "fonts/afm/vntex/vntopia/"
                                     "fonts/enc/dvips/vntex/"
                                     "fonts/enc/pdftex/vntex/"
                                     "fonts/map/dvips/vntex/"
                                     "fonts/source/vntex/vnr/"
                                     "fonts/tfm/vntex/arevvn/"
                                     "fonts/tfm/vntex/chartervn/"
                                     "fonts/tfm/vntex/cmbrightvn/"
                                     "fonts/tfm/vntex/concretevn/"
                                     "fonts/tfm/vntex/grotesqvn/"
                                     "fonts/tfm/vntex/txttvn/"
                                     "fonts/tfm/vntex/urwvn/"
                                     "fonts/tfm/vntex/vnr/"
                                     "fonts/tfm/vntex/vntopia/"
                                     "fonts/type1/vntex/arevvn/"
                                     "fonts/type1/vntex/chartervn/"
                                     "fonts/type1/vntex/cmbrightvn/"
                                     "fonts/type1/vntex/concretevn/"
                                     "fonts/type1/vntex/grotesqvn/"
                                     "fonts/type1/vntex/txttvn/"
                                     "fonts/type1/vntex/urwvn/"
                                     "fonts/type1/vntex/vnr/"
                                     "fonts/type1/vntex/vntopia/"
                                     "fonts/vf/vntex/chartervn/"
                                     "fonts/vf/vntex/urwvn/"
                                     "fonts/vf/vntex/vntopia/"
                                     "source/generic/vntex/"
                                     "tex/latex/vntex/"
                                     "tex/plain/vntex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vbpxzqvqpymw2chgrrva7alrvp6lj735hy8wqksal968sch6azx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/vntex")
    (synopsis "Support for Vietnamese")
    (description
     "The vntex bundle provides fonts, Plain TeX, texinfo and LaTeX macros for
typesetting documents in Vietnamese.  Users of the fonts (in both Metafont and
Adobe Type 1 format) of this bundle may alternatively use the @code{lm} fonts
bundle, for which map files are available to provide a Vietnamese version.")
    ;; Vietnamese glyphs has been added according to the conditions of the
    ;; Adobe/TUG license agreement.  The package itself is released under
    ;; LPPL1.3+ terms.
    (license (list license:lppl1.3+
                   (license:fsf-free "file://source/generic/vntex/LICENSE-utopia.txt")))))

(define-public texlive-wallpaper
  (package
    (name "texlive-wallpaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wallpaper/"
                                     "tex/latex/wallpaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ynf0b7czqqz0ha70ccvdxmcm3s6px82s1101llwbpxhwpqis5i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wallpaper")
    (synopsis
     "Add wallpapers (background images) to LaTeX documents, including tiling")
    (description
     "This collection contains files to add wallpapers (background images) to
LaTeX documents.  It provides simple commands to include effects such as
tiling.")
    (license license:lppl)))

(define-public texlive-wargame
  (package
    (name "texlive-wargame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wargame/" "source/latex/wargame/"
                                     "tex/latex/wargame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w2yasbwjnr41hyx7s7fm8f2lk4j0wq3bpg4rz6hd904fj391bma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wargame")
    (synopsis "LaTeX package to prepare hex'n'counter wargames")
    (description
     "This package can help make classic Hex'n'Counter wargames using LaTeX.
The package provide tools for generating Hex maps and boards Counters for
units, markers, and so on Counter sheets Order of Battle charts Illustrations
in the rules using the defined maps and counters The result will often be
a PDF (or set of PDFs) that contain everything one will need for
a game (rules, charts, boards, counter sheets).  The package uses NATO App6
symbology for units.  The package uses NATO App6 symbology for units.  The
package uses TikZ for most things.  The package support exporting the game to
a VASSAL module.")
    (license license:cc-by-sa4.0)))

(define-public texlive-windycity
  (package
    (name "texlive-windycity")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/windycity/"
                                     "tex/latex/windycity/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m9n3hyfmrnd84gns1aasdkdv05d9gpa69b6jnijdyvr3yxlh0x6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/windycity")
    (synopsis "Chicago style for BibLaTeX")
    (description
     "Windy City is a style for BibLaTeX that formats notes, bibliographies,
parenthetical citations, and reference lists according to the 17th edition of
@emph{The Chicago Manual of Style}.")
    (license license:lppl1.3+)))

(define-public texlive-witharrows
  (package
    (name "texlive-witharrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/witharrows/"
                                     "source/generic/witharrows/"
                                     "tex/generic/witharrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0872qr7chd175jpqyq8n3kfx38jyi7y0qmqf28mb37mkwg5dzdbd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/witharrows")
    (synopsis "Aligned math environments with arrows for comments")
    (description
     "This package provides an environment @code{WithArrows} which is similar
to the environment @code{aligned} of @code{amsmath} (and @code{mathtools}),
but gives the possibility to draw arrows on the right side of the alignment.
These arrows are usually used to give explanations concerning the mathematical
calculus presented.")
    (license license:lppl1.3+)))

(define-public texlive-wnri
  (package
    (name "texlive-wnri")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/wnri/"
                                     "fonts/source/public/wnri/"
                                     "fonts/tfm/public/wnri/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p2b847a5xa00xvv46b8p0f2fhi1k01w4l7bm2517hs7inwj3brs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/wnri")
    (synopsis "Ridgeway's fonts")
    (description
     "This package provides fonts (as Metafont source) for Old English, Indic
languages in Roman transliteration and Puget Salish (Lushootseed) and other
Native American languages.")
    (license license:gpl3+)))

(define-public texlive-wnri-latex
  (package
    (name "texlive-wnri-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wnri-latex/"
                                     "source/latex/wnri-latex/"
                                     "tex/latex/wnri-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08ld2nys36vb368977dpwav75ffra2p8999dx4dwrs4vg6k2r2l7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wnri-latex")
    (synopsis "LaTeX support for @code{wnri} fonts")
    (description
     "This package provides LaTeX support for the @code{wnri} fonts.")
    (license license:gpl2)))

(define-public texlive-wsemclassic
  (package
    (name "texlive-wsemclassic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wsemclassic/"
                                     "source/latex/wsemclassic/"
                                     "tex/latex/wsemclassic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kq871pbf2xq0h0njsp3j0wygz6970y5nkara5v5kpby42kx96rl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wsemclassic")
    (synopsis "LaTeX class for Bavarian school w-seminar papers")
    (description
     "The class is designed either to conform with the recommendations of the
Bavarian Kultusministerium for typesetting w-seminar papers (strict mode), or
to use another style which should look better.  The class is based on the
LaTeX standard @code{report} class.")
    (license license:bsd-3)))

(define-public texlive-wsuipa
  (package
    (name "texlive-wsuipa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/wsuipa/"
                                     "fonts/source/public/wsuipa/"
                                     "fonts/tfm/public/wsuipa/"
                                     "tex/latex/wsuipa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gj7d68gb82dxmrbz69ibgpw2q2h6sb22k8nl569r27m2sli60jy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: Font metrics generation fails with "! Strange path (turning
    ;; number is zero)" error.
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/wsuipa")
    (synopsis "International Phonetic Alphabet fonts")
    (description
     "The package provides a 7-bit IPA font, as Metafont source, and macros
for support under TeXt1 and LaTeX.  The fonts (and macros) are now largely
superseded by the @code{tipa} fonts.")
    (license license:knuth)))

(define-public texlive-xcharter-math
  (package
    (name "texlive-xcharter-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/xcharter-math/"
                                     "fonts/opentype/public/xcharter-math/"
                                     "tex/latex/xcharter-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0knf8h2xgyxr6845q937sglw528cfgp9rdipp4db0qydrhc679bn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcharter-math")
    (synopsis "XCharter-based OpenType Math font for LuaTeX and XeTeX")
    (description
     "This package provides an Unicode Math font XCharter-Math.otf meant to be
used together with XCharter Opentype Text fonts (extension of Bitstream
Charter) in LuaLaTeX or XeLaTeX documents.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-xcite
  (package
    (name "texlive-xcite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcite/" "source/latex/xcite/"
                                     "tex/latex/xcite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r6f4wk7d3na9a8v20kqp24m46rsqgqx0n8k5hv3ynhqhzizhpll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcite")
    (synopsis "Use citation keys from a different document")
    (description
     "The package @code{xcite} is no longer necessary, because its
functionality has been taken over by @code{xr}, so this final version is just
a stub that loads @code{xr}.")
    (license license:lppl1.3c)))

(define-public texlive-xduthesis
  (package
    (name "texlive-xduthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xduthesis/"
                                     "source/latex/xduthesis/"
                                     "tex/latex/xduthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sdl1m869s4hcxdj3q2205x9xdgx0qy9ri9vjyma9rsv70sa648p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xduthesis")
    (synopsis "XeLaTeX template for writing Xidian University thesis")
    (description
     "This is a XeLaTeX template for writing theses to apply academic degrees
in Xidian University.  The template is designed according to the official
requirements on typesetting theses.  The template currently supports all
levels of degrees from bachelor to doctor, including both academic master and
professional master.")
    (license license:lppl1.3+)))

(define-public texlive-xduts
  (package
    (name "texlive-xduts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xduts/" "source/xelatex/xduts/"
                                     "tex/xelatex/xduts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lgm0rqf3z3zy9ggsyhxm8ndl364a5jikb01fvcmldr7ld4hnn18"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/xduts")
    (synopsis "Xidian University TeX suite")
    (description
     "XDUTS is designed to help Xidian University students use LaTeX
typesetting efficiently.  XDUTS contains a font configuration package that
meets the school's requirements and can be applied to any document class.  In
addition, there are thesis and thesis proposal templates for both
undergraduate and postgraduate that meet the school's requirements.")
    (license license:lppl1.3c)))

(define-public texlive-xecjk
  (package
    (name "texlive-xecjk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xecjk/"
                                     "fonts/misc/xetex/fontmapping/xecjk/"
                                     "source/xelatex/xecjk/" "tex/xelatex/xecjk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mpmfrj0n00gpnh67zh627vxhpp6vim8x755vdpb75h36k8zm6yq"))))
    (outputs '("out" "doc"))
    ;; Prevent circular dependencies.
    (properties '((updater-ignored-propagated-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'copy-ctxdocstrip.tex
            ;; There's a circular dependency between this package (where
            ;; `ctex' should be a native input) and `ctex' (where this package
            ;; is a propagated input).  To work around this, install the
            ;; specific "ctxdocstrip.tex" file from `ctex' in the build
            ;; directory and set TEXINPUTS variable accordingly so the process
            ;; can find it.
            (lambda* (#:key inputs #:allow-other-keys)
              (install-file (search-input-file inputs
                                               "tex/generic/ctex/ctxdocstrip.tex")
                            "build/")
              (setenv "TEXINPUTS" (string-append (getcwd) "/build:")))))))
    (native-inputs
     (list (package-source texlive-ctex)))
    (home-page "https://ctan.org/pkg/xecjk")
    (synopsis "Support for CJK documents in XeLaTeX")
    (description
     "This package provides a LaTeX package for typesetting CJK documents in
the way users have become used to, in the CJK package.")
    (license license:lppl1.3c)))

(define-public texlive-xecyrmongolian
  (package
    (name "texlive-xecyrmongolian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xecyrmongolian/"
                                     "source/latex/xecyrmongolian/"
                                     "tex/latex/xecyrmongolian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0097l8vx76sqpimljwxw194yg6drxzagjxflq3y99n0a0yisax05"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xecyrmongolian")
    (synopsis
     "Basic support for Cyrillic Mongolian documents using (Xe|Lua)LaTeX")
    (description
     "The @code{xecyrmongolian} package can be used to produce documents in
Cyrillic Mongolian using either XeLaTeX or LuaLaTeX.  The command
@code{\\setlanguage} can be used to load alternative hyphenation patterns so
to be able to create multilingual documents.")
    (license license:lppl1.3c)))

(define-public texlive-xmuthesis
  (package
    (name "texlive-xmuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xmuthesis/"
                                     "source/latex/xmuthesis/"
                                     "tex/latex/xmuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qnsh0q61zv4jrh92zkhgdk1lzk3fksa2iiv2c2hkyk55sjza6ac"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/xmuthesis")
    (synopsis "XMU thesis style")
    (description "This class is designed for XMU thesis's writing.")
    (license license:lppl1.3c)))

(define-public texlive-xq
  (package
    (name "texlive-xq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/xq/" "fonts/source/public/xq/"
                                     "fonts/tfm/public/xq/" "tex/latex/xq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g9j4vdlcnidv247bmagqd7q357h6fkg3b5cx1765n38k1bx8ikx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/xq")
    (synopsis "Support for writing about xiangqi")
    (description
     "The package is for writing about xiangqi or chinese chess.  You can
write games or parts of games and show diagrams with special positions.")
    (license license:lppl)))

(define-public texlive-xskak
  (package
    (name "texlive-xskak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xskak/" "source/latex/xskak/"
                                     "tex/latex/xskak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b17y5i24adpb7f8jxf3lc5zwb1q4yf3w2vx9ql73xpi39xg6mcj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xskak")
    (synopsis "Extension to the @code{skak} package for chess typesetting")
    (description
     "Xskak, as its prime function, saves information about a chess game for
later use (e.g., to loop through a game to make an animated board).  The
package also extends the input that the parsing commands can handle and offers
an interface to define and switch between indefinite levels of styles.")
    (license license:lppl)))

(define-public texlive-xyling
  (package
    (name "texlive-xyling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xyling/" "tex/latex/xyling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c4bgkbd42japidvrfg3ibj4h1l8v6zlivy7bqyiyj8alzdjhq4g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xyling")
    (synopsis
     "Draw syntactic trees, etc., for linguistics literature, using XY-Pic")
    (description
     "The macros in this package model the construction of linguistic tree
structures as a genuinely graphical problem: they contain two types of
objects, ``branches'' and ``node labels'', and these are positioned relative
to a ``grid''.  It is essential that each of these three elements is
constructed independent of the other two, and hence they can be modified
without unwanted side effects.  The macros are based on the XY-Pic package.")
    (license license:lppl)))

(define-public texlive-xymtex
  (package
    (name "texlive-xymtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xymtex/doc/"
                                     "doc/latex/xymtex/readme/"
                                     "source/latex/xymtex/base/"
                                     "source/latex/xymtex/chemist/"
                                     "source/latex/xymtex/xymtxpdf/"
                                     "source/latex/xymtex/xymtxps/"
                                     "tex/latex/xymtex/base/"
                                     "tex/latex/xymtex/chemist/"
                                     "tex/latex/xymtex/xymtxpdf/"
                                     "tex/latex/xymtex/xymtxps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xj8q4l2xv69sqdqkr4cqzldhnqxfymm0avhc220pl3q74cabh0b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xymtex")
    (synopsis "Typesetting chemical structures")
    (description
     "XyMTeX is a set of packages for drawing a wide variety of chemical
structural formulas in a way that reflects their structure.  The package
provides three output modes: LaTeX, PostScript and PDF.")
    (license license:lppl1.3+)))

(define-public texlive-yathesis
  (package
    (name "texlive-yathesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yathesis/"
                                     "source/latex/yathesis/"
                                     "tex/latex/yathesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aa9875am0gxy7fxf3z9xdxva8x9anlx8k82c1hz95s3m119fccs"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets #~(list "yathesis.dtx")
           #:tex-format "lualatex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-accsupp
                  texlive-alphalph
                  texlive-attachfile2
                  texlive-babel-french
                  texlive-biblatex
                  texlive-booktabs
                  texlive-caption
                  texlive-cleveref
                  texlive-comment
                  texlive-csquotes
                  texlive-datetime2
                  texlive-denisbdoc
                  texlive-enumitem
                  texlive-environ
                  texlive-fancyvrb
                  texlive-fixfoot
                  texlive-fontawesome
                  texlive-fontspec
                  texlive-footmisc
                  texlive-glossaries
                  texlive-glossaries-extra
                  texlive-gofonts
                  texlive-hologo
                  texlive-hypdoc
                  texlive-ifmtarg
                  texlive-imakeidx
                  texlive-libertine
                  texlive-listings
                  texlive-marginnote
                  texlive-morewrites
                  texlive-mparhack
                  texlive-multirow
                  texlive-newunicodechar
                  texlive-path
                  texlive-parskip
                  texlive-pdfcol
                  texlive-pdflscape
                  texlive-pgf
                  texlive-refcount
                  texlive-siunitx
                  texlive-tcolorbox
                  texlive-textcase
                  texlive-tikzfill
                  texlive-tocbibind
                  texlive-tocvsec2
                  texlive-translator
                  texlive-underscore
                  texlive-xifthen
                  texlive-xpatch
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/yathesis")
    (synopsis "LaTeX class for writing a thesis following French rules")
    (description
     "The purpose of @code{yathesis} is to facilitate the typesetting of
theses prepared in France, whatever the disciplines and institutes.  It
implements most notably recommendations from the Ministry of Higher Education
and Research, and this transparently to the user.  It has also been designed
to (optionally) take advantage of powerful tools available in LaTeX, including
packages: BibLaTeX for the bibliography; @code{glossaries} for the glossary,
list of acronyms and symbols list.")
    (license license:lppl1.3c)))

(define-public texlive-yazd-thesis
  (package
    (name "texlive-yazd-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/yazd-thesis/"
                                     "tex/xelatex/yazd-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zwzzzf8z0p0cl6l3wjqnfj80pym4wx5halb3rl1i6bmvyypgafz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yazd-thesis")
    (synopsis "Template for the Yazd University")
    (description
     "This package offers a document class for typesetting theses and
dissertations at the Yazd University.  The class requires use of XeLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-yb-book
  (package
    (name "texlive-yb-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yb-book/" "source/latex/yb-book/"
                                     "tex/latex/yb-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ii4c3kslbhj7im8q0d7lj130kfh1sflq8hx04hiyl7qlyfd5n1a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-anyfontsize
           texlive-biblatex
           texlive-bigfoot
           texlive-changepage
           texlive-chngcntr
           texlive-csquotes
           texlive-enumitem
           texlive-fancyhdr
           texlive-float
           texlive-footmisc
           texlive-geometry
           texlive-ifmtarg
           texlive-imakeidx
           texlive-lastpage
           texlive-libertine
           texlive-mdframed
           texlive-microtype
           texlive-needspace
           texlive-paralist
           texlive-pgf
           texlive-qrcode
           texlive-setspace
           texlive-soul
           texlive-titlesec
           texlive-ulem
           texlive-wrapfig
           texlive-xcolor
           texlive-xifthen
           texlive-xkeyval
           texlive-zref))
    (home-page "https://ctan.org/pkg/yb-book")
    (synopsis "Template for YB branded books")
    (description
     "This template helps the author design books published on Amazon under
the ``Y.B.'' brand.")
    (license license:expat)))

(define-public texlive-yfonts
  (package
    (name "texlive-yfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yfonts/" "source/latex/yfonts/"
                                     "tex/latex/yfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021sb52516ksxs1pb8nb1gchaagb0hblx55yyxzpywrryfkjd3rx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yfonts")
    (synopsis "Support for old German fonts")
    (description
     "This package provides a LaTeX interface to the old German Gothic,
Schwabacher, Fraktur and the baroque initials.")
    (license license:lppl)))

(define-public texlive-yfonts-otf
  (package
    (name "texlive-yfonts-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yfonts-otf/"
                                     "fonts/opentype/public/yfonts-otf/"
                                     "tex/latex/yfonts-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dnif4hiwqri67cx6bjzs0rvz3ayrkn6fs99qn4q9qggs6s25l0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yfonts-otf")
    (synopsis "OpenType version of the Old German fonts")
    (description
     "This is an OpenType version of the Old German fonts @code{yfrak},
@code{ygoth}, @code{yswab} designed by Yannis Haralambous in Metafont.  The
OpenType features make it easier to deal with the long/round @samp{s} and with
older forms of umlauts (small @samp{e} over the letter).  A style file
@file{yfonts-otf.sty} is provided as a replacement, for LuaLaTeX and XeLaTeX,
of @file{yfonts.sty} or @file{oldgerm.sty}.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-yfonts-t1
  (package
    (name "texlive-yfonts-t1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yfonts-t1/" "dvips/yfonts-t1/"
                                     "fonts/afm/public/yfonts-t1/"
                                     "fonts/map/dvips/yfonts-t1/"
                                     "fonts/type1/public/yfonts-t1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w92sgkarqx7z2ai6z059bml0kbh05fjyy9fl12x3nb0f5agjs7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yfonts-t1")
    (synopsis "Old German-style fonts, in Adobe type 1 format")
    (description
     "This package comprises type 1 versions of the Gothic, Schwabacher and
Fraktur fonts of Yannis Haralambous set of old German fonts.")
    ;; "Freely available for general use."
    (license (license:fsf-free "file://doc/fonts/yfonts-otf/README.md"))))

(define-public texlive-yhmath
  (package
    (name "texlive-yhmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yhmath/"
                                     "fonts/map/dvips/yhmath/"
                                     "fonts/source/public/yhmath/"
                                     "fonts/tfm/public/yhmath/"
                                     "fonts/type1/public/yhmath/"
                                     "fonts/vf/public/yhmath/"
                                     "source/fonts/yhmath/"
                                     "tex/latex/yhmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0blzyr94d7ajb639j7bfnrpn52wicwfqwyba38hgh6s9hgx071cv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/yhmath")
    (synopsis "Extended maths fonts for LaTeX")
    (description
     "The @code{yhmath} bundle contains fonts (in Metafont and type 1 format)
and a LaTeX package for using them.")
    (license license:lppl1.3c)))

(define-public texlive-yinit-otf
  (package
    (name "texlive-yinit-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yinit-otf/"
                                     "fonts/opentype/public/yinit-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p3a56kg63smsgwr0vlfzjxrdw11j3777y09gdbdd1cc50r9p3zx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yinit-otf")
    (synopsis
     "OTF conversion of Yannis Haralambous' Old German decorative initials")
    (description
     "This package is a conversion of the @code{yinit} font into OTF.
Original Metafont files for @code{yinit} are in the @code{yinit} package.")
    (license license:public-domain)))

(define-public texlive-york-thesis
  (package
    (name "texlive-york-thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/york-thesis/"
                                     "source/latex/york-thesis/"
                                     "tex/latex/york-thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wcl1zqmif2chramah8zmbgp5axbhlnjiygl7kgqnwqw5ajxkw4y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/york-thesis")
    (synopsis "Thesis class file for York University, Toronto")
    (description
     "York Graduate Studies has again changed the requirements for theses and
dissertations.  The established @code{york-thesis} class file now implements
the changes made in Spring 2005.")
    (license license:lppl1.3+)))

(define-public texlive-youngtab
  (package
    (name "texlive-youngtab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/youngtab/"
                                     "source/generic/youngtab/"
                                     "tex/generic/youngtab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "054dqrcrj32nsngjhxa7nig9ylz0p6smdaqc02mdpy299fwm23f2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/youngtab")
    (synopsis "Typeset Young-Tableaux")
    (description
     "This package provides a package for typesetting Young-Tableaux,
mathematical symbols for the representations of groups, providing two macros,
@code{\\yng(1)} and @code{\\young(1)} to generate the whole Young-Tableau.")
    (license license:lppl1.0+)))

(define-public texlive-yquant
  (package
    (name "texlive-yquant")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yquant/" "tex/latex/yquant/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "054rmlp714ygsz2yviffkjjj4i45k5w9yjyl8rrrbibimgdc4f79"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yquant")
    (synopsis "Typesetting quantum circuits in a human-readable language")
    (description
     "This LaTeX package allows to quickly draw quantum circuits.  It bridges
the gap between the two groups of packages that already exist: those that use
a logic-oriented custom language, which is then translated into TeX by means
of an external program; and the pure TeX versions that mainly provide some
macros to allow for an easier input.  @code{yquant} introduces a logic
oriented language and thus brings the best of both worlds together.  It builds
on and interacts with TikZ, which brings an enourmous flexibility for
customization of individual circuit.")
    (license license:lppl1.3c)))

(define-public texlive-ytableau
  (package
    (name "texlive-ytableau")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ytableau/"
                                     "source/latex/ytableau/"
                                     "tex/latex/ytableau/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1px1gbpbm0vrv8xhdf1gfb6q6fh564y3zra0kg1ab3hcixbqsfxa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ytableau")
    (synopsis "Many-featured Young tableaux and Young diagrams")
    (description
     "The package provides several functions for drawing Young tableaux and
Young diagrams, extending the @code{young} and @code{youngtab} packages but
providing lots more features.  Skew and coloured tableaux are easy, and
pgfkeys-enabled options are provided both at package load and configurably.")
    (license license:lppl1.2+)))

(define-public texlive-zitie
  (package
    (name "texlive-zitie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/zitie/" "tex/xelatex/zitie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0la4fg42c20isdip5gnynzhkj0hn295lf48hbyjjfvadx7zx408s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zitie")
    (synopsis "Create CJK character calligraphy practicing sheets")
    (description
     "This is a LaTeX package for creating CJK character calligraphy
practicing sheets (copybooks).  Currently, only XeTeX is supported.")
    (license license:lppl1.3c)))

(define-public texlive-zlmtt
  (package
    (name "texlive-zlmtt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/zlmtt/" "tex/latex/zlmtt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "014zchb0s9fj33d6h8r851v7v4cvpqzd97xaq4nv2l1lnxlii536"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zlmtt")
    (synopsis "Use Latin Modern Typewriter fonts")
    (description
     "The package allows selection of Latin Modern Typewriter fonts with
scaling and access to all its features.")
    (license license:lppl1.3+)))

(define-public texlive-zootaxa-bst
  (package
    (name "texlive-zootaxa-bst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/zootaxa-bst/"
                                     "doc/bibtex/zootaxa-bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "178daki12ky2hxjsdgz6nnc84741hdj0mn30lglp2sazqwjxrbw0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zootaxa-bst")
    (synopsis "BibTeX style for the journal @emph{Zootaxa}")
    (description
     "This package provides a @file{.bst} reference style file for the journal
@emph{Zootaxa} that publishes contributions in zoology and classification.
This is a fork of @file{apa.bst}.")
    (license license:lppl1.3c)))

(define-public texlive-zx-calculus
  (package
    (name "texlive-zx-calculus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zx-calculus/"
                                     "tex/latex/zx-calculus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04h0rxf6ricqiafb932pcfack9yc5mmq5r5q7ddszg11lwvxgh71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zx-calculus")
    (synopsis "Library to typeset ZX Calculus diagrams")
    (description
     "This library allows you to typeset ZX-calculus directly in LaTeX.  It
comes with many pre-built wire shapes, a highly customizable node style (with
multiple flavours for putting labels inside or outside nodes), and a debugging
mode to avoid getting lost in big diagrams.")
    (license license:expat)))

(define-public texlive-zxjafont
  (package
    (name "texlive-zxjafont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zxjafont/" "tex/latex/zxjafont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n8sky4aprs7r12pvyj6q1lman57k94s7mkynnzfw1z4xnam459j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zxjafont")
    (synopsis "Set up Japanese font families for XeLaTeX")
    (description "This package sets up Japanese font families for XeLaTeX.")
    (license license:expat)))

(define-public texlive-zxjatype
  (package
    (name "texlive-zxjatype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zxjatype/" "tex/latex/zxjatype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0llm0414kdwqsajb1nl92xa8kqwvbm446pwijag2735gk8rxqz8j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zxjatype")
    (synopsis "Standard conforming typesetting of Japanese, for XeLaTeX")
    (description "This package eases standard conforming typesetting of
Japanese, for XeLaTeX.")
    (license license:expat)))

(define-public texlive-zxjafbfont
  (package
    (name "texlive-zxjafbfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zxjafbfont/"
                                     "tex/latex/zxjafbfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vwbr2nwxp5f8c7q1gwm9z3karjkxjxr1j4lg5p12ljqlwm7p3lw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zxjafbfont")
    (synopsis "Fallback CJK font support for xeCJK")
    (description "This package provides fallback CJK font support for xeCJK.")
    (license license:expat)))

(define-public texlive-biblatex-cheatsheet
  (package
    (name "texlive-biblatex-cheatsheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-cheatsheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y2ry2q1kvpy8dqglqdfq3rc849hmbni0k78wr1xnjbpd102l3k9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-cheatsheet")
    (synopsis "BibLaTeX and Biber cheat sheet")
    (description "This package provides a BibLaTeX and Biber cheat sheet.")
    (license license:lppl1.3+)))

(define-public texlive-bibtex8
  (package
    (name "texlive-bibtex8")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/csf/base/" "bibtex/csf/polish-csf/"
                                     "doc/bibtex8/" "doc/man/man1/bibtex8.1"
                                     "doc/man/man1/bibtex8.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ywv5rdk08dnrqr09pnjzff37x2c9m5i1wjzfsjnvm068is58c7s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bibtex8-bin))
    (home-page "https://ctan.org/pkg/bibtex8")
    (synopsis "BibTeX variant supporting 8-bit encodings")
    (description
     "BibTeX8 is an enhanced, portable C version of BibTeX.  It is enhanced by
conversion to larger (32-bit) capacity, addition of run-time selectable
capacity and 8-bit support extensions.  National character set and sorting
order are controlled by an external configuration file.")
    (license license:gpl3+)))

(define-public texlive-bibtex8-bin
  (package
    (inherit texlive-bin)
    (name "texlive-bibtex8-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs with-files?)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append '("." "..") dirs)))
                              (or with-files?
                                  (eq? 'directory (stat:type (stat file))))))))))))
            (delete-other-directories "libs" '() #f)
            (delete-other-directories "utils" '() #f)
            ;; Tests require "texmf.cnf" to be present in the tree.  Also test
            ;; data is spread across multiple directories, which need to be
            ;; preserved.
            (delete-other-directories "texk" '("bibtex-x" "kpathsea" "tests" "web2c") #f)
            (delete-other-directories "texk/web2c" '("tests") #t)
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-bibtex-x"
                 "--enable-bibtex8"
                 "--disable-bibtexu"
                 (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'locate-libkpathsea
              (lambda _
                (let ((kpathsea #$(this-package-input "texlive-libkpathsea")))
                  (substitute* "texk/bibtex-x/Makefile.in"
                    (("(KPATHSEA_LIBS =).*" _ lead)
                     (format #f "~a \"-L~a/lib -lkpathsea\"\n" lead kpathsea))))))
            (add-after 'unpack 'skip-bibtexu-test
              ;; This package does not build "bibtexu" binary; the test below
              ;; is therefore bound to fail.  Skip that part.
              (lambda _
                (substitute* "texk/bibtex-x/tests/bibtex8u-mem.test"
                  (("_bibtexu=.*") "_bibtexu=echo\n"))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/bibtex-x"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/bibtex-x"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-bibtex8))
    (synopsis "Binary for @code{texlive-bibtex8}")
    (description
     "This package provides the binary for @code{texlive-bibtex8}.")
    (license (package-license texlive-bibtex8))))

(define-public texlive-bibtexu
  (package
    (name "texlive-bibtexu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtexu/" "doc/man/man1/bibtexu.1"
                                     "doc/man/man1/bibtexu.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19bp8wn0ssz7gczxp0imbpgi1zwz9x3ya67f072rjzg2zmfpphqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bibtexu-bin))
    (home-page "https://ctan.org/pkg/bibtexu")
    (synopsis "BibTeX variant supporting Unicode (UTF-8), via ICU")
    (description
     "BibTeXu is an enhanced, portable C version of BibTeX.  Unicode is
supported via the ICU library.")
    (license license:gpl3+)))

(define-public texlive-bibtexu-bin
  (package
    (inherit texlive-bibtex8-bin)
    (name "texlive-bibtexu-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bibtex8-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-bibtexu"
                 "--disable-bibtex8"
                 (delete "--enable-bibtex8"
                         (delete "--disable-bibtexu" #$flags))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (delete 'skip-bibtexu-test)
            (add-after 'unpack 'skip-bibtex8-test
              ;; This package does not build "bibtex8" binary; the test below
              ;; is therefore bound to fail.  Skip that part.
              (lambda _
                (substitute* "texk/bibtex-x/tests/bibtex8u-mem.test"
                  (("_bibtex8=.*") "_bibtex8=echo\n"))))))))
    (native-inputs (list perl pkg-config))
    (inputs (list icu4c texlive-libkpathsea))
    (home-page (package-home-page texlive-bibtexu))
    (synopsis "Binary for @code{texlive-bibtexu}")
    (description
     "This package provides the binary for @code{texlive-bibtexu}.")
    (license (package-license texlive-bibtexu))))

(define-public texlive-bundledoc
  (package
    (name "texlive-bundledoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/arlatex.1"
                                     "doc/man/man1/arlatex.man1.pdf"
                                     "doc/man/man1/bundledoc.1"
                                     "doc/man/man1/bundledoc.man1.pdf"
                                     "doc/support/bundledoc/"
                                     "scripts/bundledoc/"
                                     "tex/latex/bundledoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drgwqgkhr6ba4c21kyykl5y92x7dp6971if2hfcxsqk6kqy3ip1"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "arlatex" "bundledoc")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/bundledoc")
    (synopsis "Bundle together all the files needed to build a LaTeX document")
    (description
     "The @code{bundledoc} package is a post-processor for the snapshot
package that bundles together all the classes, packages and files needed to
build a given LaTeX document.  It reads the @file{.dep} file that snapshot
produces, finds each of the files mentioned therein, and archives them into
a single @file{.tar.gz} (or @file{.zip}, or whatever) file, suitable for
moving across systems, transmitting to a colleague, etc.  A script,
@command{arlatex}, provides an alternative archiving mechanism, creating
a single LaTeX file that contains all of the ancillary files of a LaTeX
document, together with the document itself, using the @code{filecontents*}
environment.")
    (license license:lppl1.3c)))

(define-public texlive-checklistings
  (package
    (name "texlive-checklistings")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/checklistings/"
                                     "scripts/checklistings/"
                                     "source/latex/checklistings/"
                                     "tex/latex/checklistings/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ggq4i7nfx6ijqikgr48qgaaf7rd9h4a834gwsz8dv5f0zmgg1za"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "checklistings.sh")))
    (home-page "https://ctan.org/pkg/checklistings")
    (synopsis
     "Pass verbatim contents through a compiler and reincorporate the resulting output")
    (description
     "This package augments the @code{fancyvrb} and @code{listings} packages
to allow the source code they contain to be checked by an external tool (like
a compiler).  The external tool's messages can be automatically reincorporated
into the original document.  The package does not focus on a specific
programming language, but it is designed to work well with languages and
compilers in the ML family.")
    (license license:lppl1.2+)))

(define-public texlive-chklref
  (package
    (name "texlive-chklref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/chklref.1"
                                     "doc/man/man1/chklref.man1.pdf"
                                     "doc/support/chklref/" "scripts/chklref/"
                                     "tex/latex/chklref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1namyi035gqhvldplj0yzfkgxq91zrifqxhsf32jgxhjgcbbal6g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "chklref.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/chklref")
    (synopsis "Check for problems with labels in LaTeX")
    (description
     "It is quite common that after modifying a TeX file, many unused labels
remain in it.  The purpose of chklref is to automatically find these useless
labels.  It also looks for non starred mathematical environments with no
labels and advises the user to use a starred version instead.")
    (license license:gpl3)))

(define-public texlive-chktex
  (package
    (name "texlive-chktex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "chktex/"
                                     "doc/chktex/"
                                     "doc/man/man1/chktex.1"
                                     "doc/man/man1/chktex.man1.pdf"
                                     "doc/man/man1/chkweb.1"
                                     "doc/man/man1/chkweb.man1.pdf"
                                     "doc/man/man1/deweb.1"
                                     "doc/man/man1/deweb.man1.pdf"
                                     "scripts/chktex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vskxbrlhm5sd5jlyqszsf747fmi082ss8iy0ia1m4plmszcvvpn"))))
    (outputs '("out" "doc"))
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-chktex-bin))
    (home-page "https://ctan.org/pkg/chktex")
    (synopsis "Check for errors in LaTeX documents")
    (description
     "The program reports typographic and other errors in LaTeX documents.
Filters are also provided for checking the LaTeX parts of CWEB documents.")
    (license license:gpl2+)))

(define-public texlive-chktex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-chktex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("chktex"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-chktex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'locate-global-configuration-file
              ;; `chktex' needs to know where its global configuration file is.
              ;; However, it cannot understand our convoluted TEXMFMAIN value.
              ;; This phase forces configuration file name.
              (lambda _
                (substitute* "texk/chktex/chktex-src/OpSys.c"
                  (("kpse_var_value\\(\"TEXMFMAIN\"\\)")
                   (string-append "strdup(\"" #$output "/share/texmf-dist\")")))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/chktex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/chktex"
                  (invoke "make" "install"))))
            ;; Compilation forces a "/usr/bin/env perl" shebang.  Change it.
            (add-after 'install 'patch-shebang
              (lambda _
                (patch-shebang
                 (string-append #$output
                                "/share/texmf-dist/scripts/chktex/deweb.pl"))))))))
    (native-inputs (list pkg-config))
    (inputs (list perl texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-chktex))
    (synopsis "Binaries for @code{texlive-chktex}")
    (description
     "This package provides the binaries for @code{texlive-chktex}.")
    (license (package-license texlive-chktex))))

(define-public texlive-clojure-pamphlet
  (package
    (name "texlive-clojure-pamphlet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pamphletangler.1"
                                     "doc/man/man1/pamphletangler.man1.pdf"
                                     "doc/support/clojure-pamphlet/"
                                     "scripts/clojure-pamphlet/"
                                     "source/support/clojure-pamphlet/"
                                     "tex/latex/clojure-pamphlet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dadr9wg7fa2vb6qkzqghrwmnns8jf4la1gb837a59jz2lh8955h"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pamphletangler")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/clojure-pamphlet")
    (synopsis "Literate programming tool based on Clojure's Pamphlet system")
    (description
     "The Clojure pamphlet system is a system based on the Clojure literate
system.  In the Clojure's pamphlet system you have your main LaTeX file, which
can be compiled regularly.  This file contains documentation and source
code (just like in other forms of literate programming).  These code snippets
are wrapped in the @code{chunk} environment, hence they can be recognized by
the tangler in order to extract them.  Chunks can be included inside each
other by the @code{getchunk} command (which will be typesetted accordingly).
Finally, the LaTeX file will be run through the tangler to get the desired
chunk of code.")
    (license license:gpl3+)))

(define-public texlive-cluttex
  (package
    (name "texlive-cluttex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/cllualatex.1"
                                     "doc/man/man1/cllualatex.man1.pdf"
                                     "doc/man/man1/cluttex.1"
                                     "doc/man/man1/cluttex.man1.pdf"
                                     "doc/man/man1/clxelatex.1"
                                     "doc/man/man1/clxelatex.man1.pdf"
                                     "doc/support/cluttex/"
                                     "scripts/cluttex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k2142c0j2h9vri211b3gy2azl9yxnribv5kg69yi5q9bfvz6bnh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "cluttex.lua")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'link-scripts 'add-symlink
                 (lambda _
                   (with-directory-excursion (string-append #$output "/bin")
                     (for-each (lambda (link) (symlink "cluttex" link))
                               '("cllualatex" "clxelatex"))))))))
    (home-page "https://ctan.org/pkg/cluttex")
    (synopsis "Automation tool for running LaTeX")
    (description
     "This is another tool for the automation of LaTeX document processing,
like @command{latexmk} or @command{arara}.  The main feature of this tool is
that it does not clutter your working directory with @file{.aux} or
@file{.log} or other auxiliary files.  It has of course the usual features of
automation tools.  It automatically re-runs (La)TeX for cross-references.
MakeIndex, BibTeX, Biber, or @command{makeglossaries} will be executed if
a corresponding option is set.  Furthermore, @command{cluttex} can watch input
files for changes (using an external program).")
    (license license:gpl3+)))

(define-public texlive-components
  (package
    (name "texlive-components")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/components/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04yg9hq0wcyi1ag9y9m2fnf5h3n4fdykiwljgpw0kyc73bfyhq1m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/components")
    (synopsis "Introduction to TeX components and files")
    (description
     "This package is an introduction to the components and files users of TeX
may encounter.")
    (license license:gpl3+)))

(define-public texlive-comprehensive
  (package
    (name "texlive-comprehensive")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/comprehensive/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cmw36bn6pjb6ajlrg2yz5imkrxihzzdkh56xwdk2abwzaqn09q6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comprehensive")
    (synopsis "Symbols accessible from LaTeX")
    (description
     "This package document the symbols accessible from LaTeX.  Over 18000
symbols are listed as a set of tables.  The tables of symbols are ordered in
a logical way (the document begins with a frequently requested symbols list),
the aim being to make the document a convenient way of looking up symbols.")
    (license license:lppl1.3+)))

(define-public texlive-ctan-o-mat
  (package
    (name "texlive-ctan-o-mat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctan-o-mat.1"
                                     "doc/man/man1/ctan-o-mat.man1.pdf"
                                     "doc/support/ctan-o-mat/"
                                     "scripts/ctan-o-mat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pm95xh3ji2sgdy243nbnzxsg2p4xpl3pymkm5yg2fn3nzgwgnaf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctan-o-mat.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ctan-o-mat")
    (synopsis "Upload or validate a package for CTAN")
    (description
     "This program can be used to automate the upload of a package to CTAN.
The description of the package is contained in a configuration file.  The
provided information is validated in any case.  If the validation succeeds and
not only the validation is requested, then the provided archive file will be
placed in the incoming area of the CTAN for further processing by the CTAN
team.  In any case any finding during the validation is reported at the end of
the processing.  Note that the validation is the default and an official
submission has to be requested by an appropriate command line option.")
    (license license:bsd-3)))

(define-public texlive-ctan-chk
  (package
    (name "texlive-ctan-chk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ctan_chk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09ngqgs08q8bld334jrzhnd558lv7fajfppmfrkp4kv9hc5iyz9a"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "ctan_chk")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctan_chk")
    (synopsis "CTAN guidelines verifier and corrector for uploading projects")
    (description
     "@code{ctan_chk} is a basic Gawk program that uses CTAN's published
guidelines for authors to help eliminate sloppiness in uploaded
files/projects.  It is completely open for users to program additional
guidelines as well as CTAN's future adjustments.")
    (license license:gpl3)))

(define-public texlive-ctanbib
  (package
    (name "texlive-ctanbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctanbib.1"
                                     "doc/man/man1/ctanbib.man1.pdf"
                                     "doc/support/ctanbib/" "scripts/ctanbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kmgs65xl0np02mrd4snvr6s0l5igr6laq5x6vbhsi7sqdr67xqs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctanbib")))
    (home-page "https://ctan.org/pkg/ctanbib")
    (synopsis "Export CTAN entries to bib format")
    (description
     "This package provides a Lua script which can be used for retrieving
bibliographic information in BibLaTeX format for packages hosted on CTAN.  The
@command{ctanbib} script depends only on LuaXML.")
    (license license:lppl1.3+)))

(define-public texlive-ctanify
  (package
    (name "texlive-ctanify")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctanify/"
                                     "doc/man/man1/ctanify.1"
                                     "doc/man/man1/ctanify.man1.pdf"
                                     "scripts/ctanify/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m6gldzm0sm4j7v2kkrpqikx004sqdq0f2gw13gc8ccqzl745cjw"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctanify")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ctanify")
    (synopsis "Prepare a package for upload to CTAN")
    (description
     "Given a list of filenames, @command{ctanify} creates a tarball (a
@file{.tar.gz} file) with the files laid out in CTAN's preferred structure.
By default this tarball additionally contains a ZIP file with copies of all
files laid out in the standard TeX Directory Structure (TDS), which may be
used by those intending to install the package, or by those who need to
incorporate it in a distribution.")
    (license license:lppl1.3c)))

(define-public texlive-ctanupload
  (package
    (name "texlive-ctanupload")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ctanupload/"
                                     "scripts/ctanupload/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w4k9sslhnpn5l90wbr7cr7pv8fhiiabasbi6l6gw3w3nrfmarh4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ctanupload.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ctanupload")
    (synopsis "Support for users uploading to CTAN")
    (description
     "The package provides a Perl script that allows the uploads of
a contribution to CTAN from the command line.  The aim is to simplify the
release process for LaTeX package authors.  Note by the CTAN
team (2015-02-05): It seems that this script is currently not working.")
    (license license:gpl3)))

(define-public texlive-ctex
  (package
    (name "texlive-ctex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctex/" "source/latex/ctex/"
                                     "tex/generic/ctex/" "tex/latex/ctex/"
                                     "tex/luatex/ctex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17zyr0cyxvp91832q35ha3qabdzh4njh96yvp4gfkkfkkszqp3jh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     ;; FIXME: I couldn't find how to build this package from source.
     (list #:phases #~(modify-phases %standard-phases (delete 'build))))
    (propagated-inputs
     (list texlive-adobemapping
           texlive-atbegshi
           texlive-beamer
           texlive-cjk
           texlive-cjkpunct
           texlive-ec
           texlive-epstopdf-pkg
           texlive-etoolbox
           texlive-everyhook
           texlive-fandol
           texlive-fontspec
           texlive-iftex
           texlive-infwarerr
           texlive-kvoptions
           texlive-kvsetkeys
           texlive-latex-bin
           texlive-ltxcmds
           texlive-luatexja
           texlive-mptopdf
           texlive-ms
           texlive-pdftexcmds
           texlive-platex-tools
           texlive-svn-prov
           texlive-tipa
           texlive-tools
           texlive-ttfutils
           texlive-ulem
           texlive-uplatex
           texlive-xcjk2uni
           texlive-xecjk
           texlive-xetex
           texlive-xkeyval
           texlive-xpinyin
           texlive-xunicode
           texlive-zhmetrics
           texlive-zhmetrics-uptex
           texlive-zhnumber))
    (home-page "https://ctan.org/pkg/ctex")
    (synopsis "LaTeX classes and packages for Chinese typesetting")
    (description
     "CTeX is a collection of macro packages and document classes for LaTeX
Chinese typesetting.")
    (license license:lppl1.3c)))

(define-public texlive-ctex-faq
  (package
    (name "texlive-ctex-faq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctex-faq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15c0g0x8w7vm3hyn6lk60jf66akyfcq6x8jc2lnbjx8ydwgb26br"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctex-faq")
    (synopsis "LaTeX FAQ by the Chinese TeX Society (ctex.org)")
    (description
     "This is the LaTeX FAQ by the Chinese TeX Society.  Most questions were
collected on the @url{bbs.ctex.org} forum, and were answered in detail by the
author.")
    (license license:fdl1.3+)))

(define-public texlive-ctib
  (package
    (name "texlive-ctib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctib/"
                                     "fonts/source/public/ctib/"
                                     "fonts/tfm/public/ctib/"
                                     "source/latex/ctib/" "tex/latex/ctib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qvh0icrijcsyi3kvzkp890qjx7j9axv9yzzfa1paivyfp33aijn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ctib4tex")
    (synopsis "Tibetan for TeX and LaTeX2e")
    (description
     "This LaTeX package uses a modified version of Sirlin's Tibetan font.  An
advantage of this Tibetan implementation is that all consonant clusters are
formed by TeX and Metafont.  No external preprocessor is needed.")
    (license license:gpl3+)))

(define-public texlive-ctie
  (package
    (name "texlive-ctie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctie.1"
                                     "doc/man/man1/ctie.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xnb6qdi7bvlb78s6vbv4f03b37arp2ldics6mrshqlpfm9rj72f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/ctie")
    (synopsis "C version of @code{tie} (merging Web change files)")
    (description
     "This is a version of @code{tie} converted for use with Cweb.")
    (license license:gpl3+)))

(define-public texlive-de-macro
  (package
    (name "texlive-de-macro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/de-macro/" "scripts/de-macro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hbia43gzwj0lb9c9k8fh9w04mmvz0jwwdm15kp59v95v4n5svmr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "python")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "de-macro")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/de-macro")
    (synopsis "Expand private macros in a document")
    (description
     "De-macro is a Python script that helps authors who like to use private
LaTeX macros (for example, as abbreviations).  A technical editor or
a cooperating author may balk at such a manuscript; you can avoid manuscript
rejection misery by running de-macro on it.  De-macro will expand macros
defined in @code{\\(re)newcommand} or @code{\\(re)newenvironment} commands,
within the document, or in the document's private package file.")
    (license license:afl2.1)))

(define-public texlive-detex
  (package
    (name "texlive-detex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/detex.1"
                                     "doc/man/man1/detex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vs9agbdyhq9wm1c9nd7wwnhnpvdzjh5msbmhn3xyyq45ylqvbwf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-detex-bin))
    (home-page "https://ctan.org/pkg/detex")
    (synopsis "Strip TeX from a source file")
    (description
     "Detex is a program to remove TeX constructs from a text file.  It
recognizes the @code{\\input} command.  The program assumes it is dealing with
LaTeX input if it sees the string @code{\\begin@{document@}} in the text.  In
this case, it also recognizes the @code{\\include} and @code{\\includeonly}
commands.  The author now considers this program to be obsolete and Piotr
Kubowicz's OpenDetex as its successor.")
    (license license:bsd-3)))

(define-public texlive-detex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-detex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("detex"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-detex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/detex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/detex"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-detex))
    (synopsis "Binary for @code{texlive-detex}")
    (description
     "This package provides the binary for @code{texlive-detex}.")
    (license (package-license texlive-detex))))

(define-public texlive-digestif
  (package
    (name "texlive-digestif")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/digestif/" "scripts/digestif/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s7nmbjxpa6klmh0cc6g4s6vd9wmlv4dxp51xb4b872hrj510zbi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "digestif.texlua")))
    (home-page "https://ctan.org/pkg/digestif")
    (synopsis "Editor plugin for LaTeX, ConTeXt etc.")
    (description
     "Digestif is a code analyzer, and a language server, for LaTeX, plain TeX,
ConTeXt and Texinfo.  It provides context-sensitive completion, documentation,
code navigation, and related functionality to any text editor that speaks the
LSP protocol.")
    (license (list license:gpl3+ license:lppl1.3+ license:fdl1.3+))))

(define-public texlive-dickimaw
  (package
    (name "texlive-dickimaw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dickimaw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mxjqn4lblnpbmad3jk453lyx1qzcmrddis59j3jsgc5sp929w4k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dickimaw")
    (synopsis "Books and tutorials from the @emph{Dickimaw LaTeX Series}")
    (description
     "The package provides some of the books and tutorials that form part of
the @code{Dickimaw LaTeX Series}.  Only the A4 PDF of each book is detailed
here.  Other formats, such as HTML or screen optimized PDF, are available from
the package home page.

Books included are:
@itemize
@item @emph{LaTeX for Complete Novices},
@item @emph{Using LaTeX to Write a PhD thesis},
@item @emph{Creating a LaTeX minimal example}.
@end itemize")
    (license license:fdl1.3+)))

(define-public texlive-docsurvey
  (package
    (name "texlive-docsurvey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/docsurvey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pf5h9fy9akgc2cznvx32nzhxfx5c22dzr4ki23h4w7v7iivsw68"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/docsurvey")
    (synopsis "Survey of LaTeX documentation")
    (description
     "This package provides a survey of programming-related documentation for
LaTeX.  Included are references to printed and electronic books and manuals,
symbol lists, FAQs, the LaTeX source code, CTAN and distributions,
programming-related packages, users groups and online communities, and
information on creating packages and documentation.")
    (license license:lppl1.3+)))

(define-public texlive-dtl
  (package
    (name "texlive-dtl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dt2dv.1"
                                     "doc/man/man1/dt2dv.man1.pdf"
                                     "doc/man/man1/dv2dt.1"
                                     "doc/man/man1/dv2dt.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kvnsr8nxrys99rp74wlxnisfripx6jpjjkqy38d3d4gw13cvb5g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dtl-bin))
    (home-page "https://ctan.org/pkg/dtl")
    (synopsis "Tools to dis-assemble and re-assemble DVI files")
    (description
     "DTL (DVI Text Language) is a means of expressing the content of a DVI file,
which is readily readable by humans.  The DTL bundle contains an assembler
@command{dt2dv}, which produces DVI files from DTL files, and a disassembler
@command{dv2dt}, which produces DTL files from DVI files.")
    (license license:public-domain)))

(define-public texlive-dtl-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dtl-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dtl"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dtl" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dtl"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dtl"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dtl))
    (synopsis "Binaries for @code{texlive-dtl}")
    (description
     "This package provides the binaries for @code{texlive-dtl}.")
    (license (package-license texlive-dtl))))

(define-public texlive-dtxgen
  (package
    (name "texlive-dtxgen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/dtxgen/" "scripts/dtxgen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j1j136p4ddjlmwmhwlpmsxqpx2ixhhssfsl8l49lds80ad4y98m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dtxgen")))
    (home-page "https://ctan.org/pkg/dtxgen")
    (synopsis "Creates a template for a self-extracting @file{.dtx} file")
    (description
     "The Bash script dtxgen creates a template for a self-extracting
@file{.dtx} file.  It is useful for those who plan to create a new documented
LaTeX source (.dtx) file.")
    (license license:gpl3+)))

(define-public texlive-dtxtut
  (package
    (name "texlive-dtxtut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dtxtut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zk09qdz661g1lnn2qr1s23h3x4mi7q8mdcl13p19k7qmnlc8v5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dtxtut")
    (synopsis "Tutorial on writing @file{.dtx} and @file{.ins} files")
    (description
     "This tutorial is intended for advanced LaTeX2e users who want to learn
how to create @file{.ins} and @file{.dtx} files for distributing their
homebrewed classes and package files.")
    (license license:lppl1.3+)))

(define-public texlive-dvi2tty
  (package
    (name "texlive-dvi2tty")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/disdvi.1"
                                     "doc/man/man1/disdvi.man1.pdf"
                                     "doc/man/man1/dvi2tty.1"
                                     "doc/man/man1/dvi2tty.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "108y0qxh13x0iivgsvkk4370f471p03nyl4x9nn7lng1wrsafp6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvi2tty-bin))
    (home-page "https://ctan.org/pkg/dvi2tty")
    (synopsis "Produce ASCII from DVI")
    (description
     "This package provides a DVI driver to produce an ASCII representation of
the document.")
    (license license:gpl2)))

(define-public texlive-dvi2tty-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvi2tty-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvi2tty"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvi2tty" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvi2tty"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvi2tty"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea texlive-libptexenc))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvi2tty))
    (synopsis "Binaries for @code{texlive-dvi2tty}")
    (description
     "This package provides the binaries for @code{texlive-dvi2tty}.")
    (license (package-license texlive-dvi2tty))))

(define-public texlive-dviasm
  (package
    (name "texlive-dviasm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dviasm/" "doc/man/man1/dviasm.1"
                                     "doc/man/man1/dviasm.man1.pdf"
                                     "scripts/dviasm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18rzkq231rnbfsi3x4ymlbbgz8zacryax8rdan9m8whl4d7lzymq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dviasm.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/dviasm")
    (synopsis "Utility for editing DVI files")
    (description
     "This package provides a Python script to support changing or creating
DVI files via disassembling into text, editing, and then reassembling into
binary format.  It supports advanced features such as adding a preprint number
or watermarks.")
    (license license:gpl3+)))

(define-public texlive-dvicopy
  (package
    (name "texlive-dvicopy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvicopy.1"
                                     "doc/man/man1/dvicopy.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01ccirjsm7mpyyyqf5sra3vfd7p1cg2kyzwkx08az8ijb7ysvvv8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvicopy-bin))
    (home-page "https://ctan.org/pkg/dvicopy")
    (synopsis "Copy DVI files, flattening VFs")
    (description
     "@command{dvicopy} is a utility program that allows one to take a DVI
file that references composite fonts (VF) and convert it into a DVI file that
does not contain such references.  It also serves as a basis for writing DVI
drivers (much like DVItype).")
    (license license:gpl3+)))

(define-public texlive-dvicopy-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvicopy-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (invoke "make" "dvicopy")
                  (install-file "dvicopy"
                                (string-append #$output "/bin")))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-dvicopy))
    (synopsis "Binary for @code{texlive-dvicopy}")
    (description
     "This package provides the binary for @code{texlive-dvicopy}.")
    (license (package-license texlive-dvicopy))))

(define-public texlive-dvidvi
  (package
    (name "texlive-dvidvi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvidvi.1"
                                     "doc/man/man1/dvidvi.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w153rqm7nlmcf6162glxz282nbb6b6hjf5h0p7mbzr0j1357sxj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvidvi-bin))
    (home-page "https://ctan.org/pkg/dvidvi")
    (synopsis "Convert one DVI file into another")
    (description
     "This @command{dvidvi} converts one DVI file into another.  The output
DVI file's contents are specified by page selection commands; series of pages
and page number ranges may be specified, as well as inclusions and
exclusions.")
    ;; Its author stated the program is to be used under the GPL.  See
    ;; <https://metadata.ftp-master.debian.org/changelogs//main/d/dvidvi/dvidvi_1.0-8.2_copyright>.
    (license license:gpl3)))

(define-public texlive-dvidvi-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvidvi-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvidvi"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvidvi" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvidvi"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvidvi"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvidvi))
    (synopsis "Binary for @code{texlive-dvidvi}")
    (description
     "This package provides the binary for @code{texlive-dvidvi}.")
    (license (package-license texlive-dvidvi))))

(define-public texlive-dviinfox
  (package
    (name "texlive-dviinfox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dviinfox/" "scripts/dviinfox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rc662dllanawrlz2r0pnisl6zzc7c3bivsqy72iq87a92cq8kml"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "dviinfox.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/dviinfox")
    (synopsis "Perl script to print DVI meta information")
    (description
     "The package provides a Perl script which prints information about a DVI
file.  It also supports XeTeX XDV format.")
    (license license:expat)))

(define-public texlive-dviljk
  (package
    (name "texlive-dviljk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvihp.1"
                                     "doc/man/man1/dvihp.man1.pdf"
                                     "doc/man/man1/dvilj.1"
                                     "doc/man/man1/dvilj.man1.pdf"
                                     "doc/man/man1/dvilj2p.1"
                                     "doc/man/man1/dvilj2p.man1.pdf"
                                     "doc/man/man1/dvilj4.1"
                                     "doc/man/man1/dvilj4.man1.pdf"
                                     "doc/man/man1/dvilj4l.1"
                                     "doc/man/man1/dvilj4l.man1.pdf"
                                     "doc/man/man1/dvilj6.1"
                                     "doc/man/man1/dvilj6.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03pi78c8ghy2gghzk1ffrvf5x7h8c1r0pv5pcspwxz365x2rsbjw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dviljk-bin))
    (home-page "https://ctan.org/pkg/dviljk")
    (synopsis "DVI to Laserjet output")
    (description
     "This package provides a DVI driver for the LaserJet printers, using
@command{kpathsea} recursive file searching.")
    (license license:gpl3+)))

(define-public texlive-dviljk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dviljk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dviljk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dviljk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dviljk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dviljk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dviljk))
    (synopsis "Binary for @code{texlive-dviljk}")
    (description
     "This package provides the binary for @code{texlive-dviljk}.")
    (license (package-license texlive-dviljk))))

(define-public texlive-dviout-util
  (package
    (name "texlive-dviout-util")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/chkdvifont.1"
                                     "doc/man/man1/chkdvifont.man1.pdf"
                                     "doc/man/man1/dvispc.1"
                                     "doc/man/man1/dvispc.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "098pksgf2iamq96rmzg5fw7i9dlpvdksficsz1bf8k8z4djnbk8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dviout-util-bin))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Utilities from the @code{dviout} package")
    (description
     "This package provides two utilities: @command{chkdvifont}, which check
fonts in DVI/TFM/JFM/FONT files, and @command{dvispc}, which corrects the
page-independence of DVI file using color specials or tpic specials, and
transforms between a DVI file and a text file.")
    (license license:expat)))

(define-public texlive-dviout-util-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dviout-util-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dviout-util" "tests"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dviout-util" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dviout-util"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dviout-util"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea texlive-libptexenc))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dviout-util))
    (synopsis "Binary for @code{texlive-dviout-util}")
    (description
     "This package provides the binary for @code{texlive-dviout-util}.")
    (license (package-license texlive-dviout-util))))

(define-public texlive-dvipng
  (package
    (name "texlive-dvipng")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/dvipng/"
                                     "doc/info/dvipng.info"
                                     "doc/man/man1/dvigif.1"
                                     "doc/man/man1/dvigif.man1.pdf"
                                     "doc/man/man1/dvipng.1"
                                     "doc/man/man1/dvipng.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0454xscpjh33d5qcyiirk79y4zwpfzh4rxvgmzbd4qp1h1anjnjm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvipng-bin))
    (home-page "https://ctan.org/pkg/dvipng")
    (synopsis "DVI to PNG/GIF converter")
    (description
     "This program makes PNG and/or GIF graphics from DVI files as obtained
from TeX and its relatives.  It offers very fast rendering of DVI as bitmap
files, which makes it suitable for generating large amounts of images
on-the-fly, as needed in @code{preview-latex}, WeBWorK and others.  It does
not read the postamble, so it can be started before TeX finishes.")
    (license license:lgpl3)))

(define-public texlive-dvipng-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvipng-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '("xpdf"))
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvipng"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipng" (delete "--disable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipng"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipng"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs
     (list freetype
           gd
           graphite2
           harfbuzz
           icu4c
           libpng
           potrace
           texlive-libkpathsea
           zziplib))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvipng))
    (synopsis "Binaries for @code{texlive-dvipng}")
    (description
     "This package provides the binaries for @code{texlive-dvipng}.")
    (license (package-license texlive-dvipng))))

(define-public texlive-dvipos
  (package
    (name "texlive-dvipos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvipos.1"
                                     "doc/man/man1/dvipos.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dmaas4m9y4px53vlg0jr73xviki338fm2n176l8ldwqj0vvq1b8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvipos-bin))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support DVI @samp{pos:} specials used by ConTeXt DVI output")
    (description
     "@command{dvipos} parses a DVI file looking for @samp{pos:} specials.
It then outputs the information from those specials along with information
that only a DVI postprocessor could determine, such as the current @samp{x}
and @samp{y} location.")
    (license license:gpl2+)))

(define-public texlive-dvipos-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvipos-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvipos"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipos" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipos"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipos"
                  (invoke "make" "install"))))))))
    (home-page (package-home-page texlive-dvipos))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (synopsis "Binary for @code{texlive-dvipos}")
    (description
     "This package provides the binary for @code{texlive-dvipos}.")
    (license (package-license texlive-dvipos))))

(define-public texlive-dvipsconfig
  (package
    (name "texlive-dvipsconfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/dvipsconfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02vgk91y80ch4pkj83vbiz1b2ccigf152hm83p607y4n4qn2xzsf"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dvipsconfig")
    (synopsis "Collection of dvips PostScript headers")
    (description
     "This is a collection of dvips PostScript header and dvips config files.
They control certain features of the printer, including: A4, A3, usletter,
simplex, duplex / long edge, duplex / short edge, screen frequencies of
images, black/white invers, select transparency / paper for tektronix 550/560,
manual feeder, envelope feeder, and tray 1, 2 and 3, and printing a PostScript
grid underneath the page material--very useful for measuring and eliminating
paper feed errors!")
    (license license:gpl3+)))

(define-public texlive-dvisvgm
  (package
    (name "texlive-dvisvgm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvisvgm.1"
                                     "doc/man/man1/dvisvgm.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pm3m0x25956lk1k99479gc5dn6w4bqp0ibgihn2y5gjpma75civ"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvisvgm-bin))
    (home-page "https://ctan.org/pkg/dvisvgm")
    (synopsis
     "Convert DVI, EPS, and PDF files to Scalable Vector Graphics format (SVG)")
    (description
     "Dvisvgm is a command line utility that converts TeX DVI as well as EPS
and PDF files to the XML-based Scalable Vector Graphics (SVG) format.  It
provides full font support including virtual fonts, font maps, and sub-fonts.
If necessary, @command{dvisvgm} vectorizes Metafont's bitmap output in order
to always create lossless scalable output.  The embedded SVG fonts can
optionally be replaced with graphics paths so that applications that do not
support SVG fonts are enabled to render the graphics properly.")
    (license license:gpl3+)))

(define-public texlive-dvisvgm-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvisvgm-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs with-files?)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append '("." "..") dirs)))
                              (or with-files?
                                  (eq? 'directory (stat:type (stat file))))))))))))
            (delete-other-directories "libs" '() #f)
            (delete-other-directories "utils" '() #f)
            ;; TODO: Unbundle stuff in texk/dvisvgm/dvisvgm-src/libs too.
            (delete-other-directories "texk" '("dvipsk" "dvisvgm") #f)
            ;; Test data is spread across multiple directories, which need to
            ;; be preserved.
            (delete-other-directories "texk/dvipsk" '("testdata") #t)))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvisvgm" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            ;; XXX: Ghostscript is detected, but HAVE_LIBGS is never set, so
            ;; the appropriate linker flags are not added.
            (add-after 'unpack 'patch-dvisvgm-build-files
              (lambda _
                (substitute* "texk/dvisvgm/configure"
                  (("^have_libgs=yes" all)
                   (string-append all "\nHAVE_LIBGS=1")))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvisvgm"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvisvgm"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs
     (list brotli
           clipper
           freetype
           ghostscript
           openssl
           potrace
           texlive-libkpathsea
           woff2
           xxhash
           zlib))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvisvgm))
    (synopsis "Binary for @code{texlive-dvisvgm}")
    (description
     "This package provides the binary for @code{texlive-dvisvgm}.")
    (license (package-license texlive-dvisvgm))))

(define-public texlive-ebong
  (package
    (name "texlive-ebong")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebong/" "scripts/ebong/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n177627hdsa5fv64irxq8dlxbc2yxk604ifgpjvdx5ww41451k9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ebong.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/ebong")
    (synopsis "Utility for writing Bengali in Rapid Roman Format")
    (description
     "This package provides a tool (preprocessor) for writing your
@code{pRaa-ne-r} ka-thaa in the Bengali langauage.  It allows one to write the
text in Rapid Roman Bangla and convert it to the BangTeX format by a Python
program.  All LaTeX markups are preserved in the target file.")
    (license license:public-domain)))

(define-public texlive-eijkhout
  (package
    (name "texlive-eijkhout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/eijkhout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00y3y01jpgzww1x6zjh748hpvizlrbgrv04p8aq3cm2pzs0g17qk"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eijkhout")
    (synopsis "Victor Eijkhout's packages")
    (description
     "The package provides three unrelated tools: @code{DB_process}, to parse
and process database output; @code{CD_labeler}, to typeset user text to fit on
a CD label; and @code{repeat}, a nestable, generic loop macro.")
    (license
     (list license:gpl2+                ;CD_labeler and DB_process.tex
           license:lppl))))             ;repeat.tex

(define-public texlive-encxvlna
  (package
    (name "texlive-encxvlna")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/encxvlna/"
                                     "tex/latex/encxvlna/" "tex/plain/encxvlna/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01lgh560xhn56k5pps65lq9c5rn0kbrcfvqfikrqq83g3n7k2p8v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/encxvlna")
    (synopsis "Insert nonbreakable spaces, using encTeX")
    (description
     "The package provides tools for inserting nonbreakable spaces after
nonsyllabic prepositions and single letter conjunctions as required by Czech
and Slovak typographical rules.  It is implemented using encTeX and provides
files both for plain TeX and LaTeX.")
    (license license:lppl)))

(define-public texlive-epigram
  (package
    (name "texlive-epigram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/epigram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zps5067mgi7xq3fpjvjln8i0rz53j7qn660khraq8ribv4glnpf"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epigram")
    (synopsis "Display short quotations")
    (description
     "The package determines (on the basis of the width of the text of the
epigram, laid out on a single line) whether to produce a line or a displayed
paragraph.")
    (license license:public-domain)))

(define-public texlive-epsf-dvipdfmx
  (package
    (name "texlive-epsf-dvipdfmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/epsf-dvipdfmx/"
                                     "tex/plain/epsf-dvipdfmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xj4hag3nldxxjcpympvra5cdn19nk76af9dxq07ci585gcki3x5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsf-dvipdfmx")
    (synopsis "Plain TeX file for using epsf.tex with (x)dvipdfmx")
    (description
     "@file{epsf-dvipdfmx.tex} is a plain TeX file to be @code{\\input} after
@file{epsf.tex} when using plain TeX with @code{dvipdfmx}.  It is needed when
an @file{.eps} file has anything except the origin for the lower-left of its
bounding box.")
    (license license:public-domain)))

(define-public texlive-ethiop
  (package
    (name "texlive-ethiop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ethiop/"
                                     "fonts/ofm/public/ethiop/"
                                     "fonts/ovf/public/ethiop/"
                                     "fonts/ovp/public/ethiop/"
                                     "fonts/source/public/ethiop/"
                                     "fonts/tfm/public/ethiop/"
                                     "omega/ocp/ethiop/"
                                     "omega/otp/ethiop/"
                                     "source/latex/ethiop/"
                                     "tex/latex/ethiop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1852g96rjyrsky7mpfwlxgip11qmk800xcmqccs8cv51f5342qlq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/ethiop")
    (synopsis "LaTeX macros and fonts for typesetting Amharic")
    (description
     "This package provides Ethiopian language support for the Babel package,
including a collection of fonts and TeX macros for typesetting the characters
of the languages of Ethiopia, with Metafont fonts based on EthTeX's.  The
macros use the Babel framework.")
    (license license:gpl3+)))

(define-public texlive-ethiop-t1
  (package
    (name "texlive-ethiop-t1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ethiop-t1/"
                                     "fonts/map/dvips/ethiop-t1/"
                                     "fonts/type1/public/ethiop-t1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19n6i61db88nhhkq9gg3gfr3sgpaf1ylr41l0xdhpfkn71y7par1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ethiop-t1")
    (synopsis "Type 1 versions of Amharic fonts")
    (description
     "These fonts provided in this package are drop-in Adobe type
1 replacements for the fonts of the @code{ethiop} package.")
    (license license:gpl3+)))

(define-public texlive-expex-acro
  (package
    (name "texlive-expex-acro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/expex-acro/"
                                     "source/generic/expex-acro/"
                                     "tex/generic/expex-acro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g662axz3qklsmrgi1ndp8v7w7vkdxanydijf5rhydabh8224az8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expex-acro")
    (synopsis "Wrapper for the expex package")
    (description
     "This is a small wrapper for the @code{expex} package, adding ways to
define, use, and summarize glossing abbreviations.  It also provides commands
to refer to examples, as well as some inline formatting commands commonly used
in linguistics.")
    (license license:lppl1.3+)))

(define-public texlive-expkv-bundle
  (package
    (name "texlive-expkv-bundle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/expkv-bundle/"
                                     "source/latex/expkv-bundle/"
                                     "tex/context/third/expkv-bundle/"
                                     "tex/generic/expkv-bundle/"
                                     "tex/latex/expkv-bundle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09ijb71w69bnhi38i8z2bnv8d4r4sdg337v61yi66y94z8d9iid9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expkv-bundle")
    (synopsis "Expandable @samp{key=val} implementation and friends")
    (description
     "This is a collection of different packages that provide @samp{key=value}
functionality in plainTeX, LaTeX, and ConTeXt.

At the core, the @code{expkv} package implements two expandable
@samp{key=value} parsers that are somewhat fast and robust against common bugs
in many key=value implementations (no accidental brace stripping, no fragility
for active commas or equals signs).

@code{expkv-cs} enables users to define expandable @samp{key=value} macros in
a comfortable and straightforward way.

@code{expkv-def} provides an interface to define common key types for
@code{expkv} similar to the key defining interfaces of widespread
@samp{key=value} implementations.

@code{expkv-opt} allows to parse package or class options in LaTeX via
@code{expkv}.

@code{expkv-pop} is a utility package to define prefix oriented parsers that
allow a somewhat natural formulation.")
    (license license:lppl1.3c)))

(define-public texlive-fc
  (package
    (name "texlive-fc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fc/" "fonts/source/jknappen/fc/"
                                     "fonts/tfm/jknappen/fc/" "tex/latex/fc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v0r8jcr1lv31mx613h76h13psj73g49p2a6dnd0nfbfharww3gr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; FIXME: Font metrics cannot be generated due to "bad pos"
               ;; errors with "fcitt" fonts.
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont texlive-sauter))
    (home-page "https://ctan.org/pkg/fc")
    (synopsis "Fonts for African languages")
    (description
     "This package includes fonts for African languages.  The fonts are
provided as Metafont source, in the familiar arrangement of lots of preamble
files and a modest set of glyph specifications.")
    (license license:gpl2)))

(define-public texlive-fenixpar
  (package
    (name "texlive-fenixpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fenixpar/"
                                     "tex/generic/fenixpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1363dr8fnhflw0mysv23mpp2vf02vfxs43nnv95yqkbsvp9fj502"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fenixpar")
    (synopsis "One-shot changes to token registers such as @code{\\everypar}")
    (description
     "The bundle provides two packages, @code{fenxitok} and
@code{fenixpar}.  The @code{fenixtok} package provides user macros to
add material to a token register; the material will be
(automatically) removed from the token register when the register is executed.
Material may be added either to the left or to the right, and care is taken
not to override any redefinition that may be included in the token register
itself.  The @code{fenixpar} package uses the macros of @code{fenixtok} to
provide a user interface to manipulation of the @code{\\everypar} token
register.  The packages require the e-TeX extensions; with them, they work
either with Plain TeX or with LaTeX.")
    (license license:lppl)))

(define-public texlive-feupphdteses
  (package
    (name "texlive-feupphdteses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/feupphdteses/"
                                     "tex/latex/feupphdteses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p6qwmcwayh45cmsgyx352ffzj2fcx2gaaya5qadn0ymx0pvb0lp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/feupphdteses")
    (synopsis "Typeset Engineering PhD theses at the University of Porto")
    (description
     "This package provides a complete template for thesis/works of Faculdade
de Engenharia da Universidade do Porto (FEUP) Faculty of Engineering
University of Porto.")
    (license license:lppl)))

(define-public texlive-figflow
  (package
    (name "texlive-figflow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/figflow/" "tex/plain/figflow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vsrsw5rrqjym0flca9537m41vs7wlk8mhl9zmqjfaxgi8jvc9ml"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figflow")
    (synopsis "Flow text around a figure")
    (description
     "This package provides a Plain TeX macro @code{\\figflow} that allows one
to insert a figure into an area inset into a paragraph.  Command arguments are
width and height of the figure, and the figure (and its caption) itself.  The
package does not work with LaTeX; packages such as @code{wrapfig},
@code{floatflt} and @code{picins} support the needs of LaTeX users in this
area.")
    ;; README states: "You may freely use, modify, and/or distribute this
    ;; file, without limitation."
    (license (license:fsf-free "file://doc/plain/figflow/README"))))

(define-public texlive-finbib
  (package
    (name "texlive-finbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/finbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dr1ivhfb83ky3q82dzzv5vvc8bl84iq7am0p1rc8fjlbj95i4wm"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/finplain")
    (synopsis "Finnish version of @file{plain.bst}")
    (description "This package provides a Finnish version of
@file{plain.bst}.")
    (license license:knuth)))

(define-public texlive-findhyph
  (package
    (name "texlive-findhyph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/findhyph.1"
                                     "doc/man/man1/findhyph.man1.pdf"
                                     "doc/support/findhyph/" "scripts/findhyph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bxj0li1a9qsvwmp0kmfsal4vsgsqal1lgmp4423z9nvwrwvvlrr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "findhyph")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/findhyph")
    (synopsis "Find hyphenated words in a document")
    (description
     "Findhyph is a Perl script that will analyse the log file from running
your document with @code{\\tracingparagraphs=1} set.  The output contains
enough context to enable you to find the hyphenated word that's being
referenced.")
    (license license:gpl2)))

(define-public texlive-first-latex-doc
  (package
    (name "texlive-first-latex-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/first-latex-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13ngk5pia5vbrbb4jrrlq1lmyja08m7cy4ydcjasxha8kns001ss"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/first-latex-doc")
    (synopsis "Document for absolute LaTeX beginners")
    (description
     "The document leads a reader, who knows nothing about LaTeX, through the
production of a two page document.  The user who has completed that first
document, and wants to carry on, will find recommendations for tutorials.")
    (license license:public-domain)))

(define-public texlive-fixpdfmag
  (package
    (name "texlive-fixpdfmag")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/fixpdfmag/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s5ilsmnhvi57x9cqwp7nwpagfribmgkbl0z1ci55aw2a6bff9hn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixpdfmag")
    (synopsis "Fix magnification in pdfTeX")
    (description
     "This package provides a recent change to pdfTeX has caused magnification
to apply to page dimensions.")
    (license license:public-domain)))

(define-public texlive-fltpoint
  (package
    (name "texlive-fltpoint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fltpoint/"
                                     "source/generic/fltpoint/"
                                     "tex/generic/fltpoint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k85cyh39rxr3jrgyxcj1lrya5zss5da62pj7q8412naaklkhd7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fltpoint")
    (synopsis "Simple floating point arithmetic")
    (description
     "The package provides simple floating point operations (addition,
subtraction, multiplication, division and rounding).")
    (license license:lppl1.2+)))

(define-public texlive-fntproof
  (package
    (name "texlive-fntproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/fntproof/"
                                     "tex/generic/fntproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pw0nw0dalnxqxpfgpw4pglngz3iff8sxxfdn89ygz46sv6427n5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fntproof")
    (synopsis "Programmable font test pattern generator")
    (description
     "The package implements all the font testing commands of Knuth's
@file{testfont.tex}, but arranges that information necessary for each command
is supplied as arguments to that command, rather than prompted for.  This
makes it possible to type all the tests in one command line, and easy to input
the package in a file and to use the commands there.  A few additional
commands supporting this last purpose are also made available.")
    (license license:public-domain)))

(define-public texlive-font-change
  (package
    (name "texlive-font-change")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/font-change/"
                                     "tex/plain/font-change/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b2i3gwrwfa2ab95m2ksmypiwc5dmfyirymhm18g1h0zpj86ccza"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/font-change")
    (synopsis "Macros to change text and mathematics fonts in plain TeX")
    (description
     "This package provides macros to change text and mathematics fonts in
TeX.  The macros are written for plain TeX and may be used with other packages
like AmSTeX, eplain, etc.  They also work with XeTeX. The macros allow users
to change the fonts (for both text and mathematics) in their TeX document with
only one statement.  The fonts may be used readily at various predefined
sizes.")
    (license license:cc-by-sa3.0)))

(define-public texlive-fontch
  (package
    (name "texlive-fontch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/fontch/" "tex/plain/fontch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19v8l76181yhan6ybc47i5sq4mirc8lc7x1zxqxmk15wyvax9lm9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontch")
    (synopsis "Changing fonts, sizes and encodings in Plain TeX")
    (description
     "The fontch macros allow the user to change font size and family anywhere
in a plain TeX document.  Sizes of 8, 10, 12, 14, 20 and 24 points are
available.  A sans serif family is defined in addition to the families already
defined in plain TeX. Optional support for Latin Modern T1 and TS1 fonts is
given.  There are macros for non-latin1 letters and for most TS1 symbols.
Math mode always uses CM fonts.  A command for producing doubled-spaced
documents is also provided.")
    (license license:lppl)))

(define-public texlive-fontinstallationguide
  (package
    (name "texlive-fontinstallationguide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontinstallationguide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i6im0nckcr9fzs0kc54dvcj3jvjz2j8jd55xgjm0r569qjj1hi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontinstallationguide")
    (synopsis "Font installation guide")
    (description
     "This guide discusses the most common scenarios you are likely to
encounter when installing Type 1 PostScript fonts.  While the individual tools
employed in the installation process are documented well, the actual
difficulty most users are facing when trying to install new fonts is
understanding how to put all the pieces together.  This is what this guide is
about.")
    (license license:fdl1.3+)))

(define-public texlive-fontools
  (package
    (name "texlive-fontools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/afm2afm.1"
                                     "doc/man/man1/afm2afm.man1.pdf"
                                     "doc/man/man1/autoinst.1"
                                     "doc/man/man1/autoinst.man1.pdf"
                                     "doc/man/man1/ot2kpx.1"
                                     "doc/man/man1/ot2kpx.man1.pdf"
                                     "doc/support/fontools/"
                                     "fonts/enc/dvips/fontools/"
                                     "scripts/fontools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a4lvpl4kk711hdsw6kpgw835kn9pmfjrv8asjngxjbh6nk4yl7z"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "afm2afm" "autoinst" "ot2kpx")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/fontools")
    (synopsis "Tools to simplify using fonts (especially TT/OTF ones)")
    (description
     "This package provides tools to simplify using OpenType fonts with LaTeX.
By far the most important program in this bundle is @command{autoinst},
a wrapper script around Eddie Kohler's LCDF TypeTools.  Autoinst aims to
automate the installation of OpenType fonts in LaTeX by calling the LCDF
TypeTools (with the correct options) for all fonts you wish to install, and
generating the necessary @file{.fd} and @file{.sty} files.

In addition, this bundle contains a few other, less important utilities:
@itemize
@item @command{afm2afm}: re-encodes @file{.afm} files,
@item @command{ot2kpx}: extract kerning pairs from OpenType fonts,
@item @command{splitttc}: split an OpenType Collection file (ttc or
otc) into individual fonts.
@end itemize")
    (license license:gpl2)))

(define-public texlive-fonts-tlwg
  (package
    (name "texlive-fonts-tlwg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fonts-tlwg/"
                                     "fonts/afm/public/fonts-tlwg/"
                                     "fonts/enc/dvips/fonts-tlwg/"
                                     "fonts/map/dvips/fonts-tlwg/"
                                     "fonts/opentype/public/fonts-tlwg/"
                                     "fonts/tfm/public/fonts-tlwg/"
                                     "fonts/type1/public/fonts-tlwg/"
                                     "fonts/vf/public/fonts-tlwg/"
                                     "source/fonts/fonts-tlwg/"
                                     "tex/latex/fonts-tlwg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19g1ksxsidf6cpcxm3knbbfpjw6jsfq2acy99cgmsy7jn33k253b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonts-tlwg")
    (synopsis "Thai fonts for LaTeX from TLWG")
    (description
     "This package provides a collection of Thai fonts, supplied as FontForge
sources, and with LaTeX @file{.fd} files.")
    (license (list license:gpl2+
                   license:lppl1.3+
                   (license:x11-style "file://source/fonts/fonts-tlwg/COPYING")))))

(define-public texlive-fontware
  (package
    (name "texlive-fontware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pltotf.1"
                                     "doc/man/man1/pltotf.man1.pdf"
                                     "doc/man/man1/tftopl.1"
                                     "doc/man/man1/tftopl.man1.pdf"
                                     "doc/man/man1/vftovp.1"
                                     "doc/man/man1/vftovp.man1.pdf"
                                     "doc/man/man1/vptovf.1"
                                     "doc/man/man1/vptovf.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03w04hagary4si2f86wbhill731l7q9rmw3gmnpccs7cqlzamw3m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fontware-bin))
    (home-page "https://ctan.org/pkg/vfware")
    (synopsis "Tools for virtual font metrics")
    (description
     "Virtual font metrics are usually created in a textual form, the Virtual
Property List, but programs that use them need to use binary files (the
Virtual Font and the TeX Font Metric).  The two programs provided in this
package translate between the two forms: @command{vptovf} takes a VPL file and
generates a VF file and a TFM file; @command{vftovp} takes a VF file and a TFM
file and generates a VPL file.")
    (license license:knuth)))

(define-public texlive-fontware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-fontware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("pltotf" "tftopl" "vftovp" "vptovf")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-fontware))
    (synopsis "Binaries for @code{texlive-fontware}")
    (description
     "This package provides the binaries for @code{texlive-fontware}.")
    (license (package-license texlive-fontware))))

(define-public texlive-forest-quickstart
  (package
    (name "texlive-forest-quickstart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/forest-quickstart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bjy0bfkb90nv2dbdw8hdrm3dvm1v0r0m7a0l44ckw48vnc6amvk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/forest-quickstart")
    (synopsis "Quickstart Guide for Linguists package @code{forest}")
    (description
     "@code{forest} is a PGF/TikZ-based package for drawing linguistic (and
other kinds of) trees.  This manual provides a quickstart guide for linguists
with just the essential things that you need to get started.")
    (license license:fdl1.3+)))

(define-public texlive-fragmaster
  (package
    (name "texlive-fragmaster")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/fragmaster/"
                                     "scripts/fragmaster/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vwbkbg96dql73gayb06gs2fdxynljibjkmhliglc9ddggyx4v2m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "fragmaster.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/fragmaster")
    (synopsis "Using @command{psfrag} with pdfLaTeX")
    (description
     "Fragmaster enables you to use @command{psfrag} with pdfLaTeX.  It takes
EPS files and @command{psfrag} substitution definition files, and produces PDF
and EPS files with the substitutions included.")
    (license license:gpl3+)))

(define-public texlive-gentle
  (package
    (name "texlive-gentle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/gentle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l5fyfdbkpqlgpgi1hrnn2sz8hchlnp7z5s5584czafvs10jg6vx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gentle")
    (synopsis "Gentle introduction to TeX")
    (description
     "The @emph{Gentle Introduction} is the longest-established comprehensive
tutorial on the use of plain TeX.")
    (license
     (license:fsf-free "file://share/texmf-dist/doc/plain/gentle/gentle.tex"))))

(define-public texlive-getoptk
  (package
    (name "texlive-getoptk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/getoptk/" "tex/plain/getoptk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ndqi977wk6f9ikcvbllcbxmmfzdanjfznzx6pkq41caf4mj91y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/getoptk")
    (synopsis "Define macros with sophisticated options")
    (description
     "The package provides a means of defining macros whose options are taken
from a dictionary, which includes options which themselves have arguments.
The package was designed for use with Plain TeX.")
    (license license:cecill-b)))

(define-public texlive-gfnotation
  (package
    (name "texlive-gfnotation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/gfnotation/"
                                     "tex/plain/gfnotation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18yl6qhwd3fk6fyi6plj0bcb6iwzr4yx9aqmhs77rs5k4j2rgxsf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfnotation")
    (synopsis "Typeset Gottlob Frege's notation in plain TeX")
    (description
     "The package implements macros for plain TeX to typeset the notation
invented by Gottlob Frege in 1879 for his books @emph{Begriffsschrift} and
@emph{Grundgesetze der Arithmetik} (two volumes).  The output styles of both
books are supported.")
    (license license:gpl3)))

(define-public texlive-gfsbaskerville
  (package
    (name "texlive-gfsbaskerville")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsbaskerville/"
                                     "fonts/afm/public/gfsbaskerville/"
                                     "fonts/enc/dvips/gfsbaskerville/"
                                     "fonts/map/dvips/gfsbaskerville/"
                                     "fonts/opentype/public/gfsbaskerville/"
                                     "fonts/tfm/public/gfsbaskerville/"
                                     "fonts/type1/public/gfsbaskerville/"
                                     "fonts/vf/public/gfsbaskerville/"
                                     "tex/latex/gfsbaskerville/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hf2nr0y1l9wzxvk0s2ajy3g80fcc02avr2fqrnss23c1a0jhr8q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsbaskerville")
    (synopsis "Greek font, from one such by Baskerville")
    (description
     "The font is a digital implementation of Baskerville's classic Greek font,
provided by the Greek Font Society.  The font covers Greek only, and LaTeX
support provides for the use of LGR encoding.")
    (license (list license:lppl1.0+ license:silofl1.1))))

(define-public texlive-gfsporson
  (package
    (name "texlive-gfsporson")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gfsporson/"
                                     "fonts/afm/public/gfsporson/"
                                     "fonts/enc/dvips/gfsporson/"
                                     "fonts/map/dvips/gfsporson/"
                                     "fonts/opentype/public/gfsporson/"
                                     "fonts/tfm/public/gfsporson/"
                                     "fonts/type1/public/gfsporson/"
                                     "fonts/vf/public/gfsporson/"
                                     "tex/latex/gfsporson/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11m9f3vh41w8gbla62219vf2djc5kl9i4kpg6i1iiixwrhi56smc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gfsporson")
    (synopsis "Greek font, originally from Porson")
    (description
     "Porson is an elegant Greek font, originally cut at the turn of the 19th
Century in England.  The present version has been provided by the Greek Font
Society.  The font supports the Greek alphabet only.  LaTeX support is
provided, using the LGR encoding.")
    (license (list license:lppl1.0+ license:silofl1.1))))

(define-public texlive-gobble
  (package
    (name "texlive-gobble")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/gobble/"
                                     "source/generic/gobble/"
                                     "tex/generic/gobble/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02g40fx99xn80af6bqv7zn16l8dnqihqd42vn5hbphfx85b3p49q"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/gobble")
    (synopsis "More gobble macros for PlainTeX and LaTeX")
    (description
     "The LaTeX package @code{gobble} includes several gobble macros not
included in the LaTeX kernel.  These macros remove a number of arguments after
them, a feature regulary used inside other macros.  This includes gobble
macros for optional arguments.

The LaTeX package @code{gobble-user} provides these macros at the user level,
i.e.  using names without @samp{@@@@} so that these can be used without
@code{\\makeatletter} and @code{\\makeatother}.  The same macros are provided
inside @file{.tex} files for use with plain-TeX or other TeX formats.
However, the gobble macros for optional macros require @code{\\@@@@ifnextchar}
to be defined.")
    (license license:lppl1.3+)))

(define-public texlive-graphics-pln
  (package
    (name "texlive-graphics-pln")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/graphics-pln/"
                                     "tex/plain/graphics-pln/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bsqai7hvsb2z2ijh6mdiqz21nifhq40aym0rps2gys1kk8wh4r4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphics-pln")
    (synopsis "LaTeX-style graphics for Plain TeX users")
    (description
     "The Plain TeX graphics package is mostly a thin shell around the LaTeX
@code{graphicx} and @code{color} packages, with support of the LaTeX-isms in
those packages provided by @code{miniltx}.  The bundle also contains a file
@file{picture.tex}, which is a wrapper around the @file{autopict.sty}, and
provides the LaTeX picture mode to Plain TeX users.")
    (license license:lppl1.0+)))

(define-public texlive-greek-inputenc
  (package
    (name "texlive-greek-inputenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greek-inputenc/"
                                     "tex/latex/greek-inputenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07zb4rnfx7hbc6d4mk03gmvb0x0mw5kz7d3ygj6x3886f0dms950"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greek-inputenc")
    (synopsis "Greek encoding support for @code{inputenc}")
    (description
     "The bundle provides UTF-8, Macintosh Greek encoding and ISO 8859-7
definition files for use with @code{inputenc}.")
    (license license:lppl1.3+)))

(define-public texlive-greekdates
  (package
    (name "texlive-greekdates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greekdates/"
                                     "source/latex/greekdates/"
                                     "tex/latex/greekdates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hwjskdllwxa14l12d0fn850sll3i9yihxlpjp2fk62v3iwkrq4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greekdates")
    (synopsis "Provides ancient Greek day and month names, dates, etc")
    (description
     "The package provides easy access to ancient Greek names of days and
months of various regions of Greece.  In case the historical information about
a region is not complete, we use the Athenian name of the month.  Moreover
commands and options are provided, in order to completely switch to the
ancient way, such as @code{\\today}.")
    (license license:lppl)))

(define-public texlive-greektex
  (package
    (name "texlive-greektex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/greektex/" "tex/latex/greektex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zs3kakr7k261j876r1xpynvnmjjdn5rky0acfbcjxp7mmsqpmzn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greektex")
    (synopsis "Fonts for typesetting Greek/English documents")
    (description
     "The fonts are based on Silvio Levy's classical Greek fonts; macros and
Greek hyphenation patterns for the fonts encoding are also provided.")
    (license license:public-domain)))

(define-public texlive-greektonoi
  (package
    (name "texlive-greektonoi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greektonoi/"
                                     "fonts/map/dvips/greektonoi/"
                                     "tex/latex/greektonoi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14phabwakq87qgh3jxs95gk1w2q3aw29vhy441538y4fxvskqhrw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greektonoi")
    (synopsis "Facilitates writing/editing of multiaccented Greek")
    (description
     "The @code{greektonoi} mapping extends the @code{betababel} package or
the Babel @samp{polutonikogreek} option to provide a simple way to insert
ancient Greek texts with diacritical characters into your document using
a similar method to the commonly used Beta Code transliteration, but with much
more freedom.  It is designed especially for the XeTeX engine and it could
also be used for fast and easy modification of monotonic Greek texts to
polytonic.  The output text is natively encoded in Unicode, so it can be
reused in any possible way.  The @code{greektonoi} package provides, in
addition to inserting Greek accents and breathings, many other symbols used in
Greek numbers and arithmetic or in the Greek archaic period.  It could be used
with @code{greektonoi} mapping or indepedently.")
    (license license:lgpl3)))

(define-public texlive-gtl
  (package
    (name "texlive-gtl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/gtl/" "source/generic/gtl/"
                                     "tex/generic/gtl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gva7i2b9lark18spf452qv2p1rmi4854wpikdpya6g33gl9vq1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gtl")
    (synopsis "Manipulating generalized token lists")
    (description
     "The package provides tools for simple operations on lists of tokens
which are not necessarily balanced.  It is in particular used a lot in the
@code{unravel} package, to go through tokens one at a time rather than having
to work with entire braced groups at a time.")
    (license license:lppl1.3c)))

(define-public texlive-hindawi-latex-template
  (package
    (name "texlive-hindawi-latex-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hindawi-latex-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q35drybrlcfcrhrd5691m66nd17b0m6hkcsqazpb1ck227zih61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hindawi-latex-template")
    (synopsis "LaTeX template for authors of the Hindawi journals")
    (description
     "This package contains a LaTeX template for authors of the Hindawi journals.
Authors can use this template for formatting their research articles for
submissions.")
    (license license:lppl1.3+)))

(define-public texlive-hlist
  (package
    (name "texlive-hlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/hlist/" "tex/generic/hlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14rm9npzcanw4p4nkqd0rrm4655f9yhw58zf0qfa5azs305ba687"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hlist")
    (synopsis "Horizontal and columned lists")
    (description
     "This plain TeX and LaTeX package provides the @code{hlist} environment
in which @code{\\hitem} starts a horizontal and columned item.")
    (license license:lppl1.3c)))

(define-public texlive-hyplain
  (package
    (name "texlive-hyplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/hyplain/" "tex/plain/hyplain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xj23zhv0sapjvchlcp013d32kayjf48wq5ywdak5n0fkb09mzl2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hyplain")
    (synopsis "Basic support for multiple languages in Plain TeX")
    (description
     "The package offers a means to set up hyphenation suitable for several
languages and/or dialects, and to select them or switch between them while
typesetting.")
    (license license:public-domain)))

(define-public texlive-ibycus-babel
  (package
    (name "texlive-ibycus-babel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ibycus-babel/"
                                     "source/latex/ibycus-babel/"
                                     "tex/latex/ibycus-babel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lwf28h6lzlblg7s7bx2dhqprxvjj78a8rlljhk9kw5pf065c7aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ibycus-babel")
    (synopsis "Use the Ibycus 4 Greek font with Babel")
    (description
     "The package allows you to use the Ibycus 4 font for ancient Greek with
Babel.  It uses a Perl script to generate hyphenation patterns for Ibycus from
those for the ordinary Babel encoding, @samp{cbgreek}.  It sets up
@code{ibycus} as a pseudo-language you can specify in the normal Babel
manner.")
    (license license:lppl)))

(define-public texlive-ibygrk
  (package
    (name "texlive-ibygrk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ibygrk/"
                                     "fonts/afm/public/ibygrk/"
                                     "fonts/enc/dvips/ibygrk/"
                                     "fonts/map/dvips/ibygrk/"
                                     "fonts/source/public/ibygrk/"
                                     "fonts/tfm/public/ibygrk/"
                                     "fonts/type1/public/ibygrk/"
                                     "tex/generic/ibygrk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14a1hqqwz3pfpz5rz9k8finxnlan4a3l8a0brgs98p6mdp9xl3q1"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-levy")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-levy texlive-metafont))
    (home-page "https://ctan.org/pkg/ibygrk")
    (synopsis "Fonts and macros to typeset ancient Greek")
    (description
     "Ibycus is a Greek typeface, based on Silvio Levy's realisation of
a classic Didot cut of Greek type from around 1800.  The fonts are available
both as Metafont source and in Adobe Type 1 format.  This distribution of
@code{ibycus} is accompanied by a set of macro packages to use it with Plain
TeX or LaTeX, but for use with Babel, see the @code{ibycus-babel} package.")
    (license license:gpl3+)))

(define-public texlive-inputnormalization
  (package
    (name "texlive-inputnormalization")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inputnormalization/"
                                     "source/latex/inputnormalization/"
                                     "tex/latex/inputnormalization/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nfvcmr0lp7nig8mz3j1lwi0wbk8yf1ibdnz3lq22pysfjjl3200"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inputnormalization")
    (synopsis "Wrapper for XeTeX's and LuaTeX's input normalization")
    (description
     "This package provides a cross engine interface to normalizing input
before it's read by TeX.")
    (license license:lppl1.3+)))

(define-public texlive-insbox
  (package
    (name "texlive-insbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/insbox/" "tex/generic/insbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0br6xpn9y11nw2pdjxck6mijbw2q6g2v31p64hwn65bwnx1fnc25"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/insbox")
    (synopsis "Insert pictures/boxes into paragraphs")
    (description
     "The package provides convenient bundling of the @code{\\parshape}
primitive.  This is a TeX package.")
    (license license:public-domain)))

(define-public texlive-js-misc
  (package
    (name "texlive-js-misc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/js-misc/" "tex/plain/js-misc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03cixw6rbg787ma8v43py07vrmhijf9cfg965ndahbzyhi6vkc96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/js-misc")
    (synopsis "Miscellaneous macros from Joachim Schrod")
    (description
     "This package provides a bunch of packages, including: @file{idverb.tex},
for short verbatim; @file{xfig.tex}, for including xfig/transfig output in
a TeX document; and @file{cassette.tex} for setting cassette labels.")
    (license license:public-domain)))

(define-public texlive-jsclasses
  (package
    (name "texlive-jsclasses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/jsclasses/"
                                     "source/platex/jsclasses/"
                                     "tex/platex/jsclasses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "024bgaim5rkamlwj4xa6w4yp8i37f8j6vn4jyrh8avwm9anc22pg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jsclasses")
    (synopsis "Classes tailored for use with Japanese")
    (description
     "This package provides classes @code{jsarticle} and @code{jsbook},
together with packages @code{okumacro} and @code{okuverb}.  These classes are
designed to work under ASCII Corporation's Japanese TeX system pTeX.")
    (license license:bsd-2)))

(define-public texlive-kerkis
  (package
    (name "texlive-kerkis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kerkis/"
                                     "fonts/afm/public/kerkis/"
                                     "fonts/enc/dvips/kerkis/"
                                     "fonts/map/dvips/kerkis/"
                                     "fonts/opentype/public/kerkis/"
                                     "fonts/tfm/public/kerkis/"
                                     "fonts/type1/public/kerkis/"
                                     "fonts/vf/public/kerkis/"
                                     "tex/latex/kerkis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mkrnydgc05k2n6mrz6i3ichigf0bmy465s2vg514m7ma399khi9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kerkis")
    (synopsis "Kerkis (Greek) font family")
    (description
     "This package provides sans-serif Greek fonts to match the URW Bookman
set (which are distributed with Kerkis).  The Kerkis font set has some support
for mathematics as well as other glyphs missing from the base URW Bookman
fonts.  Macros are provided to use the fonts in OT1, T1 (only NG/ng glyphs
missing) and LGR encodings, as well as in mathematics; small caps and
old-style number glyphs are also available.")
    (license license:lppl1.3c)))

(define-public texlive-lambda-lists
  (package
    (name "texlive-lambda-lists")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/lambda-lists/"
                                     "tex/plain/lambda-lists/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dlm6yr0z7d2j4wn1i1khf47sf79y4h2aahymm3y11ljr5pg012r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lambda-lists")
    (synopsis "Lists in ``TeX's mouth''")
    (description
     "These list-processing macros avoid the reassignments employed in the
macros shown in Appendix D of the TeXbook: all the manipulations take place in
what Knuth is pleased to call ``TeX's mouth''.")
    (license license:lppl)))

(define-public texlive-langcode
  (package
    (name "texlive-langcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/langcode/"
                                     "source/generic/langcode/"
                                     "tex/generic/langcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ygshcc0iszaldzc8ygz4bgvz05c3kv81v3m7i4q46l57x2kfx6x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/langcode")
    (synopsis "Simple language-dependent settings based on language codes")
    (description
     "The package provides a command @code{\\uselangcode@{<code>@}} to adjust
language-dependent settings such as key words, typographical conventions and
language codes (ISO 639-1).  The package provides a means of selecting macros
according to the specified code, for preparing a document that is to be
separately typeset in different languages.")
    (license license:lppl1.3+)))

(define-public texlive-lecturer
  (package
    (name "texlive-lecturer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/lecturer/"
                                     "tex/generic/lecturer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ry4r1zcq71kk672dnnpzah0aw2axj7frajbv6xwy6hf2hzzs0ln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lecturer")
    (synopsis "On-screen presentations for (almost) all formats")
    (description
     "The package creates slides for on-screen presentations based on PDF
features without manipulating TeX's typesetting process.  The presentation
flow relies on PDF's abilities to display content step by step.  Features
include:

@itemize
@item Free positioning of anything anywhere in painted areas on the slide, as
well as in the main text block;
@item Numerous attributes to control the layout and the presentation flow,
from TeX's primitive dimensions to the visibility of steps;
@item Feature inheritance from global to local settings, with intermediate
types; Basic drawing facilities to produce symbols, e.g., for list items or
buttons;
@item Colours, transparency, shades, and pictures;
@item Navigation with links, pop-up menus, and customizable bookmarks;
@item Easy switch between presentation and handout; and PDF transitions.
@end itemize

Besides the traditional documentation, the distribution includes visual
documentation and six demo presentations ranging from geometric abstraction to
classic style to silly video game.")
    (license license:lppl)))

(define-public texlive-letterspacing
  (package
    (name "texlive-letterspacing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/letterspacing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ry7rri76dgbrkzr6na2kkh7bn0jpwkhh9b5qw0cl5xwyp81rddg"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/letterspacing")
    (synopsis "Letter spacing")
    (description
     "This package helps spacing out the letters of text; the command is
@code{\\letterspace<\\hbox modifier>@{<text>@}}: the text is placed in an
@code{\\hbox} of the specified size, and space is inserted between each glyph
to make the text fit the box.  Note that letterspacing is not ordinarily
considered acceptable in modern typesetting of English.")
    (license license:knuth)))

(define-public texlive-levy
  (package
    (name "texlive-levy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/levy/"
                                     "fonts/source/public/levy/"
                                     "fonts/tfm/public/levy/" "tex/generic/levy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nkfsq5k2rysgsplv6rhvx8fimd7999dylzd2khvw7flryig32nv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/levy-font")
    (synopsis "Fonts for typesetting classical Greek")
    (description
     "These fonts are derivatives of Kunth's CM fonts.  Macros for use with
Plain TeX are included in the package; for use with LaTeX, see @code{lgreek}
(with English documentation) or @code{levy} (with German documentation).")
    (license license:gpl2)))

(define-public texlive-lgreek
  (package
    (name "texlive-lgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lgreek/" "tex/latex/lgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wa8d5mlk6jkx3m1rfddasw169sc6l6p8n4axh6i0np1imgsxx2b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lgreek")
    (synopsis "LaTeX macros for using Silvio Levy's Greek fonts")
    (description
     "This package provides a conversion of Silvio Levy's Plain TeX macros for
use with LaTeX.")
    (license license:gpl2)))

(define-public texlive-lgrmath
  (package
    (name "texlive-lgrmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lgrmath/" "source/latex/lgrmath/"
                                     "tex/latex/lgrmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lj4jdzwykqz1hkv2s6y2ghf1zlalx27gd6kfpbnignxmh63cpkb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lgrmath")
    (synopsis "Use LGR-encoded fonts in math mode")
    (description
     "The @code{lgrmath} package is a LaTeX package which sets the Greek
letters in math mode to use glyphs from the LGR-encoded font of one's choice.
The documentation includes a rather extensive list of the available font
family names on typical LaTeX installations.")
    (license license:lppl1.3c)))

(define-public texlive-localloc
  (package
    (name "texlive-localloc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/localloc/"
                                     "source/generic/localloc/"
                                     "tex/generic/localloc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vcfdxh800ksr4wrrvykdm27qvlhqkylbik4j93pr59g13h9g90f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/localloc")
    (synopsis "Macros for localizing TeX register allocations")
    (description
     "This package approaches the problem of the shortage of registers, by
providing a mechanism for local allocation.  The package works with Plain TeX
and LaTeX.")
    (license license:knuth)))

(define-public texlive-metatex
  (package
    (name "texlive-metatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/metatex/" "tex/plain/metatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pdgx59ckp9qdfidl37y8mv3dyvza9lxmhgbqk69ckywm3kbb2n9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metatex")
    (synopsis "Incorporate Metafont pictures in TeX source")
    (description
     "METATeX is a set of plain TeX and Metafont macros that you can use to
define both the text and the figures in a single source file.  Because METATeX
sets up two way communication, from TeX to Metafont and back from Metafont to
TeX, drawing dimensions can be controlled by TeX and labels can be located by
Metafont.  Only standard features of TeX and Metafont are used, but two runs
of TeX and one of Metafont are needed.")
    (license license:gpl3+)))

(define-public texlive-midnight
  (package
    (name "texlive-midnight")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/midnight/"
                                     "tex/generic/midnight/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "024g170k8cfcddch2c0qvq1als0ncp9v2zqv77yzay5jqx4iv1d7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/midnight")
    (synopsis "Set of useful macro tools")
    (description
     "This package provides macro tools:
@itemize
@item @code{quire}: making booklets, etc.;
@item @code{gloss}: vertically align words in consecutive sentences;
@item @code{loop}: a looping construct;
@item @code{dolines}: meta'-macros to separate arguments by newlines;
@item @code{labels}: address labels and bulk mail letters;
@item @code{styledef}: selectively input part of a file;
@item @code{border}: borders around boxes.
@end itemize")
    ;; All files share the same license, which is Knuth's with additional
    ;; requirements about documentation and references to the original source
    ;; when modified.
    (license (license:fsf-free "file://tex/generic/midnight/border.tex"))))

(define-public texlive-mkgrkindex
  (package
    (name "texlive-mkgrkindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/mkgrkindex/"
                                     "makeindex/mkgrkindex/"
                                     "scripts/mkgrkindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bj35wdxn0xllpqzf8lrd00b5rmyy9fws84avz3ijk4k8rvfz8gk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkgrkindex")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/greek-makeindex")
    (synopsis "MakeIndex working with Greek")
    (description
     "MakeIndex is resolutely stuck with Latin-based alphabets, so will not
deal with Greek indexes, unaided.  This package provides a Perl script that
will transmute the index of a Greek document in such a way that MakeIndex will
sort the entries according to the rules of the Greek alphabet.")
    (license license:lppl)))

(define-public texlive-modulus
  (package
    (name "texlive-modulus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/modulus/"
                                     "source/generic/modulus/"
                                     "tex/generic/modulus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07sa8bnbgclfz4p3sb00cl1b3i51nvhhlmb4p6hcyaca1n1xsn8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modulus")
    (synopsis "Non-destructive modulus and integer quotient operator for TeX")
    (description
     "The package provides an easy way to take the remainder of a division
operation without destroying the values of the counters containing the
dividend and divisor.  It also provides a way to take the integer quotient of
a division operation without destroying the values of the counters containing
the dividend and divisor.")
    (license license:lppl1.3c)))

(define-public texlive-mongolian-babel
  (package
    (name "texlive-mongolian-babel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mongolian-babel/"
                                     "source/latex/mongolian-babel/"
                                     "tex/latex/mongolian-babel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kzips0jmjahrrfaripglg203dvvr408v5qxjvnrnxqzb8d1i2w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mongolian-babel")
    (synopsis "Language definition file for Mongolian in Babel")
    (description
     "This package provides support for Mongolian in a Cyrillic
alphabet.  (The work derives from the earlier Russian work for Babel.)")
    (license license:lppl)))

(define-public texlive-montex
  (package
    (name "texlive-montex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/montex/"
                                     "fonts/map/dvips/montex/"
                                     "fonts/source/public/montex/"
                                     "fonts/tfm/public/montex/"
                                     "fonts/type1/public/montex/"
                                     "tex/latex/montex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01rbzw0kbiy3wig2mrdclygx7a71dckq9rhqj8jpdnbjyhm9jw35"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (propagated-inputs (list texlive-cbfonts))
    (home-page "https://ctan.org/pkg/montex")
    (synopsis "Mongolian LaTeX")
    (description
     "MonTeX provides Mongolian and Manju support for the TeX and LaTeX community.
It provides all necessary characters for writing standard Mongolian in
Cyrillic and Classical (aka Traditional or Uighur) writing, and Manju as well
as transliterated Tibetan texts, for which purpose a number of additional
characters was created.

In MonTeX, both Mongolian and Manju are entered in romanized form.  The
retransliteration (from Latin input to Mongolian and Manju output) is
completely realized in TeX and Metafont so that no external preprocessor is
required.  Please note that most of the enhanced functions of MonTeX require
a working e-LaTeX environment.  This is especially true when compiling
documents with Mongolian or Manju as the main document language.  It is
recommended to choose pdfLaTeX as the resulting PDF files are truly portable.
Vertical text generated by MonTeX is not supported in DVI.")
    (license license:gpl3+)))

(define-public texlive-moreverb
  (package
    (name "texlive-moreverb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/moreverb/" "source/latex/moreverb/"
                                     "tex/latex/moreverb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kba3df9cfiz168hsxhwg3a838p3vrgfp42fmwafsf3xq3q2z5hg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/moreverb")
    (synopsis "Extended verbatim")
    (description
     "This package provides a collection of verbatim facilities that provide
line-numbered verbatim, verbatim that obeys TAB characters, verbatim input and
verbatim output to file.  The package makes use of the @code{verbatim}
package.  The package is formed from a series of small pieces, and is somewhat
unstructured.  The user who looks for thought-through verbatim facilities is
advised to consider using the @code{fancyvrb} package in place of
@code{moreverb}.")
    (license license:lppl)))

(define-public texlive-morewrites
  (package
    (name "texlive-morewrites")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/morewrites/"
                                     "source/latex/morewrites/"
                                     "tex/latex/morewrites/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16lgdlvbx0lnjca0apdp0f4fm7bhglgpvl30dlnrfjwv7jsk29ci"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/morewrites")
    (synopsis "Always room for a new write stream")
    (description
     "The package aims to solve the error @emph{No room for a new \\write},
which occurs when the user, or when the user's packages have allocated too
many streams using @code{\\newwrite} (TeX has a fixed maximum number ---
16 --- of such streams built-in to its code).  The package hooks into TeX
primitive commands associated with writing to files; it should be loaded near
the beginning of the sequence of loading packages for a document.")
    (license license:lppl1.3c)))

(define-public texlive-morisawa
  (package
    (name "texlive-morisawa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/morisawa/"
                                     "fonts/map/dvipdfmx/morisawa/"
                                     "fonts/tfm/public/morisawa/"
                                     "fonts/vf/public/morisawa/"
                                     "source/fonts/morisawa/"
                                     "tex/latex/morisawa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wqyiq049y0mv6d1r3d0mrjzhh5pq2vi50sr0jhd58k4wdg8zqkb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/morisawa")
    (synopsis
     "Selection of 5 standard Japanese fonts for pLaTeX and dvips")
    (description
     "The package enables selection of 5 standard Japanese fonts for pLaTeX
and dvips.")
    (license license:bsd-2)))

(define-public texlive-mpman-ru
  (package
    (name "texlive-mpman-ru")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mpman-ru/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x3drpi21zcmkhkscvl4l7805wskqa4zskydb33i0asss5p62396"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpman-ru")
    (synopsis "Russian translation of the MetaPost manual")
    (description
     "This package provides a translation of the MetaPost user manual, as
distributed with MetaPost itself.")
    ;; Explicitly use the same license as MetaPost.
    (license license:lppl)))

(define-public texlive-namedef
  (package
    (name "texlive-namedef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/namedef/"
                                     "source/generic/namedef/"
                                     "tex/generic/namedef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rc97c8zn1gb1cfqf70q5iphnbkgay4xmw1a2h55kc9wj4ql2j5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-l3kernel))
    (home-page "https://ctan.org/pkg/namedef")
    (synopsis "TeX definitions with named parameters")
    (description
     "This package provides a prefix @code{\\named} to be used in TeX
definitions so that parameters can be identified by their name rather than by
number, giving parameters a semantic rather than syntactic meaning, making it
easy to understand long definitions.")
    (license license:lppl1.3c)))

(define-public texlive-navigator
  (package
    (name "texlive-navigator")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/navigator/"
                                     "tex/generic/navigator/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17rs718rvp9f6dakdl99abgq5rcflsw6kyxjknhjya019l2y23m3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/navigator")
    (synopsis "PDF features across formats and engines")
    (description
     "Navigator implements PDF features for all formats (with some limitations
in ConTeXt) with pdfTeX, LuaTeX and XeTeX.  Its features include: customizable
outlines (i.e.  bookmarks); anchors; links and actions (e.g., JavaScript or
user-defined PDF actions); file embedding (not in ConTeXt); document
information and PDF viewer's display (not in ConTeXt); and commands to create
and use raw PDF objects.")
    (license license:lppl)))

(define-public texlive-newsletr
  (package
    (name "texlive-newsletr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/newsletr/" "tex/plain/newsletr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c7ggyx1jnw05vn589awxxbpfqkwf7kq4qn9pm61ycb6p9n3nn0h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newsletr")
    (synopsis "Macros for making newsletters with Plain TeX")
    (description
     "This package provides macros for making newsletters with Plain TeX.")
    ;; License is almost Knuth's, but requires marking modifications
    ;; explicitly instead of simply renaming the file.
    (license (license:fsf-free "file://doc/plain/newsletr/read.me"))))

(define-public texlive-numnameru
  (package
    (name "texlive-numnameru")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numnameru/"
                                     "tex/latex/numnameru/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1il8qn9wkdk554r4a8h5vmdmwcvgwygcx58zwnqxflz6hqsxdjmx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numnameru")
    (synopsis "Converts a number to the Russian spelled out name")
    (description
     "This package converts a numerical number to the Russian spelled out name
of the number.")
    (license license:lppl1.3+)))

(define-public texlive-ofs
  (package
    (name "texlive-ofs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ofs/" "tex/generic/ofs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dcsa9xlcdvwd4qd6n6yli8arcy3s6896svgk5nbmgplan2nz1cw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ofs")
    (synopsis "Macros for managing large font collections")
    (description
     "OFS (Olsak's Font System) is a set of Plain TeX and LaTeX macros for
managing large font collections.  Its main features include:

@itemize
@item mapping from long names of fonts to the metric file name.  The user can
specify only exact long names in documents;
@item support for many font encodings;
@item printing of catalogues of fonts and test samples of font families; the
interactive macro @code{\\showfonts} shows all font families you have
installed via OFS.
@end itemize")
    (license license:knuth)))

(define-public texlive-olsak-misc
  (package
    (name "texlive-olsak-misc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/olsak-misc/"
                                     "tex/generic/olsak-misc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kl83yvj299w7v69a20i5yi91h46n0k080rg6z1jjwdxm0g893a0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/olsak-misc")
    (synopsis "Collection of plain TeX macros written by Petr Olsak")
    (description
     "This is a collection of various single-file plain TeX macros written
by Petr Olsak:

@itemize
@item @file{booklet.tex}: re-orders PDF pages and collects them for booklet
printing;
@item @file{cnv.tex}: conversion of texts;
@item @file{cnv-pu.tex}: example of usage of @file{cnv.tex} --- pdf outlines
in Unicode;
@item @file{cnv-word.tex}: example of usage of @file{cnv.tex} --- word to word
conversion;
@item @file{eparam.tex}: full expansion during parameter scanning;
@item @file{fun-coffee.tex}: generates splotches in the document;
@item @file{openclose.tex}: repairs balanced text between @code{\\Open} and
@code{\\Close} pair;
@item @file{qrcode.tex}: QR code generated at TeX level;
@item @file{scanbase.tex}: parser of text-style MySQL outputs;
@item @file{scancsv.tex}: parser of CSV format;
@item @file{seplist.tex}: macros with alternative separators of a parameter;
@item @file{xmlparser.tex}: parser of XML language.
@end itemize")
    (license license:public-domain)))

(define-public texlive-outerhbox
  (package
    (name "texlive-outerhbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/outerhbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1867xhxlbskiysifmwlr10lay8khragzi36fm552cwc4vjz2ybcz"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outerhbox")
    (synopsis "Collect horizontal material for contributing to a paragraph")
    (description
     "The package provides the @code{\\outerhbox} command, which is similar to
@code{\\hbox}, except that material is set in outer horizontal mode.  This
prevents TeX from optimising away maths penalties and the like, that are
needed when the material is @code{\\unhbox}'ed.")
    (license license:gpl3+)))

(define-public texlive-path
  (package
    (name "texlive-path")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/path/" "tex/generic/path/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09m1f9si97hrfqsyj0mzbi9djgk0w4vq13yd3v0af9v3240h1ps2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/path")
    (synopsis "Typeset paths, making them breakable")
    (description
     "This package defines a macro @code{\\path|...|}, similar to the LaTeX
@code{\\verb|...|}, that sets the text in typewriter font and allows
hyphen-less breaks at punctuation characters.  The set of characters to be
regarded as punctuation may be changed from the package's default.")
    (license license:knuth)))

(define-public texlive-pdf-trans
  (package
    (name "texlive-pdf-trans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pdf-trans/"
                                     "tex/generic/pdf-trans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n7l0p1950lk3n5jm3si0qqhb8b7mm7jh33fm97l2r7d3qn9jac8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdf-trans")
    (synopsis "Macros for various transformations of TeX boxes")
    (description
     "@code{pdf-trans} is a set of macros offering various transformations of
TeX boxes (based on plain and pdfeTeX primitives).")
    (license license:public-domain)))

(define-public texlive-pdfmsym
  (package
    (name "texlive-pdfmsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pdfmsym/"
                                     "tex/generic/pdfmsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13rffg6i2nx94wmgxsipbi490fncxnq3j42p5vcdg8bldfk1w5w4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfmsym")
    (synopsis "PDF Math Symbols --- various drawn mathematical symbols")
    (description
     "This package defines a handful of mathematical symbols many of which are
implemented via PDF's builtin drawing utility.  It is intended for use with
pdfTeX and LuaTeX and is supported by XeTeX to a lesser extent.  Among the
symbols it defines are some variants of commonly used ones, as well as more
obscure symbols which cannot be as easily found in other TeX or LaTeX
packages.")
    (license license:expat)))

(define-public texlive-pitex
  (package
    (name "texlive-pitex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/pitex/" "tex/plain/pitex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqawfqmh9sh7rfpfrhbmysmn1rlzmbs26nla8fj0xr45vx60219"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pitex")
    (synopsis "Documentation macros")
    (description
     "The bundle provides macros that the author uses when writing
documentation (for example, that of the @code{texapi} and @code{yax}
packages).")
    (license license:lppl)))

(define-public texlive-pl
  (package
    (name "texlive-pl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pl/"
                                     "dvips/pl/"
                                     "fonts/afm/public/pl/"
                                     "fonts/enc/dvips/pl/"
                                     "fonts/map/dvips/pl/"
                                     "fonts/source/public/pl/"
                                     "fonts/tfm/public/pl/"
                                     "fonts/type1/public/pl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18s3by7isk85ksvp40i6qg2ws3iyj5f35fh8h0561rw6jdc024rc"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts"
                                               "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-amsfonts texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/pl-mf")
    (synopsis "Polish extension of Computer Modern fonts")
    (description
     "This package provides the Polish extension of the Computer Modern
fonts (compatible with CM itself) for use with Polish TeX formats.")
    (license license:public-domain)))

(define-public texlive-placeins-plain
  (package
    (name "texlive-placeins-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/placeins-plain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhc72zdm2cjynx6lf6kafmf00nw17z3mnfhagh41h76cnm338g9"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/placeins-plain")
    (synopsis "Insertions that keep their place")
    (description
     "This TeX file provides various mechanisms (for plain TeX and close
relatives) to let insertions (footnotes, topins, pageins, etc.) float within
their appropriate section, but to prevent them from intruding into the
following section, even when sections do not normally begin a new page.")
    (license license:public-domain)))

(define-public texlive-plainpkg
  (package
    (name "texlive-plainpkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/plainpkg/"
                                     "source/generic/plainpkg/"
                                     "tex/generic/plainpkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10p796lms7rzwqgjf60nqm8x79hiz1cwiq1j8acjg1a6lnvadbq0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plainpkg")
    (synopsis "Minimal method for making generic packages")
    (description
     "The package provides a minimal method for making generic (i.e.,
TeX-format-independent) packaged, combining maybeload functionality, fallback
definitions for LaTeX @code{\\ProvidesPackage} and @code{\\RequirePackage}
functionality, and handling of arbitrary (multiple) private letters (analagous
LaTeX packages use of @samp{@@@@}) in nested package files.")
    (license license:lppl1.3+)))

(define-public texlive-platex
  (package
    (name "texlive-platex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/platex.1"
                                     "doc/man/man1/platex.man1.pdf"
                                     "doc/platex/base/"
                                     "source/platex/base/"
                                     "tex/platex/base/"
                                     "tex/platex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kdmnlbg5jh9ym3iasbpp5al7ljhn8fiirw6y5g4k5x3v9f3bmm8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "platex" "platex-dev")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'fix-build
                 ;; This phase is necessary because the build phase is
                 ;; reluctant to generate "kinsoku.tex" since there is another
                 ;; one among the inputs (texlive-ptex) already.
                 (lambda _
                   (substitute* "source/platex/base/plfmt.ins"
                     (("\\\\keepsilent\n" all)
                      (string-append all "\\askforoverwritefalse\n")))))
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((euptex (search-input-file inputs "bin/euptex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink euptex "platex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-base
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-ptex
           texlive-ptex-fonts
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-uptex))
    (home-page "https://ctan.org/pkg/platex")
    (synopsis "pLaTeX2e and miscellaneous macros for pTeX")
    (description
     "The bundle provides pLaTeX2e and miscellaneous macros for pTeX and
e-pTeX.")
    (license license:bsd-3)))

(define-public texlive-platex-tools
  (package
    (name "texlive-platex-tools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/platex-tools/"
                                     "tex/latex/platex-tools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wdxcmag1kk6zs7dv10jdcs9ih0bs08xr14iw5bqqyppia4pa1lv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/platex-tools")
    (synopsis "pLaTeX standard tools bundle")
    (description
     "This bundle is an extended version of the @code{latex-tools} bundle
developed by the LaTeX team, mainly intended to support pLaTeX2e and
upLaTeX2e.  Currently patches for the @code{latex-tools} bundle and Martin
Schroder's @code{ms} bundle are included.")
    (license license:bsd-3)))

(define-public texlive-platexcheat
  (package
    (name "texlive-platexcheat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/platexcheat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04hvm19x4z7vq2md3p3r2wwa7iqkgkxnvvj1xx3s9145m6fjib5a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/platexcheat")
    (synopsis "LaTeX cheat sheet, in Japanese")
    (description
     "This is a translation to Japanese of Winston Chang's LaTeX cheat
sheet (a reference sheet for writing scientific papers).  It has been adapted
to Japanese standards using pLaTeX, and also attached additional information
of standard LaTeX (especially about Math mode).")
    (license license:expat)))

(define-public texlive-plautopatch
  (package
    (name "texlive-plautopatch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/plautopatch/"
                                     "tex/latex/plautopatch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fhphmjhq0mbsarkfmfj0580b97lxxbcwanr4zpwjj5f6krqq742"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plautopatch")
    (synopsis "Automated patches for pLaTeX/upLaTeX")
    (description
     "Japanese pLaTeX and upLaTeX formats and packages often conflict with
other LaTeX packages which are unaware of pLaTeX and upLaTeX.  In the worst
case, such packages throw a fatal error or end up with a wrong output.  The
goal of this package is that there should be no need to worry about such
incompatibilities, because specific patches are loaded automatically whenever
necessary.  This helps not only to simplify source files, but also to make the
appearance of working pLaTeX or upLaTeX sources similar to those of ordinary
LaTeX ones.")
    (license license:bsd-3)))

(define-public texlive-plipsum
  (package
    (name "texlive-plipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plipsum/" "tex/plain/plipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q8qnv212q9mgc00w9akdvpky1gbmirqrkdmi9v1wbf7c0ws2qda"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plipsum")
    (synopsis "@emph{Lorem ipsum} for Plain TeX developers")
    (description
     "The package provides a paragraph generator designed for use in Plain TeX
documents.  The paragraphs generated contain many f-groups (@samp{ff},
@samp{fl} etc.) so the text can act as a test of the ligatures of the font in
use.")
    (license license:lppl)))

(define-public texlive-plnfss
  (package
    (name "texlive-plnfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plnfss/" "tex/plain/plnfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cgnp8y9m0ziq1pfvjx83vi0r0k5xpckk0kiijy0g80wd3s4zbsd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plnfss")
    (synopsis "Font selection for Plain TeX")
    (description
     "Plnfss is a set of macros to provide easy font access (somewhat similar
to NFSS but with some limitations) with Plain TeX.  Plnfss can automatically
make use of PSNFSS @code{fd} files, i.e., when an Adobe Type 1 is used the
relevant @code{fd} file will be loaded automatically.  For @code{cmr}-like
fonts (@code{ec}, @code{vnr}, @code{csr} or @code{plr} fonts), a special
format called @code{pfd} (plain @code{fd}) is required and must be loaded
manually.")
    (license license:lppl)))

(define-public texlive-plstmary
  (package
    (name "texlive-plstmary")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plstmary/" "tex/plain/plstmary/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03adq5fkl620z0hpbdpqcsm1qjxlr43ip1bhi5xv2izxpw952x0z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plstmary")
    (synopsis "St Mary's Road font support for plain TeX")
    (description
     "The package provides commands to produce all the symbols of the St
Mary's Road fonts, in a Plain TeX environment.")
    (license license:public-domain)))

(define-public texlive-poormanlog
  (package
    (name "texlive-poormanlog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/poormanlog/"
                                     "tex/generic/poormanlog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wbpjxjn3bvi4bmcq62ydafc8a72wq2vhzfx2gcn20sn3x4qc0hg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poormanlog")
    (synopsis "Logarithms and powers with (almost) 9 digits")
    (description
     "This small package (usable with Plain e-TeX, LaTeX, or others) with no
dependencies provides two fast expandable macros computing logarithms in base
10 and fractional powers of 10.")
    (license license:lppl1.3c)))

(define-public texlive-present
  (package
    (name "texlive-present")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/present/" "tex/plain/present/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dc7h14z7xw232mgqjayl1a4ab5pj9bz2d9wgmznh4bjylgw4lwp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/present")
    (synopsis "Presentations with Plain TeX")
    (description
     "The package offers a collection of simple macros for preparing
presentations in Plain TeX.  Slide colour and text colour may be set, links
between parts of the presentation, to other files, and to web addresses may be
inserted.  Images may be included easily, and code is available to provide
transition effects between slides or frames.  The structure of the macros is
not overly complex, so that users should find it easy to adapt the macros to
their specific needs.")
    (license license:lppl)))

(define-public texlive-ptex
  (package
    (name "texlive-ptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/eptex.1"
                                     "doc/man/man1/eptex.man1.pdf"
                                     "doc/man/man1/makejvf.1"
                                     "doc/man/man1/makejvf.man1.pdf"
                                     "doc/man/man1/mendex.1"
                                     "doc/man/man1/mendex.man1.pdf"
                                     "doc/man/man1/pbibtex.1"
                                     "doc/man/man1/pbibtex.man1.pdf"
                                     "doc/man/man1/ppltotf.1"
                                     "doc/man/man1/ppltotf.man1.pdf"
                                     "doc/man/man1/ptekf.1"
                                     "doc/man/man1/ptekf.man1.pdf"
                                     "doc/man/man1/ptex.1"
                                     "doc/man/man1/ptex.man1.pdf"
                                     "doc/man/man1/ptftopl.1"
                                     "doc/man/man1/ptftopl.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aqan2g9cp5nv0hh1i6d6wcsp19f8zdlrij7wi3xs0hf5kwl2ql9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "eptex" "ptex")))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-plain
           texlive-ptex-base
           texlive-ptex-bin
           texlive-ptex-fonts
           texlive-uptex))
    (home-page "https://ctan.org/pkg/ptex")
    (synopsis "TeX system for publishing in Japanese")
    (description
     "pTeX adds features related to vertical writing, and deals with other
problems in typesetting Japanese.  A manual (in both Japanese and English) is
distributed as package @code{pTeX-manual}.")
    (license license:bsd-3)))

(define-public texlive-ptex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ptex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("makejvf" "mendexk" "web2c"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-makejvf"
                 "--enable-mendexk"
                 (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/makejvf"
                    (invoke "make" "check"))
                  (with-directory-excursion "texk/mendexk"
                    (invoke "make" "check")))))
            (add-after 'build 'build-web2c-binaries
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (for-each (lambda (target) (invoke "make" target))
                            '("eptex" "pmpost")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/makejvf"
                  (invoke "make" "install"))
                (with-directory-excursion "texk/mendexk"
                  (invoke "make" "install"))
                ;; Install Web2C parts.
                (let ((bin (string-append #$output "/bin")))
                  (with-directory-excursion "texk/web2c"
                    (for-each (lambda (f) (install-file f bin))
                              '("eptex" "pmpost")))
                  (with-directory-excursion bin
                    (for-each symlink
                              '("eptex" "pmpost"   "pmpost")
                              '("ptex"  "pdvitomp" "r-pmpost"))
                    ;; Some executables are symlinks to TEXLIVE-UPTEX-BIN's.
                    (let ((uptex #$(this-package-input "texlive-uptex-bin")))
                      (for-each
                       symlink
                       (map (lambda (f) (string-append uptex "/bin/" f))
                            '("upbibtex" "updvitype" "uppltotf" "uptftopl"))
                       '("pbibtex" "pdvitype" "ppltotf" "ptftopl")))))))))))
    (native-inputs (list pkg-config))
    (inputs
     (modify-inputs (package-inputs texlive-bin)
       (append cairo gmp mpfi mpfr texlive-libptexenc texlive-uptex-bin)))
    (home-page (package-home-page texlive-ptex))
    (synopsis "Binaries for @code{texlive-ptex}")
    (description
     "This package provides the binaries for @code{texlive-ptex}.")
    (license (package-license texlive-ptex))))

(define-public texlive-ptex-base
  (package
    (name "texlive-ptex-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/ptex/ptex-base/" "tex/ptex/ptex-base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hfccpsfpj56v97056k77lyb09az7m24m8klf1n2v0a7kqdc1fv6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptex-base")
    (synopsis "Plain TeX format for pTeX and e-pTeX")
    (description
     "The bundle contains the plain TeX format for pTeX and e-pTeX.")
    (license license:bsd-3)))

(define-public texlive-ptex-fontmaps
  (package
    (name "texlive-ptex-fontmaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ptex-fontmaps/"
                                     "fonts/cmap/ptex-fontmaps/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/adobe/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/apple/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/arphic/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/baekmuk/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/bizud/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/canon/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/cjkunifonts-ttf/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/cjkunifonts/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/dynacomware/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/fandol/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/founder/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/haranoaji/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/hiragino-pron/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/hiragino/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ipa/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ipaex/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/kozuka-pr6/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/kozuka-pr6n/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/kozuka/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/moga-mobo-ex/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/moga-mobo/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/morisawa-pr6n/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/morisawa/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ms-osx/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ms-win10/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ms/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/noEmbed/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/noto-otc/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/noto/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/solaris/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/sourcehan-otc/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/sourcehan/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/ume/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/unfonts/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/yu-osx/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/yu-win/"
                                     "fonts/map/dvipdfmx/ptex-fontmaps/yu-win10/"
                                     "fonts/misc/ptex-fontmaps/"
                                     "scripts/ptex-fontmaps/"
                                     "source/ptex-fontmaps/jis04cmap_exp/"
                                     "source/ptex-fontmaps/script/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07qm41d33z9vjvchsxfrqxim7zb15cg77x4aw5a06mgn3w7kz6ha"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "kanji-config-updmap-sys.sh"
                                  "kanji-config-updmap-user.sh"
                                  "kanji-config-updmap.pl"
                                  "kanji-fontmap-creator.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ptex-fontmaps")
    (synopsis
     "Font maps and tools for Japanese/Chinese/Korean fonts with (u)pTeX")
    (description
     "This package provides font maps and setup tools for Japanese, Korean,
Traditional Chinese, and Simplified Chinese.  It is the successor of the
@code{jfontmaps} package.  The files in this package contain font maps for
dvipdfmx to make various Japanese, Chinese, and Korean fonts available
for (u)ptex and related programs and formats.")
    (license (list license:public-domain license:gpl3))))

(define-public texlive-ptex-manual
  (package
    (name "texlive-ptex-manual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/ptex/ptex-manual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kvq5wx7rz6lz9a5f2fjk1y3l8sbqm10jc80s9irbkhv8rhkg8ar"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptex-manual")
    (synopsis "Japanese pTeX manual")
    (description "This package contains the Japanese pTeX manual.")
    (license license:bsd-3)))

(define-public texlive-ptex-fonts
  (package
    (name "texlive-ptex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ptex-fonts/"
                                     "fonts/source/ptex-fonts/jis/"
                                     "fonts/source/ptex-fonts/nmin-ngoth/"
                                     "fonts/source/ptex-fonts/standard/"
                                     "fonts/tfm/ptex-fonts/dvips/"
                                     "fonts/tfm/ptex-fonts/jis/"
                                     "fonts/tfm/ptex-fonts/nmin-ngoth/"
                                     "fonts/tfm/ptex-fonts/standard/"
                                     "fonts/vf/ptex-fonts/jis/"
                                     "fonts/vf/ptex-fonts/nmin-ngoth/"
                                     "fonts/vf/ptex-fonts/standard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f33y28zmrc6gw01qj956vrwj3mh5gn6kph2i13yg1yi2hdl7wwa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptex-fonts")
    (synopsis "Fonts for use with pTeX")
    (description
     "The bundle contains fonts for use with pTeX and the documents for the
@command{makejvf} program.")
    (license license:bsd-3)))

(define-public texlive-ptex2pdf
  (package
    (name "texlive-ptex2pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ptex2pdf/" "scripts/ptex2pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vc4clig35s9cir2gmls7zvj8k1qal4np0akvlgsz2zch44b0imr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ptex2pdf.lua")))
    (home-page "https://ctan.org/pkg/ptex2pdf")
    (synopsis "Convert Japanese TeX documents to PDF")
    (description
     "The Lua script provides system-independent support of Japanese
typesetting engines in TeXworks.  As TeXworks typesetting setup does not allow
for multistep processing, this script runs one of the pTeX-based programs
followed by dvipdfmx.")
    (license license:gpl2)))

(define-public texlive-pxbase
  (package
    (name "texlive-pxbase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxbase/" "tex/platex/pxbase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dq9d4ixddffjnzb73d2qacgzm27665hvq2gsfjqzikzaa70dahw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxbase")
    (synopsis "Tools for use with (u)pLaTeX")
    (description
     "The main purpose of this package is to provide auxiliary functions which
are utilized by other packages created by the same author.  It also provides
a few user commands to assist in creating Japanese documents using
@code{(u)pLaTeX.}")
    (license license:expat)))

(define-public texlive-pxchfon
  (package
    (name "texlive-pxchfon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxchfon/" "fonts/sfd/pxchfon/"
                                     "fonts/tfm/public/pxchfon/"
                                     "fonts/vf/public/pxchfon/"
                                     "tex/platex/pxchfon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vqzsp0hbgwiyv0a2675v8r20jncdaqvkd22ppnd1c14ham9097h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxchfon")
    (synopsis "Japanese font setup for pLaTeX and upLaTeX")
    (description
     "This package enables users to declare in their document which physical
fonts should be used for the standard Japanese (logical) fonts of pLaTeX and
upLaTeX.  Font setup is realized by changing the font mapping of dvipdfmx, and
thus users can use any (monospaced) physical fonts they like, once they
properly install this package, without creating helper files for each new
font.  This package also supports setup for the fonts used in the
@code{japanese-otf} package.")
    (license license:expat)))

(define-public texlive-pxcjkcat
  (package
    (name "texlive-pxcjkcat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxcjkcat/" "tex/latex/pxcjkcat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10lbwry55rdldfhj2v893rpp1jdzv00vxhg4hf4gsgsmv1nnp25f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxcjkcat")
    (synopsis "LaTeX interface for the CJK category codes of upTeX")
    (description
     "The package provides management of the CJK category code table of the
upTeX extended TeX engine.  Package options are available for tailored use in
the cases of documents that are principally written in Japanese, or
principally written in English or other Western languages.")
    (license license:expat)))

(define-public texlive-pxjahyper
  (package
    (name "texlive-pxjahyper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxjahyper/"
                                     "tex/platex/pxjahyper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0128yslhwbrdhshjhxk6ayfl42ds0x0sfyvp91aspwbkfjnr34p9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxjahyper")
    (synopsis "Hyperref support for pLaTeX")
    (description
     "This package adjusts the behavior of @code{hyperref} on (u)pLaTeX so
that authors can properly create PDF documents that contain document
information in Japanese.")
    (license license:expat)))

(define-public texlive-pxjodel
  (package
    (name "texlive-pxjodel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxjodel/"
                                     "fonts/tfm/public/pxjodel/"
                                     "fonts/vf/public/pxjodel/"
                                     "tex/latex/pxjodel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5sd60zd34ark50qy2dgqrdcd5pwy5hxmi6g5jxqlj3j1n6r1ny"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxjodel")
    (synopsis "Help change metrics of fonts from japanese-otf")
    (description
     "This package changes the setup of the @code{japanese-otf} package so
that the TFMs for direct input are all replaced by new ones with prefixed
names.  This function will assist users who want to use the
@code{japanese-otf} package together with tailored TFMs of Japanese fonts.")
    (license license:expat)))

(define-public texlive-pxrubrica
  (package
    (name "texlive-pxrubrica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/pxrubrica/"
                                     "source/platex/pxrubrica/"
                                     "tex/platex/pxrubrica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n8jc65szkq114qg197hc9amrpifqvha8wifxplhvbmb09kzm5mm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxrubrica")
    (synopsis "Ruby annotations according to JIS X 4051")
    (description
     "This package provides a function to add ruby annotations (furigana) that
follow the style conventional in Japanese typography as described in the W3C
technical note @emph{Requirements for Japanese Text Layout} and the JIS
specification JIS X 4051.")
    (license license:expat)))

(define-public texlive-pxufont
  (package
    (name "texlive-pxufont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxufont/"
                                     "fonts/tfm/public/pxufont/"
                                     "fonts/vf/public/pxufont/"
                                     "tex/latex/pxufont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zg6wc62nj3p04lrp6dr4hhf67hxlgy70iy2h31vji29hsp417rv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxufont")
    (synopsis "Emulate non-Unicode Japanese fonts using Unicode fonts")
    (description
     "The set of the Japanese logical fonts (JFMs) that are used as standard
fonts in pTeX and upTeX contains both Unicode JFMs and non-Unicode JFMs.  This
bundle provides an alternative set of non-Unicode JFMs that are tied to the
virtual fonts (VFs) that refer to the glyphs in the Unicode JFMs.  Moreover it
provides a LaTeX package that redefines the NFSS settings of the Japanese
fonts of @code{(u)pLaTeX} so that the new set of non-Unicode JFMs will be
employed.  As a whole, this bundle allows users to dispense with the mapping
setup on non-Unicode JFMs.  Such a setup is useful in particular when users
want to use OpenType fonts (such as Source Han Serif) that have a glyph
encoding different from Adobe-Japan1, because mapping setups from non-Unicode
JFMs to such physical fonts are difficult to prepare.")
    (license license:expat)))

(define-public texlive-pwebmac
  (package
    (name "texlive-pwebmac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/pwebmac/" "tex/plain/pwebmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z7xx51v1yksj7qvmlrm1bmxq4j3y995i4k902d99kc1vf1rp0nl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pwebmac")
    (synopsis "Consolidated WEB macros for DVI and PDF output")
    (description
     "The original WEB system by Donald Knuth has the macros webmac.tex that
produce DVI output only; for historic reasons, it will never be
modified (apart from catastrophic errors).  Han The Thanh has modified these
macros in his @file{pdfwebmac.tex} for PDF output (only) with pdfTeX.
Jonathan Kew's XeTeX has similar macros @file{xewebmac.tex} by Khaled Hosny
that modify @file{webmac.tex} for PDF output; these macros can only be used
with a specific TeX engine each.  The present @code{pwebmac} package
integrates these three WEB macro files similar to @file{cwebmac.tex} in Silvio
Levy's and Don Knuth's CWEB system, so @file{pwebmac.tex} can be used with
Plain TeX, pdfTeX, and XeTeX alike.

Its initial application is the production of PDF and HINT files for all major
WEB programs for TeX and friends.  For this purpose, the shell script
@command{makeall} was whipped together; it provides various command line
options and works around several quirks in the WEB sources.

WEB programmers who want to use @file{pwebmac.tex} instead of the default
@file{webmac.tex} in their programs have to change the first line in the TeX
file created by @code{weave}.  From there, all depends on the TeX engine you
use.")
    (license license:public-domain)))

(define-public texlive-random
  (package
    (name "texlive-random")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/random/" "tex/generic/random/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04z7s4pm620bfjwgl46g4bqxzm2ab70ai8pj1x4p0qg8n50xaylf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/random")
    (synopsis "Generate pseudo-random numbers in TeX")
    (description
     "This package generates pseudo-random integers.  Macros are to provide
random integers in a given range, or random dimensions, which can be used to
provide random real numbers.")
    (license license:public-domain)))

(define-public texlive-randomlist
  (package
    (name "texlive-randomlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/randomlist/"
                                     "source/generic/randomlist/"
                                     "tex/generic/randomlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04pbbxxnynyc3l94560vvnad3rx7l2ic6p078az15v5qic7rki84"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/randomlist")
    (synopsis
     "Deal with database, loop, and random in order to build personalized
exercises")
    (description
     "The main aim of this package is to work on lists, especially with random
operations.  The hidden aim is to build a personnal collection of exercises
with different data for each pupil.")
    (license license:lppl1.3+)))

(define-public texlive-resumemac
  (package
    (name "texlive-resumemac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/resumemac/"
                                     "tex/plain/resumemac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q6ngs2inzk2nk9f06s9w9q2qhx71dw7nflmrc9hzx9w0pinw830"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resumemac")
    (synopsis "Plain TeX macros for resumes")
    (description "This package provides a set of macros for resumes.")
    (license license:public-domain)))

(define-public texlive-ruler
  (package
    (name "texlive-ruler")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/ruler/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ikap9dkdw9lzpda0f2krizqbfkyjxvyddils7clim9nhg77aq71"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ruler")
    (synopsis "Typographic ruler for TeX")
    (description
     "The file processes to produce (real) rulers; the author suggests
printing them on transparent plastic and trimming for use as a real ruler.
The rule widths are 0.05mm, which can be challenging for (old) laser
printers.")
    (license license:gpl3+)))

(define-public texlive-schemata
  (package
    (name "texlive-schemata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/schemata/"
                                     "source/generic/schemata/"
                                     "tex/generic/schemata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1196653ankylbcsiv1cnrrazz2qplcs27llpv947h4m94vx4sl19"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schemata")
    (synopsis "Print topical diagrams")
    (description
     "The package facilitates the creation of topical schemata, i.e.,
outlines that use braces (or facsimiles thereof) to illustrate the breakdown
of concepts and categories in Scholastic thought from late medieval and early
modern periods.")
    (license license:lppl1.3+)))

(define-public texlive-shade
  (package
    (name "texlive-shade")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/shade/"
                                     "fonts/source/public/shade/"
                                     "tex/generic/shade/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b7m11d374cx5rcrvgd2jld1wzixvky3mqdg54hnsg9x14p2dxpg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shade")
    (synopsis "Shade pieces of text")
    (description
     "The package provides a shaded backdrop to a box of text.  It uses
a Metafont font (provided) which generates to appropriate shading dependent on
the resolution used in the Metafont printer parameters.")
    (license license:lppl1.0+)))

(define-public texlive-simplekv
  (package
    (name "texlive-simplekv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/simplekv/"
                                     "tex/generic/simplekv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xrlqhxqzg75gvbf9iabfgz8bl01wqvnwmv9n8yqdhqv7bk0hvz9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplekv")
    (synopsis "Simple key/value system for TeX and LaTeX")
    (description
     "The package provides a simple key/value system for TeX and LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-swrule
  (package
    (name "texlive-swrule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/swrule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "075mshpyi9gxbi3n0hbh3ygidzw1daxy697lhc7cc99i39y8scpi"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swrule")
    (synopsis "Lines thicker in the middle than at the ends")
    (description
     "This package defines commands that create rules split into
a (specified) number of pieces, whose size varies to produce the
effect of a rule that swells in its centre.")
    ;; Library mentions: "The style package is copyrighted but may be used and
    ;; extended in any way, as long as a pointer to the original author is
    ;; maintained.  The author is not liable for any problem that may or may
    ;; not result from using this package. Use at your own risk".
    (license (license:fsf-free "file://tex/generic/swrule/swrule.sty"))))

(define-public texlive-systeme
  (package
    (name "texlive-systeme")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/systeme/"
                                     "tex/generic/systeme/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02n8bchq9crv21cqvji4kkrjsyp34wny5i047jyp1j2yz8i99m5y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/systeme")
    (synopsis "Format systems of equations")
    (description
     "The package allows you to enter systems of equations or inequalities in
an intuitive way, and produces typeset output where the terms and signs are
aligned vertically.  The package works with plain TeX or LaTeX, but e-TeX is
required.")
    (license license:lppl1.3c)))

(define-public texlive-tabto-generic
  (package
    (name "texlive-tabto-generic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/tabto-generic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i65jflbnhqpqf1w7pkagicic1s39gcl319z7g9zr1g80f9532dv"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabto-generic")
    (synopsis "Tab to a measured position in the line")
    (description
     "@code{\\tabto@{<length>@}} moves the typesetting position to
@code{<length>} from the left margin of the paragraph.  If the typesetting
position is already further along, @code{\\tabto} starts a new line.")
    (license license:public-domain)))

(define-public texlive-talos
  (package
    (name "texlive-talos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/talos/"
                                     "fonts/opentype/public/talos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m656d4lkc9ikp7gb91yna4323lip3xcr6n3kqh1j4sqvp4rkm61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/talos")
    (synopsis "Greek cult font from the eighties")
    (description
     "This package provides a cult Greek font from the eighties, used at the
University of Crete, Greece.  It belonged to the first TeX installation in
a Greek University and most probably the first TeX installation that supported
the Greek language.")
    (license license:gfl1.0)))

(define-public texlive-termmenu
  (package
    (name "texlive-termmenu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/termmenu/"
                                     "source/generic/termmenu/"
                                     "tex/generic/termmenu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d1pdz5izr43ndji7g28932dnnf8d6nxvh8bay2yk7647yh47aj4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termmenu")
    (synopsis "Support for terminal-based menus")
    (description
     "When writing programs, it's often required to present the user with
a list of options or actions.  The user is then expected to select one of
these options for the program to process.  @code{termmenu} provides this
mechanism for TeX.")
    (license license:lppl1.3+)))

(define-public texlive-teubner
  (package
    (name "texlive-teubner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/teubner/" "source/latex/teubner/"
                                     "tex/latex/teubner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mzmny8csfdri7k8cvc4ralp18fy167f1xxc2y1l4gn6rn9svl6q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/teubner")
    (synopsis "Philological typesetting of classical Greek")
    (description
     "This package provides an extension to Babel @samp{greek} option for
typesetting classical Greek with a philological approach.  The package works
with the author's greek fonts using the Lispiakos font shape derived from that
of the fonts used in printers shops in Lispia.")
    (license license:lppl1.3c)))

(define-public texlive-tex
  (package
    (name "texlive-tex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/initex.1"
                                     "doc/man/man1/initex.man1.pdf"
                                     "doc/man/man1/tex.1"
                                     "doc/man/man1/tex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05jj1pyfipz1qmdxkavz7axflgga6bpl20abzc6j3sj8xxz7g9j8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:texlive-latex-bin? #f
           #:create-formats #~(list "tex")))
    (propagated-inputs
     (list texlive-cm
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-kpathsea
           texlive-plain))
    (home-page "https://ctan.org/pkg/tex")
    (synopsis "Sophisticated typesetting engine")
    (description
     "TeX is a typesetting system that incorporates a macro processor.  A TeX
source document specifies or incorporates a number of macro definitions that
instruct the TeX engine how to typeset the document.  The TeX engine also uses
font metrics generated by Metafont, or by any of several other mechanisms that
incorporate fonts from other sources into an environment suitable for TeX.
TeX has been, and continues, a basis and an inspiration for several other
programs, including e-TeX and PDFTeX.  The distribution includes the source of
Knuth's TeX book; this source is there to read, as an example of writing TeX ;
it should not be processed without Knuth's direct permission.")
    (license license:knuth)))

(define-public texlive-tex-ps
  (package
    (name "texlive-tex-ps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-ps/cmyk-hax/"
                                     "doc/generic/tex-ps/poligraf/"
                                     "dvips/tex-ps/" "tex/generic/tex-ps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09f70q2bhmq7bn98f2g2pq62wnfhj24bzkbv652sjrw5rafp0311"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-ps")
    (synopsis "TeX to PostScript generic macros and add-ons")
    (description
     "This package provides TeX to PostScript generic macros and add-ons:
transformations of EPS files, prepress preparation, color separation, mirror,
etc.")
    (license license:public-domain)))

(define-public texlive-texdate
  (package
    (name "texlive-texdate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/texdate/"
                                     "source/generic/texdate/"
                                     "tex/generic/texdate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0knssay50rm8pbksph20hhfbpwwby3a9pswvxyq63imn5qppz2dp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texdate")
    (synopsis "Date printing, formatting, and manipulation in TeX")
    (description
     "TeX and LaTeX provide few facilities for dates by default, though many
packages have filled this gap.  This package fills it, as well, with a pure
TeX-primitive implementation.  It can print dates, advance them by numbers of
days, weeks, or months, determine the weekday automatically, and print them
in (mostly) arbitrary format.  It can also print calendars (monthly and
yearly) automatically, and can be easily localized for non-English
languages.")
    (license license:lppl1.3c)))

(define-public texlive-texdimens
  (package
    (name "texlive-texdimens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/texdimens/"
                                     "tex/generic/texdimens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6raryqpxydis9kq6sd4pvz7d2rzrrsnx7k9n3d3921pp208lv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texdimens")
    (synopsis "Conversion of TeX dimensions to decimals")
    (description
     "This package provides utilities and documentation related to TeX
dimensional units, usable both with Plain TeX and with LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-timetable
  (package
    (name "texlive-timetable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/timetable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lnl8gi2rrzcy688qb8b1ff9yivwxdqmbcfx2ph49aymkxfym97b"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/timetable")
    (synopsis "Generate timetables")
    (description
     "This package provides a highly-configurable package, with nice output
and simple input.  The macros use a radix sort mechanism so that the order of
input is not critical.")
    (license license:lppl)))

(define-public texlive-transparent-io
  (package
    (name "texlive-transparent-io")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/transparent-io/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04zfmk25qw2cnja1zqhafabsy26zalxiawf6pm5zqx4x1jl47i6j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/transparent-io")
    (synopsis
     "Show for approval the filenames used in @code{\\input}, @code{\\openin},
or @code{\\openout}")
    (description
     "This package provides macros to make the file I/O in plain TeX more
transparent.  That is, every @code{\\input}, @code{\\openin}, and
@code{\\openout} operation by TeX is presented to the user who must check
carefully if the file name of the source is acceptable.  The user must
sometimes enter additional text and has to specify the file name that the TeX
operation should use.  The macros require a complex installation procedure;
the package contains Sed and Bash scripts.  Every installation is different
from any other as password-protected macro names and private messages have to
be chosen by the installer.  Therefore, the files in the package cannot be
used directly.  For details see the manual.")
    (license license:gpl3)))

(define-public texlive-treetex
  (package
    (name "texlive-treetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/treetex/" "tex/plain/treetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cv7kwa865i473l8ffsyq5n7kw6pihclf87asbpsc1rx2h4v6mhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/treetex-plain")
    (synopsis "Draw trees")
    (description
     "This package provides macros to draw trees, within TeX or LaTeX.")
    (license license:public-domain)))

(define-public texlive-trigonometry
  (package
    (name "texlive-trigonometry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/trigonometry/"
                                     "tex/generic/trigonometry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "165n813kj0znfrnqkqv0gja3nyr2lznnhbmsay6l8a5nj59h7cxl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/trigonometry")
    (synopsis "Demonstration code for cos and sin in TeX macros")
    (description
     "This package provides a document that both provides macros that are
usable elsewhere, and demonstrates the macros.  The code uses the classical
analytical expansion of sin and cos.")
    (license license:knuth)))

(define-public texlive-upca
  (package
    (name "texlive-upca")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/upca/" "tex/generic/upca/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0miqn29dln9c2nlvcivsq7ciyb70ffk16v7dmzfn976xnvfsjbiw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/upca")
    (synopsis "Print UPC-A barcodes")
    (description
     "The package defines a single macro @code{\\upca}, to print UPC-A
barcodes.")
    (license license:lppl)))

(define-public texlive-uplatex
  (package
    (name "texlive-uplatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/uplatex.1"
                                     "doc/man/man1/uplatex.man1.pdf"
                                     "doc/uplatex/base/"
                                     "source/uplatex/base/"
                                     "tex/uplatex/base/"
                                     "tex/uplatex/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fn5x56nn38k9b90mcyvfwla7ib7nv774z2cjncwwmbsd7s1abm1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "uplatex" "uplatex-dev")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'fix-build
                 ;; This phase is necessary because the build phase is
                 ;; reluctant to generate "ukinsoku.tex" since there is
                 ;; another one among the inputs (texlive-uptex) already.
                 (lambda _
                   (substitute* "source/uplatex/base/uplfmt.ins"
                     (("\\\\keepsilent\n" all)
                      (string-append all "\\askforoverwritefalse\n")))))
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((euptex (search-input-file inputs "bin/euptex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink euptex "uplatex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-base
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-platex
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-uptex
           texlive-uptex-fonts))
    (home-page "https://ctan.org/pkg/uplatex")
    (synopsis "pLaTeX2e and miscellaneous macros for upTeX")
    (description
     "The bundle provides pLaTeX2e macros for upTeX by Takuji Tanaka.")
    (license license:bsd-3)))

(define-public texlive-uptex-base
  (package
    (name "texlive-uptex-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/uptex/uptex-base/"
                                     "tex/uptex/uptex-base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16ghhgg1cdpbhyv073h65sqkm26zc2rya0irzf78fa1927993jlg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uptex-base")
    (synopsis "Plain TeX formats and documents for upTeX")
    (description
     "The bundle contains plain TeX format files and documents for upTeX and
and e-upTeX.")
    (license license:bsd-3)))

(define-public texlive-uptex
  (package
    (name "texlive-uptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/euptex.1"
                                     "doc/man/man1/euptex.man1.pdf"
                                     "doc/man/man1/upbibtex.1"
                                     "doc/man/man1/upbibtex.man1.pdf"
                                     "doc/man/man1/uppltotf.1"
                                     "doc/man/man1/uppltotf.man1.pdf"
                                     "doc/man/man1/uptex.1"
                                     "doc/man/man1/uptex.man1.pdf"
                                     "doc/man/man1/uptftopl.1"
                                     "doc/man/man1/uptftopl.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hn2n6jbibbqbdr72j74z5bz003jnlabi3kja0f0waxhas680gd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "euptex" "uptex")))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-base
           texlive-knuth-lib
           texlive-plain
           texlive-ptex-base
           texlive-uptex-base
           texlive-uptex-bin
           texlive-uptex-fonts))
    (home-page "https://ctan.org/pkg/uptex")
    (synopsis "Unicode version of pTeX")
    (description
     "upTeX is an extension of pTeX, using UTF-8 input and producing UTF-8
output.  It was originally designed to improve support for Japanese, but is
also useful for documents in Chinese and Korean.  It can process Chinese
simplified, Chinese traditional, Japanese, and Korean simultaneously, and can
also process original LaTeX with @code{\\inputenc@{utf8@}} and Babel
(Latin/Cyrillic/Greek etc.) by switching its @code{\\kcatcode} tables.")
    (license license:bsd-3)))

(define-public texlive-uptex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-uptex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'build 'build-binaries
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (for-each (lambda (target) (invoke "make" target))
                            '("euptex" "upbibtex" "updvitype" "upmpost"
                              "uppltotf" "uptex" "uptftopl" "wovp2ovf")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin")))
                    (for-each (lambda (f) (install-file f bin))
                              '("euptex" "upbibtex" "updvitype"
                                "upmpost" "uppltotf" "uptex" "uptftopl"
                                "wovp2ovf"))
                    (with-directory-excursion bin
                      (for-each symlink
                                '("upmpost" "upmpost")
                                '("r-upmpost" "updvitomp")))))))))))
    (native-inputs (list pkg-config))
    (inputs
     (modify-inputs (package-inputs texlive-bin)
       (append cairo gmp mpfi mpfr texlive-libptexenc)))
    (home-page (package-home-page texlive-uptex))
    (synopsis "Binaries for @code{texlive-uptex}")
    (description
     "This package provides the binaries for @code{texlive-uptex}.")
    (license (package-license texlive-uptex))))

(define-public texlive-uptex-fonts
  (package
    (name "texlive-uptex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/uptex-fonts/"
                                     "fonts/cmap/uptex-fonts/"
                                     "fonts/source/uptex-fonts/"
                                     "fonts/tfm/uptex-fonts/jis/"
                                     "fonts/tfm/uptex-fonts/min/"
                                     "fonts/vf/uptex-fonts/jis/"
                                     "fonts/vf/uptex-fonts/min/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d5v2p186a9baqm335l2m8gm53qdl3xkx1kgww45225cbkmn34hw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uptex-fonts")
    (synopsis "Fonts for use with upTeX")
    (description "The bundle contains fonts (TFM and VF) for use with upTeX.")
    (license license:bsd-3)))

(define-public texlive-upzhkinsoku
  (package
    (name "texlive-upzhkinsoku")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/upzhkinsoku/"
                                     "tex/generic/upzhkinsoku/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c95fy9raykpjgnkz5h0wyjxyg2h0ksx2kb14lx2rsv65xsi909y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/upzhkinsoku")
    (synopsis "Supplementary Chinese kinsoku for Unicode *pTeX")
    (description
     "This package provides supplementary Chinese kinsoku (line breaking rules
etc.)@: settings for Unicode (e-)upTeX (when using Unicode as its internal
encoding), and ApTeX.  Both LaTeX and plain TeX are supported.")
    (license license:knuth)))

(define-public texlive-variations
  (package
    (name "texlive-variations")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/variations/"
                                     "tex/generic/variations/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ad1yc1v32ds4wj36fql6fjiacziw4ynvw0rpj3x01k6jdvh44xh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/variations")
    (synopsis "Typeset tables of variations of functions")
    (description
     "The package provides macros for typesetting tables showing variations of
functions according to French usage.  These macros may be used by both LaTeX
and plain TeX users.")
    (license license:gpl3+)))

(define-public texlive-varisize
  (package
    (name "texlive-varisize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/varisize/" "tex/plain/varisize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nd89zhwyg5z9wcy1lixg3hzcfw83lsilkjhhy9kir0fi9whdbv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/varisize")
    (synopsis "Change font size in Plain TeX")
    (description
     "This package provides a series of files, each of which defines
a size-change macro.  Note that @file{10point.tex} is by convention called by
one of the other files, so that there's always a way back.")
    (license license:public-domain)))

(define-public texlive-xgreek
  (package
    (name "texlive-xgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xgreek/" "source/latex/xgreek/"
                                     "tex/latex/xgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xw27z7hglkxqhlsv3mshpszzmf4bsnsg6l17n1wqhi60mxin5sz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xgreek")
    (synopsis "Greek language support for XeLaTeX and LuaLaTeX")
    (description
     "This package has been designed so to allow people to typeset Greek
language documents using XeLaTeX or LuaLaTeX.  Practically, it provides all
the capabilities of the @samp{greek} option of the Babel package.

The package can be invoked with any of the following options:
@samp{monotonic} (for typesetting modern monotonic Greek),
@samp{polytonic} (for typesetting modern polytonic Greek), and
@samp{ancient} (for typesetting ancient texts).  The default option is
@samp{monotonic}.")
    (license license:lppl1.3c)))

(define-public texlive-xii
  (package
    (name "texlive-xii")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/xii/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19jhzv5hqzj59wrfcr1dsj6z56qfckax694idgf8arri5lnbkdd8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xii")
    (synopsis "Christmas silliness (English)")
    (description
     "This is the plain TeX file @file{xii.tex}.  Call @samp{pdftex xii.tex}
to produce a (perhaps) surprising typeset document.")
    (license license:lppl)))

(define-public texlive-xii-lat
  (package
    (name "texlive-xii-lat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/xii-lat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nn54xv71kcmn9jbkcslz6a64cvjcay9x96rrxnakdj9qcqd27r5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xii-lat")
    (synopsis "Christmas silliness (Latin)")
    (description
     "This is the plain TeX file @file{xii-lat.tex}.  Call @samp{pdftex
xii-lat.tex} to produce a (perhaps) surprising typeset document.")
    (license license:lppl)))

(define-public texlive-xintsession
  (package
    (name "texlive-xintsession")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/xintsession/"
                                     "tex/plain/xintsession/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rd2jmq62ariq73qwch1hz1jmzdw6sn48ngh64pgm6qkqbpddxkv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xintsession")
    (synopsis
     "Interactive computing sessions (fractions, floating points, polynomials)")
    (description
     "This package provides support for interactive computing sessions with
e-TeX (or pdfTeX) executed on the command line.  Once @code{xintsession} is
loaded, e-TeX becomes an interactive computing software capable of executing
arbitrary precision calculations, or exact calculations with arbitrarily big
fractions.  It can also manipulate polynomials as algebraic entities.
Numerical variables and functions can be defined during the session, and each
evaluation result is stored in automatically labeled variables.  A file is
automatically created storing inputs and outputs.")
    (license license:lppl1.3c)))

(define-public texlive-xlop
  (package
    (name "texlive-xlop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/xlop/" "tex/generic/xlop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yqks7jvb5ikg2xx038rsxbkhagms1zqjmipnv49rqliavcq03gj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xlop")
    (synopsis "Calculate and display arithmetic operations")
    (description
     "Xlop (eXtra Large OPeration) will typeset arithmetic problems either
in-line or as in school (using French school conventions).  Many other
features allow to deal with numbers (tests, display, some high level
operations, etc.)")
    (license license:lppl1.3+)))

(define-public texlive-xtuthesis
  (package
    (name "texlive-xtuthesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xtuthesis/"
                                     "tex/latex/xtuthesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fdk9dkikqlkjwrg8qjm2phvsyyvddshf78bjy6liyz5hqakk6r8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xtuthesis")
    (synopsis "XTU thesis template")
    (description
     "The package provides a thesis template for the Xiangtan University.")
    (license license:lppl1.3+)))

(define-public texlive-yannisgr
  (package
    (name "texlive-yannisgr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/yannisgr/"
                                     "fonts/source/public/yannisgr/"
                                     "fonts/tfm/public/yannisgr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s5cfid1r6jn34kzvmxwxyxpvyb0rayn80x3n7k515p1plqmmrnq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-levy")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-levy texlive-metafont))
    (home-page "https://ctan.org/pkg/yannisgr")
    (synopsis "Greek fonts by Yannis Haralambous")
    (description
     "This package provides a family of 7-bit fonts with a code table designed
for setting modern polytonic Greek.  The fonts are provided as Metafont
source; macros to produce a Greek variant of Plain TeX (including
a hyphenation table adapted to the fonts code table) are provided.")
    (license license:gpl2)))

(define-public texlive-zhlineskip
  (package
    (name "texlive-zhlineskip")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zhlineskip/"
                                     "tex/latex/zhlineskip/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070vi0pra74in55r0pq2k35s3x3xk6gjwvnsif7bnx4k7wn39mal"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zhlineskip")
    (synopsis "Line spacing for CJK documents")
    (description
     "This package supports typesetting CJK documents.  It allows users to
specify the two ratios between the leading and the font size of the body text
and the footnote text.  For CJK typesetting, these ratios usually range from
1.5 to 1.67.  This package is also capable of restoring the math leading to
that of the Latin text (usually 1.2 times the font size).")
    (license license:lppl1.3c)))

(define-public texlive-zhlipsum
  (package
    (name "texlive-zhlipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zhlipsum/"
                                     "source/latex/zhlipsum/"
                                     "tex/latex/zhlipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhc3a8l5sizyw0v1cfsrwwwymmyab1yvx99iqhdh7avrzmi2gda"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/zhlipsum")
    (synopsis "Chinese dummy text")
    (description
     "This package provides an interface to dummy text in Chinese language,
which will be useful for testing Chinese documents.  UTF-8, GBK and Big5
encodings are supported.")
    (license license:lppl1.3c)))

(define-public texlive-zztex
  (package
    (name "texlive-zztex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/zztex/" "tex/plain/zztex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07vx3m2g4vl2v1nxxy5dih67jg406y2i94sgkrmplm54b0pp42g3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zztex")
    (synopsis "TeX macro package for producing books, journals, and manuals")
    (description
     "The ZzTeX macro package is a full-featured TeX macro package specially
designed for producing books, journals, and manuals.  ZzTeX runs under Plain
TeX.")
    (license license:expat)))

(define-public texlive-lcdftypetools
  (package
    (name "texlive-lcdftypetools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/cfftot1.1"
                                     "doc/man/man1/cfftot1.man1.pdf"
                                     "doc/man/man1/mmafm.1"
                                     "doc/man/man1/mmafm.man1.pdf"
                                     "doc/man/man1/mmpfb.1"
                                     "doc/man/man1/mmpfb.man1.pdf"
                                     "doc/man/man1/otfinfo.1"
                                     "doc/man/man1/otfinfo.man1.pdf"
                                     "doc/man/man1/otftotfm.1"
                                     "doc/man/man1/otftotfm.man1.pdf"
                                     "doc/man/man1/t1dotlessj.1"
                                     "doc/man/man1/t1dotlessj.man1.pdf"
                                     "doc/man/man1/t1lint.1"
                                     "doc/man/man1/t1lint.man1.pdf"
                                     "doc/man/man1/t1rawafm.1"
                                     "doc/man/man1/t1rawafm.man1.pdf"
                                     "doc/man/man1/t1reencode.1"
                                     "doc/man/man1/t1reencode.man1.pdf"
                                     "doc/man/man1/t1testpage.1"
                                     "doc/man/man1/t1testpage.man1.pdf"
                                     "doc/man/man1/ttftotype42.1"
                                     "doc/man/man1/ttftotype42.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gb8k5w6lg9fdxhs36caxlvq96s7np35yq9y78165igyf6y3ig70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-glyphlist texlive-lcdftypetools-bin))
    (home-page "https://ctan.org/pkg/lcdf-typetools")
    (synopsis "Bundle of outline font manipulation tools")
    (description
     "This bundle of tools comprises:
@itemize
@item @command{cfftot1}, which translates a Compact Font Format
(CFF) font, or a PostScript-flavored OpenType font, into PostScript
Type 1 format.  It correctly handles subroutines and hints;

@item @command{mmafm} and @command{mmpfb}, which create instances of
multiple-master fonts;

@item @command{otfinfo}, which reports information about OpenType
fonts, such as the features they support and the contents of their
size optical size features;

@item @command{otftotfm}, which creates TeX font metrics and encodings
that correspond to a PostScript-flavored OpenType font.  It will
interpret glyph positionings, substitutions, and ligatures as far as
it is able.  You can say which OpenType features should be activated;

@item @command{t1dotlessj}, which creates a Type 1 font whose only
character is a dotless j matching the input font's design;

@item @command{t1lint}, which checks a Type 1 font for correctness;

@item @command{t1reencode}, which replaces a font's internal encoding
with one you specify;

@item @command{t1testpage}, which creates a PostScript proof for
a Type 1 font.
@end itemize")
    (license license:gpl3+)))

(define-public texlive-lcdftypetools-bin
  (package
    (inherit texlive-bin)
    (name "texlive-lcdftypetools-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("lcdf-typetools"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-lcdf-typetools" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/lcdf-typetools"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/lcdf-typetools"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-lcdftypetools))
    (synopsis "Binaries for @code{texlive-lcdftypetools}")
    (description
     "This package provides the binaries for @code{texlive-lcdftypetools}.")
    (license (package-license texlive-lcdftypetools))))

(define-public texlive-latex
  (package
    (name "texlive-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/base/" "makeindex/latex/"
                                     "source/latex/base/" "tex/latex/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s87lh7dprgn0gmiai2l7ala3c6qha8lchqjhcix6122dxqdsvvr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:tex-engine "tex"
      #:tex-format #f
      #:build-targets #~(list "unpack.ins")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-lua-build
            ;; The literal tab in the dtx file is translated to the string
            ;; "^^I" in the generated Lua file, which causes a syntax error.
            (lambda _
              (substitute* "source/latex/base/ltluatex.dtx"
                (("\t") "  ")))))))
    (home-page "https://ctan.org/pkg/latex")
    (synopsis "TeX macro package that defines LaTeX")
    (description
     "LaTeX is a widely-used macro package for TeX, providing many basic
document formating commands extended by a wide range of packages.")
    (license license:lppl1.3c)))

(define-public texlive-latexbug
  (package
    (name "texlive-latexbug")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexbug/"
                                     "source/latex/latexbug/"
                                     "tex/latex/latexbug/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l9cyw41knbw3prsi4rbd2av4qfpkvzjs754847kv72dq1304m1i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexbug")
    (synopsis "Bug-classification for LaTeX related bugs")
    (description
     "The package is written in order to help identifying the rightful
addressee for a bug report.  The LaTeX team asks that it will be loaded in any
test file that is intended to be sent to the LaTeX bug database as part of
a bug report.")
    (license license:lppl1.3c)))

(define-public texlive-lcyw
  (package
    (name "texlive-lcyw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lcyw/" "source/latex/lcyw/"
                                     "tex/latex/lcyw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yijk9l2ls6sq45ifx6m9d7xxk0ysrnn1y3fjz8wxwgwxp88x9fh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lcyw")
    (synopsis "Make classic Cyrillic CM fonts accessible in LaTeX")
    (description
     "The package makes the classic CM Cyrillic fonts accessible for use with
LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-lhcyr
  (package
    (name "texlive-lhcyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/latex/lhcyr/" "tex/latex/lhcyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09cg2hs5g20axbfpv2k6df5pi3xm0aywcswhnknllykr6z0ip2zw"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lhcyr")
    (synopsis "Non-standard Cyrillic input scheme")
    (description
     "This package provides a collection of three LaTeX2e styles intended for
typesetting Russian and bilingual English-Russian documents, using the
@code{lh} fonts and without the benefit of Babel's language-switching
mechanisms.  The packages (@code{hcyralt} and @code{hcyrwin} for use under
emTeX, and @code{hcyrkoi} for use under teTeX} provide mappings between the
input encoding and the font encoding, which is described as OT1.  The way this
is done does not match the way @code{inputenc} would do the job, for output
via fontenc to one of the T2 series of font encodings.")
    (license license:knuth)))

(define-public texlive-luafindfont
  (package
    (name "texlive-luafindfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/luafindfont.1"
                                     "doc/man/man1/luafindfont.man1.pdf"
                                     "doc/support/luafindfont/"
                                     "scripts/luafindfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19dz91gpiphlh9736q2r0zglsgslhkyacs4i6yaf2pc5sa9g367q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "luafindfont.lua")))
    (home-page "https://ctan.org/pkg/luafindfont")
    (synopsis "Search fonts in the LuaTeX font database")
    (description "This Lua script searches for fonts in the font database.")
    (license license:lppl1.3c)))

(define-public texlive-bidi
  (package
    (name "texlive-bidi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidi/" "source/xelatex/bidi/"
                                     "tex/xelatex/bidi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "111gwl3d5kqbzpwwgsh0cz0fipmhq63xsbdkg09bhj3gl59k9icr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidi")
    (synopsis "Bidirectional typesetting in plain TeX and LaTeX using XeTeX")
    (description
     "The @code{bidi} package provides a convenient interface for typesetting
bidirectional texts with plain TeX and LaTeX.  The package includes
adaptations for use with many other commonly-used packages.")
    (license license:lppl1.3+)))

(define-public texlive-bidi-atbegshi
  (package
    (name "texlive-bidi-atbegshi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidi-atbegshi/"
                                     "tex/xelatex/bidi-atbegshi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08gawna9hf5p3rn0v5qzszk61zqknixafvh6d2x37x960x493gn7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidi-atbegshi")
    (synopsis "Bidi-aware shipout macros")
    (description
     "The package adds some commands to the @code{atbegshi} package for proper
placement of background material in the left and right corners of the output
page, in both LTR and RTL modes.  The package only works with @code{xelatex}
format and should be loaded before the @code{bidi} package.")
    (license license:lppl1.3+)))

(define-public texlive-bidicontour
  (package
    (name "texlive-bidicontour")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidicontour/"
                                     "tex/xelatex/bidicontour/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kiqbn5map3d9bmlvr5cq1snssw44c772xzjp6yyjvg6wg1zy0bn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidicontour")
    (synopsis "Bidi-aware coloured contour around text")
    (description
     "The package is a re-implementation of the @code{contour} package, making
it Bidi-aware, and adding support of the xdvipdfmx (when the outline option of
the package is used).")
    (license license:lppl1.3+)))

(define-public texlive-bidipagegrid
  (package
    (name "texlive-bidipagegrid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidipagegrid/"
                                     "tex/xelatex/bidipagegrid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19jkg4apf1g3whigcchbcf8p14lpxkz9ih2vrw00akwfh8v3ssrk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidipagegrid")
    (synopsis "Bidi-aware page grid in background")
    (description "The package provides Bidi-aware page grid in background.  It
is based on @code{pagegrid}.")
    (license license:lppl1.3+)))

(define-public texlive-bidipresentation
  (package
    (name "texlive-bidipresentation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidipresentation/"
                                     "tex/xelatex/bidipresentation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b9md68zzj3nzi9b4hdavjz43nwair1xg3b240p0bp5ly5l6pvmr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidipresentation")
    (synopsis "Experimental bidi presentation")
    (description
     "This package provides a great portion of the code is borrowed from the
texpower bundle, with modifications to get things working properly in both
right to left and left to right modes.")
    (license license:lppl1.3+)))

(define-public texlive-bidishadowtext
  (package
    (name "texlive-bidishadowtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bidishadowtext/"
                                     "tex/xelatex/bidishadowtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nq71bgz7vag9k138mx8hsf42cjvgry2g4z9jiqmq4almm23a1gq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bidishadowtext")
    (synopsis "Bidi-aware shadow text")
    (description
     "This package allows you to typeset Bidi-aware shadow text.  It is
a re-implementation of the @code{shadowtext} package adding Bidi support.")
    (license license:lppl1.3+)))

(define-public texlive-alphalph
  (package
    (name "texlive-alphalph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/alphalph/"
                                     "source/latex/alphalph/"
                                     "tex/generic/alphalph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ap59hmg0brg2wlh3bl77jxfxrk7hphhdal8cr05mby9bw35gffy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alphalph")
    (synopsis "Convert numbers to letters")
    (description
     "This package provides commands @code{\\alphalph} and @code{\\AlphAlph}.
They are like @code{\\number} but the expansion consists of lowercase and
uppercase letters respectively (1 to a, 26 to z, 27 to aa, 52 to zz, 53 to ba,
702 to zz, 703 to aaa, etc.).  Alphalph's commands can be used as
a replacement for LaTeX's @code{\\@@alph} and @code{\\@@Alph} macros.")
    (license license:lppl1.3c+)))

(define-public texlive-antt
  (package
    (name "texlive-antt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/antt/"
                                     "doc/latex/antt/"
                                     "fonts/afm/public/antt/"
                                     "fonts/enc/dvips/antt/"
                                     "fonts/map/dvips/antt/"
                                     "fonts/opentype/public/antt/"
                                     "fonts/tfm/public/antt/"
                                     "fonts/type1/public/antt/"
                                     "tex/latex/antt/"
                                     "tex/plain/antt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvmgb581ixc4fvw5l0g11hlvdpf0cld6db0cg3vysw5yabas3vm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/antt")
    (synopsis "Type 1 family of a Polish traditional type")
    (description
     "Antykwa Torunska is a serif font designed by the late Polish typographer
Zygfryd Gardzielewski, reconstructed and digitized as Type 1.")
    (license license:gfl1.0)))

(define-public texlive-asana-math
  (package
    (name "texlive-asana-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/asana-math/"
                                     "fonts/opentype/public/asana-math/"
                                     "fonts/truetype/public/asana-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q934gackj9j7b7bvlq7yv1pr9rxrhhip1as7ywgx8d45ddig2rq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asana-math")
    (synopsis "Font to typeset maths in Xe(La)TeX and Lua(La)TeX")
    (description
     "The Asana-Math font is an OpenType font that includes almost all
mathematical Unicode symbols and it can be used to typeset mathematical text
with any software that can understand the MATH OpenType table.")
    (license license:silofl1.1)))

(define-public texlive-avantgar
  (package
    (name "texlive-avantgar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/avantgar/"
                                     "fonts/afm/adobe/avantgar/"
                                     "fonts/afm/urw/avantgar/"
                                     "fonts/map/dvips/avantgar/"
                                     "fonts/tfm/adobe/avantgar/"
                                     "fonts/tfm/urw35vf/avantgar/"
                                     "fonts/type1/urw/avantgar/"
                                     "fonts/vf/adobe/avantgar/"
                                     "fonts/vf/urw35vf/avantgar/"
                                     "tex/latex/avantgar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1200x40k7wprm4n7srxvgrax2l52vn6d5ri2x0q7zbzzsfxfzkym"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Avant Garde font")
    (description
     "This package provides a drop-in replacement for the Avant Garde font
from Adobe's basic set.")
    (license license:gpl3+)))

(define-public texlive-undergradmath
  (package
    (name "texlive-undergradmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/undergradmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z8my3fwqc8rfc1843j7lcmfka2023z9k0js4ygh1m8kilc2nrr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/undergradmath")
    (synopsis "LaTeX Math for undergraduates cheat sheet")
    (description
     "This is a cheat sheet for writing mathematics with LaTeX.  It is aimed
at US undergraduates.")
    (license license:cc-by-sa4.0)))

(define-public texlive-underscore
  (package
    (name "texlive-underscore")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/underscore/" "tex/latex/underscore/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0slxsxc9azmv3gsm55jkhkv8a06wafankp55hhsdd6k4prp8szrb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/underscore")
    (synopsis "Control the behaviour of @samp{_} in text")
    (description
     "This package causes @code{\\_} in text mode (i.e.,
@code{\\textunderscore}) to print an underscore so that hyphenation of words
either side of it is not affected; a package option controls whether an actual
hyphenation point appears after the underscore, or merely a break point.  The
package also arranges that, while in text, @samp{_} itself behaves as
@code{\\textunderscore} (the behaviour of @samp{_} in maths mode is not
affected).")
    (license license:lppl1.2+)))

(define-public texlive-unicode-data
  (package
    (name "texlive-unicode-data")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/unicode-data/"
                                     "tex/generic/unicode-data/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x0jryv2jdqifjq0c8ki9ppxqxf9qpvnazrwfdx71jqprb702krw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/unicode-data")
    (synopsis "Unicode data and loaders for TeX")
    (description "This bundle provides generic access to Unicode Consortium
data for TeX use.  It contains a set of text files provided by the Unicode
Consortium which are currently all from Unicode 8.0.0, with the exception of
@code{MathClass.txt} which is not currently part of the Unicode Character
Database.  Accompanying these source data are generic TeX loader files
allowing this data to be used as part of TeX runs, in particular in building
format files.  Currently there are two loader files: one for general character
set up and one for initializing XeTeX character classes as has been carried
out to date by @code{unicode-letters.tex}.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-unicode-data texlive-unicode-data)

(define-public texlive-hologo
  (package
    (name "texlive-hologo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/hologo/"
                                     "source/generic/hologo/"
                                     "tex/generic/hologo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n62zwz93ab6vfb0hd2h0ncj9gwavg01i3djj7wyr7gyj20xb34x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hologo")
    (synopsis "Collection of logos with bookmark support")
    (description
     "The package defines a single command @code{\\hologo}, whose argument is
the usual case-confused ASCII version of the logo.  The command is
bookmark-enabled, so that every logo becomes available in bookmarks without
further work.")
    (license license:lppl1.3c)))

(define-public texlive-hook-pre-commit-pkg
  (package
    (name "texlive-hook-pre-commit-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/hook-pre-commit-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mikg4p9wxb28vgwh1acgdhwa2fqnc8rw3jg355d6s137m40awc6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hook-pre-commit-pkg")
    (synopsis "Pre-commit git hook for LaTeX package developpers")
    (description
     "This package provides a pre-commit git hook to check basic LaTeX
syntax for the use of package developers.  It is installed by copying
it into the @file{.git/.hooks} file.  It then checks the following
file types: @file{.sty}, @file{.dtx}, @file{.bbx}, @file{.cbx}, and
@file{.lbx}.  It performs the following checks:

@itemize

@item each line must be terminated by @samp{%}, without a space before it;

@item empty lines are allowed, but not lines with nothing but spaces in them;

@item @code{\\begin@{macro@}} and @code{\\end@{macro@}} must be paired;

@item @code{\\begin@{macrocode@}} and @code{\\end@{macrocode@}} must be
paired;

@item @code{\\begin@{macro@}} must have a second argument;

@item one space must be printed between @samp{%} and @code{\\begin@{macro@}}
or @code{\\end@{macro@}}. @samp{%} must be the first character in the line;

@item four spaces must be printed between @samp{%} and
@code{\\begin@{macrocode@}} or @code{\\end@{macrocode@}};

@item @code{\\cs} argument must not start with a backslash.

@end itemize")
    (license license:gpl3)))

(define-public texlive-hopatch
  (package
    (name "texlive-hopatch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hopatch/" "source/latex/hopatch/"
                                     "tex/latex/hopatch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03hafzf0kpjhn5x392bziwyx0vf6fwcsy0xrn0c0jzn5cq5nqhap"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hopatch")
    (synopsis "Load patches for packages")
    (description
     "Hopatch provides a command with which the user may register of patch code
for a particular package.  Hopatch will apply the patch immediately, if the
relevant package has already been loaded; otherwise it will store the patch
until the package appears.")
    (license license:lppl1.3+)))

(define-public texlive-hyphen-base
  (package
    (name "texlive-hyphen-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/config/language.dat"
                                     "tex/generic/config/language.dat.lua"
                                     "tex/generic/config/language.def"
                                     "tex/generic/config/language.us"
                                     "tex/generic/config/language.us.def"
                                     "tex/generic/config/language.us.lua"
                                     "tex/generic/hyphen/dumyhyph.tex"
                                     "tex/generic/hyphen/hyphen.tex"
                                     "tex/generic/hyphen/hypht1.tex"
                                     "tex/generic/hyphen/zerohyph.tex"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12i6f99lmvjvq0bim9yxzdspi5fnirfsvin6hqdn30mrfdyp5l4p"))))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://tug.org/texlive/")
    (synopsis "Core hyphenation support files")
    (description "This package includes Knuth's original @file{hyphen.tex},
@file{zerohyph.tex} to disable hyphenation, @file{language.us} which starts
the autogenerated files @file{language.dat} and @file{language.def} (and
default versions of those), etc.")
    (license license:knuth)))

(define-public texlive-hyphenex
  (package
    (name "texlive-hyphenex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/generic/hyphenex/"
                                     "tex/generic/hyphenex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v1p93i56xgp01zly30bkfgb9py8nav1r620dbgz1q7438zbhzpp"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hyphenex")
    (synopsis "US English hyphenation exceptions file")
    (description
     "Exceptions for American English hyphenation patterns are occasionally
published in the TeX User Group journal TUGboat.  This bundle provides
alternative Perl and Bourne shell scripts to convert the source of such an
article into an exceptions file, together with a recent copy of the article
and machine-readable files.")
    (license license:public-domain)))

(define-public texlive-index
  (package
    (name "texlive-index")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/index/" "doc/latex/index/"
                                     "makeindex/index/" "source/latex/index/"
                                     "tex/latex/index/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f1infc8fcpw16crciampy4cqqhl4hzypyfacbwsk4cnl0fyivns"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/index")
    (synopsis "Extended index for LaTeX including multiple indexes")
    (description
     "This is a reimplementation of LaTeX's indexing macros to provide better
support for indexing.  For example, it supports multiple indexes in a single
document and provides a more robust @code{\\index} command.")
    (license license:lppl1.2+)))        ;from "index.dtx"

(define-public texlive-installfont
  (package
    (name "texlive-installfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/installfont/"
                                     "scripts/installfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wgksqg88hdzfvrywrv91al9skpj2vly09ly7qmzahqsyvdgmb9p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "installfont-tl")))
    (home-page "https://ctan.org/pkg/installfont")
    (synopsis "Bash script for installing a LaTeX font family")
    (description
     "With this script you can install a LaTeX font family (PostScript Type 1,
TrueType and OpenType formats are supported).  Font series from light to ultra
bold, and (faked) small caps and (faked) slanted shapes are supported, but not
expert fonts.  The script will rename the fonts automatically (optional) or
will otherwise expect the @file{.afm} files and the font files (in PostScript
Type1 format) named in the Karl Berry scheme (e.g., @file{5bbr8a.pfb}).  After
running the script, you should have a working font installation in your local
TeX tree.")
    (license license:lppl)))

(define-public texlive-dvipdfmx
  (package
    (name "texlive-dvipdfmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/dvipdfm/"
                                     "doc/dvipdfmx/"
                                     "doc/man/man1/dvipdfm.1"
                                     "doc/man/man1/dvipdfm.man1.pdf"
                                     "doc/man/man1/dvipdfmx.1"
                                     "doc/man/man1/dvipdfmx.man1.pdf"
                                     "doc/man/man1/dvipdft.1"
                                     "doc/man/man1/dvipdft.man1.pdf"
                                     "doc/man/man1/ebb.1"
                                     "doc/man/man1/ebb.man1.pdf"
                                     "doc/man/man1/extractbb.1"
                                     "doc/man/man1/extractbb.man1.pdf"
                                     "doc/man/man1/xdvipdfmx.1"
                                     "doc/man/man1/xdvipdfmx.man1.pdf"
                                     "dvipdfmx/"
                                     "fonts/cmap/dvipdfmx/"
                                     "fonts/map/dvipdfmx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p6mlpymrhsalisfda0gbqg6b941fd164kcw0nc51pzc98aws1xz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'delete-map-file
            ;; This map file is supposed to be generated in a profile hook.
            (lambda _
              (delete-file "fonts/map/dvipdfmx/updmap/kanjix.map"))))))
    (propagated-inputs (list texlive-dvipdfmx-bin texlive-glyphlist))
    (home-page "https://ctan.org/pkg/dvipdfmx")
    (synopsis "Extended version of dvipdfm")
    (description
     "Dvipdfmx (formerly dvipdfm-cjk) is a development of dvipdfm created to
support multi-byte character encodings and large character sets for East Asian
languages.  Dvipdfmx, if called with the name dvipdfm, operates in a dvipdfm
compatibility mode, so that users of the both packages need only keep one
executable.  A secondary design goal is to support as many PDF features as
does pdfTeX.")
    (license license:gpl3+)))

(define-public texlive-dvipdfmx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvipdfmx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("dvipdfm-x"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipdfm-x" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipdfm-x"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipdfm-x"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list libpaper libpng texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvipdfmx))
    (synopsis "Binaries for @code{texlive-dvipdfmx}")
    (description
     "This package provides the binaries for @code{texlive-dvipdfmx}.")
    (license (package-license texlive-dvipdfmx))))

(define-public texlive-dvips
  (package
    (name "texlive-dvips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/dvips/"
                                     "doc/info/dvips.info"
                                     "doc/man/man1/afm2tfm.1"
                                     "doc/man/man1/afm2tfm.man1.pdf"
                                     "doc/man/man1/dvips.1"
                                     "doc/man/man1/dvips.man1.pdf"
                                     "dvips/base/"
                                     "dvips/config/"
                                     "fonts/enc/dvips/base/"
                                     "tex/generic/dvips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b2ai5ccnawlfshs5azrgp0azmwyxm1pi1q4c5i6mwvkgdbc1pww"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-dvips-bin))
    (home-page "https://ctan.org/pkg/dvips")
    (synopsis "DVI to PostScript drivers")
    (description
     "This package provides files needed for converting DVI files to
PostScript.")
    (license license:lppl)))

(define-public texlive-dvips-bin
  (package
    (inherit texlive-bin)
    (name "texlive-dvips-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            ;; XXX: One test needs "texmf.cnf" file to be present in the tree.
            (delete-other-directories "texk" '("dvipsk" "kpathsea" "tests"))
            (with-directory-excursion "texk/kpathsea"
              (for-each
               delete-file-recursively
               (scandir "." (lambda (f)
                              (not (member f '("." ".." "texmf.cnf")))))))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-dvipsk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/dvipsk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/dvipsk"
                  (invoke "make" "install"))))))))
    (native-inputs (list perl pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-dvips))
    (synopsis "Binaries for @code{texlive-dvips}")
    (description
     "This package provides the binaries for @code{texlive-dvips}.")
    (license (package-license texlive-dvips))))

(define-public texlive-ketcindy
  (package
    (name "texlive-ketcindy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ketcindy/" "scripts/ketcindy/"
                                     "tex/latex/ketcindy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jy8fzfqwbmnza43j70c22wr0nvx9km8g4n5vcgnjvc6js2nyxas"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ketcindy.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ketcindy")
    (synopsis "Macros for graphic generation and Cinderella plugin")
    (description
     "KETpic is a macro package designed for computer algebra systems (CAS) to
generate LaTeX source codes for high-quality mathematical artwork.  KETcindy
is a plugin for Cinderella that allows to generate graphics using KETpic.  The
generated code can be included in any LaTeX document.")
    (license license:gpl3+)))

(define-public texlive-lacheck
  (package
    (name "texlive-lacheck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/lacheck.1"
                                     "doc/man/man1/lacheck.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hhx65yd800bl3y2sq20lix60wd2b2j3k7n9s788mlsn8b0p7yq3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-lacheck-bin))
    (home-page "https://ctan.org/pkg/lacheck")
    (synopsis "LaTeX checker")
    (description
     "Lacheck is a tool for finding common mistakes in LaTeX documents.")
    (license license:gpl3+)))

(define-public texlive-lacheck-bin
  (package
    (inherit texlive-bin)
    (name "texlive-lacheck-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("lacheck"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-lacheck" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/lacheck"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/lacheck"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-lacheck))
    (synopsis "Binary for @code{texlive-lacheck}")
    (description
     "This package provides the binary for @code{texlive-lacheck}.")
    (license (package-license texlive-lacheck))))

(define-public texlive-latex-git-log
  (package
    (name "texlive-latex-git-log")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/latex-git-log.1"
                                     "doc/man/man1/latex-git-log.man1.pdf"
                                     "doc/support/latex-git-log/"
                                     "scripts/latex-git-log/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01v6frspg1zrs976bwsdz6qczg0h5z6by90hmlyy4z6l5shscpix"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latex-git-log")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latex-git-log")
    (synopsis "Typeset @samp{git log} information")
    (description
     "The program is run within a Git repository, and outputs the entire
version history, as a LaTeX table.  That output will typically be redirected
to a file; the author recommends typesetting in landscape orientation.")
    (license license:gpl3+)))

(define-public texlive-latex-papersize
  (package
    (name "texlive-latex-papersize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latex-papersize/"
                                     "scripts/latex-papersize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19nich5n4prd3g4lqm9iwn9h27h54mnycd6p4g5p18jc0b56l3n8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latex-papersize.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/latex-papersize")
    (synopsis "Calculate LaTeX settings for any font and paper size")
    (description
     "The package is a Python script, whose typical use is when preparing
printed material for users with low vision.  The most effective way of doing
this is to print on (notional) small paper, and then to magnify the result;
the script calculates the settings for various font and paper sizes.")
    (license license:asl2.0)))

(define-public texlive-latex-via-exemplos
  (package
    (name "texlive-latex-via-exemplos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-via-exemplos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11nhv72ixwr0g19nr7dir5awgdapxq0l295hm1pcggr62wqh67l1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-via-exemplos")
    (synopsis "LaTeX course written in Brazilian Portuguese language")
    (description
     "This is a LaTeX2e course written in Brazilian Portuguese language.")
    (license license:gpl2+)))

(define-public texlive-latex2man
  (package
    (name "texlive-latex2man")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2man.info"
                                     "doc/man/man1/latex2man.1"
                                     "doc/man/man1/latex2man.man1.pdf"
                                     "doc/support/latex2man/"
                                     "scripts/latex2man/"
                                     "tex/latex/latex2man/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c5pfnhw80fh132k2dmj3qdjgvl9dm6xzv55f54g2wlswpzlinis"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latex2man")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latex2man")
    (synopsis "Translate LaTeX-based manual pages into Unix man format")
    (description
     "Latex2man is a tool to translate UNIX manual pages written with LaTeX
into the troff format understood by the UNIX man(1) command.  Alternatively
HTML, TexInfo, or LaTeX code can be produced too.  Output of parts of the text
may be supressed using the conditional text feature (for this, LaTeX
generation may be used).  There is a LaTeX package (@file{latex2man.sty}) for
writing the man page and a Perl script, @command{latex2man} that does the
actual translation.")
    (license license:lppl1.0+)))

(define-public texlive-latex2nemeth
  (package
    (name "texlive-latex2nemeth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latex2nemeth/"
                                     "scripts/latex2nemeth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04l3pnzwnh86ixlj7pjy6wgkzqm5i3ka332yfkl5f6cw48dw6xw5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "icedtea")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "latex2nemeth")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-java
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "scripts/latex2nemeth/latex2nemeth"
                (("java") (search-input-file inputs "/bin/java"))))))))
    (inputs (list icedtea))
    (home-page "https://ctan.org/pkg/latex2nemeth")
    (synopsis "Convert LaTeX source to Braille with math in Nemeth")
    (description
     "This package provides a program that converts LaTeX source to
Braille/Nemeth.  It supports the Greek language, which is only Braille level
1, but also English at level 1.  Simple pictures in PSTricks are also
supported in order to produce tactile graphics with specialized equipment.
Note that embossing will need LibreOffice and @code{odt2braille} as this
project does not deal with embossers drivers.")
    (license license:gpl3)))

(define-public texlive-latexdiff
  (package
    (name "texlive-latexdiff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/latexdiff-vc.1"
                                     "doc/man/man1/latexdiff-vc.man1.pdf"
                                     "doc/man/man1/latexdiff.1"
                                     "doc/man/man1/latexdiff.man1.pdf"
                                     "doc/man/man1/latexrevise.1"
                                     "doc/man/man1/latexrevise.man1.pdf"
                                     "doc/support/latexdiff/"
                                     "scripts/latexdiff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03fnz7gilzwzgsqij10npfy8k2imhk5glfjijr52qgmg28r3xvi1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "latexdiff-vc.pl" "latexdiff.pl" "latexrevise.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latexdiff")
    (synopsis
     "Determine and mark up significant differences between LaTeX files")
    (description
     "Latexdiff is a Perl script for visual mark up and revision of
significant differences between two LaTeX files.  Various options are
available for visual markup using standard LaTeX packages such as color.
Changes not directly affecting visible text, for example in formatting
commands, are still marked in the LaTeX source.  A rudimentary revision
facilility is provided by another Perl script, @command{latexrevise}, which
accepts or rejects all changes.  Manual editing of the difference file can be
used to override this default behaviour and accept or reject selected changes
only.")
    (license license:gpl3)))

(define-public texlive-latexfileversion
  (package
    (name "texlive-latexfileversion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latexfileversion/"
                                     "scripts/latexfileversion/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kw9s415dnlaadx6yn2jddvflvbs754rkz30xhr3di2ldpvp2jj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latexfileversion")))
    (home-page "https://ctan.org/pkg/latexfileversion")
    (synopsis "Prints the version and date of a LaTeX class or style file")
    (description
     "This simple shell script prints the version and date of a LaTeX class or
style file.")
    (license license:lppl)))

(define-public texlive-latexindent
  (package
    (name "texlive-latexindent")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latexindent/"
                                     "scripts/latexindent/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06ddl4gmjn8lhb05njc56n9wx9cjwnv3z7yxq17y83r4s6shf9dl"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl-file-homedir"
                                        "perl-yaml-tiny")))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "latexindent.pl")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'link-scripts 'wrap-perl-script
                 (lambda _
                   (wrap-program (string-append #$output "/bin/latexindent")
                     `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
    (inputs (list perl perl-file-homedir perl-yaml-tiny))
    (home-page "https://ctan.org/pkg/latexindent")
    (synopsis "Indent a LaTeX document, highlighting the programming structure")
    (description
     "The Perl script processes a LaTeX file, indenting parts so as to
highlight the structure for the reader.")
    (license license:gpl3)))

(define-public texlive-latexpand
  (package
    (name "texlive-latexpand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latexpand/"
                                     "scripts/latexpand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v0yn4n6v0kgxwh00ryfkrx7a4sxhkm0pbgnylvi8jfg24gz89ls"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latexpand")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latexpand")
    (synopsis "Expand @code{\\input} and @code{\\include} in a LaTeX document")
    (description
     "Latexpand is a Perl script that simply replaces @code{\\input} and
@code{\\include} commands with the content of the input or included file.  The
script does not deal with @code{\\includeonly} commands.")
    (license license:bsd-3)))

(define-public texlive-light-latex-make
  (package
    (name "texlive-light-latex-make")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/llmk.1"
                                     "doc/man/man1/llmk.man1.pdf"
                                     "doc/support/light-latex-make/"
                                     "scripts/light-latex-make/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g5xc2cna1fdgksw0w56idkmfw5rfqifimg8picm4478vlq2srp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "llmk.lua")))
    (home-page "https://ctan.org/pkg/light-latex-make")
    (synopsis "Build tool for LaTeX documents")
    (description
     "Light LaTeX Make (llmk) is yet another build tool specific for LaTeX
documents.  Its aim is to provide a simple way to specify a workflow of
processing LaTeX documents and encourage people to always explicitly show the
right workflow for each document.  You can describe the workflows either in an
external file @file{llmk.toml} or in a LaTeX document source in the form of
magic comments.  It provides a uniform way to describe the workflows available
for nearly all TeX environments, and behaves exactly the same in any
environment.  At this point, @command{llmk} intentionally does not provide any
method for user configuration.  Therefore one can guarantee that for a LaTeX
document with an llmk setup, the process of typesetting the document will be
reproduced in any TeX environment with the program.")
    (license license:expat)))

(define-public texlive-listings-ext
  (package
    (name "texlive-listings-ext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listings-ext/"
                                     "scripts/listings-ext/"
                                     "source/latex/listings-ext/"
                                     "tex/latex/listings-ext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "044d93vdlw1amkpm8nv50390a5ba7x7d2w1y3mfg5bfvfb5cci6r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "listings-ext.sh")))
    (home-page "https://ctan.org/pkg/listings-ext")
    (synopsis "Automated input of source")
    (description
     "The package provides a means of marking a source, so that samples of it
may be included in a document (by means of the @code{listings} package) in
a stable fashion, regardless of any change to the source.  The markup in the
source text defines tags for blocks of source.  These tags are processed by
a shell script to make a steering file that is used by the package when LaTeX
is being run.")
    (license license:lppl1.2+)))

(define-public texlive-ltxfileinfo
  (package
    (name "texlive-ltxfileinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/ltxfileinfo/"
                                     "scripts/ltxfileinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nbcplq48cw768pjyg832ymqmjr9rlrcpl6jmkq8mrvvydgy8nai"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ltxfileinfo")))
    (home-page "https://ctan.org/pkg/ltxfileinfo")
    (synopsis "Print version information for a LaTeX file")
    (description
     "@command{ltxfileinfo} displays version information for LaTeX files.
If no path information is given, the file is searched using
@command{kpsewhich}.")
    (license license:gpl3+)))

(define-public texlive-ltximg
  (package
    (name "texlive-ltximg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ltximg.1"
                                     "doc/man/man1/ltximg.man1.pdf"
                                     "doc/support/ltximg/" "scripts/ltximg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pxyh0w7jkdapzfjgp6fmvfq1hs6mz6qbpykd33r4c5ghyks4cwb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ltximg.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/ltximg")
    (synopsis "Extract LaTeX environments into separate image files")
    (description
     "@command{ltximg} is a Perl script that automates the process of
extracting and converting environments provided by TikZ, PStricks and other
packages from input file to image formats and standalone files using
Ghostscript and @code{poppler-utils}.  It generates a file with only extracted
environments and another with all extracted environments converted to
@code{\\includegraphics}.")
    (license license:gpl3+)))

(define-public texlive-luajittex
  (package
    (name "texlive-luajittex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/luajithbtex.1"
                                     "doc/man/man1/luajithbtex.man1.pdf"
                                     "doc/man/man1/luajittex.1"
                                     "doc/man/man1/luajittex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky6maprb0xnzb38bz9bd28q54pa32015wjczc2zfbqibyxrmv9s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats
           #~(and (not #$(or (target-ppc64le?)
                             (target-riscv64?)))
                  (list "luajithbtex" "luajittex"))))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-luajittex-bin
           texlive-luatex
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/luajittex")
    (synopsis "LuaTeX with JIT compiler, with and without HarfBuzz")
    (description
     "This package provides LuaTeX with just-in-time (JIT) compiler, with and
without HarfBuzz.")
    (license license:gpl2)))

(define-public texlive-luajittex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-luajittex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-luajithbtex"
                 "--enable-luajittex"
                 (delete "--disable-luajittex"
                         (delete "--disable-luajithbtex"
                                 (delete "--enable-web2c" #$flags)))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'force-libs-build
              ;; Once Web2C is disabled, build process refuses to build
              ;; libraries in the source tree, in particular pplib and luajit,
              ;; required for LuajitTeX.  The following change forces building
              ;; them.
              ;;
              ;; XXX: Skip build on architectures not supporting LuaJIT.  It
              ;; avoid creating conditional inputs in TEXLIVE-LUAJITTEX, which
              ;; would give more manual work after an update.
              (lambda _
                #$@(if (or (target-ppc64le?)
                           (target-riscv64?))
                       '("skip")
                       '((substitute* "libs/configure"
                           (("x\\$need_(pplib|luajit)") "xyes"))))))
            (add-after 'install 'install-binaries
              (lambda _
                (let ((out #$output))
                  #$@(if (or (target-ppc64le?)
                             (target-riscv64?))
                         '("skip")
                         '((with-directory-excursion "texk/web2c"
                             (invoke "make" "luajittex")
                             (invoke "make" "luajithbtex")
                             (let ((bin (string-append out "/bin")))
                               (install-file ".libs/luajittex" bin)
                               (install-file ".libs/luajithbtex" bin))))))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-luajittex))
    (synopsis "Binaries for @code{texlive-luajittex}")
    (description
     "This package provides the binaries for @code{texlive-luajittex}.")
    (license (package-license texlive-luajittex))))

(define-public texlive-match-parens
  (package
    (name "texlive-match-parens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/match_parens.1"
                                     "doc/man/man1/match_parens.man1.pdf"
                                     "doc/support/match_parens/"
                                     "scripts/match_parens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0adb84qgwjr54x1qkz18a501afyv8s0wrqjnid398lbqphhc7w07"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "match_parens")
                  (updater-extra-inputs "ruby")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "match_parens")))
    (inputs (list ruby))
    (home-page "https://ctan.org/pkg/match_parens")
    (synopsis
     "Find mismatches of parentheses, braces, (angle) brackets, in texts")
    (description
     "Mismatches of parentheses, braces, (angle) brackets, especially in TeX
sources which may be rich in those, may be difficult to trace.  This little
Ruby script helps you by writing your text to standard output, after adding
a left margin to your text, which will normally be almost empty, but will
clearly show any mismatches.")
    (license license:gpl3+)))

(define-public texlive-mflua
  (package
    (name "texlive-mflua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "metafont/mflua/" "scripts/mflua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ngbhdh8hgpjfqnrjlnp27x3qziks3yf2zp1qq7r4bjfa5jx9gr6"))))
    (build-system texlive-build-system)
    (arguments (list #:create-formats #~(list "mflua")))
    (propagated-inputs (list texlive-luatex texlive-metafont texlive-mflua-bin))
    (home-page "https://ctan.org/pkg/mflua")
    (synopsis "Configuration and base files for MFLua")
    (description
     "MFLua is an extension of Metafont which embeds a Lua interpreter.  It
doesn’t introduce any new primitives, so a Metafont file can be used with
MFLua without any modification to produce exactly the same result.")
    ;; The license is the same as Metafont's, with a couple of files
    ;; released under Public Domain terms.
    (license (list license:knuth license:public-domain))))

(define-public texlive-mflua-bin
  (package
    (inherit texlive-bin)
    (name "texlive-mflua-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-mflua"
                 ;; LuaJIT is not ported to some architectures yet.
                 #$@(if (or (target-ppc64le?)
                            (target-riscv64?))
                        '()
                        '("--enable-mfluajit"))
                 (delete "--disable-mflua"
                         (delete "--disable-mfluajit"
                                 (delete "--enable-web2c" #$flags)))))
       ((#:phases phases)
        #~(let ((bin (string-append #$output "/bin")))
            ;; Once Web2C is disabled, build process refuses to build
            ;; libraries in the source tree, in particular lua53 and luajit,
            ;; required for MfluaJIT.  The following changes forces building
            ;; them.
            (modify-phases #$phases
              #$@(if (or (target-ppc64le?) (target-riscv64?))
                     '()
                     '((add-after 'unpack 'force-luajit-build
                         (lambda _
                           (substitute* "libs/configure"
                             (("x\\$need_luajit") "xyes"))))
                       (add-after 'install 'install-mfluajiit
                         (lambda _
                           (with-directory-excursion "texk/web2c"
                             (invoke "make" "mfluajit")
                             (install-file ".libs/mfluajit" bin))))))
              (add-after 'unpack 'force-lua53-build
                (lambda _
                  (substitute* "libs/configure"
                    (("x\\$need_lua53") "xyes"))))
              (add-after 'install 'install-mflua
                (lambda _
                  (with-directory-excursion "texk/web2c"
                    (invoke "make" "mflua")
                    (install-file ".libs/mflua" bin)))))))))
    (native-inputs (list pkg-config))
    (inputs (modify-inputs (package-inputs texlive-bin)
              (append potrace)))
    (home-page (package-home-page texlive-mflua))
    (synopsis "Binaries for @code{texlive-mflua}")
    (description
     "This package provides the binaries for @code{texlive-mflua}.")
    (license (package-license texlive-mflua))))

(define-public texlive-mkjobtexmf
  (package
    (name "texlive-mkjobtexmf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/mkjobtexmf/"
                                     "doc/man/man1/mkjobtexmf.1"
                                     "doc/man/man1/mkjobtexmf.man1.pdf"
                                     "scripts/mkjobtexmf/"
                                     "source/generic/mkjobtexmf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04wzq2260my5894kc8qhl954h6hri77vvg5kx8mf03kdlf3rvww6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkjobtexmf.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mkjobtexmf")
    (synopsis "Generate a texmf tree for a particular job")
    (description
     "The package provides a Perl script, which runs a program and tries to
find the names of file used.  Two methods are available, option
@samp{-recorder} of (Web2C) TeX and the program strace.  Then it generates
a directory with a texmf tree.  It checks the found files and tries sort them
in this texmf tree.  The script may be used for archiving purposes or to speed
up later TeX runs.")
    (license license:artistic2.0)))

(define-public texlive-make4ht
  (package
    (name "texlive-make4ht")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/make4ht/" "scripts/make4ht/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bi1kmi2i6rk3zhbrpyc6rjkvsh2cadwbhshlm7njprfvjpw182r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "make4ht")))
    (propagated-inputs (list texlive-tex4ht))
    (home-page "https://ctan.org/pkg/make4ht")
    (synopsis "Build system for TeX4ht")
    (description
     "@code{make4ht} is a simple build system for TeX4ht, a TeX to XML
converter.  It provides a command line tool that drives the conversion
process.  It also provides a library which can be used to create customized
conversion tools.")
    (license license:lppl1.3+)))

(define-public texlive-makecell
  (package
    (name "texlive-makecell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makecell/"
                                     "source/latex/makecell/"
                                     "tex/latex/makecell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n122230s49jizldn8ps1pfa5dsg8wmh5x8wla4y6rsgjcccqn4s"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "latex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'replace-obsolete-package
            ;; "slashbox" is no longer provided in TeX Live.  It is superseded
            ;; by `diagbox', which is backward compatible.
            (lambda _
              (substitute* "source/latex/makecell/makecell.dtx"
                (("\\\\usepackage\\{slashbox\\}")
                 "\\usepackage{diagbox}"))))
          (add-after 'replace-obsolete-package 'load-float
            ;; Loading `float' package prevents the "Unknown float option `H'"
            ;; error.
            (lambda _
              (substitute* "source/latex/makecell/makecell.dtx"
                (("usepackage\\{diagbox\\}.*" line)
                 (string-append line "\\usepackage{float}\n")))))
          (add-after 'load-float 'remove-hsize-reference
            ;; Replace "\hsize" primitive with a dummy value to prevent
            ;; a "missing number treated as zero" error.
            (lambda _
              (substitute* "source/latex/makecell/makecell.dtx"
                (("\\\\ttabbox\\[\\\\hsize\\]") "\\ttabbox[10cm]")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-diagbox
                  texlive-etoolbox
                  texlive-float
                  texlive-hypdoc
                  texlive-multirow
                  texlive-pict2e))))
    (home-page "https://ctan.org/pkg/makecell")
    (synopsis "Tabular column heads and multilined cells")
    (description
     "This package supports common layouts for tabular column heads in whole
documents, based on one-column tabular environment.  In addition, it can
create multi-lined tabular cells.

The package also offers:
@itemize
@item a macro which changes the vertical space around all the cells in a @code{tabular}
environment,
@item macros for multirow cells, which use the facilities
of the @code{multirow} package,
@item macros to number rows in tables, or to skip cells;
@item diagonally divided cells;
@item horizontal lines in @code{tabular} environments with defined thickness.
@end itemize")
    (license license:lppl)))


(define-public texlive-optexcount
  (package
    (name "texlive-optexcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/optexcount/"
                                     "scripts/optexcount/"
                                     "source/support/optexcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rjyhyirkx11v04c8b0kjjz8745kdnj190vzkyyzafwnzfcbd754"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "python")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "optexcount")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/optexcount")
    (synopsis "Python script for counting words in OpTeX documents")
    (description
     "OpTeXcount is a basic Python utility that analyzes OpTeX source code.
It is inspired by already existing TeXcount for LaTeX. The functionality is
really lightweight and basic.  It counts words and other elements of OpTeX
document and sorts them out into individual categories.  Users can print the
source code with highlighted words using several colors, so they see what is
considered as word, header etc.")
    (license license:expat)))

(define-public texlive-patgen
  (package
    (name "texlive-patgen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/patgen.1"
                                     "doc/man/man1/patgen.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qz8sb2dbjzsjarjydfm4f36ksv68sc7dz23p066hbbq1g91sjdl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea texlive-patgen-bin))
    (home-page "https://ctan.org/pkg/patgen")
    (synopsis "Generate hyphenation patterns")
    (description
     "Patgen takes a list of hyphenated words and generates a set of patterns
that can be used by the TeX 82 hyphenation algorithm.")
    (license license:public-domain)))

(define-public texlive-patgen-bin
  (package
    (inherit texlive-bin)
    (name "texlive-patgen-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (invoke "make" "patgen")
                  (install-file "patgen"
                                (string-append #$output "/bin")))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-patgen))
    (synopsis "Binary for @code{texlive-patgen}")
    (description
     "This package provides the binary for @code{texlive-patgen}.")
    (license (package-license texlive-patgen))))

(define-public texlive-pdfbook2
  (package
    (name "texlive-pdfbook2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfbook2.1"
                                     "doc/man/man1/pdfbook2.man1.pdf"
                                     "doc/support/pdfbook2/" "scripts/pdfbook2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cw0xw2dmcgmkms8d94pchbbg17lfvvbnzbagaqpy2fzxi2kb4w8"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "python")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfbook2")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/pdfbook2")
    (synopsis "Create booklets from PDF files")
    (description
     "This Python program creates print-ready PDF files from some input PDF
files for booklet printing.  The resulting files need to be printed in
landscape/long edge double sided printing.  The default paper format depends
on the locale and is chosen by @code{pdfjam}.  It can be chosen using the
@code{--paper} option.  Before the PDF is composed, the input file is cropped
to the relevant area in order to discard unnecessary white spaces.  In this
process, all pages are cropped to the same dimensions.  Extra margins can be
defined at the edges of the booklet and in the middle where the binding
occurs.")
    (license license:gpl3)))

(define-public texlive-pdfcrop
  (package
    (name "texlive-pdfcrop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pdfcrop/" "scripts/pdfcrop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g5ijqyyq5dqilwjk0s61ps5w6dxxgpjllzqh0bjfc26p9jrc4nn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "pdfcrop.pl")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'link-scripts 'add-symlink
                 (lambda _
                   (with-directory-excursion (string-append #$output "/bin")
                     (symlink "pdfcrop" "rpdfcrop")))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pdfcrop")
    (synopsis "Crop PDF graphics")
    (description
     "This package provides a Perl script that can either trim pages of any
whitespace border, or trim them of a fixed border.")
    (license license:lppl1.3c)))

(define-public texlive-pdfjam
  (package
    (name "texlive-pdfjam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfjam.1"
                                     "doc/man/man1/pdfjam.man1.pdf"
                                     "doc/support/pdfjam/" "scripts/pdfjam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yivz2hawv7lisqhbcz494wlc9clz3zg2hilarp5h29ncyda1dzs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfjam")))
    (home-page "https://ctan.org/pkg/pdfjam")
    (synopsis "Shell scripts interfacing to @code{pdfpages}")
    (description
     "The package makes available the @command{pdfjam} shell script that
provides a simple interface to much of the functionality of the excellent
@code{pdfpages} package for LaTeX. The @command{pdfjam} script takes one or
more PDF files (and/or JPG/PNG graphics files) as input, and produces one or
more PDF files as output.  It is useful for joining files together, selecting
pages, reducing several source pages onto one output page, etc.")
    (license license:gpl2+)))

(define-public texlive-pdflatexpicscale
  (package
    (name "texlive-pdflatexpicscale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pdflatexpicscale/"
                                     "scripts/pdflatexpicscale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "089n7r17c9kj1hhgm0hkfjhrqp2bhwjrj1czb3qllz7rm2x230h1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdflatexpicscale.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pdflatexpicscale")
    (synopsis
     "Support software for downscaling graphics to be included by pdfLaTeX")
    (description
     "The package provides a script to scale pictures down to a target
resolution before creating a PDF document with pdfLaTeX.")
    (license license:lppl)))

(define-public texlive-pdftex-quiet
  (package
    (name "texlive-pdftex-quiet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pdftex-quiet/"
                                     "scripts/pdftex-quiet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gpxwiiiq05m24ahx9mnhn7i6rldqkmx041p1bnnddswajs9wgm3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdftex-quiet")))
    (home-page "https://ctan.org/pkg/pdftex-quiet")
    (synopsis "Bash wrapper for pdfTeX limiting its output to relevant errors")
    (description
     "This package provides a Bash script aiming at reducing pdfTeX's output
to relevant errors, which are displayed in a red bold font.")
    (license license:gpl3)))

(define-public texlive-pdftosrc
  (package
    (name "texlive-pdftosrc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdftosrc.1"
                                     "doc/man/man1/pdftosrc.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dfx13860iwdc8ify8vaiypilaf55j5ya5xhpl0hmvxwgss9acrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdftosrc")
    (synopsis "Extract source file or stream from PDF file")
    (description
     "@command{pdftosrc} extracts an embedded source file, or extracts and
uncompresses a PDF stream given by object number.")
    (license license:gpl2+)))

(define-public texlive-pdfxup
  (package
    (name "texlive-pdfxup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfxup.1"
                                     "doc/man/man1/pdfxup.man1.pdf"
                                     "doc/support/pdfxup/" "scripts/pdfxup/"
                                     "tex/latex/pdfxup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zk4nw1acqz77cy17l8mzi06f0aag16ikp8ymjsl110iw8p8my98"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfxup")))
    (home-page "https://ctan.org/pkg/pdfxup")
    (synopsis "Create N-up PDF pages with minimal margins")
    (description
     "@command{pdfxup} is a shell script that creates a PDF document where
each page is obtained by combining several pages of a PDF file given as
output.")
    (license license:lppl1.3+)))

(define-public texlive-pfarrei
  (package
    (name "texlive-pfarrei")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pfarrei/" "scripts/pfarrei/"
                                     "source/latex/pfarrei/" "tex/latex/pfarrei/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1js0bn7avlrpjp98jpbwalsxlb16pgvqlcby6rnr8l3488j2fh7c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "a5toa4.tlu" "pfarrei.tlu")))
    (home-page "https://ctan.org/pkg/pfarrei")
    (synopsis "LaTeX support of pastors' and priests' work")
    (description
     "In @emph{Die TeXnische Komodie} (issue 1/2013) Christian Justen
described his use of LaTeX in his work as priest (similar requirements may be
encountered in the work of pastors and other ministers of religion).  One
point was to arrange A5 pages onto A4 landscape paper, either side-by-side or
as a booklet.  Justen made two Bash scripts for this job; the package provides
one Texlua script for both requirements.")
    (license license:lppl1.3+)))

(define-public texlive-pkfix
  (package
    (name "texlive-pkfix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pkfix/" "scripts/pkfix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "173l1qaydv29va9cgip9p3i3vf27x6ndsqjm4nvdpliblai6fkwf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pkfix.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pkfix")
    (synopsis "Replace PK fonts in PostScript with Type 1 fonts")
    (description
     "The Perl script @command{pkfix} looks for DVIPSBitmapFont comments in
PostScript files, generated by not too old dvips, and replaces them by type
1 versions of the fonts, if possible.")
    (license license:lppl1.3+)))

(define-public texlive-pkfix-helper
  (package
    (name "texlive-pkfix-helper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pkfix-helper.1"
                                     "doc/man/man1/pkfix-helper.man1.pdf"
                                     "doc/support/pkfix-helper/"
                                     "scripts/pkfix-helper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vq52g65an1v9g0kdhsy0xpsf1hj69gl4cr5aq1m816i8ahhzxxy"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pkfix-helper")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pkfix-helper")
    (synopsis "Make PostScript files accessible to pkfix")
    (description
     "Pkfix is a useful utility for replacing resolution-dependent bitmapped
fonts in a dvips-produced PostScript file with the corresponding
resolution-independent vector fonts.  Unfortunately, @command{pkfix} needs to
parse certain PostScript comments that appear only in files produced by dvips
versions later than 5.58 (circa 1996); it fails to work on PostScript files
produced by older versions of dvips.  Pkfix-helper is a program that attempts
to insert newer-dvips comments into an older-dvips PostScript file, thereby
making the file suitable for processing by @command{pkfix}.
@command{pkfix-helper} can sometimes process documents fully autonomously but
does require the user to verify and, if needed, correct its decisions.")
    (license license:lppl1.3c)))

(define-public texlive-purifyeps
  (package
    (name "texlive-purifyeps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/purifyeps.1"
                                     "doc/man/man1/purifyeps.man1.pdf"
                                     "doc/support/purifyeps/"
                                     "scripts/purifyeps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0523kgilwd142a43fw1r406rn8ck67hp78aqhsws931glf7j9y8p"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "purifyeps")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/purifyeps")
    (synopsis "Make EPS work with both LaTeX/dvips and pdfLaTeX")
    (description
     "While pdfLaTeX has a number of nice features, its primary shortcoming
relative to standard LaTeX+dvips is that it is unable to read ordinary
Encapsulated PostScript (EPS) files, the most common graphics format in the
LaTeX world.  Purifyeps converts EPS files into a purified form that can be
read by both LaTeX+dvips and pdfLaTeX.  The trick is that the standard LaTeX2e
graphics packages can parse Metapost-produced EPS directly.  Hence,
@command{purifyeps} need only convert an arbitrary EPS file into the same
stylized format that Metapost outputs.")
    (license license:lppl)))

(define-public texlive-seetexk
  (package
    (name "texlive-seetexk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvibook.1"
                                     "doc/man/man1/dvibook.man1.pdf"
                                     "doc/man/man1/dviconcat.1"
                                     "doc/man/man1/dviconcat.man1.pdf"
                                     "doc/man/man1/dviselect.1"
                                     "doc/man/man1/dviselect.man1.pdf"
                                     "doc/man/man1/dvitodvi.1"
                                     "doc/man/man1/dvitodvi.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bhv5xgv8jpam5apdybd0cggnvcizk2r6zs7lim1hmhzafpqqlcx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-seetexk-bin))
    (home-page "https://ctan.org/pkg/dvibook")
    (synopsis "Utilities for manipulating DVI files")
    (description
     "The package provides a collection of utilities for manipulating DVI
files:

@itemize

@item @command{dvibook}, which will rearrange the pages of a DVI file into
signatures as used when printing a book;

@item @command{dviconcat}, for concatenating pages of DVI file(s);

@item @command{dviselect}, which will select pages from one DVI file to create
a new DVI file;

@item @command{dvitodvi}, which will rearrange the pages of a DVI file to
create a new file;

@item @command{libtex}, a library for manipulating the files, from the old
SeeTeX project.

@end itemize")
    (license license:expat)))

(define-public texlive-seetexk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-seetexk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("seetexk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-seetexk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/seetexk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/seetexk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-seetexk))
    (synopsis "Binary for @code{texlive-seetexk}")
    (description
     "This package provides the binary for @code{texlive-seetexk}.")
    (license (package-license texlive-seetexk))))

(define-public texlive-spix
  (package
    (name "texlive-spix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/spix.1"
                                     "doc/man/man1/spix.man1.pdf"
                                     "doc/support/spix/" "scripts/spix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k1vkkrn14svqarbqpfccw3qqiz1slngngrwgs4fj5y0ilrym0bf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "spix.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/spix")
    (synopsis "Yet another TeX compilation tool")
    (description
     "SpiX offers a way to store information about the compilation process for
a TeX file inside the TeX file itself.  Just write the commands as comments in
the TeX files, and SpiX will extract and run those commands.  Everything is
stored in the TeX file (so that you are not missing some piece of information
that is located somewhere else), in a human-readable format (no need to know
SpiX to understand it).")
    (license license:gpl3+)))

(define-public texlive-srcredact
  (package
    (name "texlive-srcredact")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/srcredact.1"
                                     "doc/man/man1/srcredact.man1.pdf"
                                     "doc/support/srcredact/"
                                     "scripts/srcredact/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a0mmr3ggxxv69zfwlrlagbczy83ngy2kxzw437n0iksz6bgrvpx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "srcredact.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/srcredact")
    (synopsis "Tool for redacting sources")
    (description
     "This package provides a tool to keep a master source, consisting of
different chunks intended for different audiences.  The tool allows to extract
the versions intended for different audiences and to incorporate the changes
made in any of these versions into the master document.")
    (license license:gpl2)))

(define-public texlive-sty2dtx
  (package
    (name "texlive-sty2dtx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/sty2dtx.1"
                                     "doc/man/man1/sty2dtx.man1.pdf"
                                     "doc/support/sty2dtx/" "scripts/sty2dtx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06930x3c52f3x9rqcmsif7y6rw11g1myya3wp77p20vfi7whxhsv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "sty2dtx.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/sty2dtx")
    (synopsis "Create a @file{.dtx} file from a @file{.sty} file")
    (description
     "The package provides a Perl script that converts a @file{.sty}
file (LaTeX package) to @file{.dtx} format (documented LaTeX source), by
surrounding macro definitions with macro and macrocode environments.  The
macro name is automatically inserted as an argument to the macro environment.
Code lines outside macro definitions are wrapped only in macrocode
environments.  Empty lines are removed.  The script should not be thought to
be fool proof and 100% accurate but rather as a good start to the business of
making a @file{.dtx} file from an undocumented style file.  Full @file{.dtx}
files are generated.  A template based on the skeleton file from @code{dtxtut}
is used.  User level macros are added automatically to the Usage section of
the @file{.dtx} file.  A corresponding @file{.ins} file can be generated as
well.")
    (license license:gpl3)))

(define-public texlive-tex-ini-files
  (package
    (name "texlive-tex-ini-files")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-ini-files/"
                                     "tex/generic/tex-ini-files/"
                                     "tex/latex/tex-ini-files/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dk525x1dwgvijksa3x61lkwhvhp6vmwkw249yg7njcyca2bwa65"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://www.ctan.org/pkg/tex-ini-files")
    (synopsis "Files for creating TeX formats")
    (description
     "This bundle provides a collection of model @file{.ini} files for
creating TeX formats.  These files are commonly used to introduced
distribution-dependent variations in formats.  They are also used to allow
existing format source files to be used with newer engines, for example to
adapt the plain e-TeX source file to work with XeTeX and LuaTeX.")
    (license license:public-domain)))

(define-deprecated-package texlive-generic-tex-ini-files texlive-tex-ini-files)

(define-public texlive-metafont
  (package
    (name "texlive-metafont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/inimf.1"
                                     "doc/man/man1/inimf.man1.pdf"
                                     "doc/man/man1/mf-nowin.1"
                                     "doc/man/man1/mf-nowin.man1.pdf"
                                     "doc/man/man1/mf.1"
                                     "doc/man/man1/mf.man1.pdf"
                                     "metafont/base/"
                                     "metafont/config/"
                                     "metafont/misc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0273syb24s8bky93hskqpwcmr8nz1i6yjz2lbf4zx7nj436dpa78"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'build 'generate-mf.base
            ;; Even though the file "mf.base" does not appear in tlpdb, it
            ;; must be generated and provided in metafont package.
            (lambda _
              (let* ((cwd (getcwd))
                     (mf (string-append cwd "/metafont"))
                     (modes #$(this-package-input "texlive-modes")))
                (setenv "MFINPUTS"
                        (string-append
                         modes "/share/texmf-dist/fonts/source/public/modes:"
                         mf "/base:"
                         mf "/misc:"
                         mf "/roex:"
                         mf "/feynmf:"
                         mf "/mfpic:"
                         mf "/config")))
              ;; "build" directory was not created during `build' phases since
              ;; there is no ".ins" nor ".dtx" file to process.
              (mkdir-p "build")
              (with-directory-excursion "build"
                (invoke "inimf" "mf.mf")
                (install-file "mf.base"
                              (string-append #$output
                                             "/share/texmf-dist/web2c"))))))))
    (propagated-inputs (list texlive-kpathsea texlive-modes))
    (home-page "https://ctan.org/pkg/metafont")
    (synopsis "Metafont base files")
    (description "This package provides the Metafont base files needed to
build fonts using the Metafont system.")
    (license license:knuth)))

(define-deprecated-package texlive-metafont-base texlive-metafont)

(define-public texlive-metatype1
  (package
    (name "texlive-metatype1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/metapost/metatype1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nhbsn33w6zbzbvi3a32ng6ib5dbh0vll9g2c5ssiv1ysxqrg6yq"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metatype1")
    (synopsis "Generate Type 1 fonts from MetaPost")
    (description
     "The system employs scripts, common utility programs, and a set of
MetaPost macros to provide a means of expressing the details outline fonts
directly in the MetaPost language.  The system was employed to generate the
Latin Modern fonts, and the distribution includes an example development of
Knuth's logo fonts.")
    (license license:public-domain)))

(define-public texlive-mf2pt1
  (package
    (name "texlive-mf2pt1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/mf2pt1.info" "doc/support/mf2pt1/"
                                     "metapost/mf2pt1/" "scripts/mf2pt1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17dq4csl10j89rrxgyqjp3fjqkd9q6djgz9yi33y72w5ymjgiaik"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mf2pt1.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mf2pt1")
    (synopsis "Convert stylized Metafont to PostScript Type 1")
    (description
     "@command{mf2pt1} is a Perl script that facilitates producing PostScript
Type 1 fonts from a Metafont source file.  It is not, as the name may imply,
an automatic converter of arbitrary Metafont fonts to Type 1 format.
@command{mf2pt1} imposes a number of restrictions on the Metafont input.  If
these restrictions are met, it will produce valid Type 1 output with more
accurate control points than can be reverse-engineered by TeXtrace,
@command{mftrace}, and other programs which convert bitmaps to outline
fonts.")
    (license license:lppl1.3c)))

(define-public texlive-mfirstuc
  (package
    (name "texlive-mfirstuc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mfirstuc/"
                                     "scripts/mfirstuc/"
                                     "source/latex/mfirstuc/"
                                     "tex/latex/mfirstuc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fvdnfybfi7nych97i117s6wqf0w8drgzpf3qzfns9qxjxm0bv3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfirstuc")
    (synopsis "Uppercase the first letter of a word")
    (description
     "The package provides commands @code{\\makefirstuc} that uppercases the
first letter in its argument (with a check for a semantic markup command at
the start of the argument), and @code{\\xmakefirstuc} which expands the
argument before uppercasing.  It also provides
@code{\\capitalisewords@{phrase@}} which applies @code{\\makefirstuc} to each
word in the phrase, where the words are separated by regular
spaces.  (Exceptions can be made for words that shouldn't be converted.)")
    (license license:lppl1.3+)))

(define-public texlive-mfnfss
  (package
    (name "texlive-mfnfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mfnfss/" "source/latex/mfnfss/"
                                     "tex/latex/mfnfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1775vg12sk38givqq2zjapx4nxlyl95rf596r2inf8mv5phsi704"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfnfss")
    (synopsis "Packages to typeset old german and Pandora fonts in LaTeX")
    (description
     "This bundle contains two packages: @code{oldgerm}, a package to typeset
with old german fonts designed by Yannis Haralambous, and @code{pandora},
a package to typeset with Pandora fonts designed by Neena Billawala.  Note
that support for the Pandora fonts is also available via the
@code{pandora-latex} package.")
    (license license:lppl)))

(define-public texlive-modes
  (package
    (name "texlive-modes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/modes/"
                                     "fonts/source/public/modes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15m78jhapl70bvalic790jpwyllr1ishl9wsdiwqf396dssr1g39"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/modes")
    (synopsis "Collection of Metafont @code{mode_def}'s")
    (description
     "The modes file collects all known Metafont modes for printing or display
devices, of whatever printing technology.  Special provision is made for
write-white printers, and a landscape mode is available, for making suitable
fonts for printers with pixels whose aspect is non-square.  The file also
provides definitions that make @code{\\specials} identifying the mode in
Metafont's GF output, and put coding information and other Xerox-world
information in the TFM file.")
    (license license:public-domain)))

(define-public texlive-mptopdf
  (package
    (name "texlive-mptopdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/scripts/mkii/"
                                     "doc/man/man1/mptopdf.1"
                                     "doc/man/man1/mptopdf.man1.pdf"
                                     "scripts/context/perl/mptopdf.pl"
                                     "tex/context/base/mkii/"
                                     "tex/generic/context/mptopdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03782qwjz0fnr8l0h8rc8hj32wxaz8zc8v20l94lrkhmc3d40j6z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "mptopdf.pl")
      #:create-formats #~(list "mptopdf")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-perl-header
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((perl (search-input-file inputs "/bin/perl")))
                (substitute* "scripts/context/perl/mptopdf.pl"
                  (("exec perl") (string-append "exec " perl)))))))))
    (inputs (list perl))
    (propagated-inputs (list texlive-pdftex texlive-plain))
    (home-page "https://ctan.org/pkg/mptopdf")
    (synopsis "mpost to PDF, native MetaPost graphics inclusion")
    (description
     "The @code{mptopdf} script does standalone conversion from mpost to PDF,
using the @file{supp-*} and @file{syst-*} files.  They also allow native
MetaPost graphics inclusion in LaTeX (via pdftex.def) and ConTeXt.  They can
be used independently of the rest of ConTeXt.")
    ;; Use the same licensing as ConTeXt.
    (license (list license:lppl1.3c+
                   license:gpl2+
                   license:cc-by-sa4.0))))

(define-public texlive-fontinst
  (package
    (name "texlive-fontinst")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontinst/"
                                     "doc/man/man1/fontinst.1"
                                     "doc/man/man1/fontinst.man1.pdf"
                                     "scripts/texlive-extra/fontinst.sh"
                                     "source/fontinst/base/"
                                     "tex/fontinst/base/"
                                     "tex/fontinst/latinetx/"
                                     "tex/fontinst/latinmtx/"
                                     "tex/fontinst/mathetx/"
                                     "tex/fontinst/mathmtx/"
                                     "tex/fontinst/misc/"
                                     "tex/fontinst/smbletx/"
                                     "tex/fontinst/smblmtx/"
                                     "tex/latex/fontinst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qqggn44w07a0aslsf3jdygwv1gfs90qahkan0gnibxsz7i44kqm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "fontinst.sh")))
    (home-page "https://ctan.org/pkg/fontinst")
    (synopsis "Tools for converting and installing fonts for TeX and LaTeX")
    (description
     "This package provides TeX macros for converting Adobe Font Metric files
to TeX metric and virtual font format.  Fontinst helps mainly with the number
crunching and shovelling parts of font installation.  This means in practice
that it creates a number of files which give the TeX metrics (and related
information) for a font family that TeX needs to do any typesetting in these
fonts.")
    (license license:lppl1.1+)))

(define-deprecated-package texlive-tex-fontinst-base texlive-fontinst)

(define-public texlive-fontname
  (package
    (name "texlive-fontname")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fontname/" "doc/info/fontname.info"
                                     "fonts/map/fontname/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "014kiwbqz77yn8w58cb6fzqj0vlfmgyq09mxdj15ipjfgxjyvcbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontname")
    (synopsis "Scheme for naming fonts in TeX")
    (description
     "This is Fontname, a naming scheme for (the base part of) external TeX
font filenames.  This makes at most eight-character names from (almost)
arbitrarily complex font names, thus helping portability of TeX documents.")
    (license license:gpl3+)))

(define-public texlive-forloop
  (package
    (name "texlive-forloop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/forloop/" "source/latex/forloop/"
                                     "tex/latex/forloop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b6gys199rzlcg54s9v5l8s7igw3akhj8avr4q6f1j2bin9bgyn3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/forloop")
    (synopsis "Iteration in LaTeX")
    (description
     "The package provides a command @code{\\forloop} for doing iteration in
LaTeX macro programming.")
    ;; No version for the LGPL is specified.  Assuming the broader one.
    (license license:lgpl2.0+)))

(define-public texlive-cbfonts          ;71 MiB of greek fonts
  (package
    (name "texlive-cbfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cbfonts/"
                                     "fonts/enc/dvips/cbfonts/"
                                     "fonts/map/dvips/cbfonts/"
                                     "fonts/source/public/cbfonts/"
                                     "fonts/tfm/public/cbfonts/"
                                     "fonts/type1/public/cbfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l0dpgvngah227snzk6j5hf3kxs5cz5jvlpkv8pbapw6jx084np6"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; FIXME: Font metrics cannot be generated due to "bad pos"
               ;; errors.
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-cm texlive-metafont))
    (propagated-inputs (list texlive-cbfonts-fd))
    (home-page "https://ctan.org/pkg/cbgreek-complete")
    (synopsis "Complete set of Greek fonts")
    (description
     "This bundle presents the whole of Beccari's original Greek font set,
which use the @i{Lispiakos} font shape derived from the shape of the fonts
used in printers' shops in Lispia.  The fonts are available both as Metafont
source and in Adobe Type 1 format, and at the same wide set of design sizes as
are such font sets as the EC fonts.")
    (license license:lppl1.3c+)))

(define-public texlive-cbfonts-fd
  (package
    (name "texlive-cbfonts-fd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cbfonts-fd/"
                                     "source/fonts/cbfonts-fd/"
                                     "tex/latex/cbfonts-fd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r2kmnccvrq181ac7gyff9y3wn7dydx50jy8f9n6qhnb824pdn78"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cbfonts-fd")
    (synopsis "LaTeX font description files for the CB Greek fonts")
    (description
     "The package provides font description files for all the many shapes
available from the @code{cbfonts} collection.  The files provide the means
whereby the @acronym{NFSS, New Font Selection Scheme} knows which fonts
a LaTeX user is requesting.

Tip: installing @code{texlive-cbfonts} will automatically propagate this one.")
    (license license:lppl1.3c+)))

(define-public texlive-ccicons
  (package
    (name "texlive-ccicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ccicons/"
                                     "doc/latex/ccicons/"
                                     "fonts/enc/dvips/ccicons/"
                                     "fonts/map/dvips/ccicons/"
                                     "fonts/opentype/public/ccicons/"
                                     "fonts/tfm/public/ccicons/"
                                     "fonts/type1/public/ccicons/"
                                     "source/fonts/ccicons/"
                                     "source/latex/ccicons/"
                                     "tex/latex/ccicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lyxbjpkxny6hl7pmnpka0gmgx7qv66pibvwcfs9dvwhdcvwjr4x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ccicons")
    (synopsis "LaTeX support for Creative Commons icons")
    (description
     "The package provides the means to typeset Creative Commons icons, in
documents licensed under CC licences.  A font (in Adobe Type 1 format) and
LaTeX support macros are provided.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-cite
  (package
    (name "texlive-cite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cite/" "tex/latex/cite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b1amznayxj80dmqbzcysmj7q8aksbyz98k6djsqi0mhwp1cd0fd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cite")
    (synopsis "Improved citation handling in LaTeX")
    (description
     "The package supports compressed, sorted lists of numerical citations,
and also deals with various punctuation and other issues of representation,
including comprehensive management of break points.  The package is compatible
with both @code{hyperref} and @code{backref}.  The package is (unsurprisingly)
part of the cite bundle of the author's citation-related packages.")
    (license (license:fsf-free "/share/texmf-dist/doc/latex/cite/README"))))

(define-public texlive-cm
  (package
    (name "texlive-cm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm/" "fonts/map/dvips/cm/"
                                     "fonts/pk/ljfour/public/cm/dpi600/"
                                     "fonts/source/public/cm/"
                                     "fonts/tfm/public/cm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10adgjc3lkj2z50jp1f9n83bdrx8bqxd76rl605d0d5pb435k97m"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-mfware-bin")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'generate-font-metrics 'generate-pk
            (lambda _
              (let* ((cwd (getcwd))
                     (pkdir
                      (string-append cwd "/fonts/pk/ljfour/public/cm/dpi600"))
                     (build-dir (string-append cwd "/build"))
                     (gftopk
                      (string-append
                       #$(this-package-native-input "texlive-mfware-bin")
                       "/bin/gftopk")))
                (with-directory-excursion "fonts/source/public/cm/"
                  (mkdir-p pkdir)
                  (for-each
                   (lambda (font)
                     (let ((font-name (basename font ".mf")))
                       (invoke gftopk
                               (string-append build-dir "/" font-name ".600gf")
                               (string-append pkdir "/" font-name ".pk"))))
                   (find-files "." "cm(.*[0-9]+.*|inch)\\.mf$")))))))))
    (native-inputs (list texlive-metafont texlive-mfware-bin))
    (home-page "https://ctan.org/pkg/cm")
    (synopsis "Computer Modern fonts for TeX")
    (description
     "This package provides the Computer Modern fonts by Donald Knuth.  The
Computer Modern font family is a large collection of text, display, and
mathematical fonts in a range of styles, based on Monotype Modern 8A.")
    (license license:knuth)))

(define-deprecated-package texlive-fonts-cm texlive-cm)

(define-public texlive-cmbright
  (package
    (name "texlive-cmbright")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmbright/"
                                     "doc/latex/cmbright/"
                                     "fonts/source/public/cmbright/"
                                     "fonts/tfm/public/cmbright/"
                                     "source/latex/cmbright/"
                                     "tex/latex/cmbright/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sj6g877p6ak045x7737g3lg4kab8hgc2s2g6i23dw9d35csqf8d"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts"
                                               "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-amsfonts texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/cmbright")
    (synopsis "Computer Modern Bright fonts")
    (description
     "This package provides a family of sans serif fonts for TeX and LaTeX,
based on Donald Knuth's CM fonts.  It comprises OT1, T1 and TS1 encoded text
fonts of various shapes as well as all the fonts necessary for mathematical
typesetting, including AMS symbols.  This collection provides all the
necessary files for using the fonts with LaTeX.")
    (license license:lppl)))

(define-public texlive-cmcyr
  (package
    (name "texlive-cmcyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmcyr/"
                                     "fonts/map/dvips/cmcyr/"
                                     "fonts/source/public/cmcyr/"
                                     "fonts/tfm/public/cmcyr/"
                                     "fonts/type1/public/cmcyr/"
                                     "fonts/vf/public/cmcyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wlz8hq3dzjz46d2r414rb6jl9iz864bj32ia9pgkqdpypw0ani3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cmcyr")
    (synopsis "Computer Modern fonts with Cyrillic extensions")
    (description
     "These are the Computer Modern fonts extended with Russian letters, in
Metafont sources and ATM Compatible Type 1 format.  The fonts are provided in
KOI-7, but virtual fonts are available to recode them to three other Russian
8-bit encodings.")
    (license license:public-domain)))

(define-public texlive-cmextra
  (package
    (name "texlive-cmextra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/cmextra/"
                                     "fonts/tfm/public/cmextra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00my52lh3cn8bn211fpn7373b7khaylx4fgkrd2m72xgaymil308"))))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/knuth-local")
    (synopsis "Knuth's local information")
    (description
     "This package provides a collection of experimental programs and
developments based on, or complementary to, the matter in his distribution
directories.")
    (license license:public-domain)))

(define-public texlive-cm-lgc
  (package
    (name "texlive-cm-lgc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm-lgc/"
                                     "fonts/afm/public/cm-lgc/"
                                     "fonts/enc/dvips/cm-lgc/"
                                     "fonts/map/dvips/cm-lgc/"
                                     "fonts/ofm/public/cm-lgc/"
                                     "fonts/ovf/public/cm-lgc/"
                                     "fonts/tfm/public/cm-lgc/"
                                     "fonts/type1/public/cm-lgc/"
                                     "fonts/vf/public/cm-lgc/"
                                     "tex/latex/cm-lgc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nj3gp0kpzlqkm22lj2ym9c95xw323xc5z91gsyv8xs716868gp2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cm-lgc")
    (synopsis "Type 1 CM-based fonts for Latin, Greek and Cyrillic")
    (description
     "The fonts are converted from METAFONT sources of the Computer Modern
font families, using @command{textrace}.  Supported encodings are: T1 (Latin),
T2A (Cyrillic), LGR (Greek) and TS1.  The package also includes Unicode
virtual fonts for use with Omega.  The font set is not a replacement for any
of the other Computer Modern-based font sets (for example, cm-super for Latin
and Cyrillic, or cbgreek for Greek), since it is available at a single size
only; it offers a compact set for general working.  The fonts themselves are
encoded to external standards, and virtual fonts are provided for use with
TeX.")
    (license license:gpl2+)))

(define-public texlive-cm-super
  (package
    (name "texlive-cm-super")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cm-super/"
                                     "dvips/cm-super/"
                                     "fonts/afm/public/cm-super/"
                                     "fonts/enc/dvips/cm-super/"
                                     "fonts/map/dvips/cm-super/"
                                     "fonts/map/vtex/cm-super/"
                                     "fonts/type1/public/cm-super/"
                                     "tex/latex/cm-super/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k3afl0x0bqbr5mnawbnp7rr2126dwn0vwnxzibm9ggvzqilnkm6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cm-super")
    (synopsis "Computer Modern Super family of fonts")
    (description
     "The CM-Super family provides Adobe Type 1 fonts that replace the
T1/TS1-encoded Computer Modern (EC/TC), T1/TS1-encoded Concrete,
T1/TS1-encoded CM bright and LH Cyrillic fonts (thus supporting all European
languages except Greek), and bringing many ameliorations in typesetting
quality.  The fonts exhibit the same metrics as the METAFONT-encoded
originals.")
    ;; With font exception
    (license license:gpl2+)))

(define-deprecated-package texlive-fonts-cm-super texlive-cm-super)

(define-public texlive-cnbwp
  (package
    (name "texlive-cnbwp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/cnbwp/" "doc/latex/cnbwp/"
                                     "makeindex/cnbwp/" "tex/latex/cnbwp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ha4lv0k4ysyqxnaf6w0v0bc0375lxdcyg55ih16kp3mdmadbc49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cnbwp")
    (synopsis "Typeset working papers of the Czech National Bank")
    (description
     "The package supports proper formatting of Working Papers of the Czech
National Bank (WP CNB).  The package was developed for CNB but it is also
intended for authors from outside CNB.")
    (license license:lppl)))

(define-public texlive-cns
  (package
    (name "texlive-cns")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cns/cns40-1/"
                                     "doc/fonts/cns/cns40-2/"
                                     "doc/fonts/cns/cns40-3/"
                                     "doc/fonts/cns/cns40-4/"
                                     "doc/fonts/cns/cns40-5/"
                                     "doc/fonts/cns/cns40-6/"
                                     "doc/fonts/cns/cns40-7/"
                                     "doc/fonts/cns/cns40-b5/"
                                     "fonts/misc/cns/"
                                     "fonts/tfm/cns/c0so12/"
                                     "fonts/tfm/cns/c1so12/"
                                     "fonts/tfm/cns/c2so12/"
                                     "fonts/tfm/cns/c3so12/"
                                     "fonts/tfm/cns/c4so12/"
                                     "fonts/tfm/cns/c5so12/"
                                     "fonts/tfm/cns/c6so12/"
                                     "fonts/tfm/cns/c7so12/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00v6sf0a0fm09z54d3zhvdwc2gi712knbxnx3mlj2ri5x2jisyqa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cjk-fonts")
    (synopsis "Chinese/Japanese/Korean bitmap fonts")
    (description
     "This bundle provides fonts to go with the @code{cjk} macro package for Chinese,
Japanese and Korean with LaTeX2e.  The package aims to supersede HLaTeX fonts
bundle.")
    (license license:public-domain)))

(define-public texlive-courier
  (package
    (name "texlive-courier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/courier/"
                                     "fonts/afm/adobe/courier/"
                                     "fonts/afm/urw/courier/"
                                     "fonts/map/dvips/courier/"
                                     "fonts/tfm/adobe/courier/"
                                     "fonts/tfm/urw35vf/courier/"
                                     "fonts/type1/adobe/courier/"
                                     "fonts/type1/urw/courier/"
                                     "fonts/vf/adobe/courier/"
                                     "fonts/vf/urw35vf/courier/"
                                     "tex/latex/courier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08g6lm12b0k6333pxcaqdf67v87fz5mrqp3jgal8qhrls5ym8q6r"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Courier font")
    (description
     "This package provides a drop-in replacement for the Courier font from
Adobe's basic set.")
    ;; No license version specified.
    (license license:gpl3+)))

(define-public texlive-csbulletin
  (package
    (name "texlive-csbulletin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csbulletin/"
                                     "tex/latex/csbulletin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15zjwwjdxs0avb5y4g29nyvhafrv2s8pgqihhi2kb72y8wzj9cdz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csbulletin")
    (synopsis
     "LaTeX class for articles submitted to the CSTUG Bulletin (@emph{Zpravodaj})")
    (description
     "The package provides the class for articles for the CSTUG
Bulletin (@emph{Zpravodaj Ceskoslovenskeho sdruzeni uzivatelu TeXu}).  You can
see the structure of a document by looking at the source file of the manual.")
    (license license:lppl1.3c)))

(define-public texlive-cslatex
  (package
    (name "texlive-cslatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/cslatex/base/"
                                     "source/cslatex/cspsfonts/"
                                     "tex/cslatex/base/"
                                     "tex/cslatex/cspsfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dddk20v3acc3pb3wkg58y2y6z6fkx0ifsi03fffm0903z1h2zhm"))))
    (build-system texlive-build-system)
    (arguments
     (list
      #:create-formats #~(list "cslatex" "pdfcslatex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; This phase is necessary because the build phase is reluctant to
            ;; generate "hyphen.cfg" since there is another one among the
            ;; inputs already.
            (lambda _
              (substitute* "source/cslatex/base/cslatex.ins"
                (("\\keepsilent\n" all)
                 (string-append all "\\askforoverwritefalse\n"))))))))
    (propagated-inputs
     (list texlive-atbegshi
           texlive-atveryend
           texlive-cm
           texlive-csplain
           texlive-everyshi
           texlive-firstaid
           texlive-hyphen-base
           texlive-l3kernel
           texlive-l3packages
           texlive-latex
           texlive-latex-fonts
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/cslatex")
    (synopsis "LaTeX support for Czech/Slovak typesetting")
    (description
     "This package provides LaTeX support for Czech and Slovak typesetting.")
    (license license:gpl3+)))

(define-public texlive-cstex
  (package
    (name "texlive-cstex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/cstex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vsbq9a31ymvrj0bx48n93chyqmma3q7b49k7dmhb0hkic6h73aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cstex")
    (synopsis "Support for Czech/Slovak languages")
    (description
     "CSTeX is a Czech and Slovak languages distribution of Plain and LaTeX.")
    (license license:gpl2)))

(define-public texlive-cweb
  (package
    (name "texlive-cweb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ctangle.1"
                                     "doc/man/man1/ctangle.man1.pdf"
                                     "doc/man/man1/ctwill-proofsort.1"
                                     "doc/man/man1/ctwill-proofsort.man1.pdf"
                                     "doc/man/man1/ctwill-refsort.1"
                                     "doc/man/man1/ctwill-refsort.man1.pdf"
                                     "doc/man/man1/ctwill-twinx.1"
                                     "doc/man/man1/ctwill-twinx.man1.pdf"
                                     "doc/man/man1/ctwill.1"
                                     "doc/man/man1/ctwill.man1.pdf"
                                     "doc/man/man1/cweave.1"
                                     "doc/man/man1/cweave.man1.pdf"
                                     "doc/man/man1/cweb.1"
                                     "doc/man/man1/cweb.man1.pdf"
                                     "doc/man/man1/twill-refsort.1"
                                     "doc/man/man1/twill-refsort.man1.pdf"
                                     "doc/man/man1/twill.1"
                                     "doc/man/man1/twill.man1.pdf"
                                     "tex/plain/cweb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "072zxy3ynjq1ar1yclnxhdxpdw7hzgk2c7cskz4m37sx439k2dnz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cwebbin")
    (synopsis "CWEB for ANSI-C/C++ compilers")
    (description
     "This package provides a highly portable and extended version of
Levy/Knuth CWEB 3.64c.  TeX macros, CWEB macros, and NLS catalogs are included
for German, French (partially), and Italian program documentation on any
machine.")
    (license license:knuth)))

(define-public texlive-cyrplain
  (package
    (name "texlive-cyrplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/plain/cyrplain/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wdcibxs0g53warxs6vz39s3chldzh05p7v1ksskppghg5qzgh8z"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/t2")
    (synopsis "Support for using T2 encoding")
    (description
     "The T2 bundle provides a variety of separate support functions for using
Cyrillic characters in LaTeX:
@itemize
@item the @code{mathtext} package, for using Cyrillic letters transparently in
formulae;
@item the @code{citehack} package, for using Cyrillic (or indeed any
non-ASCII) characters in citation keys;
@item support for Cyrillic in BibTeX;
@item support for Cyrillic in Makeindex;
@item various items of font support.
@end itemize")
    (license license:lppl)))

(define-public texlive-tex-gyre
  (package
    (name "texlive-tex-gyre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tex-gyre/"
                                     "fonts/afm/public/tex-gyre/"
                                     "fonts/enc/dvips/tex-gyre/"
                                     "fonts/map/dvips/tex-gyre/"
                                     "fonts/opentype/public/tex-gyre/"
                                     "fonts/tfm/public/tex-gyre/"
                                     "fonts/type1/public/tex-gyre/"
                                     "source/fonts/tex-gyre/"
                                     "tex/latex/tex-gyre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bn8g6rav0v47zbf1gjwp64x0l5340wb5iiiw4kdg69qingkj5lq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-gyre")
    (synopsis "TeX fonts extending URW fonts")
    (description
     "The TeX-GYRE bundle consist of multiple font families:
@itemize @bullet
@item Adventor, based on the URW Gothic L family of fonts;
@item Bonum, based on the URW Bookman L family;
@item Chorus, based on URW Chancery L Medium Italic;
@item Cursor, based on URW Nimbus Mono L;
@item Heros, based on URW Nimbus Sans L;
@item Pagella, based on URW Palladio L;
@item Schola, based on the URW Century Schoolbook L family;
@item Termes, based on the URW Nimbus Roman No9 L family of fonts.
@end itemize

The constituent standard faces of each family have been greatly extended
(though Chorus omits Greek support and has no small-caps family).  Each
family is available in Adobe Type 1 and Open Type formats, and LaTeX
support (for use with a variety of encodings) is provided.")
    ;; The GUST font license (GFL) is legally identical to the LaTeX Project
    ;; Public License (LPPL), version 1.3c or later, but comes with an
    ;; additional but not legally binding clause.
    (license license:lppl1.3c+)))

(define-public texlive-tex-gyre-math
  (package
    (name "texlive-tex-gyre-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tex-gyre-math/"
                                     "fonts/opentype/public/tex-gyre-math/"
                                     "source/fonts/tex-gyre-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k5fx03bg702636hh7hv4kzzxhbbic26rp5g4lq2bgajd5dgc5xy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-gyre-math")
    (synopsis "Maths fonts to match tex-gyre text fonts")
    (description
     "TeX-Gyre-Math is a collection of maths fonts to match the text fonts of
the TeX-Gyre collection.  The collection is available in OpenType format,
only; fonts conform to the developing standards for OpenType maths fonts.
TeX-Gyre-Math-Bonum (to match TeX-Gyre-Bonum), TeX-Gyre-Math-Pagella (to match
TeX-Gyre-Pagella), TeX-Gyre-Math-Schola (to match TeX-Gyre-Schola) and
TeX-Gyre-Math-Termes (to match TeX-Gyre-Termes) fonts are provided.")
    (license license:gfl1.0)))

(define-public texlive-crop
  (package
    (name "texlive-crop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crop/" "source/latex/crop/"
                                     "tex/latex/crop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m0dg69bhbvqrq9d2yl6ip36w1bf5cibp386jj2wbywisa2hn3qf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crop")
    (synopsis "Support for cropmarks")
    (description
     "This package provides a package providing corner marks for camera
alignment as well as for trimming paper stacks, and additional page
information on every page if required.  Most macros are easily adaptable to
personal preferences.  An option is provided for selectively suppressing
graphics or text, which may be useful for printing just colour graphics on
a colour laser printer and the rest on a cheap mono laser printer.  A page
info line contains the time and a new cropmarks index and is printed at the
top of the page.  A configuration command is provided for the info line font.
Options for better collaboration with dvips, pdfTeX and vtex are provided.")
    (license license:lppl)))

(define-public texlive-ctablestack
  (package
    (name "texlive-ctablestack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/ctablestack/"
                                     "source/luatex/ctablestack/"
                                     "tex/luatex/ctablestack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13l779436aj3hlchwvhkpiikbyfa2j4swzfrwqkjh9l8bc2cwg7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctablestack")
    (synopsis "Catcode table stable support")
    (description
     "This package provides a method for defining category code table stacks
in LuaTeX.  It is required by the @code{luatexbase} package which uses
@code{ctablestack} to provide a back-compatibility form of this concept.")
    (license license:lppl1.3+)))

(define-public texlive-lm
  (package
    (name "texlive-lm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lm/"
                                     "fonts/afm/public/lm/"
                                     "fonts/enc/dvips/lm/"
                                     "fonts/map/dvipdfm/lm/"
                                     "fonts/map/dvips/lm/"
                                     "fonts/opentype/public/lm/"
                                     "fonts/tfm/public/lm/"
                                     "fonts/type1/public/lm/"
                                     "tex/latex/lm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zgp0pc30n8jqr7kiv6j77i9i8dzzyh8zv72n24n74lb28k0sfmr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/lm")
    (synopsis "Latin Modern family of fonts")
    (description "The Latin Modern fonts are derived from the famous Computer
Modern fonts designed by Donald E. Knuth and described in Volume E of his
Computers & Typesetting series.")
    ;; The GUST font license (GFL) is legally identical to the LaTeX Project
    ;; Public License (LPPL), version 1.3c or later, but comes with an
    ;; additional but not legally binding clause.
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-fonts-lm texlive-lm)

(define-public texlive-lm-math
  (package
    (name "texlive-lm-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lm-math/"
                                     "fonts/opentype/public/lm-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gqdk8x3r1iz4n8j6r3pcqbwalxvkihayvmjfq4iv6hwb0pvys8z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lm-math")
    (synopsis "OpenType maths fonts for Latin Modern")
    (description
     "Latin Modern Math is a maths companion for the Latin Modern family of
fonts, in OpenType format.  For use with LuaLaTeX or XeLaTeX, support is
available from the @code{unicode-math} package.")
    (license license:gfl1.0)))

(define-public texlive-lwarp
  (package
    (name "texlive-lwarp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lwarp/"
                                     "scripts/lwarp/"
                                     "source/latex/lwarp/"
                                     "tex/latex/lwarp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17sgnbhpbj6hsmqi2xljmqajhl4ccyqyh20qhc161vcfd9ri0qgg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "lwarpmk.lua")))
    (home-page "https://ctan.org/pkg/lwarp")
    (synopsis "Converts LaTeX to HTML")
    (description
     "This package converts LaTeX to HTML by using LaTeX to process the user's
document and generate HTML tags.  External utility programs are only used for
the final conversion of text and images.  Math may be represented by SVG files
or MathJax.  Hundreds of LaTeX packages are supported, and their load order is
automatically verified.  Documents may be produced by LaTeX, LuaLaTeX,
XeLaTeX, and by several CJK engines, classes, and packages.  A texlua script
automates compilation, index, glossary, and batch image processing, and also
supports latexmk.  Configuration is semi-automatic at the first manual
compile.  Support files are self-generated.  Print and HTML versions of each
document may coexist.  Assistance is provided for HTML import into EPUB
conversion software and word processors.")
    (license license:lppl1.3+)))

(define-public texlive-knuth-lib
  (package
    (name "texlive-knuth-lib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/knuth-lib/"
                                     "fonts/tfm/public/knuth-lib/"
                                     "tex/generic/knuth-lib/"
                                     "tex/plain/knuth-lib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dl8z340n6m6xn7wari4hir0syxqi0kl2fhnf0bvnmkqhqwyzpca"))))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/knuth-lib")
    (synopsis "Small library of METAFONT sources")
    (description
     "This is a collection of core TeX and METAFONT macro files from Donald
Knuth, including the plain format, plain base, and the MF logo fonts.")
    (license license:knuth)))

(define-deprecated-package texlive-fonts-knuth-lib texlive-knuth-lib)

(define-public texlive-knuth-local
  (package
    (name "texlive-knuth-local")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/knuth-local/"
                                     "fonts/tfm/public/knuth-local/"
                                     "mft/knuth-local/" "tex/plain/knuth-local/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02cf32f57fr6bngiv9xiw8bh4sq53p9br034ap74s80h3bgcmn1f"))))
    (properties '((updater-extra-native-inputs "texlive-knuth-lib")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knuth-local")
    (native-inputs (list texlive-knuth-lib texlive-metafont))
    (synopsis "Knuth's local information")
    (description
     "This package provides a collection of experimental programs and
developments based on, or complementary to, the matter in his distribution
directories.")
    (license license:public-domain)))

(define-public texlive-lapdf
  (package
    (name "texlive-lapdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lapdf/" "tex/latex/lapdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rnwgb3fy8f4app543lx72f4rhc5c4kladnazkay9lr8hkfa8s4d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lapdf")
    (synopsis "PDF drawing directly in TeX documents")
    (description
     "The package provides the means to use PDF drawing primitives to produce
high quality, colored graphics.  It uses Bezier curves (integral and rational)
from degree one to seven, allows TeX typesetting in the graphic, offers most
of the standard math functions, allows plotting normal, parametric and polar
functions.  The package has linear, logx, logy, logxy and polar grids with
many specs; it can rotate, clip and do many nice things easily it has two
looping commands for programming and many instructive example files.")
    (license license:gpl3+)))

(define-public texlive-latex-fonts
  (package
    (name "texlive-latex-fonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/latex-fonts/"
                                     "fonts/source/public/latex-fonts/"
                                     "fonts/tfm/public/latex-fonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bzqzzhs15w7dqz90hfjnaffjqh24q14w2h1h8vnxzvrlsyv21vq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/latex-fonts")
    (synopsis "Collection of fonts used in LaTeX distributions")
    (description
     "This is a collection of fonts for use with standard LaTeX packages and
classes. It includes invisible fonts (for use with the slides class), line and
circle fonts (for use in the @code{picture} environment) and LaTeX symbol
fonts.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-fonts-latex texlive-latex-fonts)

(define-public texlive-latex-make
  (package
    (name "texlive-latex-make")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/latex-make/"
                                     "scripts/latex-make/"
                                     "source/support/latex-make/"
                                     "tex/latex/latex-make/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ll6v1mdi1m5fp3s0c4dkgh351lg9ckzdfwz3k488y6cbcvrpm5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/latex-make")
    (synopsis "Easy compiling of complex (and simple) LaTeX documents")
    (description
     "This package provides several tools that aim to simplify the compilation
of LaTeX documents:

@itemize

@item @file{LaTeX.mk}: a Makefile snippet to help compiling LaTeX documents in
DVI, PDF, PS, ...  format.  Dependencies are automatically tracked: one should
be able to compile documents with a one-line Makefile containing @samp{include
LaTeX.mk}.  Complex documents (with multiple bibliographies, indexes,
glossaries, ...)  should be correctly managed.

@item @file{figlatex.sty}: a LaTeX package to easily insert Xfig figures.  It
can interact with LaTeX.mk so that the latter automatically invokes
@command{fig2dev} if needed.

@end itemize")
    (license license:gpl3+)))

(define-public texlive-latex-mr
  (package
    (name "texlive-latex-mr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-mr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zd948d9y63js7980g2bvxpf67hshh2xa3n2ihbzwhpw6l9cbh1w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-mr")
    (synopsis
     "Practical guide to LaTeX and Polyglossia for Marathi and other Indian
languages")
    (description
     "This document aims to introduce LaTeX and Polyglossia for Indian languages.
Though the document often discusses the language Marathi, the discussion
applies to other India languages also.  We assume that the user of this
document knows basic (La)TeX or has, at least, tried her hand on it.  This
document is not very suitable for first time users.")
    (license license:lppl1.3+)))

(define-public texlive-latexbangla
  (package
    (name "texlive-latexbangla")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexbangla/"
                                     "tex/latex/latexbangla/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19h1axbfp1xclbhffdiczzqpr4lk2jw8kkz4qqh8f2rnhjxd94vw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexbangla")
    (synopsis "Enhanced LaTeX integration for Bangla")
    (description
     "This package simplifies the process of writing Bangla in LaTeX and
addresses most of the associated typesetting issues.  Its notable features
are:

@itemize
@item automated transition from Bangla to English and vice versa;
@item patch for the unproportionate whitespace issue in popular Bangla fonts;
@item full support for all the common commands and environments;
@item Bangla numbering for page, section, chapter, footnotes, extending
Polyglossia's support.
@item new @code{theorem}, @code{problems}, @code{example}, @code{solution} and
other environments, all of which are in Bangla.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-liftarm
  (package
    (name "texlive-liftarm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/liftarm/" "tex/latex/liftarm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dqi322kqlqbh4hli6nwm88nsg4dkr2fnrwi4i70gxyzxdh1mjj4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/liftarm")
    (synopsis "Draw liftarms")
    (description
     "This package can be used to draw liftarms with TikZ.  It provides
several options for the appearance of the liftarms, a command which connects
two liftarms and an environment to describe a construction.")
    (license license:lppl1.3+)))

(define-public texlive-lpic
  (package
    (name "texlive-lpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lpic/" "tex/latex/lpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15jzvpn3gnj5c0wachbsjazll9qlibyzxf4i2g8ad7l4yd967m3c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lpic")
    (synopsis "Put LaTeX material over included graphics")
    (description
     "The package defines a convenient interface to put any LaTeX material on
top of included graphics.  The LaTeX material may also be rotated and typeset
on top of a white box overshadowing the graphics.  The coordinates of the
LaTeX boxes are given relative to the original, unscaled graphics; when the
graphics is rescaled, the LaTeX annotations stay at their right places (unless
you do something extreme).  In a draft mode, the package enables you to draw
a coordinate grid over the picture for easy adjustment of positions of the
annotations.")
    (license license:lppl1.3+)))

(define-public texlive-lroundrect
  (package
    (name "texlive-lroundrect")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lroundrect/"
                                     "source/latex/lroundrect/"
                                     "tex/latex/lroundrect/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yjfg9z0s8drij13fdhii1r9j9i57c112iv2q0airndycm6y8wsg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lroundrect")
    (synopsis "LaTeX macros for using the @code{roundrect} MetaPost routines")
    (description
     "This LaTeX package provides ways to use the extremely configurable
rounded rectangles of the @code{roundrect} MetaPost package with LaTeX.  It is
chiefly useful for examples, but also has macros for particular types of boxes
which are useful on their own.")
    (license license:lppl1.3+)))

(define-public texlive-luamesh
  (package
    (name "texlive-luamesh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luamesh/" "metapost/luamesh/"
                                     "scripts/luamesh/" "tex/lualatex/luamesh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02qq6d51pihkxz4zbcxppikkzpr99mw8kmp64gm986fpcn6k2wns"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luamesh")
    (synopsis "Computes and draws 2D Delaunay triangulation")
    (description
     "The package allows to compute and draw 2D Delaunay triangulation.
The algorithm is written with Lua, and depending upon the choice of the
engine, the drawing is done by MetaPost (with @code{luamplib}) or by TikZ.
The Delaunay triangulation algorithm is the Bowyer and Watson algorithm.
Several macros are provided to draw the global mesh, the set of points, or
a particular step of the algorithm.")
    (license license:lppl1.3+)))

(define-public texlive-luasseq
  (package
    (name "texlive-luasseq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luasseq/" "scripts/luasseq/"
                                     "source/lualatex/luasseq/"
                                     "tex/lualatex/luasseq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mkhzysyhpbblpwwy4d4983b5np23jnxl9ai986g0n1vpyv0kc47"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luasseq")
    (synopsis "Drawing spectral sequences in LuaLaTeX")
    (description
     "The package is an update of the author's @code{sseq} package, for use
with LuaLaTeX.  This version uses less memory, and operates faster than the
original; it also offers several enhancements.")
    (license license:lppl1.3+)))

(define-public texlive-maker
  (package
    (name "texlive-maker")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/maker/" "tex/latex/maker/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08shs5fah2yfdgsydk93jfb1sz42qckal2p031vs95vqd8rpq11g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/maker")
    (synopsis "Include Arduino or Processing code in LaTeX documents")
    (description
     "The first version of the package allows to include Arduino or Processing
code using three different forms: writing the code directly in the LaTeX
document, writing Arduino or Processing commands in line with the text,
calling to Arduino or Processing files.  All these options support the syntax
highlighting of the official IDE.")
    (license license:lppl1.3c)))

(define-public texlive-makeshape
  (package
    (name "texlive-makeshape")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makeshape/"
                                     "source/latex/makeshape/"
                                     "tex/latex/makeshape/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mc7qxqs87f87s4rzdd7fqy44sxc9a6imz62kqmigfap2kjwnflb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makeshape")
    (synopsis "Declare new PGF shapes")
    (description
     "The package simplifies production of custom shapes with correct anchor
borders, in PGF/TikZ; the only requirement is a PGF path describing the anchor
border.  The package also provides macros that help with the management of
shape parameters, and the definition of anchor points.")
    (license license:lppl1.3+)))

(define-public texlive-mathspic
  (package
    (name "texlive-mathspic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathspic/"
                                     "doc/man/man1/mathspic.1"
                                     "doc/man/man1/mathspic.man1.pdf"
                                     "scripts/mathspic/" "tex/latex/mathspic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rlcskfvpl4niv680v8fgfpfxkrhfavmm8431ffp3vjjbqrhv7xr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "mathspic.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mathspic")
    (synopsis "Perl filter program for use with PiCTeX")
    (description
     "MathsPIC (Perl) is a development of the earlier MathsPIC (DOS) program,
now implemented as a Perl script, being much more portable than the earlier
program.  MathsPIC parses a plain text input file and generates a plain text
output-file containing commands for drawing a diagram.  It produces output
containing PiCTeX and (La)TeX commands, which may then be processed by plain
TeX or LaTeX in the usual way.  MathsPIC also outputs a comprehensive log
file.  MathsPIC facilitates creating figures using PiCTeX by providing an
environment for manipulating named points and also allows the use of variables
and maths (advance, multiply, and divide)---in short---it takes the pain out
of PiCTeX.")
    (license license:lppl)))

(define-public texlive-mercatormap
  (package
    (name "texlive-mercatormap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mercatormap/"
                                     "tex/latex/mercatormap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11kcwzly8m8wqyppymanpvgabyjl1w33xzsy43sb5p4xv8fdaa5j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mercatormap")
    (synopsis
     "Spherical Mercator coordinate systems and Web Mercator tile integration")
    (description
     "This package extends TikZ with tools to create map graphics.  The
provided coordinate system relies on the Web Mercator projection used on the
Web by OpenStreetMap and others.  The package supports the seamless
integration of graphics from public map tile servers by a Python script.
Also, common map elements like markers, geodetic networks, bar scales, routes,
orthodrome pieces, and more are part of the package.")
    (license license:lppl1.3+)))

(define-public texlive-mflogo
  (package
    (name "texlive-mflogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mflogo/"
                                     "fonts/source/public/mflogo/"
                                     "fonts/tfm/public/mflogo/"
                                     "source/latex/mflogo/"
                                     "tex/latex/mflogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r53qlrcqfwc0dfr7ji1nxnqrj6n0qrlg1rl7fjlw6ap3q9y434k"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-knuth-lib")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-knuth-lib texlive-metafont))
    (home-page "https://ctan.org/pkg/mflogo")
    (synopsis "LaTeX support for Metafont logo fonts")
    (description
     "This package provides LaTeX and font definition files to access the
Knuthian mflogo fonts described in The Metafontbook and to typeset Metafont
logos in LaTeX documents.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-mflogo texlive-mflogo)

(define-public texlive-mflogo-font
  (package
    (name "texlive-mflogo-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mflogo-font/"
                                     "fonts/afm/hoekwater/mflogo-font/"
                                     "fonts/map/dvips/mflogo-font/"
                                     "fonts/type1/hoekwater/mflogo-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "094mknjv8ki2pvj1zin0f1z4f1w12g0cfqjiqcsawjsry4yfrmbg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mflogo-font")
    (synopsis "METAFONT logo font")
    (description
     "These fonts were created in Metafont by Knuth, for his own publications.
At some stage, the letters P and S were added, so that the MetaPost logo could
also be expressed.  The fonts were originally issued (of course) as Metafont
source; they have since been autotraced and reissued in Adobe Type 1 format by
Taco Hoekwater.")
    (license license:knuth)))

(define-deprecated-package texlive-fonts-mflogo-font texlive-mflogo-font)

(define-public texlive-mfware
  (package
    (name "texlive-mfware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/gftodvi.1"
                                     "doc/man/man1/gftodvi.man1.pdf"
                                     "doc/man/man1/gftopk.1"
                                     "doc/man/man1/gftopk.man1.pdf"
                                     "doc/man/man1/gftype.1"
                                     "doc/man/man1/gftype.man1.pdf"
                                     "doc/man/man1/mft.1"
                                     "doc/man/man1/mft.man1.pdf"
                                     "doc/man/man1/pktogf.1"
                                     "doc/man/man1/pktogf.man1.pdf"
                                     "doc/man/man1/pktype.1"
                                     "doc/man/man1/pktype.man1.pdf"
                                     "mft/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17y01wh22f0ah9vwwa9yanp1rvm24jkhwzv2rzwxsfxbyn73msxx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-mfware-bin))
    (home-page "https://ctan.org/pkg/mfware")
    (synopsis "Supporting tools for use with Metafont")
    (description
     "This package provides a collection of programs (as web source) for
processing the output of Metafont.")
    (license license:public-domain)))

(define-public texlive-mfware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-mfware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("gftodvi" "gftopk" "gftype" "mft" "pktogf"
                                 "pktype")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-mfware))
    (synopsis "Binaries for @code{texlive-mfware}")
    (description
     "This package provides the binaries for @code{texlive-mfware}.")
    (license (package-license texlive-mfware))))

(define-public texlive-milsymb
  (package
    (name "texlive-milsymb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/milsymb/" "tex/latex/milsymb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n0lba66mapk1b6k7gwr23acq2cg5i5258lc6n3l47x16wmcbvbd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/milsymb")
    (synopsis "TikZ-based drawing of military symbols")
    (description
     "The package offers commands to draw military symbols as per
@url{https://www.awl.edu.pl/images/en/APP_6_C.pdf, NATO APP-6(C)}.  It has
a set of commands for drawing all symbols found in the document up to the
control measures, as well as support for custom non-standard symbols.  Control
measures are planned to be included in a future release.")
    (license license:cc-by-sa4.0)))

(define-public texlive-miniplot
  (package
    (name "texlive-miniplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/miniplot/" "tex/latex/miniplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k98mfd4bf43br74wyjqjlwb93yzi2b5r53jsrsr58p6lg59c200"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/miniplot")
    (synopsis "Package for easy figure arrangement")
    (description
     "MiniPlot is a package to help the LaTeX user typeset EPS figures using
an easy-to-use interface.  Figures can be arranged as one-figure-only or as
a collection of figures in columns and rows which can itself contain
sub-figures in columns and rows.  Wrapped figures are also supported.  This
package provides commands to display a framebox instead of the figure as the
graphics package does already but additionally it writes useful information
such as the label and scaling factor into these boxes.")
    (license license:lppl)))

(define-public texlive-mkpic
  (package
    (name "texlive-mkpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/mkpic/" "scripts/mkpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a8jzsgw63siirifpsvwjmfbj68fv58hnn5vrv737i9vbjrv0vm7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "mkpic")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/mkpic")
    (synopsis "Perl interface to @code{mfpic}")
    (description
     "@code{mkpic} provides an easy interface for making small pictures with
@code{mfpic}.  To this end you create an input file consisting of commands,
one per line, with space separated parameters (or you modify the DATA section
of the @code{mkpic} script, which is used if you run it without an input
file).")
    (license license:gpl3+)))

(define-public texlive-modiagram
  (package
    (name "texlive-modiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modiagram/"
                                     "tex/latex/modiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0817c3yj5q4srbl29kqw16cg3c6gwr9ahy33hyicqbqap034fnyd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modiagram")
    (synopsis "Drawing molecular orbital diagrams")
    (description
     "The package provides an environment MOdiagram and some commands, to
create molecular orbital diagrams using TikZ.")
    (license license:lppl1.3c)))

(define-public texlive-neuralnetwork
  (package
    (name "texlive-neuralnetwork")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/neuralnetwork/examples/"
                                     "tex/latex/neuralnetwork/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11k0hwg1mx52mrp7csp93m4rvv22vq91l4ij1ylgbw9flh189p8x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/neuralnetwork")
    (synopsis "Graph-drawing for neural networks")
    (description
     "The package provides facilities for graph-drawing, with facilities
designed for neural network diagrams.")
    (license license:gpl3+)))

(define-public texlive-nl-interval
  (package
    (name "texlive-nl-interval")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nl-interval/"
                                     "tex/latex/nl-interval/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n11a26d48jr6lngfc128fpvahdnbvnlxz9kxp7hirl0cm8ssiwa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nl-interval")
    (synopsis "Represent intervals on the number line")
    (description
     "This package provides macros to simplify the process of representing
intervals on the number line.")
    (license license:lppl1.3c)))

(define-public texlive-nndraw
  (package
    (name "texlive-nndraw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nndraw/" "source/latex/nndraw/"
                                     "tex/latex/nndraw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08mhl61b2fzsnfz6ldrlz9m5s37w2c4wml8gpd2f4wc9rjag68l4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nndraw")
    (synopsis "Draw neural networks")
    (description
     "With this package you can create fully connected neural networks in
a simple and efficient way.")
    (license license:lppl1.3+)))

(define-public texlive-numericplots
  (package
    (name "texlive-numericplots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numericplots/"
                                     "tex/latex/numericplots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "187h4q35s2asfgv9zxw992316v37p5nnvphjylnxfvygxci36lwg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numericplots")
    (synopsis "Plot numeric data (including Matlab export) using PSTricks")
    (description
     "Plotting numeric data is a task which has often to be done for
scientific papers.  LaTeX itself provides no facilities for drawing more than
the simplest plots from supplied data.  The package will process user input,
and uses PSTricks to plot the results.  The package provides Matlab functions
to transform Matlab results to plottable data.")
    (license license:gpl3)))

(define-public texlive-outilsgeomtikz
  (package
    (name "texlive-outilsgeomtikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/outilsgeomtikz/"
                                     "tex/latex/outilsgeomtikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sds34i59x4wvqn6x9bcln8wdzs29z4bw6bvlj36jvj6hgx4hx95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outilsgeomtikz")
    (synopsis "Some geometric tools, with TikZ")
    (description
     "This package provides some commands, with French keys, to display
geometric tools using TikZ, for example a pen, a compass, a rule, a square, or
a protractor.")
    (license license:lppl1.3c)))

(define-public texlive-pb-diagram
  (package
    (name "texlive-pb-diagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pb-diagram/"
                                     "tex/latex/pb-diagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g790ykz0xq01d8zmy6llr33imh42dy51700c9z49xga4dvnyqlv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pb-diagram")
    (synopsis "Commutative diagram package using LAMSTeX or Xy-pic fonts")
    (description
     "The package provides a @code{diagram} environment.  This allows the
LaTeX user to easily create complex commutative diagrams, by placing formula
nodes on a conceptual grid and attaching arrows to them.")
    (license license:gpl2+)))

(define-public texlive-pbibtex-base
  (package
    (name "texlive-pbibtex-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/ptex/pbibtex/" "pbibtex/bib/"
                                     "pbibtex/bst/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06glwwv1rw4n5cpg6cs70yzgyix65nhfsakyq72sn82yss1gvf8z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pbibtex-base")
    (synopsis "Bibliography styles and miscellaneous files for pBibTeX")
    (description
     "These are miscellaneous files, including bibliography
styles (@file{.bst}), for pBibTeX, which is a Japanese extended version of
BibTeX contained in TeX Live.")
    (license license:bsd-3)))

(define-public texlive-pbibtex-manual
  (package
    (name "texlive-pbibtex-manual")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pbibtex-manual/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "030rhhb4xcijvjc0x1ylyk6xz5mn90wrlp5ss4yr6qlpzmq21b50"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pbibtex-manual")
    (synopsis "Documentation files for (u)pBibTeX")
    (description
     "The bundle contains documentation files for Japanese pBibTeX and
upBibTeX.  For historical reasons, this also contains old documentation files
for JBibTeX.")
    (license license:bsd-3)))

(define-public texlive-petri-nets
  (package
    (name "texlive-petri-nets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/petri-nets/"
                                     "scripts/petri-nets/"
                                     "tex/generic/petri-nets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m6qmahbw1q5vs63mr30kf75di86drhi8z3a8p7yn9n524jn435c"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pn2pdf")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/petri-nets")
    (synopsis "Set TeX/LaTeX packages for drawing Petri nets")
    (description
     "Petri-nets offers a set of TeX/LaTeX packages about Petri nets and
related models.  Three packages are available: the first allows the user to
draw Petri-nets in PostScript documents; the second defines macros related to
PBC, M-nets and B(PN) models; and a third that combines the other two.")
    (license license:gpl3+)))

(define-public texlive-pgf-blur
  (package
    (name "texlive-pgf-blur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-blur/"
                                     "source/latex/pgf-blur/"
                                     "tex/latex/pgf-blur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lsndflhx56gawqkcyjyh8pll986m7msraq5qr1asppybf4m0hij"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-blur")
    (synopsis "PGF/TikZ package for blurred shadows")
    (description
     "The package adds blurred/faded/fuzzy shadows to PGF/TikZ pictures.
It is configured as a TikZ/PGF library module.")
    (license (list license:lppl license:public-domain))))

(define-public texlive-pgf-interference
  (package
    (name "texlive-pgf-interference")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-interference/"
                                     "tex/latex/pgf-interference/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aa741h358iwn0zd25y3wsr4mr1q2fia1mrfqrbz6p00fvv0rgv5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-interference")
    (synopsis "Drawing interference patterns with PGF/TikZ")
    (description
     "This LaTeX package makes it possible to simulate interference patterns
occuring on a screen if monochromatic light is diffracted at regular
structures of slits.")
    (license license:lppl1.3+)))

(define-public texlive-pgf-periodictable
  (package
    (name "texlive-pgf-periodictable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-periodictable/"
                                     "tex/latex/pgf-periodictable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pdp3zx3b5rq2qz2fdl6dk192lk8bnxwrv9kng9x8q13740j4jc9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-periodictable")
    (synopsis "Create custom periodic tables of elements")
    (description
     "The purpose of this package is to provide the periodic table of elements
in a simple way.  It relies on PGF/TikZ to offer a full or partial periodic
table with a variety of options and displaying the desired data for all the
118 elements.")
    (license license:lppl1.3+)))

(define-public texlive-pgf-pie
  (package
    (name "texlive-pgf-pie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-pie/" "tex/latex/pgf-pie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nvg61v9pzc0mqs8m818ixi8rmw2wv3h7s17shjc7mcdqkp7k1qq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-carlisle texlive-latex texlive-pgf))
    (home-page "https://ctan.org/pkg/pgf-pie")
    (synopsis "Draw pie charts, using PGF")
    (description
     "The package provides the means to draw pie (and variant) charts,
using PGF/TikZ.")
    (license (list license:gpl2 license:lppl1.3c))))

(define-public texlive-pgf-soroban
  (package
    (name "texlive-pgf-soroban")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-soroban/"
                                     "tex/latex/pgf-soroban/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vcycmd5a3z6p9glbgw4lsxs0zv0lidvs240i18kv8s39yx6f88r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-soroban")
    (synopsis "Create images of the soroban using TikZ/PGF")
    (description
     "The package makes it possible to create pictures of the
soroban (Japanese abacus) using PGF/TikZ.")
    (license license:lppl)))

(define-public texlive-pgf-spectra
  (package
    (name "texlive-pgf-spectra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-spectra/"
                                     "tex/latex/pgf-spectra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "131rr4hbychlk1bphhak2i21ajvp4v2fvlw48ak7plmqb5gz81df"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgf-spectra")
    (synopsis "Draw continuous or discrete spectra using PGF/TikZ")
    (description
     "The purpose of this package is to draw the spectra of elements in
a simple way.  It relies on PGF/TikZ for drawing the desired spectrum,
continuous or discrete.  There are data available for the spectra of 98
elements and their ions (from the NASA database and from NIST).  It also
allows the user to draw spectra using their own data.")
    (license license:lppl1.3+)))

(define-public texlive-pgf-umlcd
  (package
    (name "texlive-pgf-umlcd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-umlcd/"
                                     "tex/latex/pgf-umlcd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zx2jms616qfzwqbgixz0pd3qzjzr2bxr6ahhy7mgj3i7rlbr8r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-latex texlive-pgf))
    (home-page "https://ctan.org/pkg/pgf-umlcd")
    (synopsis "Some LaTeX macros for UML class diagrams")
    (description
     "This package provides some LaTeX macros for UML class diagrams.")
    (license (list license:gpl2 license:lppl1.3c))))

(define-public texlive-pgf-umlsd
  (package
    (name "texlive-pgf-umlsd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgf-umlsd/"
                                     "tex/latex/pgf-umlsd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bw23gm9x6ijhn3h0q7af0n9wxnc3ixfjc23v8x49s80gh96gmqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-latex texlive-pgf))
    (home-page "https://ctan.org/pkg/pgf-umlsd")
    (synopsis "Draw UML sequence diagrams")
    (description
     "This package provides LaTeX macros to draw UML diagrams using PGF.")
    (license license:gpl3+)))

(define-public texlive-pgfkeyx
  (package
    (name "texlive-pgfkeyx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfkeyx/" "tex/latex/pgfkeyx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g5wvhlyfplv0fd0nsxpw3al9wmk0hw0pjvyyplh1vzdk5rr3xzq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfkeyx")
    (synopsis "Extended and more robust version of @code{pgfkeys}")
    (description
     "The package extends and improves the robustness of the @code{pgfkeys}
package.  In particular, it can deal with active comma, equality sign, and
slash in key parsing.  The difficulty with active characters has long been
a problem with the @code{pgfkeys} package.  The package also introduces
handlers beyond those that @code{pgfkeys} can offer.")
    (license license:lppl1.3+)))

(define-public texlive-pgfmolbio
  (package
    (name "texlive-pgfmolbio")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/pgfmolbio/"
                                     "scripts/pgfmolbio/"
                                     "source/lualatex/pgfmolbio/"
                                     "tex/lualatex/pgfmolbio/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kajg7jrhd612lk7m6gwadxb5y7v9znqjlg1n3n05zwrmfd54w1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfmolbio")
    (synopsis "Draw graphs typically found in molecular biology texts")
    (description
     "The package draws graphs typically found in molecular biology texts.
Currently, the package contains modules for drawing DNA sequencing
chromatograms and protein domain diagrams.")
    (license license:lppl1.3+)))

(define-public texlive-pgfmorepages
  (package
    (name "texlive-pgfmorepages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfmorepages/"
                                     "tex/latex/pgfmorepages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k0njkw34ql0vlpmay155rr4v0sszizhh1pixy20npbk26dkzljw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfmorepages")
    (synopsis "Assemble multiple logical pages onto a physical page")
    (description
     "This package replaces and extends the @code{pgfpages} sub-package of the
PGF system.  It provides the capability to arrange multiple logical pages on
multiple physical pages, for example as for arranging pages to make
booklets.")
    (license license:lppl1.3c)))

(define-public texlive-pgfopts
  (package
    (name "texlive-pgfopts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfopts/" "source/latex/pgfopts/"
                                     "tex/latex/pgfopts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p4bfqgkwmzhismrs7a10sblbgx4b6w259vdp1dd3hxvhc2kbnyn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pgf))
    (home-page "https://ctan.org/pkg/pgfopts")
    (synopsis "LaTeX package options with @code{pgfkeys}")
    (description
     "The @code{pgfkeys} package (part of the PGF distribution) is a way of
defining and using large numbers of keys for key-value syntaxes.  However,
@code{pgfkeys} itself does not offer means of handling LaTeX class and package
options.  This package adds such option handling to @code{pgfkeys}, in the
same way that @code{kvoptions} adds the same facility to the LaTeX standard
@code{keyval} package.")
    (license license:lppl1.3+)))

(define-public texlive-pgfornament
  (package
    (name "texlive-pgfornament")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfornament/"
                                     "tex/generic/pgfornament/am/"
                                     "tex/generic/pgfornament/pgfhan/"
                                     "tex/generic/pgfornament/vectorian/"
                                     "tex/latex/pgfornament/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02fmyyp1hgasa8k6v0nkdvdmqfbiscyyk3hpqg63b5956ksgap21"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfornament")
    (synopsis "Drawing of vectorian ornaments with PGF/TikZ")
    (description
     "This package allows the drawing of vectorian ornaments (196) with
PGF/TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-pgfornament-han
  (package
    (name "texlive-pgfornament-han")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfornament-han/"
                                     "tex/latex/pgfornament-han/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c16wbykv6dyqv3d4gvy6fwqzww0fkg605vwb74mvc63a7n3jqxl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfornament-han")
    (synopsis "Library for Chinese traditional motifs and patterns")
    (description
     "This package provides a @code{pgfornament} library for Chinese
traditional motifs and patterns.  The command @code{\\pgfornamenthan} takes
the same options as @code{\\pgfornament} from the @code{pgfornament} package,
but renders Chinese traditional motifs instead.")
    (license license:lppl1.3c)))

(define-public texlive-pgfplots
  (package
    (name "texlive-pgfplots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/pgfplots/"
                                     "doc/generic/pgfplots/"
                                     "doc/latex/pgfplots/"
                                     "doc/plain/pgfplots/"
                                     "scripts/pgfplots/"
                                     "source/context/third/pgfplots/"
                                     "source/latex/pgfplots/"
                                     "tex/context/third/pgfplots/"
                                     "tex/generic/pgfplots/"
                                     "tex/latex/pgfplots/"
                                     "tex/plain/pgfplots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c0gah7ia61s435zlyq4ay9snkrs2xcs627wky7c0sp8mgxyybwr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pgf))
    (home-page "https://ctan.org/pkg/pgfplots")
    (synopsis "Create normal/logarithmic plots in two and three dimensions")
    (description
     "PGFPlots draws high-quality function plots in normal or logarithmic
scaling with a user-friendly interface directly in TeX.  The user supplies
axis labels, legend entries and the plot coordinates for one or more plots and
PGFPlots applies axis scaling, computes any logarithms and axis ticks and
draws the plots, supporting line plots, scatter plots, piecewise constant
plots, bar plots, area plots, mesh-- and surface plots and some more.
PGFPlots is based on PGF/TikZ (PGF); it runs equally for LaTeX/TeX/ConTeXt.")
    (license license:gpl3+)))

(define-public texlive-picinpar
  (package
    (name "texlive-picinpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/picinpar/" "tex/latex/picinpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s6ymq4zg0wl6pfx34shansv3y1qlh6h3q58a97zpz5x21n1a5pq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/picinpar")
    (synopsis "Insert pictures into paragraphs")
    (description
     "This package provides a legacy package for creating windows in
paragraphs, for inserting graphics, etc.  Users should note that Pieter van
Oostrum (in a published review of packages of this sort) does not recommend
this package; Picins is recommended instead.")
    (license license:gpl3+)))

(define-public texlive-pictex
  (package
    (name "texlive-pictex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pictex/" "tex/generic/pictex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wwlh9d7b3gsk3f29d6vk0ic7nnvc533jfg2z019vsf6pin9qvgv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pictex")
    (synopsis "Picture drawing macros for TeX and LaTeX")
    (description
     "PicTeX is an early and very comprehensive drawing package that mostly
draws by placing myriads of small dots to make up pictures.  It has a tendency
to run out of space; packages @code{m-pictex} and @code{pictexwd} deal with
the problems in different ways.")
    (license license:lppl1.0+)))

(define-public texlive-pictex2
  (package
    (name "texlive-pictex2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/pictex2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qqf08yharknq6csk01jdff62mg011bryqlq5mbmjwqwh7wxs0wy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pictex2")
    (synopsis "Adds relative coordinates and improves the @code{\\plot} command")
    (description
     "This package adds two user commands to standard PiCTeX.  One command
uses relative coordinates, thus eliminating the need to calculate the
coordinate of every point manually as in standard PiCTeX.  The other command
modifies @code{\\plot} to use a rule instead of dots if the line segment is
horizontal or vertical.")
    (license license:lppl)))

(define-public texlive-pictexsum
  (package
    (name "texlive-pictexsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pictexsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00yd0945qiss5jizkxncg8a9bdsld7mkhaipi92bbn1ghqicsw5a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pictexsum")
    (synopsis "Summary of PicTeX commands")
    (description
     "The document summarises the commands of PicTeX.  While it is no
substitute for the PicTeX manual itself, the document is a useful aide-memoire
for those who have read the manual.")
    (license license:bsd-2)))

(define-public texlive-pinlabel
  (package
    (name "texlive-pinlabel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pinlabel/" "tex/latex/pinlabel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hfa6gdmc6f59840fia3pdll2bgjwyqk57plcqxb4vc0f7kdqqay"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pinlabel")
    (synopsis "TeX labelling package")
    (description
     "Pinlabel is a labelling package for attaching perfectly formatted TeX
labels to figures and diagrams in both EPS and PDF formats.  It is suitable
both for labelling a new diagram and for relabelling an existing diagram.  The
package uses coordinates derived from GhostView and labels are placed with
automatic and consistent spacing relative to the object labelled.")
    (license license:lppl)))

(define-public texlive-pixelart
  (package
    (name "texlive-pixelart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pixelart/" "tex/latex/pixelart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14hridmq92md46vxaiv8ja5lij2zl449vbvq2x2dv4qqs7bi42ab"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pixelart")
    (synopsis "Draw pixel-art pictures")
    (description
     "This package provides a LuaLaTeX package to draw pixel-art pictures
using TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-pixelarttikz
  (package
    (name "texlive-pixelarttikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pixelarttikz/"
                                     "tex/latex/pixelarttikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13v5qdij5wngqh9flv2amxnh5l3qa4vxvv5ayc1m26vvmy1j7xw8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pixelarttikz")
    (synopsis "Work with PixelArts, with TikZ")
    (description
     "The package defines commands and an environment for displaying pixel
arts.")
    (license license:lppl1.3c)))

(define-public texlive-plain-doc
  (package
    (name "texlive-plain-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/plain-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "062d6hg4npy57307avvyd2sdxnmyrh5ia2rdb17p6cx555k8zxwq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csname-doc")
    (synopsis "List of Plain TeX control sequence names")
    (description
     "The document constitutes a list of every control sequence
name (@dfn{csname}) described in the TeXbook, together with an indication of
whether the csname is a primitive TeX command, or is defined in
@file{plain.tex}.")
    (license license:public-domain)))

(define-public texlive-pmgraph
  (package
    (name "texlive-pmgraph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pmgraph/" "tex/latex/pmgraph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a4nd6c9i9y6g34ipjz2ia0m4vizlvx0wcn0yql53pk8k8zrlgnn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pmgraph")
    (synopsis "Poor man's graphics")
    (description
     "This package provides a set of extensions to LaTeX @code{picture}
environment, including a wider range of vectors, and a lot more box frame
styles.")
    (license license:gpl3+)))

(define-public texlive-postage
  (package
    (name "texlive-postage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/postage/" "source/latex/postage/"
                                     "tex/latex/postage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sa9fm5hh57p0srnrd98jljj6200hnl17pmhw2v5q7jjgqj1n5gq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/postage")
    (synopsis "Stamp letters with Deutsche Post's service Internetmarke")
    (description
     "The postage package is used for franking letters with Deutsche Post's
online postage service Internetmarke.  Note that in order to print valid
stamps you must point to a valid PDF of Deutsche Post's Ausdruck
4-spaltig (DIN A4).")
    (license license:lppl1.3c)))

(define-public texlive-prerex
  (package
    (name "texlive-prerex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prerex/" "doc/man/man5/prerex.5"
                                     "doc/man/man5/prerex.man5.pdf"
                                     "tex/latex/prerex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cmkr8533p4lqnj9x7nlcqj0slin021y13mr4mx2hvd35ya0dd80"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "readline")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tests? #true
      #:modules '((guix build texlive-build-system)
                  ((guix build gnu-build-system) #:prefix gnu:)
                  (guix build utils)
                  (srfi srfi-1))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'unpack-prerex-source
            (lambda _
              (mkdir-p "build")
              (with-directory-excursion "build"
                (invoke "tar" "xvf"
                        ;; Tarball includes a version number that we ignore.
                        (first (find-files ".." "^prerex-.*\\.tar.gz"))
                        "--strip-components=1"))))
          (add-after 'unpack-prerex-source 'build-prerex
            (lambda args
              (with-directory-excursion "build"
                (for-each (lambda (phase)
                            (apply (assoc-ref gnu:%standard-phases phase) args))
                          '(configure build check install))))))))
    (native-inputs (list readline))
    (home-page "https://ctan.org/pkg/prerex")
    (synopsis "Interactive editor and macro support for prerequisite charts")
    (description
     "This package consists of @file{prerex.sty}, a LaTeX package for
producing charts of course nodes linked by arrows representing pre- and
co-requisites, and @command{prerex}, an interactive program for creating and
editing chart descriptions.  The implementation of @file{prerex.sty} uses PGF,
so that it may be used equally happily with LaTeX or PDFLaTeX; @code{prerex}
itself is written in C.  The package includes source code for a previewer
application, a lightweight Qt-4 and Poppler-based prerex-enabled PDF viewer.")
    (license (list license:gpl2 license:lppl))))

(define-public texlive-productbox
  (package
    (name "texlive-productbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/productbox/"
                                     "source/latex/productbox/"
                                     "tex/latex/productbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jj5am2h6lqmhc0dz9v8p2j9ci104s9xplki7ncn3fmhy5mm2fq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/productbox")
    (synopsis "Typeset a three-dimensional product box")
    (description
     "The package enables typesetting of a three-dimensional product box.
This product box can be rendered as it is standing on a surface and some light
is shed onto it.  Alternatively it can be typeset as a wireframe to be cut out
and glued together.  This will lead to a physical product box.")
    (license
     (list
      (license:fsf-free "https://tug.ctan.org/macros/latex/contrib/gene/productbox/productbox.ins")))))

(define-public texlive-ps2eps
  (package
    (name "texlive-ps2eps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/bbox.1"
                                     "doc/man/man1/bbox.man1.pdf"
                                     "doc/man/man1/ps2eps.1"
                                     "doc/man/man1/ps2eps.man1.pdf"
                                     "scripts/ps2eps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1anrvgs0hd3790dwpxqal0c2drjmvh93vnyqap40rvp8axwi0a6n"))))
    (outputs '("out" "doc"))
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ps2eps-bin))
    (home-page "https://ctan.org/pkg/ps2eps")
    (synopsis "Produce Encapsulated PostScript from PostScript")
    (description
     "@command{ps2eps} produces Encapsulated PostScript Files (EPS/EPSF) from
a one-page PostScript document, or any PostScript document.  A correct
bounding box is calculated for the EPS files and some PostScript command
sequences that can produce errorneous results on printers are filtered.  The
input is cropped to include just the image contained in the PostScript file.
The EPS files can then be included into TeX documents.

Included in the distribution is the @command{bbox} program, an application to
produce bounding box values for Rawppm or Rawpbm format files.")
    (license license:gpl3+)))

(define-public texlive-ps2eps-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ps2eps-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("ps2eps"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-ps2eps" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'configure-ghostscript-executable
              ;; ps2eps.pl uses the "gswin32c" ghostscript executable on
              ;; Windows, and the "gs" ghostscript executable on Unix.  It
              ;; detects Unix by checking for the existence of the "/usr/bin"
              ;; directory.  Since Guix System does not have "/usr/bin", it is
              ;; also detected as a Windows system :(.
              (lambda _
                (substitute* "utils/ps2eps/ps2eps-src/bin/ps2eps.pl"
                  (("gswin32c") "gs"))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/ps2eps"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/ps2eps"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs (list perl))
    (propagated-inputs '())
    (home-page (package-home-page texlive-ps2eps))
    (synopsis "Binaries for @code{texlive-ps2eps}")
    (description
     "This package provides the binaries for @code{texlive-ps2eps}.")
    (license (package-license texlive-ps2eps))))

(define-public texlive-ps2pk
  (package
    (name "texlive-ps2pk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/mag.1"
                                     "doc/man/man1/mag.man1.pdf"
                                     "doc/man/man1/pfb2pfa.1"
                                     "doc/man/man1/pfb2pfa.man1.pdf"
                                     "doc/man/man1/pk2bm.1"
                                     "doc/man/man1/pk2bm.man1.pdf"
                                     "doc/man/man1/ps2pk.1"
                                     "doc/man/man1/ps2pk.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14xq9x5rf15ibzr41cm5rm4v3rpmj50rfsqp4zzvyhmpmyw4dsx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ps2pk-bin))
    (home-page "https://ctan.org/pkg/ps2pk")
    (synopsis "Generate a PK font from an Adobe Type 1 font")
    (description
     "This package provides tools to generate a PK file from an Adobe Type
1 font.  PK fonts are (or used to be) valuable in enabling previewers to view
documents generated that use Type 1 fonts.")
    (license license:isc)))

(define-public texlive-ps2pk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ps2pk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("ps2pk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-ps2pk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/ps2pk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/ps2pk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-ps2pk))
    (synopsis "Binaries for @code{texlive-ps2pk}")
    (description
     "This package provides the binaries for @code{texlive-ps2pk}.")
    (license (package-license texlive-ps2pk))))

(define-public texlive-psutils
  (package
    (name "texlive-psutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/epsffit.1"
                                     "doc/man/man1/epsffit.man1.pdf"
                                     "doc/man/man1/extractres.1"
                                     "doc/man/man1/extractres.man1.pdf"
                                     "doc/man/man1/includeres.1"
                                     "doc/man/man1/includeres.man1.pdf"
                                     "doc/man/man1/psbook.1"
                                     "doc/man/man1/psbook.man1.pdf"
                                     "doc/man/man1/psjoin.1"
                                     "doc/man/man1/psjoin.man1.pdf"
                                     "doc/man/man1/psnup.1"
                                     "doc/man/man1/psnup.man1.pdf"
                                     "doc/man/man1/psresize.1"
                                     "doc/man/man1/psresize.man1.pdf"
                                     "doc/man/man1/psselect.1"
                                     "doc/man/man1/psselect.man1.pdf"
                                     "doc/man/man1/pstops.1"
                                     "doc/man/man1/pstops.man1.pdf"
                                     "doc/man/man1/psutils.1"
                                     "doc/man/man1/psutils.man1.pdf"
                                     "dvips/getafm/"
                                     "psutils/"
                                     "scripts/psutils/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ba514lz3pc03ll0kb9apdx62mi2yiyd7bnargkp2bbf62dq79cc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (propagated-inputs (list texlive-psutils-bin))
    (home-page "https://ctan.org/pkg/psutils")
    (synopsis "PostScript utilities")
    (description
     "This package provides a bundle of utilities for manipulating PostScript
documents, including page selection and rearrangement, resizing the page,
arrangement into signatures for booklet printing, and page merging for N-up
printing.  Utilities include @command{psbook}, @command{psselect},
@command{pstops}, @command{psnup}, @command{psresize}, @command{epsffit}.")
    (license
     (list license:lgpl2.1+
           (license:fsf-free
            "https://tug.org/svn/texlive/trunk/Build/source/texk/psutils/psutils-src/LICENSE?revision=57915&view=markup")))))

(define-public texlive-psutils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-psutils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root keep)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir
                       "."
                       (lambda (file)
                         (and (not (member file (append keep '("." ".."))))
                              (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("psutils"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-psutils" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'patch-psutils-tests
              (lambda _
                ;; This test fails due to a rounding difference with libpaper
                ;; 1.2: <https://github.com/rrthomas/libpaper/issues/23>.
                ;;
                ;; Adjust the expected outcome to account for the minute
                ;; difference.
                (substitute* "texk/psutils/tests/playres.ps"
                  (("844\\.647799") "844.647797"))
                ;; Test suite also fails because it expects to find
                ;; "texmf.cnf" in "../kpathsea/" directory, but we removed it
                ;; in a snippet.  Point to the real "texmf.cnf".
                (let ((kpathsea #$(this-package-input "texlive-libkpathsea")))
                  (substitute* "texk/psutils/psutils.test"
                    (("(TEXMFCNF=).+?;" _ var)
                     (string-append var
                                    kpathsea
                                    "/share/texmf-dist/web2c;"))))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/psutils"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/psutils"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list libpaper perl texlive-libkpathsea))
    (propagated-inputs '())
    (synopsis "Binaries for @code{texlive-psutils}")
    (description
     "This package provides the binaries for @code{texlive-psutils}.")
    (license (package-license texlive-psutils))))

(define-public texlive-ptolemaicastronomy
  (package
    (name "texlive-ptolemaicastronomy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ptolemaicastronomy/"
                                     "source/latex/ptolemaicastronomy/"
                                     "tex/latex/ptolemaicastronomy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05j082s8aj57lzbxlhddi7f6gscpl5j66zmmaj6kabpnv152r0l7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptolemaicastronomy")
    (synopsis "Diagrams of sphere models for variably strict conditionals")
    (description
     "David K. Lewis (Counterfactuals, Blackwell 1973) introduced a sphere
semantics for counterfactual conditionals.  He jokingly referred to the
diagrams depicting such sphere models as Ptolemaic astronomy, hence the name
of this package.  The macros provided in this package aid in the construction
of sphere model diagrams in the style of Lewis.")
    (license license:lppl1.3c)))

(define-public texlive-puyotikz
  (package
    (name "texlive-puyotikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/puyotikz/" "scripts/puyotikz/"
                                     "tex/latex/puyotikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15vw485phk523kby1q1wn0s0f7185cqj7sjsr8hc6iccdbzwknc0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/puyotikz")
    (synopsis "Quickly typeset board states of Puyo Puyo games")
    (description
     "This LaTeX package permits to quickly typeset board states of Puyo Puyo
games.  It supports large and small boards with arbitrary shape, hidden rows,
current and next puyos, labels and move planning markers.")
    (license license:expat)))

(define-public texlive-pxpgfmark
  (package
    (name "texlive-pxpgfmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxpgfmark/"
                                     "tex/latex/pxpgfmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c026i1bda0fxfrjhpv4laaj75ra6j8l2v6bxsgplng7f11nx36l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxpgfmark")
    (synopsis "e-pTeX driver for PGF inter-picture connections")
    (description
     "The distributed drivers do not support the PGF feature of inter-picture
connections under e-pTeX and @code{dvipdfmx}.  The package uses existing
features of @code{dvipdfmx} to fix this problem.")
    (license license:expat)))

(define-public texlive-pxpic
  (package
    (name "texlive-pxpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxpic/" "source/latex/pxpic/"
                                     "tex/latex/pxpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03qn6r503sd9sskp9fl1qxmkjwigg01mx4wqzgjdf6824sk2ckg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxpic")
    (synopsis "Draw pixel pictures")
    (description
     "With @code{pxpic} you draw pictures pixel by pixel.  It was inspired by
a lovely post by Paulo Cereda, among other things (most notably a beautiful
duck) showcasing the use of characters from the Mario video games by Nintendo
in LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-pxtatescale
  (package
    (name "texlive-pxtatescale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxtatescale/"
                                     "tex/latex/pxtatescale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f9xm6nc9h6r2n5rsz6iw4m1x8r13anisv08j5hkidcyvj6n2s6n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxtatescale")
    (synopsis
     "Patch to graphics driver for scaling in vertical direction of pTeX")
    (description
     "This package patches graphics driver @code{dvipdfmx} to support correct
scaling in vertical direction of Japanese pTeX and upTeX.")
    (license license:expat)))

(define-public texlive-qcircuit
  (package
    (name "texlive-qcircuit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qcircuit/" "tex/latex/qcircuit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gyygba4zv6ncbwailjh9fvwn95d4ckrn2vj2ja089drr0sd8zkq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qcircuit")
    (synopsis "Macros to generate quantum ciruits")
    (description
     "The package supports those within the quantum information community who
typeset quantum circuits, using @code{xy-pic} package, offering macros
designed to help users generate circuits.")
    (license license:gpl2)))

(define-public texlive-quantikz
  (package
    (name "texlive-quantikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quantikz/" "tex/latex/quantikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14qscaw959x93cmjzshcxk2xwypdyqcczqg924ksfwz52x3qgxs3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quantikz")
    (synopsis "Draw quantum circuit diagrams")
    (description
     "The purpose of this package is to extend TikZ with the functionality for
drawing quantum circuit diagrams.")
    (license license:cc-by4.0)))

(define-public texlive-quran
  (package
    (name "texlive-quran")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quran/" "tex/latex/quran/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14vi3l8h0jzv9x2rarpnqw7axcvcn3hn0xn3zpjnzc6h03534zif"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran")
    (synopsis "Easy way to typeset any part of the @emph{Holy Quran}")
    (description
     "This package offers the user an easy way to typeset the @emph{Holy
Quran}.  It provides several macros for typesetting the whole or any part of
the Quran based on its popular division, including @emph{Surah}, @emph{Ayah},
@emph{Juz}, @emph{Hizb}, @emph{Quarter}, and @emph{Page}.  Besides the Arabic
original, translations to English, German, French, and Persian are provided,
as well as an English transliteration.")
    (license license:lppl1.3c)))

(define-public texlive-quran-bn
  (package
    (name "texlive-quran-bn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quran-bn/" "tex/latex/quran-bn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00s1awx5s7h95nld2h32d7cm7zhr9qsqkqs9jq7p8cybkhhp8amf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran-bn")
    (synopsis "Bengali translations to the @code{quran} package")
    (description
     "The package is prepared for typesetting some Bengali translations of the
Holy Quran.  It adds two Bengali translations to the @code{quran} package.")
    (license license:lppl1.3+)))

(define-public texlive-quran-de
  (package
    (name "texlive-quran-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/quran-de/"
                                     "tex/xelatex/quran-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06syk1ifxcy8wxfxgnrh6d3hpx4bdprxgkc9jicaaca6j6m3rm65"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran-de")
    (synopsis "German translations to the @code{quran} package")
    (description
     "The package is prepared for typesetting some German translations of the
Holy Quran.  It adds three more German translations to the @code{quran}
package.")
    (license license:lppl1.3c)))

(define-public texlive-quran-ur
  (package
    (name "texlive-quran-ur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quran-ur/" "tex/latex/quran-ur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13cziawsh8j4drwibp0558gd05b47rdk9cb0cd9cf6043has9ap9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quran-ur")
    (synopsis "Urdu translations to the @code{quran} package")
    (description
     "The package is prepared for typesetting some Urdu translations of the
Holy Quran.  It adds eight Urdu translations to the @code{quran} package.")
    (license license:lppl1.3c)))

(define-public texlive-qyxf-book
  (package
    (name "texlive-qyxf-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qyxf-book/"
                                     "tex/latex/qyxf-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sgjdfpmwjqh40sbanj772bwimbf3az7wah65hxaz5198xd67m1y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qyxf-book")
    (synopsis "Book Template for Qian Yuan Xue Fu")
    (description
     "@code{qyxf-book} is a LaTeX document class (template) developed by Qian
Yuan Xue Fu (QYXF), a student club of Xi'an Jiaotong University (XJTU).  It
creates a minimalistic document style, and several color schemes are offered.
Currently the template is only designed for Chinese typesetting.")
    (license license:expat)))

(define-public texlive-r-und-s
  (package
    (name "texlive-r-und-s")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/r_und_s/" "tex/latex/r_und_s/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15w8sggvlh28567y1d4vpbq8and12hvhphfvd7vabbn8g1l6h1yi"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "r_und_s")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/r-und-s")
    (synopsis "Chemical hazard codes")
    (description
     "The @code{r-und-s} package decodes the german R- und S-Satze, which are
numerically coded security advice for chemical substances into plain text.
This is, e.g., used to compose security sheets or lab protocols and especially
useful for students of chemistry.  There are four packages, giving texts in
German, English, French and Dutch.")
    (license license:bsd-2)))

(define-public texlive-randbild
  (package
    (name "texlive-randbild")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/randbild/"
                                     "source/latex/randbild/"
                                     "tex/latex/randbild/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y9qf73163ai738pf6qvaqxy5s2cymyg19qyyfs8dfx2gygcyny9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/randbild")
    (synopsis "Marginal pictures")
    (description
     "This package provides environments @code{randbild} to draw small
marginal plots (using the packages PSTricks and @code{pst-plot}), and
@code{randbildbasis} (the same, only without the automatically drawn
coordinate system).")
    (license license:lppl)))

(define-public texlive-randomwalk
  (package
    (name "texlive-randomwalk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/randomwalk/"
                                     "source/latex/randomwalk/"
                                     "tex/latex/randomwalk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mmisgiy0c6qww6xyp9r825snh1dkmn81qjg39c7n1jxig3a8rj3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/randomwalk")
    (synopsis "Random walks using TikZ")
    (description
     "The @code{randomwalk} package provides a user command, @code{\\RandomWalk},
to draw random walks with a given number of steps.  Lengths and angles of the
steps can be customized in various ways.")
    (license license:lppl1.3c)))

(define-public texlive-realhats
  (package
    (name "texlive-realhats")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/realhats/"
                                     "source/latex/realhats/"
                                     "tex/latex/realhats/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ybxjhhl28rx9i9zkm4qd97avq801nsz3h8r2igfirzgxym3ijfy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/realhats")
    (synopsis "Put real hats on symbols instead of @samp{^}")
    (description
     "This LaTeX package makes @code{\\hat} put real hats on symbols.")
    (license license:expat)))

(define-public texlive-reotex
  (package
    (name "texlive-reotex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/reotex/" "tex/latex/reotex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hcjk3nms2gg1h99mxnivb5n3382yq92c578mw0pxbwi0f67z3iw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/reotex")
    (synopsis "Draw Reo Channels and Circuits")
    (description
     "The package defines macros and other utilities to design Reo Circuits.")
    (license license:lppl)))

(define-public texlive-robotarm
  (package
    (name "texlive-robotarm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/robotarm/"
                                     "source/latex/robotarm/"
                                     "tex/latex/robotarm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lhvbwq979whvjwx9gyfhsxz20x6imhh57xm843zk6068lv0b3wj"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "latex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'add-missing-ins-file
            ;; TeX Live distribution is missing the appropriate ".ins" file to
            ;; generate the package.  Create it, but ignore all documentation
            ;; related files in there.
            (lambda _
              (with-output-to-file "source/latex/robotarm/robotarm.ins"
                (lambda ()
                  (display "\\input docstrip.tex
\\generate{\\file{robotarm.sty}{\\from{robotarm.dtx}{robotarm-package}}}
\\endbatchfile"))))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-hypdoc
                  texlive-tools))))
    (home-page "https://ctan.org/pkg/robotarm")
    (synopsis "TikZ powered LaTeX package to draw parameterized 2D robot arms")
    (description
     "This LaTeX package uses TikZ to draw parameterized 2D robot arms, for
example to be used in educational material.")
    (license license:lppl1.3+)))

(define-public texlive-rojud
  (package
    (name "texlive-rojud")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/rojud/" "fonts/map/dvips/rojud/"
                                     "fonts/tfm/public/rojud/"
                                     "fonts/type1/public/rojud/"
                                     "tex/latex/rojud/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vq5m755wa5j9y072gmyf7pl7cisxh029b5j8rm46kqllfpaz4zj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rojud")
    (synopsis "Font with the images of the counties of Romania")
    (description
     "This package provides a Type 1 font with images of the 42 counties of Romania,
constructed using a general method which is described in detail in the
documentation.  The package name is an abbreviation of @emph{judetele
Romaniei} (i.e., counties of Romania).")
    (license license:lppl)))

(define-public texlive-rviewport
  (package
    (name "texlive-rviewport")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rviewport/"
                                     "source/latex/rviewport/"
                                     "tex/latex/rviewport/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13mrihyid25h70800ix0mbqhs8dbi39nyif8f12mj54jpfdjhxcz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rviewport")
    (synopsis "Relative viewport for graphics inclusion")
    (description
     "Package @code{graphicx} provides a useful keyword viewport which allows
to show just a part of an image.  However, one needs to put there the actual
coordinates of the viewport window.  Sometimes it is useful to have relative
coordinates as fractions of natural size.  For example, one may want to print
a large image on a spread, putting a half on a verso page, and another half on
the next recto page.  For this one would need a viewport occupying exactly one
half of the file's bounding box, whatever the actual width of the image may
be.  This package adds a new keyword @code{rviewport} to the @code{graphicx}
package specifiying relative viewport for graphics inclusion: a window defined
by the given fractions of the natural width and height of the image.")
    (license license:lppl)))

(define-public texlive-sa-tikz
  (package
    (name "texlive-sa-tikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sa-tikz/" "tex/latex/sa-tikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wdxdgc7jh0h7pql8wja9h4qjc7vr4gv03y4nk2mlxxycwsxiimn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sa-tikz")
    (synopsis "TikZ library to draw switching architectures")
    (description
     "The package provides a library that offers an easy way to draw switching
architectures and to customize their aspect.")
    (license license:lppl1.3+)))

(define-public texlive-sacsymb
  (package
    (name "texlive-sacsymb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sacsymb/" "tex/latex/sacsymb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pwkb8z4bvgqbffcclfif04iqkpdp6lciwmwvwci3mi9bc6yh4vr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sacsymb")
    (synopsis "Sacred symbols prepared with TikZ")
    (description
     "The @code{sacsymb} package contains symbols used in objective
reduction (Orch OR) theory of consciousness as applied to the three brains
model of psychological experience.  These symbols are prepared using TikZ.")
    (license license:lppl1.0+)))

(define-public texlive-schemabloc
  (package
    (name "texlive-schemabloc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schemabloc/"
                                     "tex/latex/schemabloc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nmjj4b065nmb4kqs4hlvc3jkz64cn5gbyfjavpxlpgfbbl6wnw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schemabloc")
    (synopsis "Draw block diagrams, using TikZ")
    (description
     "The package provides a set of macros for constructing block diagrams,
using TikZ.")
    (license license:lppl)))

(define-public texlive-schulmathematik
  (package
    (name "texlive-schulmathematik")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schulmathematik/"
                                     "tex/latex/schulmathematik/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ry0h810chqvjrlbppn4y6090482wjr7gnymxj2vc44lcifqkaxy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schulmathematik")
    (synopsis
     "Commands and document classes for German-speaking teachers of
mathematics and physics")
    (description
     "The @code{schulmathematik} bundle provides two LaTeX packages and six
document classes for German-speaking teachers of mathematics and physics.")
    (license license:lppl1.3+)))

(define-public texlive-scratch
  (package
    (name "texlive-scratch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scratch/" "tex/latex/scratch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1np9mhfmn07clkzsg1glfxw1mkxihvv7yd10bnhc8lxxan9rymj1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scratch")
    (synopsis "Draw programs like Scratch")
    (description
     "This package permits to draw program charts in the style of the
@url{https://scratch.mit.edu, Scratch} project.  This package is obsolete.
From now on, Scratch is now version 3 with a new design.  Use the
@code{scratch3} package to draw blocks with the new design.")
    (license license:lppl1.3c)))

(define-public texlive-scratch3
  (package
    (name "texlive-scratch3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scratch3/" "tex/latex/scratch3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g8s0p7j058z7hdm4p7kgh7nsyk4wn22lp3j25d5b4hr0xyxmhby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scratch3")
    (synopsis "Draw programs like Scratch")
    (description
     "This package permits to draw program charts in the style of the
@url{https://scratch.mit.edu, Scratch} project.")
    (license license:lppl1.3c)))

(define-public texlive-scsnowman
  (package
    (name "texlive-scsnowman")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scsnowman/"
                                     "tex/latex/scsnowman/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qr1cb19383hsxqh3a0640713m343v3jgxfk9whdxm0z11am5if0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scsnowman")
    (synopsis "Snowman variants using TikZ")
    (description
     "This LaTeX package provides a command @code{\\scsnowman} which can
display many variants of snowman")
    (license license:bsd-2)))

(define-public texlive-setdeck
  (package
    (name "texlive-setdeck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/setdeck/" "tex/latex/setdeck/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11kk04nf37hmv7qw2azjl5r0cqf08khj41b1gp4nikrqvz2p1g49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/setdeck")
    (synopsis "Typeset cards for Set")
    (description "The package will typeset cards for use in a game of Set.")
    (license license:gpl3)))

(define-public texlive-sexam
  (package
    (name "texlive-sexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/sexam/" "tex/xelatex/sexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bwzxm8xj7p930rgxh6j6rzb7r26i0w61ixy74wkqwmvb3951rf6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sexam")
    (synopsis "Typeset Arabic exam scripts")
    (description
     "The package provides a modified version of the @code{exam} package made
compatible with XeLaTeX and Polyglossia to typeset Arabic exams.")
    (license license:lppl1.3+)))

(define-public texlive-signchart
  (package
    (name "texlive-signchart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/signchart/"
                                     "source/latex/signchart/"
                                     "tex/latex/signchart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vg7xkrc0chp0r9j05ra499n4zkwg1gh9ywfnb54yhwcas301izs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/signchart")
    (synopsis "Create sign charts")
    (description
     "The package allows users to easily typeset sign charts directly into
their (La)TeX document.")
    (license license:lppl1.3+)))

(define-public texlive-simplenodes
  (package
    (name "texlive-simplenodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplenodes/"
                                     "tex/latex/simplenodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d3bqia3a7rnd57v8yld4i5d9nwrshkxxv6w2vglhpp447yv0nq7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplenodes")
    (synopsis "Simple nodes in four colors written in TikZ for LaTeX")
    (description
     "This is a LaTeX macro package for generating simple node-based flow
graphs or diagrams built upon the TikZ package.  The package provides two
basic commands, one to generate a node and one to create links between nodes.
The positioning of the nodes is not handled by the package itself but is
preferably done in a tabular environment.  In total, four simple node types
are defined, loosely based on the nomenclature and color patterns of the
popular Java script Bootstrap.")
    (license license:expat)))

(define-public texlive-simpleoptics
  (package
    (name "texlive-simpleoptics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simpleoptics/"
                                     "tex/latex/simpleoptics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hna56av80k1gc3fm2nbw2dy31sfdw7v14v8yppad4f2d12skpzd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simpleoptics")
    (synopsis "Drawing lenses and mirrors for optical diagrams")
    (description
     "This package provides some of macros for drawing simple lenses and
mirrors for use in optical diagrams.")
    (license license:lppl1.3c)))

(define-public texlive-simurgh
  (package
    (name "texlive-simurgh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/simurgh/"
                                     "tex/lualatex/simurgh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11256ssaq6hw6c93ldfgyp0gagv69hl54yg1c8wl5wkc0mrh42rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simurgh")
    (synopsis "Typeset Parsi in LuaLaTeX")
    (description
     "The package provides an automatic and unified interface for Parsi
typesetting in LaTeX, using the LuaTeX engine.")
    (license license:gpl2)))

(define-public texlive-smartdiagram
  (package
    (name "texlive-smartdiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/smartdiagram/"
                                     "source/latex/smartdiagram/"
                                     "tex/latex/smartdiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qlgafprxqjhy14imb3isgqjsp1y78qrcqlr0n1rvgwppmi1fd0c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/smartdiagram")
    (synopsis "Generate diagrams from lists")
    (description
     "The package will create smart diagrams from lists of items, for simple
documents and for presentations.")
    (license license:lppl1.3+)))

(define-public texlive-spath3
  (package
    (name "texlive-spath3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spath3/" "source/latex/spath3/"
                                     "tex/latex/spath3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16hg6kbr0rzk1xsyrmhnkc0dr4vq8pamqdqncjx6n5jdpwr9kzkx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spath3")
    (synopsis "Manipulate soft paths in PGF")
    (description
     "The @code{spath3} library provides methods for manipulating the soft
paths of TikZ/PGF.  Packaged with it are two TikZ libraries that make use of
the methods provided.  These are libraries for drawing calligraphic paths and
for drawing knot diagrams.")
    (license license:lppl1.3c)))

(define-public texlive-spectralsequences
  (package
    (name "texlive-spectralsequences")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spectralsequences/"
                                     "tex/latex/spectralsequences/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fdgkvhhg8i0j7c4ibc9d2xjbhgbpqvqp1shpqaslg5mdahml58f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spectralsequences")
    (synopsis "Print spectral sequence diagrams using PGF/TikZ")
    (description
     "The package is a specialized tool built on top of PGF/TikZ for drawing
spectral sequences.  It provides a powerful, concise syntax for specifying the
data of a spectral sequence, and then allows the user to print various pages
of spectral sequences, automatically choosing which subset of the classes,
differentials, and structure lines to display on each page.  It also handles
most of the details of the layout.  At the same time, it is extremely
flexible.  @code{spectralsequences} is closely integrated with TikZ to ensure
that users can take advantage of as much as possible of its expressive power.
It is possible to turn off most of the automated layout features and draw
replacements using TikZ commands.  The package also provides a carefully
designed error reporting system intended to ensure that it is as clear as
possible what is going wrong.")
    (license license:lppl)))

(define-public texlive-strands
  (package
    (name "texlive-strands")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/strands/" "source/latex/strands/"
                                     "tex/latex/strands/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jhvbzy8qjrjmb6j7kjwjn1iqgnszvhwlnpsag8sl1f8qgg1ns9z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/strands")
    (synopsis "Draw objects constructed from strands")
    (description
     "This package permits to draw objects constructed from strands, like set
partitions, permutations, braids, etc.")
    (license license:lppl1.3+)))

(define-public texlive-swebib
  (package
    (name "texlive-swebib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/swebib/" "doc/latex/swebib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bw7ls5gbi31gr9h4mqv2blva1skqymprp350n9wm086kgyv4s8h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swebib")
    (synopsis "Swedish bibliography styles")
    (description
     "The bundle contains Swedish versions of the standard bibliography
styles, and of the style @code{plainnat}.  The styles should be functionally
equivalent to the corresponding original styles, apart from the Swedish
translations.  The styles do not implement Swedish collation.")
    (license license:lppl1.2+)))

(define-public texlive-swimgraf
  (package
    (name "texlive-swimgraf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/swimgraf/" "tex/latex/swimgraf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09s6wb3nzrxj20qrjyyr3r1fl2nbsgj1a4va101nwqb81pcmp4aq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swimgraf")
    (synopsis "Graphical/textual representations of swimming performances")
    (description
     "The package provides two macros that produce representations of
a swimmer's performances.  The user records data in a text file and specifies
as arguments of the macros the date range of interest.  The macros extract the
relevant information from the file and process it: @code{\\swimgraph} produces
a graph of the times in a single swimming event (specified as an argument),
plotting long course and short course times in separate lines.  Records and
qualifying times, stored in text files, may optionally be included on the
graph. @code{\\swimtext} produces a written record of the times in all events.
Files of current world and Canadian records are included.")
    (license license:lppl)))

(define-public texlive-syntaxdi
  (package
    (name "texlive-syntaxdi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/syntaxdi/" "tex/latex/syntaxdi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q6f45vr1dq5pildna9i6vxxqg76kylnlb2rfqs9f87r73dg0xak"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/syntaxdi")
    (synopsis "Create railroad syntax diagrams")
    (description
     "This package provides TikZ styles for creating special syntax diagrams
known as railroad diagrams.")
    (license license:lppl1.3+)))

(define-public texlive-t1utils
  (package
    (name "texlive-t1utils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/t1ascii.1"
                                     "doc/man/man1/t1ascii.man1.pdf"
                                     "doc/man/man1/t1asm.1"
                                     "doc/man/man1/t1asm.man1.pdf"
                                     "doc/man/man1/t1binary.1"
                                     "doc/man/man1/t1binary.man1.pdf"
                                     "doc/man/man1/t1disasm.1"
                                     "doc/man/man1/t1disasm.man1.pdf"
                                     "doc/man/man1/t1mac.1"
                                     "doc/man/man1/t1mac.man1.pdf"
                                     "doc/man/man1/t1unmac.1"
                                     "doc/man/man1/t1unmac.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hdk57179nn57wnmvr3jasjavkvmrn6ryph6jvjhsfqprn7bhf1y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-t1utils-bin))
    (home-page "https://ctan.org/pkg/t1utils")
    (synopsis "Simple Type 1 font manipulation programs")
    (description
     "This package provides a collection of simple programs for manipulating
Adobe Type 1 fonts, comprising:

@itemize
@item @command{t1ascii}: convert PFB (binary) to PFA (ASCII) fonts;
@item @command{t1binary}: convert PFA to PFB fonts;
@item @command{t1disasm}: convert PFA or PFB fonts to human-readable
and -editable format;
@item @command{t1asm}: reassemble such editable formats to a font;
@item @command{t1unmac}: extract font resources from a Macintosh font file;
@item @command{t1mac}: generate a Macintosh font from a Type 1 font.
@end itemize")
    (license license:public-domain)))

(define-public texlive-t1utils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-t1utils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "texk" '())
            (delete-other-directories "utils" '("t1utils"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-t1utils" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/t1utils"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/t1utils"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-t1utils))
    (synopsis "Binaries for @code{texlive-t1utils}")
    (description
     "This package provides the binaries for @code{texlive-t1utils}.")
    (license (package-license texlive-t1utils))))

(define-public texlive-table-fct
  (package
    (name "texlive-table-fct")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/table-fct/"
                                     "tex/latex/table-fct/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l21dvfp4ypbfn5jvyrb2kwg8s8xfvcwlwxgcyix2ghawv9gsp7m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/table-fct")
    (synopsis
     "Draw a variations table of functions and a convexity table of its graph")
    (description
     "This package offers two environnements, to draw variations table of
a function and a convexity table of its graph.")
    (license license:lppl1.3+)))

(define-public texlive-templates-fenn
  (package
    (name "texlive-templates-fenn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/templates-fenn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s91swqsysva49cjrb9khgik5mvhxcb3wr2wz4l2683gdgxlbgkf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/templates-fenn")
    (synopsis "Templates for TeX usage")
    (description
     "This package provides a set of templates for using LaTeX packages that
the author uses, comprising:

@itemize
@item @file{scrlttr2.tex}: a letter, written with @code{scrlttr2.cls} from the
KOMA-Script bundl,
@item @file{dinbrief.tex}: a letter according to the German
(DIN) standards, written with @file{dinbrief.cls},
@item @file{kbrief.tex}: a brief memo (@emph{Kurzbrief}) to accompany
enclosures, as used in German offices, again based on @code{dinbrief},
@item @file{vermerk.tex}: a general form for taking down notes on events in
the office,
@item @file{diabetes.tex}: a diary for the basis-bolus insulin therapy of
diabetes mellitus, using @file{scrartcl.cls} from the KOMA-Script bundle.
@end itemize")
    (license license:lppl)))

(define-public texlive-templates-sommer
  (package
    (name "texlive-templates-sommer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/templates-sommer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z75xhawsmcxv4f24cqcvfi0r22gavjpg4si6nwrgc8sg82x24m6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/templates-sommer")
    (synopsis "Templates for TeX usage")
    (description
     "This package provides a set of templates for using LaTeX packages that the
author uses, comprising:

@itemize
@item @file{hausarbeit.tex}: for students of the Lehrstuhl Volkskunde an der
Friedrich-Schiller-Universitat Jena,
@item @file{psycho-Dipl.tex}: for diploma theses in psychology.
@end itemize")
    (license license:lppl)))

(define-public texlive-termcal-de
  (package
    (name "texlive-termcal-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/termcal-de/"
                                     "source/latex/termcal-de/"
                                     "tex/latex/termcal-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0av913y88vfv0yb68xx1lrqpxd8hwx8x7zzb1qcb2d9r5ry1l8z7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termcal-de")
    (synopsis "German localization for @code{termcal}")
    (description
     "This package provides a German localization to the @code{termcal}
package written by Bill Mitchell, which is intended to print a term calendar
for use in planning a class.")
    (license license:lppl1.3c)))

(define-public texlive-tex4ht
  (package
    (name "texlive-tex4ht")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex4ht/"
                                     "scripts/tex4ht/"
                                     "source/generic/tex4ht/"
                                     "tex/generic/tex4ht/"
                                     "tex4ht/base/unix/"
                                     "tex4ht/base/win32/"
                                     "tex4ht/bin/"
                                     "tex4ht/ht-fonts/alias/"
                                     "tex4ht/ht-fonts/aliase/mathtime/"
                                     "tex4ht/ht-fonts/ascii/manfnt/"
                                     "tex4ht/ht-fonts/cp1256/charset/"
                                     "tex4ht/ht-fonts/css/emacspeak/cm/"
                                     "tex4ht/ht-fonts/dbcs/cjk/b5ka/"
                                     "tex4ht/ht-fonts/gb2312/charset/"
                                     "tex4ht/ht-fonts/gbk/charset/"
                                     "tex4ht/ht-fonts/html-speech/charset/"
                                     "tex4ht/ht-fonts/iso8859/1/charset/"
                                     "tex4ht/ht-fonts/iso8859/1/chess/"
                                     "tex4ht/ht-fonts/iso8859/1/cm/"
                                     "tex4ht/ht-fonts/iso8859/1/devanagari/"
                                     "tex4ht/ht-fonts/iso8859/1/euro/"
                                     "tex4ht/ht-fonts/iso8859/1/go/"
                                     "tex4ht/ht-fonts/iso8859/1/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/1/ipa/"
                                     "tex4ht/ht-fonts/iso8859/1/mathtime/"
                                     "tex4ht/ht-fonts/iso8859/1/mongolian/"
                                     "tex4ht/ht-fonts/iso8859/1/ps2mf/"
                                     "tex4ht/ht-fonts/iso8859/1/sw/"
                                     "tex4ht/ht-fonts/iso8859/1/tibetan/"
                                     "tex4ht/ht-fonts/iso8859/1/xypic/"
                                     "tex4ht/ht-fonts/iso8859/2/charset/"
                                     "tex4ht/ht-fonts/iso8859/2/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/5/charset/"
                                     "tex4ht/ht-fonts/iso8859/5/cm/sauter/"
                                     "tex4ht/ht-fonts/iso8859/5/cyrillic/"
                                     "tex4ht/ht-fonts/iso8859/5/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/5/lh/lh-t2a/"
                                     "tex4ht/ht-fonts/iso8859/6/charset/"
                                     "tex4ht/ht-fonts/iso8859/6/html/charset/"
                                     "tex4ht/ht-fonts/iso8859/7/charset/"
                                     "tex4ht/ht-fonts/iso8859/8/hebrew/"
                                     "tex4ht/ht-fonts/jsml/charset/"
                                     "tex4ht/ht-fonts/koi/8r/charset/"
                                     "tex4ht/ht-fonts/koi/8r/lh/lh-t2a/"
                                     "tex4ht/ht-fonts/mozilla/charset/"
                                     "tex4ht/ht-fonts/ooffice/charset/"
                                     "tex4ht/ht-fonts/share/adobe/helvetic/"
                                     "tex4ht/ht-fonts/symbol/charset/"
                                     "tex4ht/ht-fonts/symbol/cyrillic/"
                                     "tex4ht/ht-fonts/symbol/hebrew/"
                                     "tex4ht/ht-fonts/symbol/mathtime/"
                                     "tex4ht/ht-fonts/unicode/Baskervaldx/"
                                     "tex4ht/ht-fonts/unicode/Century_Schoolbook_L/"
                                     "tex4ht/ht-fonts/unicode/EB_Garamond_Initials/"
                                     "tex4ht/ht-fonts/unicode/EB_Garamond_Italic/"
                                     "tex4ht/ht-fonts/unicode/EB_Garamond_Regular/"
                                     "tex4ht/ht-fonts/unicode/Fourier-Math-Extension/"
                                     "tex4ht/ht-fonts/unicode/Fourier-Math-Letters/"
                                     "tex4ht/ht-fonts/unicode/Fourier-Math-Symbols/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Ex/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Exa/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Sy/"
                                     "tex4ht/ht-fonts/unicode/Kp--M-Sya/"
                                     "tex4ht/ht-fonts/unicode/Kp--M/"
                                     "tex4ht/ht-fonts/unicode/Kp-Companion/"
                                     "tex4ht/ht-fonts/unicode/Kp-Expert/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Ex/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Sy/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Syb/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Syc/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M-Syd/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-M/"
                                     "tex4ht/ht-fonts/unicode/Kp-Light-SmallCaps/"
                                     "tex4ht/ht-fonts/unicode/Kp-SC-Expert/"
                                     "tex4ht/ht-fonts/unicode/Kp-SmallCaps/"
                                     "tex4ht/ht-fonts/unicode/Kp/"
                                     "tex4ht/ht-fonts/unicode/LibertineMath/"
                                     "tex4ht/ht-fonts/unicode/Linux_Biolinum_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_Display_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_Initials_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_Mono_T/"
                                     "tex4ht/ht-fonts/unicode/Linux_Libertine_T/"
                                     "tex4ht/ht-fonts/unicode/MinLib/"
                                     "tex4ht/ht-fonts/unicode/MnSymbol/"
                                     "tex4ht/ht-fonts/unicode/NCXFourierMath/"
                                     "tex4ht/ht-fonts/unicode/NewTXMath/"
                                     "tex4ht/ht-fonts/unicode/Nimbus_Roman_No9_L/"
                                     "tex4ht/ht-fonts/unicode/Open_Sans_ExtraBold/"
                                     "tex4ht/ht-fonts/unicode/Open_Sans_Light/"
                                     "tex4ht/ht-fonts/unicode/STIX/"
                                     "tex4ht/ht-fonts/unicode/STIX_Two/"
                                     "tex4ht/ht-fonts/unicode/Sf-Kp-Sc/"
                                     "tex4ht/ht-fonts/unicode/Spectral/"
                                     "tex4ht/ht-fonts/unicode/TeXGyreTermes/"
                                     "tex4ht/ht-fonts/unicode/TeXGyreTermesX/"
                                     "tex4ht/ht-fonts/unicode/Tt-Kp-Exp/"
                                     "tex4ht/ht-fonts/unicode/Tt-Kp/"
                                     "tex4ht/ht-fonts/unicode/URW_Chancery_L/"
                                     "tex4ht/ht-fonts/unicode/Utopia/"
                                     "tex4ht/ht-fonts/unicode/adobe/courier/"
                                     "tex4ht/ht-fonts/unicode/adobe/helvetic/"
                                     "tex4ht/ht-fonts/unicode/adobe/mathptm/"
                                     "tex4ht/ht-fonts/unicode/adobe/palatino/"
                                     "tex4ht/ht-fonts/unicode/adobe/symbol/"
                                     "tex4ht/ht-fonts/unicode/adobe/times/"
                                     "tex4ht/ht-fonts/unicode/adobe/zapfding/"
                                     "tex4ht/ht-fonts/unicode/ae/"
                                     "tex4ht/ht-fonts/unicode/ams/cyrillic/"
                                     "tex4ht/ht-fonts/unicode/ams/euler/"
                                     "tex4ht/ht-fonts/unicode/ams/symbols/"
                                     "tex4ht/ht-fonts/unicode/antt/"
                                     "tex4ht/ht-fonts/unicode/arabi/"
                                     "tex4ht/ht-fonts/unicode/arev/"
                                     "tex4ht/ht-fonts/unicode/arphic/"
                                     "tex4ht/ht-fonts/unicode/bbold/"
                                     "tex4ht/ht-fonts/unicode/bitstrea/charter/"
                                     "tex4ht/ht-fonts/unicode/cbgreek/"
                                     "tex4ht/ht-fonts/unicode/cfrinitials/"
                                     "tex4ht/ht-fonts/unicode/charset/"
                                     "tex4ht/ht-fonts/unicode/chess/"
                                     "tex4ht/ht-fonts/unicode/cjk/b5ka/"
                                     "tex4ht/ht-fonts/unicode/cjk/gbksong/"
                                     "tex4ht/ht-fonts/unicode/cjk/utf8/"
                                     "tex4ht/ht-fonts/unicode/cm/"
                                     "tex4ht/ht-fonts/unicode/coch/"
                                     "tex4ht/ht-fonts/unicode/concrete/"
                                     "tex4ht/ht-fonts/unicode/cs/"
                                     "tex4ht/ht-fonts/unicode/currency/"
                                     "tex4ht/ht-fonts/unicode/cyklop/"
                                     "tex4ht/ht-fonts/unicode/cyrillic/cmcyr/"
                                     "tex4ht/ht-fonts/unicode/dstroke/"
                                     "tex4ht/ht-fonts/unicode/ebg/"
                                     "tex4ht/ht-fonts/unicode/ec/"
                                     "tex4ht/ht-fonts/unicode/erewMath/"
                                     "tex4ht/ht-fonts/unicode/fontawesome/"
                                     "tex4ht/ht-fonts/unicode/fourier-orns/"
                                     "tex4ht/ht-fonts/unicode/futr-sup/"
                                     "tex4ht/ht-fonts/unicode/futrc9d/"
                                     "tex4ht/ht-fonts/unicode/futrd8t/"
                                     "tex4ht/ht-fonts/unicode/greek/ibygrk/"
                                     "tex4ht/ht-fonts/unicode/hebrew/"
                                     "tex4ht/ht-fonts/unicode/html/charset/"
                                     "tex4ht/ht-fonts/unicode/iwona/"
                                     "tex4ht/ht-fonts/unicode/jknappen/tc/"
                                     "tex4ht/ht-fonts/unicode/latex/"
                                     "tex4ht/ht-fonts/unicode/lh/lh-t2a/"
                                     "tex4ht/ht-fonts/unicode/libertine/"
                                     "tex4ht/ht-fonts/unicode/libertinus/"
                                     "tex4ht/ht-fonts/unicode/lm/"
                                     "tex4ht/ht-fonts/unicode/marvosym/"
                                     "tex4ht/ht-fonts/unicode/math/"
                                     "tex4ht/ht-fonts/unicode/mathabx/"
                                     "tex4ht/ht-fonts/unicode/mathdesign/"
                                     "tex4ht/ht-fonts/unicode/mathkerncmssi/"
                                     "tex4ht/ht-fonts/unicode/mathtime/"
                                     "tex4ht/ht-fonts/unicode/mflogo/"
                                     "tex4ht/ht-fonts/unicode/misc/"
                                     "tex4ht/ht-fonts/unicode/musix/"
                                     "tex4ht/ht-fonts/unicode/ntxsups/"
                                     "tex4ht/ht-fonts/unicode/ntxtm/"
                                     "tex4ht/ht-fonts/unicode/pl/"
                                     "tex4ht/ht-fonts/unicode/public/"
                                     "tex4ht/ht-fonts/unicode/pxfonts/"
                                     "tex4ht/ht-fonts/unicode/stickstooMath/"
                                     "tex4ht/ht-fonts/unicode/stmaryrd/"
                                     "tex4ht/ht-fonts/unicode/stxickstooMath/"
                                     "tex4ht/ht-fonts/unicode/t1xtt/"
                                     "tex4ht/ht-fonts/unicode/tcxtt/"
                                     "tex4ht/ht-fonts/unicode/tibetan/"
                                     "tex4ht/ht-fonts/unicode/tipa/"
                                     "tex4ht/ht-fonts/unicode/txbexs/"
                                     "tex4ht/ht-fonts/unicode/txbmiaX/"
                                     "tex4ht/ht-fonts/unicode/txbsys/"
                                     "tex4ht/ht-fonts/unicode/txexas/"
                                     "tex4ht/ht-fonts/unicode/txexs/"
                                     "tex4ht/ht-fonts/unicode/txfonts/"
                                     "tex4ht/ht-fonts/unicode/txmiaX/"
                                     "tex4ht/ht-fonts/unicode/txsyb/"
                                     "tex4ht/ht-fonts/unicode/txsyc/"
                                     "tex4ht/ht-fonts/unicode/txsys/"
                                     "tex4ht/ht-fonts/unicode/txtt/"
                                     "tex4ht/ht-fonts/utf8/charset/"
                                     "tex4ht/ht-fonts/viqr/charset/"
                                     "tex4ht/ht-fonts/viscii/charset/"
                                     "tex4ht/ht-fonts/win/1251/charset/"
                                     "tex4ht/ht-fonts/win/1251/cm/sauter/"
                                     "tex4ht/ht-fonts/win/1251/cyrillic/"
                                     "tex4ht/ht-fonts/win/1251/lh/lh-t2a/"
                                     "tex4ht/xtpipes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p9kf450xkf8zic6sfhwbxvvkigxf8gqcrl41l308lsvgykiv87k"))))
    (outputs '("out" "doc"))
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-tex4ht-bin))
    (home-page "https://ctan.org/pkg/tex4ht")
    (synopsis "Convert (La)TeX to HTML/XML")
    (description
     "This package provides a converter from TeX and LaTeX to SGML-based
formats such as (X)HTML, MathML, OpenDocument, and Docbook, providing
a configurable (La)TeX-based authoring system for hypertext.  TeX4ht does not
independently parse (La)TeX source (so it avoids the difficulties encountered
by many other converters, arising from the irregularity of (La)TeX syntax).
Instead, TeX4ht uses (La)TeX itself (with myriad macro modifications) to
produce a helper DVI file that it can then process.  This technique allows
TeX4ht to approach the robustness characteristic of restricted-syntax systems
such as @code{gellmu}.")
    (license license:lppl)))

(define-public texlive-tex4ht-bin
  (package
    (inherit texlive-bin)
    (name "texlive-tex4ht-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("tex4htk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-tex4htk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/tex4htk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/tex4htk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list perl texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-tex4ht))
    (synopsis "Binaries for @code{texlive-tex4ht}")
    (description
     "This package provides the binaries for @code{texlive-tex4ht}.")
    (license (package-license texlive-tex4ht))))

(define-public texlive-tex4ebook
  (package
    (name "texlive-tex4ebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/tex4ebook/"
                                     "scripts/tex4ebook/" "tex/latex/tex4ebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03yg3lryql7lfh5rbdhak6j8mlafrn1rhmi514la3vaccq9p2lc1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "tex4ebook")))
    (propagated-inputs (list texlive-make4ht texlive-tex4ht))
    (home-page "https://ctan.org/pkg/tex4ebook")
    (synopsis "Converter from LaTeX to EBook formats")
    (description
     "This is a bundle of Lua scripts and LaTeX packages for conversion of
LaTeX files to EBook formats such as EPUB, MOBI and EPUB3.  TeX4ht is used as
the conversion engine.")
    (license license:lppl1.3+)))

(define-public texlive-texaccents
  (package
    (name "texlive-texaccents")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texaccents.1"
                                     "doc/man/man1/texaccents.man1.pdf"
                                     "doc/support/texaccents/"
                                     "scripts/texaccents/"
                                     "source/support/texaccents/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kh4cpvrxgcvnmzxgb3my4jawyqd4348cy6h195346pvdb5xsphh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texaccents.sno")))
    (home-page "https://ctan.org/pkg/texaccents")
    (synopsis "Convert composite accented characters to Unicode")
    (description
     "This small utility, written in SNOBOL, converts the composition of
special characters to Unicode.")
    (license license:expat)))

(define-public texlive-texcount
  (package
    (name "texlive-texcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texcount/" "scripts/texcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ab1kp0zh2r65x1v42sc5bwxmlifa8splrakq589fgd0aap0l8n1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texcount.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texcount")
    (synopsis "Count words in a LaTeX document")
    (description
     "TeXcount is a Perl script that counts words in the text of LaTeX files.
It has rules for handling most of the common macros, and can provide
colour-coded output showing which parts of the text have been counted.")
    (license license:lppl)))

(define-public texlive-texdef
  (package
    (name "texlive-texdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texdef/" "scripts/texdef/"
                                     "source/support/texdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jkc6c4nvzp228d7dcmp0gv2q5qassjq1p40fz4pmbxiyias7zw3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "texdef.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'link-scripts 'add-symlink
            (lambda _
              (with-directory-excursion (string-append #$output "/bin")
                (symlink "texdef" "latexdef")))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texdef")
    (synopsis "Display the definitions of TeX commands")
    (description
     "This (Perl) script displays the definitions of (La)TeX command
sequences/macros.  Various options allow the selection of the used class as
well as package files and other factors that may influence the
definition (before/after the preamble, inside an environment, ...).  The
script creates a temporary TeX file which is then compiled using (La)TeX to
find the @code{\\meaning} of the command sequence.  The result is formatted
and presented to the user.  Length or number command sequences (dimensions,
@code{\\char}..., count registers, ...)  are recognized and the contained
value is also shown (using @code{\\the}).  Special definitions like protected
macros are also recognized and the underlying macros are shown as well.  The
script will show plain TeX definitions by default.  LaTeX and ConTeXt are
supported, including flavours (pdf(La)TeX, Lua(La)TeX, Xe(La)TeX, ...).  The
flavour can be selected using a command line option, or via the script name:
@command{latexdef} will use LaTeX as default, etc.")
    (license license:gpl3)))

(define-public texlive-texdiff
  (package
    (name "texlive-texdiff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdiff.1"
                                     "doc/man/man1/texdiff.man1.pdf"
                                     "doc/support/texdiff/" "scripts/texdiff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cp2k217ziwdgh5c7lg22p58ajv7j410ncag620lkdwajc5jqx1d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texdiff")))
    (home-page "https://ctan.org/pkg/texdiff")
    (synopsis "Compare documents and produce tagged merge")
    (description
     "Two files are compared and a new TeX file is output.  When the output
file is processed with (La)TeX it marks new changes with blue and old text
with red with a strike-through line.  Furthermore, passages with changes are
marked at the margin with grey bars by the LaTeX @code{changebar} package.")
    (license license:artistic2.0)))

(define-public texlive-texdirflatten
  (package
    (name "texlive-texdirflatten")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdirflatten.1"
                                     "doc/man/man1/texdirflatten.man1.pdf"
                                     "doc/support/texdirflatten/"
                                     "scripts/texdirflatten/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f2h9qlqfml9p83znxh81i7cmwfbsr0zrladrf3486v4aja859kx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texdirflatten")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texdirflatten")
    (synopsis "Collect files related to a LaTeX job in a single directory")
    (description
     "The Perl script parses a LaTeX file recursively, scanning all child
files, and collects details of any included and other data files.  These
component files, are then all put into a single directory (thus flattening the
document's directory tree).")
    (license license:artistic2.0)))

(define-public texlive-texdoc
  (package
    (name "texlive-texdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdoc.1"
                                     "doc/man/man1/texdoc.man1.pdf"
                                     "doc/support/texdoc/" "scripts/texdoc/"
                                     "texdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vcnsiknl3x1gp62cf3vv4810rcb83rnvfkhsz74bsdn2kcrbz97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "texdoc.tlu")
      #:phases
      #~(modify-phases %standard-phases
          ;; The following phase prevents the following warning: "Info:
          ;; Running Texdoc not installed in the current TEXMFMAIN".
          (add-after 'unpack 'eschew-warning
            (lambda _
              (substitute* "scripts/texdoc/texdoc.tlu"
                (("if texmf ~= nil") "if false"))))
          ;; `kpse.find_file' is not able to locate "texlive.tlpdb", resulting
          ;; in the following error: "texdoc error: No texlive.tlpdb nor
          ;; shipped tlpdb data found".  This phase explicitly points `texdoc'
          ;; into the right direction.
          (add-after 'unpack 'set-tlpdb-location
            (lambda* (#:key native-inputs inputs #:allow-other-keys)
              (let ((tlpdb (search-input-file (or native-inputs inputs)
                                              "/share/tlpkg/texlive.tlpdb")))
                (substitute* "scripts/texdoc/texdoclib-const.tlu"
                  (("(local tlpdb=\").*" _ prefix)
                   (string-append prefix tlpdb "\"\n")))
                (substitute* "scripts/texdoc/texdoclib-search.tlu"
                  (("(local texlive_tlpdb = ).*" _ prefix)
                   (string-append prefix "'" tlpdb "'\n")))))))))
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/texdoc")
    (synopsis "Documentation access for TeX Live")
    (description
     "@command{texdoc} is a Lua script providing easy access to the
documentation in TeX Live: PDF, DVI, plain text files, and more.  Viewing and
other configuration can be extensively customized.")
    (license license:gpl3+)))

(define-public texlive-texdoctk
  (package
    (name "texlive-texdoctk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texdoctk.1"
                                     "doc/man/man1/texdoctk.man1.pdf"
                                     "scripts/texdoctk/" "texdoctk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18xxivpgjdh8v6kg0b45zjv18sm9a4ljpwk6a4cghg5l5yggrjcx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl-tk")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "texdoctk.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'link-scripts 'wrap-perl-script
            (lambda _
              (wrap-program (string-append #$output "/bin/texdoctk")
                `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
    (inputs (list perl perl-tk))
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/texdoctk")
    (synopsis "Easy access to package documentation")
    (description
     "This package provides a Perl/Tk-based GUI for easy access to package
documentation for TeX on Unix platforms; the databases it uses are based on
the texmf/doc subtrees of teTeX, but database files for local configurations
with modified/extended directories can be derived from them.  Note that
@command{texdoctk} is not a viewer itself, but an interface for finding
documentation files and opening them with the appropriate viewer; so it relies
on appropriate programs to be installed on the system.  However, the choice of
these programs can be configured by the sysadmin or user.")
    (license license:gpl3+)))

(define-public texlive-texdraw
  (package
    (name "texlive-texdraw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/texdraw.info"
                                     "doc/support/texdraw/"
                                     "tex/generic/texdraw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pqrmyc8jnwk06qbrf18cyny1z4ncq0snp4jc0r7qgnh6bmlbncs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texdraw")
    (synopsis "Graphical macros, using embedded PostScript")
    (description
     "TeXdraw is a set of macro definitions for TeX, which allow the user to
produce PostScript drawings from within TeX and LaTeX.  TeXdraw has been
designed to be extensible.  Drawing segments are relocatable, self-contained
units.  Using a combination of TeX's grouping mechanism and the
@code{gsave}/@code{grestore} mechanism in PostScript, drawing segments allow
for local changes to the scaling and line parameters.  Using TeX's macro
definition capability, new drawing commands can be constructed from drawing
segments.")
    (license license:cc-by4.0)))

(define-public texlive-texfot
  (package
    (name "texlive-texfot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texfot.1"
                                     "doc/man/man1/texfot.man1.pdf"
                                     "doc/support/texfot/" "scripts/texfot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qa4diwssmm73dz0nsc4ypfakknzvraq3zxh5yhbyxwysi33v3ph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texfot.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texfot")
    (synopsis "Filter clutter from the output of a TeX run")
    (description
     "The package provides a small Perl script to filter the online output
from a TeX run, attempting to show only those messages which probably deserve
some change in the source.  The TeX invocation itself need not change.")
    (license license:public-domain)))

(define-public texlive-texliveonfly
  (package
    (name "texlive-texliveonfly")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texliveonfly/"
                                     "scripts/texliveonfly/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15nrgkh9wkaccbyd8jgcyw5xjjhqj3jyy3spbfd679fywq14l8c2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texliveonfly.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/texliveonfly")
    (synopsis "On-the-fly download of missing TeX live packages")
    (description
     "The package provides a script that performs on the fly downloads of
missing packages, while a document is being compiled.  To use the script,
replace your (LaTeX) compilation command with @samp{texliveonfly.py
file.tex}.")
    (license license:gpl3)))

(define-public texlive-texloganalyser
  (package
    (name "texlive-texloganalyser")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texloganalyser/"
                                     "scripts/texloganalyser/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qlrpqwfyakhh163ckznw5z8jwm5frp3krpi7fxnf9pz03c7shhr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texloganalyser")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texloganalyser")
    (synopsis "Analyse TeX logs")
    (description
     "This Perl script allows the user to extract (and display) elements of
the log file.")
    (license license:bsd-2)))

(define-public texlive-texlogfilter
  (package
    (name "texlive-texlogfilter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texlogfilter.1"
                                     "doc/man/man1/texlogfilter.man1.pdf"
                                     "doc/support/texlogfilter/"
                                     "scripts/texlogfilter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wf3g3m2n82n443aq3hfpnj0wzz6r4j8qwg78s6k2fm63x7s14ll"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texlogfilter")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/texlogfilter")
    (synopsis "Filter LaTeX engines output or log file")
    (description
     "@command{texlogfilter} is a Perl script designed to filter LaTeX engines
output or log file (LaTeX, pdfLaTeX, LuaLaTeX or XeLaTeX).  It reduces the
LaTeX output or log to keep only warnings and errors.  The result is
colorised.  Options allow to mask specific warnings, such as box or
references/citations warnings.  It's also possible to add custom filter
patterns.")
    (license license:lppl1.3+)))

(define-public texlive-texlogsieve
  (package
    (name "texlive-texlogsieve")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/texlogsieve.1"
                                     "doc/man/man1/texlogsieve.man1.pdf"
                                     "doc/support/texlogsieve/"
                                     "scripts/texlogsieve/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dgfq5crqqfvcfmpbbx70mbhanir3iyqzxni8zxkyrc1fljibjay"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texlogsieve")))
    (home-page "https://ctan.org/pkg/texlogsieve")
    (synopsis "Filter and summarize LaTeX log files")
    (description
     "@command{texlogsieve} reads a LaTeX log file (or the standard input if
no file is specified), filters out less relevant messages, and displays
a summary report.")
    (license license:gpl3+)))

(define-public texlive-texnegar
  (package
    (name "texlive-texnegar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texnegar/"
                                     "source/latex/texnegar/"
                                     "tex/latex/texnegar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rza5bmn7cm85aznnffpmfv6b8776jxkpfwhs0y04f83sdjapw63"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texnegar")
    (synopsis "Kashida justification in XeLaTeX and LuaLaTeX")
    (description
     "In some cursive scripts such as Persian or Arabic, kashida is used to
create justification.  In this type of justification characters are elongated
rather than expanding spaces between words.  This package extends the kashida
justification to be used with the LuaTeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-texosquery
  (package
    (name "texlive-texosquery")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texosquery/"
                                     "scripts/texosquery/"
                                     "source/support/texosquery/"
                                     "tex/latex/texosquery/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17s947p011qar5aaz11ysby3nqqrnk0qv4m26hsl5y6divqb2dan"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts
           #~(list "texosquery-jre5.sh" "texosquery-jre8.sh" "texosquery.sh")))
    (home-page "https://ctan.org/pkg/texosquery")
    (synopsis "Java application to query OS information")
    (description
     "This package provides a Java application to query OS information
designed for use in TeX's shell escape mechanism.  The application can query
the following:

@itemize
@item locale and codeset,
@item current working directory,
@item user home directory
@item temporary directory,
@item OS name, arch and version,
@item current date and time in PDF format (for TeX formats that don't provide
@code{\\pdfcreationdate}),
@item date-time stamp of a file in PDF format (for TeX formats that don't
provide @code{\\pdffilemoddate}),
@item size of a file in bytes (for TeX formats that don't provide
@code{\\pdffilesize}),
@item contents of a directory (captured as a list),
@item directory contents filtered by regular expression (captured as a list),
@item URI or canonical path of a file.  All paths use a forward slash as
directory divider so results can be used, for example, in commands like
@code{\\includegraphics}.
@end itemize

There are files provided for easy access in TeX documents.
@file{texosquery.tex} provides generic TeX code, whereas @file{texosquery.sty}
is a LaTeX package, which provides commands to run @command{texosquery} using
TeX's shell escape mechanism and capture the result in a control sequence.")
    (license license:lppl1.3+)))

(define-public texlive-texplate
  (package
    (name "texlive-texplate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/texplate/"
                                     "scripts/texplate/"
                                     "source/support/texplate/main/kotlin/org/islandoftex/texplate/"
                                     "source/support/texplate/main/resources/org/islandoftex/texplate/templates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "027vfbqm95ysp7sqlcz3p5b2107mcjg540x73nsf2d1g83k4ps4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "texplate.sh")))
    (home-page "https://ctan.org/pkg/texplate")
    (synopsis "Tool for creating document structures based on templates")
    (description
     "TeXplate is a tool for creating document structures based on templates.
The application name is a word play on TeX and template, so the purpose seems
quite obvious: we want to provide an easy and straightforward framework for
reducing the typical code boilerplate when writing TeX documents.  Also note
that one can easily extrapolate the use beyond articles and theses: the
application is powerful enough to generate any text-based structure, given
that a corresponding template exists.")
    (license license:bsd-3)))

(define-public texlive-texproposal
  (package
    (name "texlive-texproposal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texproposal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yxb3yagljsdp4s07fzd6498889i7cscch68fb77jbfc2z4srvsy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texproposal")
    (synopsis "Proposal prototype for LaTeX promotion in Chinese universities")
    (description
     "This package contains the original source code and necessary attachment
of the document @emph{Proposal for Offering TeX Courses and Relevant Resources
in Chongqing University}.  This proposal could be helpful if one is
considering to suggest their (Chinese) university or company to use TeX (or
LaTeX, or XeLaTeX} as a typesetting system.

The present proposal mainly explains the importance and necessity of
introducing TeX, a typesetting system often used in academic writing, to
students and teachers.  This proposal starts from a brief introduction of TeX,
then steps further into its fascinating application to academic writing and
dissertation formatting.  Finally, a set of possible implementation strategies
with regard to the proper introduction of TeX and relevant resources to our
university, is proposed.")
    ;; The content of the project itself is released under CC-BY 4.0 terms,
    ;; but the underlying code used to format and display that content is
    ;; licensed under the Expat license.
    (license (list license:cc-by4.0 license:expat))))

(define-public texlive-texware
  (package
    (name "texlive-texware")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvitype.1"
                                     "doc/man/man1/dvitype.man1.pdf"
                                     "doc/man/man1/pooltype.1"
                                     "doc/man/man1/pooltype.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12kiigypny8rnbvxrx63q1cakjl50dp3n6ky9vpild36kn06a8ah"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-texware-bin))
    (home-page "https://ctan.org/pkg/texware")
    (synopsis "Utility programs for use with TeX")
    (description
     "This package provides basic utility programs, comprising:
@command{dvitype}, which converts a TeX output (DVI) file to a plain text
file; @command{pooltype}, which converts a TeX-suite program's pool (string)
file into human-readable form; @command{tftopl} and @command{pltotf}, which
convert TeX Font Metric (TFM) file to human readable Property List (PL) files
and vice versa.")
    (license license:public-domain)))

(define-public texlive-texware-bin
  (package
    (inherit texlive-bin)
    (name "texlive-texware-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (let ((bin (string-append #$output "/bin"))
                        (files '("dvitype" "pooltype")))
                    (for-each (lambda (f) (invoke "make" f)) files)
                    (for-each (lambda (f) (install-file f bin)) files)))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-texware))
    (synopsis "Binaries for @code{texlive-texware}")
    (description
     "This package provides the binaries for @code{texlive-texware}.")
    (license (package-license texlive-texware))))

(define-public texlive-ticollege
  (package
    (name "texlive-ticollege")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ticollege/"
                                     "tex/latex/ticollege/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qbng6vq8w3ln2aw2kckbjih8hz3m2yr1b0bx8bx1a7bf5fhmd6i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ticollege")
    (synopsis
     "Graphical representation of keys on a standard scientific calculator")
    (description
     "This package provides commands to draw scientific calculator keys with
the help of TikZ.  It also provides commands to draw the content of screens
and of menu items.")
    (license license:lppl)))

(define-public texlive-tie
  (package
    (name "texlive-tie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tie.1"
                                     "doc/man/man1/tie.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rr0j2a76jwikg6a8fp9mvacwzk90nndknv9px42c2zx2bsdaqz8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/tie")
    (synopsis "Allow multiple web change files")
    (description
     "Tie was originally developed to allow web programmers to apply more than
one change file to their source.  The program may also be used to create a new
version of a @file{.web} file that incorporates existing changes.")
    ;; The license, provided as the "tie.w" source file, is morally equivalent
    ;; to CC BY-SA.
    (license (license:fsf-free "file://tie.w"))))

(define-public texlive-tikz-3dplot
  (package
    (name "texlive-tikz-3dplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-3dplot/"
                                     "tex/latex/tikz-3dplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05hw2wxs4q477x16ffh6wcmypdf7mz7500dxnfywiqi0pgzmnh89"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-3dplot")
    (synopsis "Coordinate transformation styles for 3d plotting in TikZ")
    (description
     "The package provides straightforward ways to define three-dimensional
coordinate frames through which to plot in TikZ.  The user can specify the
orientation of the main coordinate frame, and use standard TikZ commands and
coordinates to render their @code{tikzfigure}.  A secondary coordinate frame
is provided to allow rotations and translations with respect to the main
coordinate frame.  In addition, the package can also handle plotting
user-specified functions in spherical polar coordinates, where both the radius
and fill color can be expressed as parametric functions of polar angles.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-among-us
  (package
    (name "texlive-tikz-among-us")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-among-us/"
                                     "tex/latex/tikz-among-us/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rrkzh1hain7mvnx4r5s7pccxvcj0izjbjwyrjg3nwin03mqqxy1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-among-us")
    (synopsis "Create some AmongUs characters in TikZ environments")
    (description
     "This package recreates some AmongUs characters in TikZ environments.
Some interesting uses alongside other packages are also supported.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-bagua
  (package
    (name "texlive-tikz-bagua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-bagua/"
                                     "tex/latex/tikz-bagua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kn0ggpxz5ksnnxsfhbhavik7n8mpblm9x3qjxcsg2qhs286lwyh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-bagua")
    (synopsis "Draw Bagua symbols in Yijing")
    (description
     "This package provides commands for drawing symbols in Yijing (I Ching)
or Zhouyi using TikZ.  There is no need for extra special fonts for showing
these symbols.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-bayesnet
  (package
    (name "texlive-tikz-bayesnet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-bayesnet/"
                                     "tex/latex/tikz-bayesnet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fmm93h0kl6q45sglfz1ssrnj20sqds9kvamf1dqzmfw2g77qwqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-bayesnet")
    (synopsis
     "Draw Bayesian networks, graphical models and directed factor graphs")
    (description
     "The package provides a library supporting the display of Bayesian networks,
graphical models and (directed) factor graphs in LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-bbox
  (package
    (name "texlive-tikz-bbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-bbox/"
                                     "tex/latex/tikz-bbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h224gmdbx63dff0zikv9grf5p7780rdxng2ws9d68k7rk961lb7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-bbox")
    (synopsis "Precise determination of bounding boxes in TikZ")
    (description
     "The built-in determination of the bounding box in TikZ is not entirely
accurate.  This is because, for Bezier curves, it is the smallest box that
contains all control points, which is in general larger than the box that just
contains the curve.  This library determines the exact bounding box of the
curve.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-cd
  (package
    (name "texlive-tikz-cd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-cd/" "tex/generic/tikz-cd/"
                                     "tex/latex/tikz-cd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "188vd02cwy7r58cnam4aj4lq1jp295mmn3q1w3ki7p6n8v1gnl0c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-cd")
    (synopsis "Create commutative diagrams with TikZ")
    (description
     "The general-purpose drawing package TiKZ can be used to typeset
commutative diagrams and other kinds of mathematical pictures.  The purpose of
this package is to make the process of creation of such diagrams easier by
providing a convenient set of macros and reasonable default settings.  This
package also includes an arrow tip library that match closely the arrows
present in the Computer Modern typeface.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-dependency
  (package
    (name "texlive-tikz-dependency")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-dependency/"
                                     "tex/latex/tikz-dependency/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12a31jqrxlaj8jj5f7p9vgwp8yqinl5ab0c3nfv4b1c9a08p8q3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-dependency")
    (synopsis "Library for drawing dependency graphs")
    (description
     "The package provides a library that draws together existing TikZ
facilities to make a comfortable environment for drawing dependency graphs.
Basic facilities of the package include a lot of styling facilities, to let
you personalize the look and feel of the graphs.")
    (license (list license:lppl license:gpl2))))

(define-public texlive-tikz-dimline
  (package
    (name "texlive-tikz-dimline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-dimline/"
                                     "tex/latex/tikz-dimline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15zxc3zxl8mk0rq3b30d2a89lxlnybih49j8w8c6xsfn5mqbn8br"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-dimline")
    (synopsis "Technical dimension lines using PGF/TikZ")
    (description
     "@code{tikz-dimline} helps drawing technical dimension lines in TikZ
@code{picture} environments.")
    (license license:wtfpl2)))

(define-public texlive-tikz-ext
  (package
    (name "texlive-tikz-ext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-ext/"
                                     "tex/generic/tikz-ext/"
                                     "tex/latex/tikz-ext/" "tex/plain/tikz-ext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ys0brfww0ik6g67gwd3rwiiz8ly0209d4hkkx18vw53sfj0dv2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-ext")
    (synopsis "Collection of libraries for PGF/TikZ")
    (description
     "This is a collection of libraries for PGF/TikZ.  Currently these are
@code{transformations.mirror}, @code{paths.arcto}, @code{paths.ortho},
@code{paths.timer}, @code{patterns.images}, @code{topaths.arcthrough} and
@code{misc}.")
    (license (list license:fdl1.3+ license:lppl))))

(define-public texlive-tikz-feynhand
  (package
    (name "texlive-tikz-feynhand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-feynhand/"
                                     "tex/latex/tikz-feynhand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11cz44yqxm7dhx53h27r3n5q911dhllzfl53a401w1wnybymj84s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-feynhand")
    (synopsis "Feynman diagrams with TikZ")
    (description
     "This package lets you draw Feynman diagrams using TikZ.  It is a low-end
modification of the TikZ-Feynman package, one of whose principal advantages is
the automatic generation of diagrams, for which it needs LuaTeX.
TikZ-FeynHand only provides the manual mode and hence runs in LaTeX without
any reference to LuaTeX.  In addition it provides some new styles for vertices
and propagators, alternative shorter keywords in addition to TikZ-Feynman's
longer ones, some shortcut commands for quickly customizing the diagrams look,
and the new feature of putting one propagator on top of another.")
    (license license:gpl3+)))

(define-public texlive-tikz-feynman
  (package
    (name "texlive-tikz-feynman")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-feynman/"
                                     "tex/latex/tikz-feynman/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yndmpghf3z5jddr3zcm5xw7v7zb6715d870ckjd5gifkvyv3nsy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-iftex texlive-pgfopts))
    (home-page "https://ctan.org/pkg/tikz-feynman")
    (synopsis "Feynman diagrams with TikZ")
    (description
     "This is a LaTeX package allowing Feynman diagrams to be easily generated
within LaTeX with minimal user instructions and without the need of external
programs.  It builds upon the TikZ package and leverages the graph placement
algorithms from TikZ in order to automate the placement of many vertices.
@code{tikz-feynman} allows fine-tuned placement of vertices so that even
complex diagrams can still be generated with ease.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-imagelabels
  (package
    (name "texlive-tikz-imagelabels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-imagelabels/"
                                     "source/latex/tikz-imagelabels/"
                                     "tex/latex/tikz-imagelabels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hvyrkpabnqscnsqz56hby71vpbby03va0xa6gcjjxak65lscwkv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-imagelabels")
    (synopsis "Put labels on images using TikZ")
    (description
     "This package allows to add label texts to an existing image with the aid
of TikZ.  This may be used to label certain features in an image.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-inet
  (package
    (name "texlive-tikz-inet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-inet/"
                                     "tex/latex/tikz-inet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f4n5mp9hb92li2xywfzfrs8hjyrkd15xp97nh5rdgan695hvdpq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-inet")
    (synopsis "Draw interaction nets with TikZ")
    (description
     "The package extends TikZ with macros to draw interaction nets.")
    (license license:lppl)))

(define-public texlive-tikz-kalender
  (package
    (name "texlive-tikz-kalender")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-kalender/"
                                     "tex/latex/tikz-kalender/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cwdssvbaibjf7nla0d88nyzip407kgqvndid2p2gxc0b2afp69f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-kalender")
    (synopsis "LaTeX based calendar using TikZ")
    (description
     "This package generates a calendar included events provided as
@file{.events} files.")
    (license license:cc-by-sa4.0)))

(define-public texlive-tikz-karnaugh
  (package
    (name "texlive-tikz-karnaugh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-karnaugh/"
                                     "tex/latex/tikz-karnaugh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "091s9gavh8f4jya01nkjhzgh3f5b80ijiiaj7simnxawn60mh1z1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-karnaugh")
    (synopsis "Typeset Karnaugh maps using TikZ")
    (description
     "The @code{tikz-karnaugh} package is a LaTeX package used to draw
Karnaugh maps.  It uses TikZ to produce high quality graph from 1 to 12
variables, but this upper limit depends on the TeX memory usage and can be
different for you.  You can control colour, styles and distances.  It can be
considered as an upgrade and extension of Andreas W. Wieland's @code{karnaugh}
package towards TikZ supporting.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-ladder
  (package
    (name "texlive-tikz-ladder")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-ladder/"
                                     "tex/latex/tikz-ladder/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fkq7z58h7g71ag4j77vy87hqgpp5q8qvw7kv1pmkff7ycrj8alw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-ladder")
    (synopsis "Draw ladder diagrams using TikZ")
    (description
     "The @code{tikz-ladder} package contains a collection of symbols for
typesetting ladder diagrams (PLC program) in agreement with the international
standard IEC-61131-3/2013.  It includes blocks (for representing functions and
function blocks) besides contacts and coils.  It extends the circuit library
of TikZ and allows you to draw a ladder diagram in the same way as you would
draw any other circuit.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-lake-fig
  (package
    (name "texlive-tikz-lake-fig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-lake-fig/"
                                     "tex/latex/tikz-lake-fig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vyr3will7jivwc30aj13bm9gjj4nyl02754p42phn0y7gdf82kr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-lake-fig")
    (synopsis "Schematic diagrams of lakes")
    (description
     "This package contains a collection of schematic diagrams of lakes for
use in LaTeX documents.  Diagrams include representations of material budgets,
fluxes, and connectivity arrangements.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-layers
  (package
    (name "texlive-tikz-layers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-layers/"
                                     "tex/latex/tikz-layers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j5wbsybd10zmmiz3lfkb9gzjhxjnbhp7lmdq1fzngywxsb81iz6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-layers")
    (synopsis
     "Add graphical layers on TikZ: @code{behind}, @code{above} and @code{glass}")
    (description
     "TikZ-layers is a tiny package that provides, alongside
@code{background}, typical graphical layers on TikZ: @code{behind},
@code{above} and @code{glass}.  The layers may be selected with one of the
styles @code{on behind layer}, @code{on above layer}, @code{on glass layer} as
an option to a @code{scope} environment.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-mirror-lens
  (package
    (name "texlive-tikz-mirror-lens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-mirror-lens/"
                                     "tex/latex/tikz-mirror-lens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sddmlki3bdd9js9vs1m1haqcdk3g1ji086jp1h4nfw6dy1s6y56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-mirror-lens")
    (synopsis "Spherical mirrors and lenses in TikZ")
    (description
     "This package allows the automatic drawing of the image of objects in
spherical mirrors and lenses from the data of the focus, from the position and
height of the object.  It calculates the position and height of the image, and
also displays the notable rays.")
    (license license:lppl1.3c)))

(define-public texlive-tikz-nef
  (package
    (name "texlive-tikz-nef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-nef/" "tex/latex/tikz-nef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18b2452hfcndqhljq2hn437z6myc45hn62s4bnnjb0f3xnayq1qr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-nef")
    (synopsis "Create diagrams for neural networks")
    (description
     "The @code{nef} TikZ library provides predefined styles and shapes to
create diagrams for neural networks constructed with the methods of
the Neural Engineering Framework (NEF).  The following styles are
supported:
@itemize
@item @code{ea}: ensemble array,
@item @code{ens}: ensemble,
@item @code{ext}: external input or output,
@item @code{inhibt}: inhibitory connection,
@item @code{net}: network,
@item @code{pnode}: pass-through node,
@item @code{rect}: rectification ensemble,
@item @code{recurrent}: recurrent connection.
@end itemize")
    (license license:expat)))

(define-public texlive-tikz-network
  (package
    (name "texlive-tikz-network")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-network/"
                                     "tex/latex/tikz-network/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bs08sxxps4kjvgv53lc07ihkcaz2v1ygdc16vn46yy5dp16w2sz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-network")
    (synopsis "Draw networks with TikZ")
    (description
     "This package allows the creation of images of complex networks that are
seamlessly integrated into the underlying LaTeX files.")
    (license license:gpl3+)))

(define-public texlive-tikz-opm
  (package
    (name "texlive-tikz-opm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-opm/" "tex/latex/tikz-opm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kv26i1lfm9zsvqsajaz9fmz1gv7az3pknk29gg6zwjlg5nxqac3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-opm")
    (synopsis "Typeset OPM diagrams")
    (description
     "This package typesets OPM (Object-Process Methodology) diagrams using
LaTeX and PGF/TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-optics
  (package
    (name "texlive-tikz-optics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-optics/"
                                     "tex/latex/tikz-optics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ii7h57klxq8fjag363wmaaxi9bnds898nl6s1abiqb13pgbmb9n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-optics")
    (synopsis "Library for drawing optical setups with TikZ")
    (description
     "This package provides a new TikZ library designed to easily draw optical
setups with TikZ.  It provides shapes for lens, mirror, etc.  The
geometrically (in)correct computation of light rays through the setup is left
to the user.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-page
  (package
    (name "texlive-tikz-page")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-page/"
                                     "source/latex/tikz-page/"
                                     "tex/latex/tikz-page/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ck1jr37wd7mx8irm0niv43pmfy2ix5s08vybai8k0jgpvvwwi1j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-page")
    (synopsis "Small macro to help building nice and complex layout materials")
    (description
     "The package provides a small macro to help building nice and complex
layout materials.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-palattice
  (package
    (name "texlive-tikz-palattice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-palattice/"
                                     "tex/latex/tikz-palattice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vbzr6821q88x4yipa9czcqgpwnkzkkzynxxbxyzy1kh9657hqvg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-palattice")
    (synopsis "Draw particle accelerator lattices with TikZ")
    (description
     "This package allows for drawing a map of a particle accelerator just by
giving a list of elements --- similar to lattice files for simulation
software.  The package includes 12 common element types like dipoles,
quadrupoles, cavities, or screens, as well as automatic labels with element
names, a legend, a rule, and an environment to fade out parts of the
accelerator.  The coordinate of any element can be saved and used for custom
TikZ drawings or annotations.  Thereby, lattices can be connected to draw
injection/extraction or even a complete accelerator facility.")
    (license license:lppl1.3+)))

(define-public texlive-tikz-planets
  (package
    (name "texlive-tikz-planets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-planets/"
                                     "tex/latex/tikz-planets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sgdkcn0li4k48m0fvhdk6j1kjvh6kzgjbq2jjwnzrdxz97s7hig"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-planets")
    (synopsis "Illustrate celestial mechanics and the solar system")
    (description
     "This TikZ-package makes it easy to illustrate celestial mechanics and
the solar system.  You can use it to draw sketches of the eclipses, the phases
of the Moon, etc.")
    (license license:cc-by-sa4.0)))

(define-public texlive-tikz-qtree
  (package
    (name "texlive-tikz-qtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-qtree/"
                                     "tex/latex/tikz-qtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15w7mr0rhra80rvf4zci2gkd5cy13ijlh64ay0bay87iviwbkn83"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-qtree")
    (synopsis "Use existing Qtree syntax for trees in TikZ")
    (description
     "The package provides a macro for drawing trees with TikZ using the easy
syntax of Alexis Dimitriadis Qtree.  It improves on TikZ's standard
tree-drawing facility by laying out tree nodes without collisions; it improves
on Qtree by adding lots of features from TikZ (for example, edge labels,
arrows between nodes); and it improves on @code{pst-qtree} in being usable
with pdfTeX and XeTeX.")
    (license license:gpl3+)))

(define-public texlive-tikz-relay
  (package
    (name "texlive-tikz-relay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-relay/"
                                     "tex/latex/tikz-relay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06q0iamg001lvqmi51j61xbwamgnhiah0aw9qv61n7fnxqpwj66c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-relay")
    (synopsis "TikZ library for typesetting electrical diagrams")
    (description
     "This package contains a collection of symbols for typesetting electrical
wiring diagrams for relay control systems.  The symbols are meant to be in
agreement with the international standard IEC-60617 which has been adopted
worldwide, with perhaps the exception of the USA.  It extends and modifies,
when needed, the TikZ-libray @code{circuits.ee.IEC}.  A few non-standard
symbols are also included mainly to be used in presentations, particularly
with the @code{beamer} package.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-sfc
  (package
    (name "texlive-tikz-sfc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-sfc/" "tex/latex/tikz-sfc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0blgyqvmnbwafx85mz4gkyhk0g0zqfmsd98gm3h794a4jfs3zl31"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-sfc")
    (synopsis
     "Symbols collection for typesetting Sequential Function Chart (SFC)
diagrams")
    (description
     "This package contains a collection of symbols for typesetting Sequential
Function Chart (SFC) diagrams in agreement with the international standard
IEC-61131-3/2013.  It includes steps (normal and initial), transitions,
actions and actions qualifiers (with and without time duration).  It extends
the circuit library of TikZ and allows you to draw an SFC diagram in same way
you would draw any other circuit.")
    (license license:lppl1.0+)))

(define-public texlive-tikz-swigs
  (package
    (name "texlive-tikz-swigs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-swigs/"
                                     "tex/latex/tikz-swigs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0brbq02vafaajzrwrkg20gy5k3zlzvv7ycgkw0aa20l8rxjcyv71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-swigs")
    (synopsis "Horizontally and vertically split elliptical nodes")
    (description
     "This package provides horizontally and vertically split
elliptical (pairs of) nodes in TikZ.  The package name derives from the fact
that split ellipses of this type are used to represent Single-World
Intervention Graph (SWIG) models which are used in counterfactual causal
inference.")
    (license (list license:lppl1.3c license:gpl3+))))

(define-public texlive-tikz-timing
  (package
    (name "texlive-tikz-timing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-timing/"
                                     "source/latex/tikz-timing/"
                                     "tex/latex/tikz-timing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zs6agcli2glm92z8y89nr4049v5sqvnlddbwlwym5rni33kh1m"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (propagated-inputs (list texlive-svn-prov))
    (home-page "https://ctan.org/pkg/tikz-timing")
    (synopsis "Easy generation of timing diagrams as TikZ pictures")
    (description
     "This package provides macros and an environment to generate timing
diagrams (digital waveforms) without much effort.  The TikZ package is used to
produce the graphics.  A tabular-like environment is provided to produce
larger timing diagrams.")
    (license license:lppl)))

(define-public texlive-tikz-trackschematic
  (package
    (name "texlive-tikz-trackschematic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-trackschematic/"
                                     "tex/latex/tikz-trackschematic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11dak88q9n54i385sjk4nxini2fycdfmhs2h41fdf9k2012ykdnx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-trackschematic")
    (synopsis "TikZ library for creating track diagrams in railways")
    (description
     "This TikZ library is a toolbox of symbols geared primarily towards
creating track schematic for either research or educational purposes.  It
provides a TikZ frontend to some of the symbols which may be needed to
describe situations and layouts in railway operation.  The library is divided
into sublibraries: @code{topology}, @code{trafficcontrol}, @code{vehicles},
@code{constructions}, @code{electrics}, @code{symbology}, and
@code{measures}.")
    (license license:isc)))

(define-public texlive-tikz-truchet
  (package
    (name "texlive-tikz-truchet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikz-truchet/"
                                     "source/latex/tikz-truchet/"
                                     "tex/latex/tikz-truchet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v959iw7swkkam73q759m09s5fcv932gx9d1vqj6n3b2yzxxc85b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikz-truchet")
    (synopsis "Draw Truchet tiles")
    (description
     "This is a package for LaTeX that draws Truchet tiles, as used in Colin
Beveridge's article Too good to be Truchet in issue 08 of Chalkdust.")
    (license license:expat)))

(define-public texlive-tikzbricks
  (package
    (name "texlive-tikzbricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzbricks/"
                                     "tex/latex/tikzbricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wf5hdwpprbbxmd0rrwvk54raiwpv4q6qgd2gpbba6d26bmgjd1w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzbricks")
    (synopsis "Drawing bricks with TikZ")
    (description
     "This package provides a small LaTeX package to draw bricks with TikZ.
The user can modify color, shape, and viewpoint.")
    (license license:lppl1.3c)))

(define-public texlive-tikzcodeblocks
  (package
    (name "texlive-tikzcodeblocks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzcodeblocks/"
                                     "tex/latex/tikzcodeblocks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04c8bjl3l97vsh7cydbh20wnq93my19avkhcf4kh0g5cvq02nizp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzcodeblocks")
    (synopsis "Helps to draw codeblocks like Scratch, NEPO and PXT in TikZ")
    (description
     "@code{tikzcodeblocks} is a LaTeX package for typesetting blockwise
graphic programming languages like Scratch, NEPO or PXT.")
    (license license:lppl1.3c)))

(define-public texlive-tikzducks
  (package
    (name "texlive-tikzducks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tikzducks/"
                                     "tex/generic/tikzducks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cs4mywxcz2r2y7dpbbmc44sc6vjwbqq6b5nqxjwwqdi2khrgqfl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzducks")
    (synopsis "Package for using rubber ducks in TikZ")
    (description
     "The package is a LaTeX package for ducks to be used in TikZ pictures.")
    (license license:lppl1.3c)))

(define-public texlive-tikzfill
  (package
    (name "texlive-tikzfill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzfill/" "tex/latex/tikzfill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11a0mma05wx9v9aprwr7lh1k3njx0xgpbs943rkliy9f1az0lqma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzfill")
    (synopsis "TikZ libraries for filling with images and patterns")
    (description
     "This is a collection of TikZ libraries which add further options to fill
TikZ paths with images and patterns.  The libraries comprise fillings with
images from files and from TikZ pictures.  Also, patterns of hexagons and of
rhombi are provided.")
    (license license:lppl1.3+)))

(define-public texlive-tikzinclude
  (package
    (name "texlive-tikzinclude")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzinclude/"
                                     "source/latex/tikzinclude/"
                                     "tex/latex/tikzinclude/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mcgzbfvj6pksr18813kpnknkdpzlyi0rncbn9g11ac0g0lyzgqq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzinclude")
    (synopsis "Import TikZ images from collections")
    (description
     "The package addresses the problem of importing only one TikZ-image from
a file holding multiple images.")
    (license license:lppl1.3+)))

(define-public texlive-tikzlings
  (package
    (name "texlive-tikzlings")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzlings/"
                                     "tex/latex/tikzlings/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cqja06i3s8w3wbz6dhlhbri1zhqsyh8jhyahi5v8q9ywdm389yd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzlings")
    (synopsis "Collection of cute little animals and similar creatures")
    (description
     "This package provides a collection of LaTeX packages for drawing cute
little animals and similar creatures using TikZ.  Currently, the following
TikZlings are included: anteater, bat, bear, bee, bug, cat, chicken, coati,
elephant, hippo, koala, marmot, mole, mouse, owl, panda, penguin, pig, rhino,
sheep, sloth, snowman, squirrel, and wolf.  These little drawings can be
customized in many ways.")
    (license license:lppl1.3c)))

(define-public texlive-tikzmark
  (package
    (name "texlive-tikzmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzmark/"
                                     "source/latex/tikzmark/"
                                     "tex/latex/tikzmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3yij12kgbgficln9vdgc43bi0si7j0j86lv2k69f1bwf865w4z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzmark")
    (synopsis "Use TikZ's method of remembering a position on a page")
    (description
     "The @code{tikzmark} package defines a command to remember a position on
a page for later (or earlier) use, primarily (but not exclusively) with
TikZ.")
    (license license:lppl1.3c)))

(define-public texlive-tikzmarmots
  (package
    (name "texlive-tikzmarmots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzmarmots/"
                                     "tex/latex/tikzmarmots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j1z78r43czg09inw76ksgs97l7klivi93w7hvcvafd47h9zcvsg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzmarmots")
    (synopsis "Drawing little marmots in TikZ")
    (description
     "This is a LaTeX package for marmots to be used in TikZ pictures.
These little figures are constructed in such a way that they may even borrow
some garments and other attributes from the TikZducks.")
    (license license:lppl1.3c)))

(define-public texlive-tikzorbital
  (package
    (name "texlive-tikzorbital")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzorbital/"
                                     "tex/latex/tikzorbital/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rjbl8gcsf752hkrn2j7angvwh55vldsd168w581frmx3g25d9rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzorbital")
    (synopsis "Atomic and molecular orbitals using TikZ")
    (description
     "This package draws atomic s, p and d orbitals, as well as molecular
orbital diagrams.")
    (license license:lppl)))

(define-public texlive-tikzpackets
  (package
    (name "texlive-tikzpackets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpackets/"
                                     "tex/latex/tikzpackets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i5v0yblm3fw0wy0vhl2a0g1r8ib72d2knk60apqvqizl98fn8ff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpackets")
    (synopsis "Display network packets")
    (description
     "This package allows you to easily display network packets graphically.")
    (license license:expat)))

(define-public texlive-tikzpagenodes
  (package
    (name "texlive-tikzpagenodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpagenodes/"
                                     "source/latex/tikzpagenodes/"
                                     "tex/latex/tikzpagenodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13ddkwm4a1x2b47zqjk2m55y2dwl09rl3s0pm1vmxv7h2sawgqbr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/tikzpagenodes")
    (synopsis "Single TikZ node for the whole page")
    (description
     "The package provides special PGF/TikZ nodes for the text, marginpar,
footer and header area of the current page.  They are inspired by the current
page node defined by PGF/TikZ itself.")
    (license license:lppl)))

(define-public texlive-tikzpeople
  (package
    (name "texlive-tikzpeople")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpeople/"
                                     "tex/latex/tikzpeople/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sgxabjy54zcw0dkb5hgi9d84ilq4ik30xwwd1n8jhhmi4vg2sm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpeople")
    (synopsis "Draw people-shaped nodes in TikZ")
    (description
     "This package provides people-shaped nodes in the style of Microsoft
Visio clip art, to be used with TikZ.  The available, highly customizable,
node shapes are: alice, bob, bride, builder, businessman, charlie, chef,
conductor, cowboy, criminal, dave, devil, duck, graduate, groom, guard,
jester, judge, maninblack, mexican, nun, nurse, physician, pilot, police,
priest, sailor, santa, surgeon.")
    (license license:lppl1.3+)))

(define-public texlive-tikzpfeile
  (package
    (name "texlive-tikzpfeile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpfeile/"
                                     "source/latex/tikzpfeile/"
                                     "tex/latex/tikzpfeile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h6kkrm462hk2hvbdqqjai3gxsslibghxbjyq3ih0vps7fakglc6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpfeile")
    (synopsis "Draw arrows using PGF/TikZ")
    (description
     "In a document with a lot of diagrams created with PGF/TikZ, there is
a possibility of the reader being distracted by different sorts of arrowheads
in the diagrams and in the text (as, e.g., in @code{\\rightarrow}).  The
package defines macros to create all arrows using PGF/TikZ, so as to avoid the
problem.")
    (license license:lppl)))

(define-public texlive-tikzpingus
  (package
    (name "texlive-tikzpingus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzpingus/"
                                     "makeindex/tikzpingus/"
                                     "tex/latex/tikzpingus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03gld5j5dhz28imphgrf5cr6pf9ls0rgk46xg0jns9m064g9mh7h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzpingus")
    (synopsis "Penguins with TikZ")
    (description
     "@code{tikzpingus} is a package similar to tikzducks but with penguins
and a vast set of gadgets and extras (capable of changing the wing-positions,
body-types, and more).")
    (license license:gpl3)))

(define-public texlive-tikzposter
  (package
    (name "texlive-tikzposter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzposter/"
                                     "source/latex/tikzposter/"
                                     "tex/latex/tikzposter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hl5p14a79575s5n5rx4yy8vxcb2qrdhx851rhms7dk2sqcfynn5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzposter")
    (synopsis "Create scientific posters using TikZ")
    (description
     "This package provides a document class provides a simple way of using
TikZ for generating posters.  Several formatting options are available, and
spacing and layout of the poster is to a large extent automated.")
    (license license:lppl1.2+)))

(define-public texlive-tikzscale
  (package
    (name "texlive-tikzscale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzscale/"
                                     "source/latex/tikzscale/"
                                     "tex/latex/tikzscale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iq7f9jnw86rhp7b3sim3z56ygj005zygzfc0bdnpmx5s4ds1gpv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzscale")
    (synopsis "Resize pictures while respecting text size")
    (description
     "The package extends the @code{\\includegraphics} command to support
@code{tikzpicture} environments.  It allows scaling of TikZ images and
PGFPlots to a given width or height without changing the text size.")
    (license license:lppl1.3+)))

(define-public texlive-tikzsymbols
  (package
    (name "texlive-tikzsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzsymbols/"
                                     "source/latex/tikzsymbols/"
                                     "tex/latex/tikzsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q19w9adpfxrsh7jmf4qpjarhgb4wng66kjkmalcxijd99kxbkhk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzsymbols")
    (synopsis "Some symbols created using TikZ")
    (description
     "The package provides various emoticons, cooking symbols and trees.")
    (license license:lppl1.3c)))

(define-public texlive-tikztosvg
  (package
    (name "texlive-tikztosvg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tikztosvg.1"
                                     "doc/man/man1/tikztosvg.man1.pdf"
                                     "doc/support/tikztosvg/"
                                     "scripts/tikztosvg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h1g3vsljx3bz929krr21i65n20drwhwxi88gwcvrxrgsvi9xj08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "tikztosvg")))
    (home-page "https://ctan.org/pkg/tikztosvg")
    (synopsis "Utility for rendering TikZ diagrams to SVG")
    (description
     "This package provides a shell script that calls XeTeX and
@command{pdf2svg} to convert TikZ environments to SVG files.")
    (license license:gpl3)))

(define-public texlive-tikzviolinplots
  (package
    (name "texlive-tikzviolinplots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tikzviolinplots/"
                                     "tex/latex/tikzviolinplots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nrjivmqbpm71kzfgsl6ih5lxv9sv79iidh2yjjyl5dvhlbjkhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tikzviolinplots")
    (synopsis "Draws violin plots from data")
    (description
     "This package enables the user to draw violin plots, calculating the
kernel density estimation from the data and plotting the resulting curve
inside a @code{tikzpicture} environment.  It supports different kernels, and
allows the user to either set the bandwidth value for each plot or use
a default value.")
    (license license:lppl1.3+)))

(define-public texlive-tile-graphic
  (package
    (name "texlive-tile-graphic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tile-graphic/"
                                     "source/latex/tile-graphic/"
                                     "tex/latex/tile-graphic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vg2nrb6cjgkmbkv8igs76vzl1vzvisqlm1y612j4144v26n05nw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tile-graphic")
    (synopsis "Create tiles of a graphical file")
    (description
     "This package breaks a given graphical file into @samp{n} rows and
@samp{m} columns of subgraphics, which are called tiles.  The tiles can be
written separately to individual PDF files, or packaged into a single PDF
file.")
    (license license:lppl1.2+)))

(define-public texlive-timing-diagrams
  (package
    (name "texlive-timing-diagrams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/timing-diagrams/"
                                     "tex/latex/timing-diagrams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06hzcbbinrlvdsp9jxs82xi9b94x76f239z5b1x3y41ip3n51b1p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/timing-diagrams")
    (synopsis "Draw timing diagrams")
    (description
     "The package provides commands to draw and annotate various kinds of
timing diagrams, using TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tipfr
  (package
    (name "texlive-tipfr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tipfr/" "tex/latex/tipfr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1frgk49mw7wi18065y4ikg75vg03d2vbdflfnyanixn46zpf2p8z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tipfr")
    (synopsis "Produces calculator's keys with the help of TikZ")
    (description
     "The package provides commands to draw calculator keys with the help of
TikZ.  It also provides commands to draw the content of screens and of menu
items.")
    (license license:lppl)))

(define-public texlive-tkz-base
  (package
    (name "texlive-tkz-base")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-base/" "tex/latex/tkz-base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p62amxjf7ab72a4pcgd03cd4799n7k1adhlbwlck3dr4zn5m8wx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-base")
    (synopsis "Tools for drawing with a cartesian coordinate system")
    (description
     "The bundle is a set of packages, designed to give mathematics
teachers (and students) easy access to programming of drawings with TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-berge
  (package
    (name "texlive-tkz-berge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-berge/" "tex/latex/tkz-berge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16pgdkf0s97gkd662pddvxr5jbk68mcbikz4rclmv88d9zlgccxr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-berge")
    (synopsis "Macros for drawing graphs of graph theory")
    (description
     "The package provides a collection of useful macros for drawing classic
graphs of graph theory, or to make other graphs.  This package has been taken
temporarily out of circulation to give the author time to investigate some
problems.")
    (license license:lppl1.3c)))

(define-public texlive-tkz-doc
  (package
    (name "texlive-tkz-doc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-doc/"
                                     "tex/latex/tkz-doc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nqwfl75id6sga4bm7ha9qqp6zzgwflvqncr438db13bhxsq5mkw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-doc")
    (synopsis "Documentation macros for the TKZ series of packages")
    (description
     "This bundle offers a documentation class (@code{tkz-doc}) and
a package (@code{tkzexample}).  These files are used in the documentation of
the author's packages @code{tkz-base}, @code{tkz-euclide}, @code{tkz-fct},
@code{tkz-linknodes}, and @code{tkz-tab}.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-euclide
  (package
    (name "texlive-tkz-euclide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-euclide/"
                                     "tex/latex/tkz-euclide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x8i8xr5k66yrvbwcj2affsvq219hhjzmwwy5afn3dzzbvbvdjph"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-euclide")
    (synopsis "Tools for drawing Euclidean geometry")
    (description
     "The @code{tkz-euclide} package is a set of files designed to give math
teachers and students easy access to the programming of Euclidean geometry
with TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-fct
  (package
    (name "texlive-tkz-fct")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-fct/" "tex/latex/tkz-fct/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0czwqkdws24qdp22s6p3m87fpfqmwdqjzwxckzkn3ig6rcl63nqj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-fct")
    (synopsis "Tools for drawing graphs of functions")
    (description
     "The @code{tkz-fct} package is designed to give math teachers (and
students) easy access to programming graphs of functions with TikZ and
Gnuplot.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-graph
  (package
    (name "texlive-tkz-graph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-graph/"
                                     "tex/latex/tkz-graph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mdfdi97d8q7jqy7l3pqqs7ai4ph5r1aci3ahfsg5zmpmkwr981r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-graph")
    (synopsis "Draw graph-theory graphs")
    (description
     "The package is designed to create graph diagrams as simply as possible,
using TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-tkz-orm
  (package
    (name "texlive-tkz-orm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-orm/" "tex/latex/tkz-orm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qmwiglz59djq0xkpsfgqzdf6872z33z9faxn86krs5mxmrik6cc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-orm")
    (synopsis "Create Object-Role Model (ORM) diagrams")
    (description
     "The package provides styles for drawing Object-Role Model (ORM) diagrams
in TeX based on the PGF and TikZ picture environment.")
    (license (list license:gpl2 license:lppl1.3+))))

(define-public texlive-tkz-tab
  (package
    (name "texlive-tkz-tab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkz-tab/" "tex/latex/tkz-tab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j50pf0lf9dbi0zfnqm62rlyazsgbmpcqwlajqsjccqqkirdv6pb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkz-tab")
    (synopsis "Tables of signs and variations using PGF/TikZ")
    (description
     "The package provides comprehensive facilities for preparing lists of
signs and variations, using PGF.  This package has been taken temporarily out
of circulation to give the author time to investigate some problems.")
    (license license:lppl1.3+)))

(define-public texlive-tkzexample
  (package
    (name "texlive-tkzexample")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tkzexample/"
                                     "tex/latex/tkzexample/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y445fjvy13cqa9y1sbac43wbmidvfn7vb7jws11fl4lj7vvgvhz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tkzexample")
    (synopsis "Package for the documentation of all @samp{tkz-} packages")
    (description
     "This package is needed to compile the documentation of all @samp{tkz-}
packages (like @code{tkz-euclide}).")
    (license license:lppl1.3+)))

(define-public texlive-tlcockpit
  (package
    (name "texlive-tlcockpit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tlcockpit.1"
                                     "doc/man/man1/tlcockpit.man1.pdf"
                                     "doc/support/tlcockpit/"
                                     "scripts/tlcockpit/"
                                     "source/support/tlcockpit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nv0wx21x022isw8rycvqdqwiz4ay6ws36bbcpqfqkjmvz5qr76w"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "icedtea")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "tlcockpit.sh")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'locate-java
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((java (search-input-file inputs "/bin/java")))
                (substitute* "scripts/tlcockpit/tlcockpit.sh"
                  (("java -") (string-append java " -")))))))))
    ;; FIXME: missing EventTarget.class.
    (inputs (list icedtea))
    (home-page "https://ctan.org/pkg/tlcockpit")
    (synopsis "GUI frontend to TeX Live Manager")
    (description
     "This package aims at being a GUI for @command{tlmgr}, the TeX Live
Manager, with a modern look and feel.")
    (license license:gpl3+)))

(define-public texlive-tonevalue
  (package
    (name "texlive-tonevalue")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tonevalue/"
                                     "tex/latex/tonevalue/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16a724k0c8s3i2pdjfsq5v2z4v5nqdpnxvh63j4ngj822w9llg1z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tonevalue")
    (synopsis
     "Tool for linguists and phoneticians to visualize tone value patterns")
    (description
     "This package provides a TikZ-based solution to typeset visualisations of
tone values.  Currently, unt's model is implemented.  Support for more models
is planned.")
    (license license:asl2.0)))

(define-public texlive-tpic2pdftex
  (package
    (name "texlive-tpic2pdftex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tpic2pdftex.1"
                                     "doc/man/man1/tpic2pdftex.man1.pdf"
                                     "doc/tpic2pdftex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02nf2fg4xzh8lbbddvm44qyvcvfn5b7kzcyg729a58l29gd88pbs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-tpic2pdftex-bin))
    (home-page "https://ctan.org/pkg/tpic2pdftex")
    (synopsis "Use @code{tpic} commands in pdfTeX")
    (description
     "The Awk script converts Pic language, embedded inline (delimited by
@code{.PS} and @code{.PE} markers), to @code{\\pdfliteral} commands.")
    (license license:gpl3+)))

(define-public texlive-tpic2pdftex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-tpic2pdftex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("tpic2pdftex"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-tpic2pdftex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/tpic2pdftex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/tpic2pdftex"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-tpic2pdftex))
    (synopsis "Binary for @code{texlive-tpic2pdftex}")
    (description
     "This package provides the binary for @code{texlive-tpic2pdftex}.")
    (license (package-license texlive-tpic2pdftex))))

(define-public texlive-tqft
  (package
    (name "texlive-tqft")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tqft/" "source/latex/tqft/"
                                     "tex/latex/tqft/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08lykpnw0hifhmh96pb7s3dd8sbzmz3gqyrwy5ann9fqxxjczf2d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tqft")
    (synopsis "Drawing TQFT diagrams with TikZ/PGF")
    (description
     "The package defines some node shapes useful for drawing TQFT diagrams
with TikZ/PGF.  That is, it defines highly customisable shapes that look like
cobordisms between circles, such as those used in TQFT and other mathematical
diagrams.")
    (license license:lppl1.3+)))

(define-public texlive-tram
  (package
    (name "texlive-tram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tram/"
                                     "fonts/source/public/tram/"
                                     "tex/latex/tram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b26615dd1qs12vl9d82xcxlc718s5jgirzygss9g7m908w2hqch"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tram")
    (synopsis "Typeset tram boxes in LaTeX")
    (description
     "Tram boxes are highlighted with patterns of dots; the package defines an
environment @code{tram} that typesets its content into a tram box.  The
pattern used may be selected in an optional argument to the environment.")
    (license license:lppl)))

(define-public texlive-tsemlines
  (package
    (name "texlive-tsemlines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/tsemlines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c7sjdrgqbjw6f2s3185k5rlkig643pkkahjisx16h0akbbdm4k3"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tsemlines")
    (synopsis "Support for the ancient @code{\\emline} macro")
    (description
     "Occasional Documents appear, that use graphics generated by TeXcad from
the EmTeX distribution.  These documents often use the @code{\\emline} macro,
which produced lines at an arbitrary orientation.  The present package
emulates the macro, using TikZ.")
    (license license:public-domain)))

(define-public texlive-ttfutils
  (package
    (name "texlive-ttfutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/ttf2afm.1"
                                     "doc/man/man1/ttf2afm.man1.pdf"
                                     "doc/man/man1/ttf2pk.1"
                                     "doc/man/man1/ttf2pk.man1.pdf"
                                     "doc/man/man1/ttf2tfm.1"
                                     "doc/man/man1/ttf2tfm.man1.pdf"
                                     "doc/man/man1/ttfdump.1"
                                     "doc/man/man1/ttfdump.man1.pdf"
                                     "doc/ttf2pk/"
                                     "fonts/enc/ttf2pk/base/"
                                     "fonts/sfd/ttf2pk/"
                                     "ttf2pk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16rxhypar4gw0fsbqzh6r2mppqxd3cdjzv11c84mqzk7qvifvb6y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ttfutils-bin))
    (home-page "https://ctan.org/pkg/ttfutils")
    (synopsis "Convert TrueType to TFM and PK fonts")
    ;; XXX: "ttf2afm" is actually provided by PDFTeX, through "texlive-bin".
    (description
     "This package provides utilities to convert TrueType to TFM and PK fonts:
@command{ttf2afm}, @command{ttf2pk}, @command{ttf2tfm}, and
@command{ttfdump}.")
    (license license:gpl2+)))

(define-public texlive-ttfutils-bin
  (package
    (inherit texlive-bin)
    (name "texlive-ttfutils-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("ttfdump" "ttf2pk2"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--enable-ttfdump"
                 "--enable-ttf2pk2"
                 (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/ttfdump"
                    (invoke "make" "check"))
                  (with-directory-excursion "texk/ttf2pk2"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/ttfdump"
                  (invoke "make" "install"))
                (with-directory-excursion "texk/ttf2pk2"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list freetype texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-ttfutils))
    (synopsis "Binaries for @code{texlive-ttfutils}")
    (description
     "This package provides the binaries for @code{texlive-ttfutils}.")
    (license (package-license texlive-ttfutils))))

(define-public texlive-twemojis
  (package
    (name "texlive-twemojis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/twemojis/"
                                     "source/latex/twemojis/"
                                     "tex/latex/twemojis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wim1325dcx779305cany8rsifi67y8pbwifs4qbh090dzx5sy6r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/twemojis")
    (synopsis "Use Twitter's open source emojis through LaTeX commands")
    (description
     "This package provides a simple wrapper which allows to use Twitter's
open source emojis through LaTeX commands.  This relies on images, so no fancy
Unicode font stuff is needed and it should work on every installation.")
    (license (list license:lppl1.3+ license:cc-by4.0))))

(define-public texlive-typeoutfileinfo
  (package
    (name "texlive-typeoutfileinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/typeoutfileinfo/"
                                     "scripts/typeoutfileinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r28n4r20grdg1gc2ym4vc8gp79favks43mp9q96dxnywd4pcik6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "typeoutfileinfo.sh")))
    (propagated-inputs (list texlive-fileinfo))
    (home-page "https://ctan.org/pkg/typeoutfileinfo")
    (synopsis "Display class/package/file information")
    (description
     "The package provides a minimalist shell script, for Unix systems,
that displays the information content in a @code{\\ProvidesFile},
@code{\\ProvidesPackage} or @code{\\ProvidesClass} command in a LaTeX source
file.")
    (license license:lppl1.3+)))

(define-public texlive-tzplot
  (package
    (name "texlive-tzplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tzplot/" "tex/latex/tzplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09k84vjvl3qkp8jffv3j5bksq3jaad2p71yj715z39qf36hwvm7s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tzplot")
    (synopsis "Plot graphs with TikZ abbreviations")
    (description
     "This is a LaTeX package that provides TikZ-based macros to make it easy
to draw graphs.  The macros provided in this package are just abbreviations
for TikZ codes, which can be complicated; but using the package will hopefully
make drawing easier, especially when drawing repeatedly.  The macros were
chosen and developed with an emphasis on drawing graphs in economics.")
    (license license:lppl1.3c)))

(define-public texlive-upmendex
  (package
    (name "texlive-upmendex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/upmendex.1"
                                     "doc/man/man1/upmendex.man1.pdf"
                                     "doc/support/upmendex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mj8nmqr3z7b802kvjmnkckq89l694an7s639yghf3b9b5v7xihx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-upmendex-bin))
    (home-page "https://ctan.org/pkg/upmendex")
    (synopsis "Multilingual index processor")
    (description
     "The package is a multilingual index processor with the following
features:
@itemize

@item mostly compatible with @command{makeindex} and upper compatible with
@command{mendex};

@item supports UTF-8 and works with upLaTeX, XeLaTeX and LuaLaTeX;

@item supports Latin (including non-English), Greek, Cyrillic, Korean Hangul
and Chinese Han (Hanzi ideographs) scripts, as well as Japanese Kana.

@item supports Devanagari, Thai, Arabic and Hebrew scripts (experimental).

@item supports four kinds of sort orders (Pinyin, Radical-Stroke, Stroke and
Zhuyin) for Chinese Han scripts (Hanzi ideographs).

@item applies International Components for Unicode (ICU) for sorting process.

@end itemize")
    (license license:bsd-3)))

(define-public texlive-upmendex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-upmendex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs/" '())
            (delete-other-directories "utils/" '())
            (delete-other-directories "texk/" '("upmendex"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-upmendex" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/upmendex"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda* (#:key inputs native-inputs #:allow-other-keys)
                (with-directory-excursion "texk/upmendex"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list icu4c texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-upmendex))
    (synopsis "Binary for @code{texlive-upmendex}")
    (description
     "This package provides the binary for @code{texlive-upmendex}.")
    (license (package-license texlive-upmendex))))

(define-public texlive-utf8mex
  (package
    (name "texlive-utf8mex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/mex/utf8mex/" "tex/mex/utf8mex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13013asha1v6vk743hxk4naciiham0cpar6jw0ndlh7mbmyll2y8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utf8mex")
    (synopsis "Tools to produce formats that read Polish language input")
    (description
     "The bundle provides files for building formats to read input in Polish
encodings.")
    (license license:public-domain)))

(define-public texlive-utfsym
  (package
    (name "texlive-utfsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/utfsym/" "tex/latex/utfsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bbdhi9fy3bzm9qrjca8ghl04pv9iky380if17w1hxhp2jpd691b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utfsym")
    (synopsis "Provides various Unicode symbols")
    (description
     "This package provides various symbols from the Unicode in order to be
able to use them originally in a school setting such as on worksheets.")
    (license license:cc0)))

(define-public texlive-venndiagram
  (package
    (name "texlive-venndiagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/venndiagram/"
                                     "source/latex/venndiagram/"
                                     "tex/latex/venndiagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n48jgb0kbbnyk5pjg99l8hb1b3f1h30z78cl9lza2pi11p8mbgj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/venndiagram")
    (synopsis "Creating Venn diagrams with TikZ")
    (description
     "The package assists generation of simple two- and three-set Venn
diagrams for lectures or assignment sheets.")
    (license license:lppl)))

(define-public texlive-visualfaq
  (package
    (name "texlive-visualfaq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualfaq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fjx5y95n8bhsnwsw34sazbgygznvw76z01rrxmn1bp8za7751n0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualfaq")
    (synopsis "Visual LaTeX FAQ")
    (description
     "Having trouble finding the answer to a LaTeX question?  The @emph{Visual
LaTeX FAQ} is a search interface that presents over a hundred typeset samples
of frequently requested document formatting.  Simply click on a hyperlinked
piece of text and the @emph{Visual LaTeX FAQ} will send your web browser to
the appropriate page in the TeX FAQ.")
    (license license:lppl)))

(define-public texlive-visualfaq-fr
  (package
    (name "texlive-visualfaq-fr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualfaq-fr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xk0qly49dqkrw1qjhnyp4r7y5jykghlp1y26hipghlaqqhdynga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualfaq-fr")
    (synopsis "FAQ LaTeX visuelle francophone")
    (description
     "The Visual LaTeX FAQ is an innovative new search interface on LaTeX
Frequently Asked Questions.  This version is a French translation, offering
links to the French-speaking LaTeX FAQ.")
    (license license:lppl1.3c)))

(define-public texlive-visualpstricks
  (package
    (name "texlive-visualpstricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualpstricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wfri908smlw1ngqq1mjll2b80b29piicqmv67x0xs1v3kc2sz3s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualpstricks")
    (synopsis "Visual help for PSTricks based on images with minimum text")
    (description
     "Visual help for PSTricks based on images with minimum text, one image
per command or per parameter.")
    (license license:gpl3+)))

(define-public texlive-visualtikz
  (package
    (name "texlive-visualtikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/visualtikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q0a1mhc330z8cnhghp2p46bxsmzz8cdba8hcvssglz0gsq5z5fc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/visualtikz")
    (synopsis "Visual help for TikZ based on images with minimum text")
    (description
     "This package provides a visual help for TikZ based on images with
minimum text: an image per command or parameter.  The document is in French,
but will be translated into English later.")
    (license license:lppl1.3+)))

(define-public texlive-web
  (package
    (name "texlive-web")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/tangle.1"
                                     "doc/man/man1/tangle.man1.pdf"
                                     "doc/man/man1/weave.1"
                                     "doc/man/man1/weave.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i8lvhz9k777c8wwqn8mh51w896d0ql7zxy9zbv9fpp0137n5bnj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea))
    (home-page "https://ctan.org/pkg/web")
    (synopsis "Original literate programming system")
    (description
     "The system processes web files in two ways: firstly to rearrange them to
produce compilable code (using the program @command{tangle}), and secondly to
produce a TeX source (using the program @command{weave}) that may be typeset
for comfortable reading.")
    (license license:knuth)))

(define-public texlive-wheelchart
  (package
    (name "texlive-wheelchart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wheelchart/"
                                     "tex/latex/wheelchart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ibpdhxip5wiwifjk1ck0r7wcbmbl2z7nbqay1zshncgb1igfr2x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wheelchart")
    (synopsis "Draw wheelcharts with TikZ")
    (description
     "This package is based on the package TikZ and can be used to draw
wheelcharts with TikZ.  It provides several options to customize the
wheelcharts.")
    (license license:lppl1.3c)))

(define-public texlive-worldflags
  (package
    (name "texlive-worldflags")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/worldflags/"
                                     "tex/latex/worldflags/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1773hr3af98b7jvpkdg27v542iwclgznvbzal6aw3i1csf0a9dy1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/worldflags")
    (synopsis "Drawing flags with TikZ")
    (description
     "This is a package for drawing flags using TikZ.  Currently the national
flags of all independent nations are included, along with some other flags of
various organizations.  A flag can be drawn as a single TikZ-picture within
ordinary text, and as a picture element within a TikZ-picture.  The appearance
of a flag (size, frame etc.)  can be adapted using optional parameters.")
    (license license:lppl1.3+)))

(define-public texlive-xepersian
  (package
    (name "texlive-xepersian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xepersian/"
                                     "fonts/misc/xetex/fontmapping/xepersian/"
                                     "source/xelatex/xepersian/"
                                     "tex/xelatex/xepersian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xyrzx3s3sfb4mx5jwxdnvs0m95952npa5s2ipkcj913shn3v94k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xepersian")
    (synopsis "Persian for LaTeX, using XeTeX")
    (description
     "This package provides a convenient interface for typesetting Persian and
English texts in LaTeX, using the XeTeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-xepersian-hm
  (package
    (name "texlive-xepersian-hm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xepersian-hm/"
                                     "source/xelatex/xepersian-hm/"
                                     "tex/xelatex/xepersian-hm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lq5bam9vx2phwphy2ig9hygsz4vvz4bx2c6f87my84kp8n3w25n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xepersian-hm")
    (synopsis "Fixes kashida feature in XePersian package")
    (description
     "The kashida feature in XePersian has problems with some fonts such as
the HM Series fonts and the XB Series fonts.  This package fixes these
problems.")
    (license license:lppl1.3c)))

(define-public texlive-xindex
  (package
    (name "texlive-xindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/xindex/" "scripts/xindex/"
                                     "tex/latex/xindex/" "tex/lualatex/xindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yxb42ipyfknb5rgqgcj1f8kwvvdavajjrw8b0pp3cggfa5whn17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "xindex.lua")))
    (home-page "https://ctan.org/pkg/xindex")
    (synopsis "Unicode compatible index generation")
    (description
     "This package provides a Unicode compatible index programm for LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-xistercian
  (package
    (name "texlive-xistercian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xistercian/"
                                     "source/latex/xistercian/"
                                     "tex/latex/xistercian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021iwd8w19dbj1iqm1fdf9s06lysbrackz0g897nmsf0fks6qf4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xistercian")
    (synopsis "Cistercian numerals in LaTeX")
    (description
     "@code{xistercian} allows you to use Cistercian numerals in LaTeX.
The glyphs are created using PGF and to a certain degree configurable.  You
can use Cistercian numerals as page numbers using
@code{\\pagenumbering@{cistercian@}}.  The two main macros are:
@code{\\cistercian@{<counter>@}}, which formats the LaTeX2e counter as
a Cistercian numeral, and @code{\\cisterciannum@{<integer>@}}, formats the
integer (given as a string) as a Cistercian numeral.")
    (license license:lppl1.3c)))

(define-public texlive-xpdfopen
  (package
    (name "texlive-xpdfopen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfclose.1"
                                     "doc/man/man1/pdfclose.man1.pdf"
                                     "doc/man/man1/pdfopen.1"
                                     "doc/man/man1/pdfopen.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "130wvaypfrg9sav0pdcdy1g10fll8pqcsqsy70fxlzzr937glsh1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-xpdfopen-bin))
    (home-page "https://ctan.org/pkg/xpdfopen")
    (synopsis "Commands to control PDF readers, under X11")
    (description
     "The command-line programs @command{pdfopen} and @command{pdfclose} allow
you to control the X Window System version of Adobe's Acrobat Reader from the
command line or from within a (shell) script.  The programs work with
@command{xpdf} and @command{evince}.")
    (license license:public-domain)))

(define-public texlive-xpdfopen-bin
  (package
    (inherit texlive-bin)
    (name "texlive-xpdfopen-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("xpdfopen"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-xpdfopen" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/xpdfopen"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/xpdfopen"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list libxt))
    (propagated-inputs '())
    (home-page (package-home-page texlive-xpdfopen))
    (synopsis "Binaries for @code{texlive-xpdfopen}")
    (description
     "This package provides the binaries for @code{texlive-xpdfopen}.")
    (license (package-license texlive-xpdfopen))))

(define-public texlive-xpicture
  (package
    (name "texlive-xpicture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpicture/"
                                     "source/latex/xpicture/"
                                     "tex/latex/xpicture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pzqnrk7mw1k9madah2ym9qsy20d8i1x1abkvkxvx7rxw7w38s2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xpicture")
    (synopsis "Extensions of LaTeX picture drawing")
    (description
     "The package extends the facilities of the @code{pict2e} and the
@code{curve2e} packages, providing extra reference frames, conic section
curves, graphs of elementary functions and other parametric curves.")
    (license license:lppl1.3+)))

(define-public texlive-amiri
  (package
    (name "texlive-amiri")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/amiri/"
                                     "fonts/truetype/public/amiri/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d6yrh34fka9371a3vq72df593prik6s7z1i6myd0nix0c9jihp6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amiri")
    (synopsis "Classical Arabic typeface, Naskh style")
    (description
     "Amiri is a classical Arabic typeface in Naskh style for typesetting books
and other running text.  It is a revival of the beautiful typeface pioneered
in the early 20th century by Bulaq Press in Cairo, also known as Amiria Press,
after which the font is named.  The project aims at the revival of the
aesthetics and traditions of Arabic typesetting, and adapting it to the era of
digital typesetting, in a publicly available form.")
    (license license:silofl1.1)))

(define-public texlive-amiweb2c-guide
  (package
    (name "texlive-amiweb2c-guide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amiweb2c-guide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cxwsx49p3c162ysv0ydyxdncfg8ij9sx2x7c4pvzb0yidvad01c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amiweb2c-guide")
    (synopsis "How to install AmiWeb2c")
    (description
     "This is a guide for the installation of (La)TeX with the Amiga port of
Web2C named AmiWeb2C in the version 2.1 on an emulated Amiga 4000 computer
running Workbench 3.1.  Furthermore the installation of an ARexx server for
calling LaTeX from an editor is described and some tips for the installation
of new fonts are given.")
    (license license:lppl1.3c)))

(define-public texlive-amsfonts
  (package
    (name "texlive-amsfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/amsfonts/"
                                     "fonts/afm/public/amsfonts/cm/"
                                     "fonts/afm/public/amsfonts/cmextra/"
                                     "fonts/afm/public/amsfonts/cyrillic/"
                                     "fonts/afm/public/amsfonts/euler/"
                                     "fonts/afm/public/amsfonts/latxfont/"
                                     "fonts/afm/public/amsfonts/symbols/"
                                     "fonts/map/dvips/amsfonts/"
                                     "fonts/source/public/amsfonts/cmextra/"
                                     "fonts/source/public/amsfonts/cyrillic/"
                                     "fonts/source/public/amsfonts/dummy/"
                                     "fonts/source/public/amsfonts/symbols/"
                                     "fonts/tfm/public/amsfonts/cmextra/"
                                     "fonts/tfm/public/amsfonts/cyrillic/"
                                     "fonts/tfm/public/amsfonts/dummy/"
                                     "fonts/tfm/public/amsfonts/euler/"
                                     "fonts/tfm/public/amsfonts/symbols/"
                                     "fonts/type1/public/amsfonts/cm/"
                                     "fonts/type1/public/amsfonts/cmextra/"
                                     "fonts/type1/public/amsfonts/cyrillic/"
                                     "fonts/type1/public/amsfonts/euler/"
                                     "fonts/type1/public/amsfonts/latxfont/"
                                     "fonts/type1/public/amsfonts/symbols/"
                                     "source/latex/amsfonts/"
                                     "tex/latex/amsfonts/"
                                     "tex/plain/amsfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0phhzcxapa5607pk37agr981rg90zw2p4rqv7sk7i19byr867a1b"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/amsfonts")
    (synopsis "TeX fonts from the American Mathematical Society")
    (description
     "This package provides an extended set of fonts for use in mathematics,
including: extra mathematical symbols; blackboard bold letters (uppercase
only); fraktur letters; subscript sizes of bold math italic and bold Greek
letters; subscript sizes of large symbols such as sum and product; added sizes
of the Computer Modern small caps font; cyrillic fonts (from the University of
Washington); Euler mathematical fonts.  All fonts are provided as Adobe Type
1 files, and all except the Euler fonts are provided as METAFONT source.  The
distribution also includes the canonical Type 1 versions of the Computer
Modern family of fonts.  The Euler fonts are supported by separate packages;
details can be found in the documentation.")
    (license license:silofl1.1)))

(define-deprecated-package texlive-fonts-amsfonts texlive-amsfonts)
(define-deprecated-package texlive-latex-amsfonts texlive-amsfonts)

(define-public texlive-mkpattern
  (package
    (name "texlive-mkpattern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/mkpattern/" "tex/plain/mkpattern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sxnkbcc802jl3fj56x9hvg978bpv15lhrwj0aykb4syq29l47ga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mkpattern")
    (synopsis "Utility for making hyphenation patterns")
    (description
     "Mkpattern is a general purpose program for the generation of hyphenation
patterns, with definition of letter sets and template-like constructions.  It
also provides an easy way to handle different input and output encodings, and
features generation of clean UTF-8 patterns.")
    (license license:lppl)))

(define-public texlive-ec
  (package
    (name "texlive-ec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ec/"
                                     "fonts/source/jknappen/ec/"
                                     "fonts/tfm/jknappen/ec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cyi0vv9dnp45s0ilsrbkyznj9ji62s5bhkqgh49461mv2f8qj6p"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/ec")
    (synopsis "Computer modern fonts in T1 and TS1 encodings")
    (description
     "The EC fonts are European Computer Modern Fonts, supporting the complete
LaTeX T1 encoding defined at the 1990 TUG conference hold at Cork/Ireland.
These fonts are intended to be stable with no changes being made to the tfm
files.  The set also contains a Text Companion Symbol font, called @code{tc},
featuring many useful characters needed in text typesetting, for example
oldstyle digits, currency symbols (including the newly created Euro symbol),
the permille sign, copyright, trade mark and servicemark as well as a copyleft
sign, and many others.  The fonts are available in (traced) Adobe Type
1 format, as part of the @code{cm-super} bundle.  The other Computer
Modern-style T1-encoded Type 1 set, Latin Modern, is not actually a direct
development of the EC set, and differs from the EC in a number of
particulars.")
    (license (license:fsf-free "file://doc/fonts/ec/copyrite.txt"))))

(define-deprecated-package texlive-fonts-ec texlive-ec)

;; This provides etex.src which is needed to build various formats, including
;; luatex.fmt and pdflatex.fmt
(define-public texlive-etex
  (package
    (name "texlive-etex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/etex/base/"
                                     "doc/man/man1/etex.1"
                                     "doc/man/man1/etex.man1.pdf"
                                     "fonts/source/public/etex/"
                                     "fonts/tfm/public/etex/"
                                     "tex/plain/etex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15w34g09c0qc76i1aflbzx91pnawz2kvcidg1f7wwsk6a5bz7372"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://www.ctan.org/pkg/etex")
    (synopsis "Extended version of TeX")
    (description
     "This package provides an extended version of TeX (which is capable of
running as if it were TeX unmodified).  E-TeX has been specified by the LaTeX
team as the engine for the development of LaTeX2e; as a result, LaTeX
programmers may assume e-TeX functionality.  The pdftex engine directly
incorporates the e-TeX extensions.")
    (license license:knuth)))

(define-public texlive-etex-pkg
  (package
    (name "texlive-etex-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etex-pkg/" "tex/latex/etex-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10bvvn3s3lmzjscnb2qxkj1ba9qxx0q1w2spcsjpwf20dvym19py"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etex-pkg")
    (synopsis "E-TeX support package")
    (description
     "The package provides support for LaTeX documents to use many of the
extensions offered by e-TeX; in particular, it modifies LaTeX's register
allocation macros to make use of the extended register range.  The
@code{etextools} package provides macros that make more sophisticated use of
e-TeX's facilities.")
    (license license:lppl1.3+)))

(define-public texlive-eulervm
  (package
    (name "texlive-eulervm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eulervm/"
                                     "fonts/tfm/public/eulervm/"
                                     "fonts/vf/public/eulervm/"
                                     "source/latex/eulervm/" "tex/latex/eulervm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "118yidwnqw4acap2wdykcdx2cxp8q2ganz67ls6rkg6fid325mkq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eulervm")
    (synopsis "Euler virtual math fonts")
    (description
     "The Euler fonts are suitable for typsetting mathematics in conjunction
with a variety of text fonts that do not provide mathematical character sets
of their own.  Euler-VM is a set of virtual mathematics fonts based on Euler
and CM. This approach has several advantages over immediately using the real
Euler fonts. Most noticeably, less TeX resources are consumed, the quality of
various math symbols is improved and a usable @code{\\hslash} symbol can be
provided.  The virtual fonts are accompanied by a LaTeX package which makes
them easy to use, particularly in conjunction with Type1 PostScript text
fonts.  They are compatible with @code{amsmath}.  A package option allows the
fonts to be loaded at 95% of their nominal size, thus blending better with
certain text fonts, e.g., Minion.")
    (license license:lppl)))

(define-public texlive-plain
  (package
    (name "texlive-plain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "makeindex/plain/" "tex/plain/base/"
                                     "tex/plain/config/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zwvrfw8z28c9dy8nby5qfwbyrd2a0cdfwyd5jndscjczhw0yi62"))))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-engine "tex"
      #:tex-format #f
      #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/plain")
    (synopsis "Plain TeX format and supporting files")
    (description
     "This package contains files used to build the Plain TeX format, as
described in the TeXbook, together with various supporting files (some also
discussed in the book).")
    (license license:knuth)))

(define-deprecated-package texlive-tex-plain texlive-plain)

(define-public texlive-pxfonts
  (package
    (name "texlive-pxfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/pxfonts/"
                                     "fonts/afm/public/pxfonts/"
                                     "fonts/map/dvips/pxfonts/"
                                     "fonts/tfm/public/pxfonts/"
                                     "fonts/type1/public/pxfonts/"
                                     "fonts/vf/public/pxfonts/"
                                     "tex/latex/pxfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z2ls46x2l79saq4l1d2cqwazhpg79b9hqsf90wzx70676mxcwac"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxfonts")
    (synopsis "Palatino-like fonts in support of mathematics")
    (description
     "Pxfonts supplies virtual text roman fonts using Adobe Palatino (or
URWPalladioL) with some modified and additional text symbols in the OT1, T1,
and TS1 encodings; maths alphabets using Palatino/Palladio; maths fonts
providing all the symbols of the Computer Modern and AMS fonts, including all
the Greek capital letters from CMR; and additional maths fonts of various
other symbols.  The set is complemented by a sans-serif set of text fonts,
based on Helvetica/NimbusSanL, and a monospace set derived from the parallel
TX font set.  All the fonts are in Type 1 format (AFM and PFB files), and are
supported by TeX metrics (VF and TFM files) and macros for use with LaTeX.")
    (license license:gpl3+)))

(define-public texlive-halloweenmath
  (package
    (name "texlive-halloweenmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/halloweenmath/"
                                     "source/latex/halloweenmath/"
                                     "tex/latex/halloweenmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xq72k1p820b5q3haxf936g69p6gv34hr30870l96jnxa3ad7y05"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'non-interactive-build
            ;; When it realizes it cannot employ the usedir directive, the
            ;; build process stops and waits for an input before inserting
            ;; generated files in the working directory.  Do not ask for an
            ;; input.
            (lambda _
              (substitute* "source/latex/halloweenmath/halloweenmath.ins"
                (("\\Ask.*") "")
                (("\\(your .*? will be ignored\\).*") "")))))))
    (native-inputs (list texlive-cm))
    (home-page "https://ctan.org/pkg/halloweenmath")
    (synopsis "Scary and creepy math symbols with AMS-LaTeX integration")
    (description
     "The package defines a handful of commands for typesetting mathematical
symbols of various kinds, ranging from large operators to extensible
arrow-like relations and growing arrow-like math accents that all draw from
the classic Halloween-related iconography (pumpkins, witches, ghosts, cats,
and so on) while being, at the same time, seamlessly integrated within the
rest of the mathematics produced by (AmS-)LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-haranoaji
  (package
    (name "texlive-haranoaji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/haranoaji/"
                                     "fonts/opentype/public/haranoaji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zwmb94p6byzij4dxydwvv70iv9y107p7ig0dj94pgxzc4i6vcny"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/haranoaji")
    (synopsis "Harano Aji fonts")
    (description
     "Harano Aji fonts (Harano Aji Mincho and Harano Aji Gothic) are fonts
obtained by replacing Adobe-Identity-0 (AI0) CIDs of Source Han fonts (Source
Han Serif and Source Han Sans) with Adobe-Japan1 (AJ1) CIDs.  There are 14
fonts, 7 weights each for Mincho and Gothic.")
    (license license:silofl1.1)))

(define-public texlive-haranoaji-extra
  (package
    (name "texlive-haranoaji-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/haranoaji-extra/"
                                     "fonts/opentype/public/haranoaji-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1knw4yw76rdmp0gxx5faszv60rn7b0p6njb3fkpd2dn3jqy45ivi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/haranoaji-extra")
    (synopsis "Extra weights for Harano Aji fonts")
    (description
     "Harano Aji fonts (Harano Aji Mincho and Harano Aji Gothic) are fonts
obtained by replacing Adobe-Identity-0 (AI0) CIDs of Source Han fonts (Source
Han Serif and Source Han Sans) with Adobe-Japan1 (AJ1) CIDs.  This package
provides extra weights for these fonts.")
    (license license:silofl1.1)))

(define-public texlive-hardwrap
  (package
    (name "texlive-hardwrap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hardwrap/" "source/latex/hardwrap/"
                                     "tex/latex/hardwrap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ql3xml1ccll44q945n7w72p6d51y5wcrkawi7cg621gy5d6wzx5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hardwrap")
    (synopsis "Hard wrap text to a certain character length")
    (description
     "The package facilitates wrapping text to a specific character width,
breaking lines by words rather than, as done by TeX, by characters.  The
primary use for these facilities is to aid the generation of messages sent to
the log file or console output to display messages to the user.  Package
authors may also find this useful when writing out arbitrary text to an
external file.")
    (license license:lppl1.3+)))

(define-public texlive-hatching
  (package
    (name "texlive-hatching")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/hatching/"
                                     "metapost/hatching/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rkxx57rpzk8i0msbyrzcgmbvmjjrg295qg508w3v3dsy0f0krjj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hatching")
    (synopsis "MetaPost macros for hatching interior of closed paths")
    (description
     "The file @file{hatching}.mp contains a set of MetaPost macros for
hatching interior of closed paths.")
    (license license:public-domain)))

(define-public texlive-helvetic
  (package
    (name "texlive-helvetic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/helvetic/"
                                     "fonts/afm/adobe/helvetic/"
                                     "fonts/afm/urw/helvetic/"
                                     "fonts/map/dvips/helvetic/"
                                     "fonts/tfm/adobe/helvetic/"
                                     "fonts/tfm/monotype/helvetic/"
                                     "fonts/tfm/urw35vf/helvetic/"
                                     "fonts/type1/urw/helvetic/"
                                     "fonts/vf/adobe/helvetic/"
                                     "fonts/vf/monotype/helvetic/"
                                     "fonts/vf/urw35vf/helvetic/"
                                     "tex/latex/helvetic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c3f1ly7y6404z0akbfbbfql13sz717v0n0g69qjpr69hi4n0nsl"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Helvetica font")
    (description
     "This package provides a drop-in replacement for the Helvetica font from
Adobe's basic set.")
    ;; No license version specified.
    (license license:gpl3+)))

(define-public texlive-ieejtran
  (package
    (name "texlive-ieejtran")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/ieejtran/"
                                     "doc/bibtex/ieejtran/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01bcw45v6mbyb1gzykzk5ccwz70s6591994xrj84z9ljgzp06lyg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ieejtran")
    (synopsis
     "Unofficial bibliography style file for the Institute of Electrical
Engineers of Japan")
    (description
     "This package provides an unofficial BibTeX style for authors of the
Institute of Electrical Engineers of Japan (IEEJ) transactions journals and
conferences.")
    (license license:expat)))

(define-public texlive-inputenx
  (package
    (name "texlive-inputenx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inputenx/" "source/latex/inputenx/"
                                     "tex/latex/inputenx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0snjndrcynm4w8m9iq8gmadzhrbwvsdy4y1ak24ia0hpsicdi4aj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inputenx")
    (synopsis "Enhanced input encoding handling")
    (description
     "This package deals with input encodings.  It provides a wider range of
input encodings using standard mappings, than does @code{inputenc}.  It also
covers nearly all slots.  In this way, it serves as more up to date
replacement for the @code{inputenc} package.")
    (license license:lppl1.3+)))

(define-public texlive-kpathsea
  (package
    (name "texlive-kpathsea")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/dir"
                                     "doc/info/kpathsea.info"
                                     "doc/info/web2c.info"
                                     "doc/kpathsea/"
                                     "doc/man/man1/kpseaccess.1"
                                     "doc/man/man1/kpseaccess.man1.pdf"
                                     "doc/man/man1/kpsereadlink.1"
                                     "doc/man/man1/kpsereadlink.man1.pdf"
                                     "doc/man/man1/kpsestat.1"
                                     "doc/man/man1/kpsestat.man1.pdf"
                                     "doc/man/man1/kpsewhich.1"
                                     "doc/man/man1/kpsewhich.man1.pdf"
                                     "doc/web2c/NEWS"
                                     "doc/web2c/web2c.html"
                                     "doc/web2c/web2c.pdf"
                                     "web2c/amiga-pl.tcx"
                                     "web2c/cp1250cs.tcx"
                                     "web2c/cp1250pl.tcx"
                                     "web2c/cp1250t1.tcx"
                                     "web2c/cp227.tcx"
                                     "web2c/cp852-cs.tcx"
                                     "web2c/cp852-pl.tcx"
                                     "web2c/cp8bit.tcx"
                                     "web2c/empty.tcx"
                                     "web2c/fmtutil.cnf"
                                     "web2c/il1-t1.tcx"
                                     "web2c/il2-cs.tcx"
                                     "web2c/il2-pl.tcx"
                                     "web2c/il2-t1.tcx"
                                     "web2c/kam-cs.tcx"
                                     "web2c/kam-t1.tcx"
                                     "web2c/macce-pl.tcx"
                                     "web2c/macce-t1.tcx"
                                     "web2c/maz-pl.tcx"
                                     "web2c/mktex.cnf"
                                     "web2c/mktex.opt"
                                     "web2c/mktexdir"
                                     "web2c/mktexdir.opt"
                                     "web2c/mktexnam"
                                     "web2c/mktexnam.opt"
                                     "web2c/mktexupd"
                                     "web2c/natural.tcx"
                                     "web2c/tcvn-t5.tcx"
                                     "web2c/texmf.cnf"
                                     "web2c/viscii-t5.tcx"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14zi3qydf8hjh2xfn81b54ppq2p78yb8pcgkaz2v2ia9n1r3ga6f"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "gawk" "sed")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-references
            (lambda _
              (let ((dirs (map dirname (list (which "sed")
                                             (which "awk")))))
                (substitute* '("web2c/mktexdir"
                               "web2c/mktexnam"
                               "web2c/mktexupd")
                  (("^version=" m)
                   (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
                           dirs m)))))))))
    (inputs (list gawk sed))
    (propagated-inputs (list texlive-libkpathsea)) ;for the executables
    (home-page "https://ctan.org/pkg/kpathsea")
    (synopsis "Files related to the path searching library for TeX")
    (description
     "Kpathsea is a library and utility programs which provide path searching
facilities for TeX file types, including the self-locating feature required
for movable installations, layered on top of a general search mechanism.  This
package provides supporting files.")
    (license license:lgpl3+)))

(define-public texlive-kpfonts
  (package
    (name "texlive-kpfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kpfonts/"
                                     "fonts/afm/public/kpfonts/"
                                     "fonts/enc/dvips/kpfonts/"
                                     "fonts/map/dvips/kpfonts/"
                                     "fonts/tfm/public/kpfonts/"
                                     "fonts/type1/public/kpfonts/"
                                     "fonts/vf/public/kpfonts/"
                                     "tex/latex/kpfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m5waxqrkm1i59i9vbn9ai9zjn7cl0f36iccwn2d73lhrqhbn16q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kpfonts")
    (synopsis "Complete set of fonts for text and mathematics")
    (description
     "The family contains text fonts in roman, sans-serif and monospaced
shapes, with true small caps and old-style numbers; the package offers full
support of the textcomp package.  The mathematics fonts include all the AMS
fonts, in both normal and bold weights.  Each of the font types is available
in two main versions: default and light.  Each version is available in four
variants: default; oldstyle numbers; oldstyle numbers with old ligatures such
as ct and st, and long-tailed capital Q; and veryoldstyle with long s.  Other
variants include small caps as default or large small caps, and for
mathematics both upright and slanted shapes for Greek letters, as well as
default and narrow versions of multiple integrals.")
    (license license:gpl3+)))

(define-public texlive-kpfonts-otf
  (package
    (name "texlive-kpfonts-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kpfonts-otf/"
                                     "fonts/opentype/public/kpfonts-otf/"
                                     "tex/latex/kpfonts-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13i9r4sgw547fwv6zqpbzlzarzfjpgp6ivi29qi47xk1dg8bqq95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kpfonts-otf")
    (synopsis "OTF version of the Kp-fonts")
    (description
     "This bundle provides OpenType versions of the Type1 Kp-fonts designed by
Christophe Caignaert.  It is usable with LuaTeX or XeTeX engines only.  It
consists of sixteen Text fonts (eight Serif, four Sans-Serif, four Monotype)
and six Math fonts.  Serif and Sans-Serif families have small caps available
in two sizes (SmallCaps and PetitesCaps), upper and lowercase digits, real
superscripts and subscripts; ancient ligatures (@samp{ct} and @samp{st}),
ancient long-@samp{s} and a long-tailed capital @samp{Q} are available via
font features.  Math fonts cover all usual symbols including AMS'.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-latexconfig
  (package
    (name "texlive-latexconfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/latexconfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0254p59z7w4ihplrxknkcy2ls6258yj9k1dh6yc6sx9i538vylbz"))))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/latexconfig")
    (synopsis "Configuration files for LaTeX-related formats")
    (description "The package provides configuration files for LaTeX-related
formats.")
    (license license:lppl)))

(define-public texlive-latex-bin
  (package
    (name "texlive-latex-bin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvilualatex.1"
                                     "doc/man/man1/dvilualatex.man1.pdf"
                                     "doc/man/man1/latex.1"
                                     "doc/man/man1/latex.man1.pdf"
                                     "doc/man/man1/lualatex.1"
                                     "doc/man/man1/lualatex.man1.pdf"
                                     "doc/man/man1/pdflatex.1"
                                     "doc/man/man1/pdflatex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f73x92hwybkq6gqhps6gnsy8rs12zwxbfnp226d0bm6b2ji31z6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:create-formats #~(list "dvilualatex" "latex" "lualatex" "pdflatex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'symlink-binaries
            ;; Create symbolic links for the latex variants.  We link lualatex
            ;; to luahbtex; see issue #51252 for details.
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((pdftex (search-input-file inputs "bin/pdftex"))
                    (luahbtex (search-input-file inputs "bin/luahbtex"))
                    (bin (string-append #$output "/bin")))
                (mkdir-p bin)
                (with-directory-excursion bin
                  (symlink pdftex "latex")
                  (symlink pdftex "pdflatex")
                  (symlink luahbtex "lualatex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-graphics
           texlive-hyphen-complete
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-lm
           texlive-luahbtex
           texlive-luaotfload
           texlive-luatex
           texlive-pdftex
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/latex-bin")
    (synopsis "LaTeX formats and man pages")
    (description
     "This package provides LaTeX format files and man pages along with
several packages that are considered as part of the LaTeX kernel.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-base texlive-latex-bin)

(define-public texlive-atenddvi
  (package
    (name "texlive-atenddvi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/atenddvi/"
                                     "source/latex/atenddvi/"
                                     "tex/latex/atenddvi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fwa5233mdgvixhl2rzn9s06zz52j6ml7hfzd4194bn389n9syhk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/atenddvi")
    (synopsis "Provide the @code{\\AtEndDvi} command for older LaTeX format")
    (description
     "This package is unneeded and does nothing when used with a LaTeX format
2020-10-01 or newer as in this case the format provides the @code{\\AtEndDvi}
command.  For older formats it implements @code{\\AtEndDvi}, a counterpart to
@code{\\AtBeginDvi}.  The execution of its argument is delayed to the end of
the document at the end of the last page.  Thus @code{\\special} and
@code{\\write} remain effective, because they are put into the last page.
This is the main difference to @code{\\AtEndDocument}.")
    (license license:lppl1.3c+)))

(define-public texlive-attachfile
  (package
    (name "texlive-attachfile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/attachfile/"
                                     "doc/latex/attachfile/"
                                     "source/latex/attachfile/"
                                     "tex/latex/attachfile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0340c4rvxhhk95wlhf54n9akiwhj6pj0bslys6bkq29x9903zx5h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/attachfile")
    (synopsis "Attach arbitrary files to a PDF document")
    (description
     "Starting with PDF 1.3, PDF files can contain file attachments, i.e.,
arbitrary files that a reader can extract, just like attachments to an e-mail
message.  The @code{attachfile} package brings this functionality to pdfLaTeX
and provides some additional features such as the ability to use arbitrary
LaTeX code for the file icon.  Settings can be made either globally or on
a per-attachment basis.  @code{attachfile} makes it easy to attach files and
customize their appearance in the enclosing document.")
    (license license:lppl1.3+)))

(define-public texlive-attachfile2
  (package
    (name "texlive-attachfile2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/attachfile2/"
                                     "doc/man/man1/pdfatfi.1"
                                     "doc/man/man1/pdfatfi.man1.pdf"
                                     "scripts/attachfile2/"
                                     "source/latex/attachfile2/"
                                     "tex/latex/attachfile2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y2ygsgx0gjfqkpn1frqg4z59jz6mdp99v9qmz6v4ppflvc1a0zs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pdfatfi.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/attachfile2")
    (synopsis "Attach files into PDF")
    (description
     "This package can be used to attach files to a PDF document.  It is
a further development of Scott Pakin's package @code{attachfile} for pdfTeX.
Apart from bug fixes, this package adds support for dvips, some new options,
and gets and writes meta information data about the attached files.")
    (license license:lppl1.3c)))

(define-public texlive-atveryend
  (package
    (name "texlive-atveryend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/atveryend/"
                                     "source/latex/atveryend/"
                                     "tex/latex/atveryend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rp805h0m99rxs107a798l951lyahlnp7irfklfadn2a2ljzhafn"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (home-page "https://ctan.org/pkg/atveryend")
    (synopsis "Hooks at the very end of a document")
    (description
     "This LaTeX packages provides two hooks for @code{\\end{document}} that
are executed after the hook of @code{\\AtEndDocument}:
@code{\\AfterLastShipout} can be used for code that is to be executed right
after the last @code{\\clearpage} before the @file{.aux} file is closed.
@code{\\AtVeryEndDocument} is used for code after closing and final reading of
the @file{.aux} file.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-atveryend texlive-atveryend)

(define-public texlive-automata
  (package
    (name "texlive-automata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/automata/"
                                     "metapost/automata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y02wp1w2jkhrxanz7r699kr08bmbfn0h0xaxj3zh4xj9745d7d7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/automata")
    (synopsis "Finite state machines, graphs and trees in MetaPost")
    (description
     "The package offers a collection of macros for MetaPost to make easier to
draw finite-state machines, automata, labelled graphs, etc.  The user defines
nodes, which may be isolated or arranged into matrices or trees; edges connect
pairs of nodes through arbitrary paths.  Parameters, that specify the shapes
of nodes and the styles of edges, may be adjusted.")
    (license license:lppl)))

(define-public texlive-auxhook
  (package
    (name "texlive-auxhook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/auxhook/" "source/latex/auxhook/"
                                     "tex/latex/auxhook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qfs7bz8ryp4prr2fw4hwypnfc6yr4rc4wd8qy4rpmab0hab0vdy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/auxhook")
    (synopsis "Hooks for auxiliary files")
    (description
     "This package provides hooks for adding code at the beginning of
@file{.aux} files.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-auxhook texlive-auxhook)

(define-public texlive-epspdf
  (package
    (name "texlive-epspdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/epspdf.info" "doc/support/epspdf/"
                                     "scripts/epspdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sxn3dff0nxiw68h1kr86rmnc72xkc62fk94j590a4di1lh2firl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "epspdf.tlu" "epspdftk.tcl")))
    (inputs (list tcl tk))
    (home-page "https://ctan.org/pkg/epspdf")
    (synopsis "Converter for PostScript, EPS and PDF")
    (description
     "Epspdftk.tcl is a GUI PS/EPS/PDF converter.  Epspdf.tlu, its
command-line backend, can be used by itself.  Options include grayscaling,
cropping margins and single-page selection.  Some conversion options are made
possible by converting in multiple steps.")
    (license license:gpl2)))

(define-public texlive-epstopdf
  (package
    (name "texlive-epstopdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/epstopdf.1"
                                     "doc/man/man1/epstopdf.man1.pdf"
                                     "doc/man/man1/repstopdf.1"
                                     "doc/man/man1/repstopdf.man1.pdf"
                                     "doc/support/epstopdf/"
                                     "scripts/epstopdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0brlgj7ywmw95b6bkb3bkvxnvf3a4bfwbgq38lwz4f9klacrs2ys"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "ghostscript")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "epstopdf.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'set-gs-location
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((gs (search-input-file inputs "/bin/gs")))
                (substitute* "scripts/epstopdf/epstopdf.pl"
                  (("\"gs\"") (string-append "\"" gs "\""))))))
          (add-after 'link-scripts 'add-repstopdf
            (lambda _
              (with-directory-excursion (string-append #$output "/bin")
                (symlink "epstopdf" "repstopdf")))))))
    (home-page "https://ctan.org/pkg/epstopdf")
    (synopsis "Convert EPS to PDF using Ghostscript")
    (inputs (list ghostscript perl))
    (description
     "Epstopdf is a Perl script that converts an EPS file to an encapsulated
PDF file (a single page file whose media box is the same as the original EPS's
bounding box). The resulting file suitable for inclusion by pdfTeX as an
image.  LaTeX users may make use of the @code{epstopdf} package, which will
run the @code{epstopdf} script on the fly, thus giving the illusion that
pdfLaTeX is accepting EPS graphic files.")
    (license license:bsd-3)))

(define-public texlive-epstopdf-pkg
  (package
    (name "texlive-epstopdf-pkg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epstopdf-pkg/"
                                     "source/latex/epstopdf-pkg/"
                                     "tex/latex/epstopdf-pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajyc5pkn1niifz5asyf09vbdqvmy05xwl0vxcdl7ik0ll0jcaxp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/epstopdf-pkg")
    (synopsis "Call @command{epstopdf} on the fly")
    (description
     "The package adds support for EPS files in the @code{graphicx} package
when running under pdfTeX.  If an EPS graphic is detected, the package spawns
a process to convert the EPS to PDF, using the script @command{epstopdf}.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-epstopdf-pkg texlive-epstopdf-pkg)

(define-public texlive-filecontents
  (package
    (name "texlive-filecontents")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filecontents/"
                                     "source/latex/filecontents/"
                                     "tex/latex/filecontents/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hrlwwv8sywd2z6xw3dryf0xbrbbc50k44q8s23727banghg6ham"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/filecontents")
    (synopsis "Create an external file from within a LaTeX document")
    (description
     "LaTeX2e's @code{filecontents} and @code{filecontents*} environments
enable a LaTeX source file to generate external files as it runs through
LaTeX.  However, there are two limitations of these environments: they refuse
to overwrite existing files, and they can only be used in the preamble of
a document.  The filecontents package removes these limitations, letting you
overwrite existing files and letting you use @code{filecontents}
@code{filecontents*} anywhere.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-filecontents texlive-filecontents)

(define-public texlive-filehook
  (package
    (name "texlive-filehook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filehook/" "source/latex/filehook/"
                                     "tex/latex/filehook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zg9svjhrnh52fa04n3pnb0hrijp0lrr939dacf90cjjzwk36sfn"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/filehook")
    (synopsis "Hooks for input files")
    (description
     "The package provides several file hooks (@code{AtBegin}, @code{AtEnd},
...) for files read by @code{\\input}, @code{\\include} and
@code{\\InputIfFileExists}.  General hooks for all such files (e.g., all
@code{\\included} ones) and file specific hooks only used for named files are
provided; two hooks are provided for the end of @code{\\included} files ---
one before, and one after the final @code{\\clearpage}.")
    (license license:lppl1.3+)))

(define-public texlive-epsf
  (package
    (name "texlive-epsf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/epsf/" "tex/generic/epsf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03jcf0kqh47is965d2590miwj7d5kif3c4mgsnvkyl664jzjkh92"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsf")
    (synopsis "Simple macros for EPS inclusion")
    (description
     "This package provides the original (and now obsolescent) graphics
inclusion macros for use with dvips, still widely used by Plain TeX users (in
particular).  For LaTeX users, the package is nowadays (rather strongly)
deprecated in favour of the more sophisticated standard LaTeX latex-graphics
bundle of packages.  (The latex-graphics bundle is also available to Plain TeX
users, via its Plain TeX version.)")
    (license license:public-domain)))

(define-deprecated-package texlive-generic-epsf texlive-epsf)

(define-public texlive-fancyvrb
  (package
    (name "texlive-fancyvrb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyvrb/" "tex/latex/fancyvrb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jpxlzq1v96s2qifzjjh2xfifch47iks7l8zhs9vq7w5cd4y6pyl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyvrb")
    (synopsis "Sophisticated verbatim text")
    (description
     "This package provides tools for the flexible handling of verbatim text
including: verbatim commands in footnotes; a variety of verbatim environments
with many parameters; ability to define new customized verbatim environments;
save and restore verbatim text and environments; write and read files in
verbatim mode; build \"example\" environments (showing both result and
verbatim source).")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-fancyvrb texlive-fancyvrb)

(define-public texlive-fandol
  (package
    (name "texlive-fandol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fandol/"
                                     "fonts/opentype/public/fandol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lk91ypsvj2wkqsw8lklkqfsqimjyn0vzbwgqgs5h6kf61m6qsk5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fandol")
    (synopsis "Four basic fonts for Chinese typesetting")
    (description
     "This package provides Fandol fonts designed for Chinese typesetting.
The current version contains four styles: Song, Hei, Kai, Fang.  All fonts are
in OpenType format.")
    (license license:gpl3+)))

(define-public texlive-gentium-tug
  (package
    (name "texlive-gentium-tug")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/gentium-tug/"
                                     "fonts/afm/public/gentium-tug/"
                                     "fonts/enc/dvips/gentium-tug/"
                                     "fonts/map/dvips/gentium-tug/"
                                     "fonts/map/pdftex/gentium-tug/"
                                     "fonts/tfm/public/gentium-tug/"
                                     "fonts/truetype/public/gentium-tug/"
                                     "fonts/type1/public/gentium-tug/"
                                     "source/fonts/gentium-tug/"
                                     "tex/latex/gentium-tug/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0byiqwqxiik3i9cb6lp53vw4yw92frlmmsk05653g9kgmx04x70d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gentium-tug")
    (synopsis "Gentium fonts (in two formats) and support files")
    (description
     "Gentium is a typeface family designed to enable the diverse ethnic
groups around the world who use the Latin, Cyrillic and Greek scripts to
produce readable, high-quality publications.  It supports a wide range of
Latin- and Cyrillic-based alphabets.")
    (license (list license:expat license:silofl1.1))))

(define-public texlive-gincltex
  (package
    (name "texlive-gincltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gincltex/" "source/latex/gincltex/"
                                     "tex/latex/gincltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x6bsf445dp8wc5hfgyywlal8vky5w23d69zlpybkp2d9am9a71p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gincltex")
    (synopsis "Include TeX files as graphics")
    (description
     "The package builds on the standard LaTeX packages @code{graphics} and
allows external LaTeX source files to be included, in the same way as graphic
files, by @code{\\includegraphics}.  In effect, then package adds support for
the @file{.tex} extension.")
    (license license:lppl1.3+)))

(define-public texlive-git-latexdiff
  (package
    (name "texlive-git-latexdiff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/git-latexdiff.1"
                                     "doc/man/man1/git-latexdiff.man1.pdf"
                                     "doc/support/git-latexdiff/"
                                     "scripts/git-latexdiff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hblgnjad5qm27ijpynz0x1rxgi07y5apgnv5r2wk3ngxj016pvn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "git-latexdiff")))
    (home-page "https://ctan.org/pkg/git-latexdiff")
    (synopsis "Call @command{latexdiff} on two Git revisions of a file")
    (description
     "@command{git-latexdiff} is a tool to graphically visualize differences
between different versions of a LaTeX file.")
    (license license:bsd-2)))

(define-public texlive-glyphlist
  (package
    (name "texlive-glyphlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/map/glyphlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nmmyh77vr2622lzi11nm1z1k2bxs7jz018yl4rwjlpg0sxg1ja"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glyphlist")
    (synopsis "Adobe Glyph List and TeX extensions")
    (description
     "This package provides a map between traditional Adobe glyph names and
Unicode points; it is maintained by Adobe.  The additional
@file{texglyphlist.txt} is maintained as part of @code{lcdf-typetools}.")
    (license license:asl2.0)))

(define-public texlive-graphics-def
  (package
    (name "texlive-graphics-def")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphics-def/"
                                     "tex/latex/graphics-def/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kp28k3shsiv0a051lp4fcqadac41c942hxwn506yps7h9y4jg23"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/graphics-def")
    (synopsis "Colour and graphics option files")
    (description
     "This bundle is a combined distribution consisting of @file{dvips.def},
@file{pdftex.def}, @file{luatex.def}, @file{xetex.def}, @file{dvipdfmx.def},
and @file{dvisvgm.def} driver option files for the LaTeX graphics and color
packages.")
    (license license:lppl1.3c+)))

(define-public texlive-graphics-cfg
  (package
    (name "texlive-graphics-cfg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphics-cfg/"
                                     "tex/latex/graphics-cfg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00n63adb2laf43lzix39xl68aq0k5k80mmrw602w99w5n7f96gsf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/graphics-cfg")
    (synopsis "Sample configuration files for LaTeX color and graphics")
    (description
     "This bundle includes @file{color.cfg} and @file{graphics.cfg} files that
set default \"driver\" options for the color and graphics packages.")
    (license license:public-domain)))

(define-public texlive-graphics
  (package
    (name "texlive-graphics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphics/"
                                     "source/latex/graphics/"
                                     "tex/latex/graphics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "024hncahwc07yd2l94znv7v72sbykxdri5lpg3w4ip0nf10ywyma"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (propagated-inputs (list texlive-graphics-cfg texlive-graphics-def))
    (home-page "https://ctan.org/macros/latex/required/graphics")
    (synopsis "The LaTeX standard graphics bundle")
    (description
     "This is a collection of LaTeX packages for: producing colour including
graphics (e.g., PostScript) files rotation and scaling of text in LaTeX
documents.  It comprises the packages @code{color}, @code{graphics},
@code{graphicx}, @code{trig}, @code{epsfig}, @code{keyval}, and
@code{lscape}.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-graphics texlive-graphics)

(define-public texlive-greek-fontenc
  (package
    (name "texlive-greek-fontenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/greek-fontenc/"
                                     "tex/latex/greek-fontenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xwg1vnw7z5ik1n106lr1wfq156j1ap8j9z36qdhi5sxqyx9zvm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/greek-fontenc")
    (synopsis "LICR macros and encoding definition files for Greek")
    (description
     "The package provides Greek LICR macro definitions and encoding
definition files for Greek text font encodings for use with @code{fontenc}.")
    (license license:lppl1.3+)))

(define-public texlive-gsftopk
  (package
    (name "texlive-gsftopk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/gsftopk.1"
                                     "doc/man/man1/gsftopk.man1.pdf"
                                     "dvips/gsftopk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qlac704qbm7kq762z0b887wfncprpcm8zj2lb4nag0wzdrrjdq5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-gsftopk-bin))
    (home-page "https://ctan.org/pkg/gsftopk")
    (synopsis "Convert Ghostscript fonts to PK files")
    (description
     "Designed for use with @command{xdvi} and @command{dvips}, this utility
converts Adobe Type 1 fonts to PK bitmap format.  It should not ordinarily be
much used nowadays, since both its target applications are now capable of
dealing with Type 1 fonts, direct.")
    (license license:gpl3+)))

(define-public texlive-gsftopk-bin
  (package
    (inherit texlive-bin)
    (name "texlive-gsftopk-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("gsftopk"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-gsftopk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/gsftopk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/gsftopk"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-gsftopk))
    (synopsis "Binary for @code{texlive-gsftopk}")
    (description
     "This package provides the binary for @code{texlive-gsftopk}.")
    (license (package-license texlive-gsftopk))))

(define-public texlive-hycolor
  (package
    (name "texlive-hycolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hycolor/" "source/latex/hycolor/"
                                     "tex/latex/hycolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hycolor")
    (synopsis "Colour for packages @code{hyperref} and @code{bookmark}")
    (description
     "This package provides the code for the color option that is used by
packages @code{hyperref} and @code{bookmark}.  It is not intended as a package
for the user.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-hycolor texlive-hycolor)

(define-public texlive-xcjk2uni
  (package
    (name "texlive-xcjk2uni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcjk2uni/"
                                     "source/latex/xcjk2uni/"
                                     "tex/latex/xcjk2uni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vjp47ngrirrvbnk4vnm5lbysj3qlbwxbfc1szc22gaikm52ggaq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ttfutils")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'copy-ctxdocstrip.tex
            ;; There's a circular dependency between this package (where
            ;; `ctex' should be a native input) and `ctex' (where this package
            ;; is a propagated input).  To work around this, install the
            ;; specific "ctxdocstrip.tex" file from `ctex' in the build
            ;; directory and set TEXINPUTS variable accordingly so the process
            ;; can find it.
            (lambda* (#:key inputs #:allow-other-keys)
              (install-file (search-input-file inputs
                                               "tex/generic/ctex/ctxdocstrip.tex")
                            "build/")
              (setenv "TEXINPUTS" (string-append (getcwd) "/build:")))))))
    (native-inputs (list (package-source texlive-ctex) texlive-ttfutils))
    (home-page "https://ctan.org/pkg/xcjk2uni")
    (synopsis "Convert CJK characters to Unicode, in pdfTeX")
    (description
     "The package provides commands to convert CJK characters to Unicode in
non-UTF-8 encoding; it provides hooks to support hyperref in producing correct
bookmarks.  The bundle also provides @code{/ToUnicode} mapping file(s) for
a CJK subfont; these can be used with the cmap package, allowing searches of,
and cut-and-paste operations on a PDF file generated by pdfTeX.")
    (license license:lppl1.3c)))

(define-public texlive-xcolor
  (package
    (name "texlive-xcolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcolor/" "dvips/xcolor/"
                                     "source/latex/xcolor/" "tex/latex/xcolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gffdw5klhsyfcnicjw0fpqwgid8qfrfbqwxif7wsbw1q217bmmy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcolor")
    (synopsis "Driver-independent color extensions for LaTeX and pdfLaTeX")
    (description
     "The package starts from the basic facilities of the colorcolor package,
and provides easy driver-independent access to several kinds of color tints,
shades, tones, and mixes of arbitrary colors.  It allows a user to select
a document-wide target color model and offers complete tools for conversion
between eight color models.  Additionally, there is a command for alternating
row colors plus repeated non-aligned material (like horizontal lines) in
tables.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-xcolor texlive-xcolor)

(define-public texlive-xltxtra
  (package
    (name "texlive-xltxtra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xltxtra/"
                                     "source/xelatex/xltxtra/"
                                     "tex/xelatex/xltxtra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dh3nnr4xhb85zp3q4jdzqvfghg8m9zvpsvvrmmp0q3ayf0c1dbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-metalogo))
    (home-page "https://ctan.org/pkg/xltxtra")
    (synopsis "Extras for LaTeX users of XeTeX")
    (description
     "This package was previously used to provide a number of features that
were useful for typesetting documents with XeLaTeX.  Many of those features
have now been incorporated into the @code{fontspec} package and other
packages, but the package persists for backwards compatibility.  Nowadays,
loading @code{xltxtra} will: load the @code{fontspec}, @code{metalogo}, and
@code{realscripts} packages; redefine @code{\\showhyphens} so it works
correctly; and define two extra commands: @code{\\vfrac} and
@code{\\namedglyph}.")
    (license license:lppl1.3c)))

(define-public texlive-xml2pmx
  (package
    (name "texlive-xml2pmx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/xml2pmx.1"
                                     "doc/man/man1/xml2pmx.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d3ralqh0b71scd59b4hmm707yfrz1rj28ni2lzkhbb1ql73bvah"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-xml2pmx-bin))
    (home-page "https://ctan.org/pkg/xml2pmx")
    (synopsis "Convert MusicXML to PMX and MusiXTeX")
    (description
     "This program translates MusicXML files to input suitable for PMX and
MusiXTeX processing.")
    (license license:gpl3+)))

(define-public texlive-xml2pmx-bin
  (package
    (inherit texlive-bin)
    (name "texlive-xml2pmx-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '("xml2pmx"))
            (delete-other-directories "texk" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-xml2pmx" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "utils/xml2pmx"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "utils/xml2pmx"
                  (invoke "make" "install"))))))))
    (native-inputs '())
    (inputs '())
    (propagated-inputs '())
    (home-page (package-home-page texlive-xml2pmx))
    (synopsis "Binary for @code{texlive-xml2pmx}")
    (description
     "This package provides the binary for @code{texlive-xml2pmx}.")
    (license (package-license texlive-xml2pmx))))

(define-public texlive-xmltexconfig
  (package
    (name "texlive-xmltexconfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list ))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xmltexconfig")
    (synopsis "Configuration files for @code{xmltex} and @code{pdfxmltex}")
    (description "This package provides configuration files for @code{xmltex}
and @code{pdfxmltex}.")
    (license license:public-domain)))

(define-public texlive-xmltex
  (package
    (name "texlive-xmltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/otherformats/xmltex/base/"
                                     "tex/xmltex/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqwsapba8zs2ijjs7lpzksm20jqb8zbmanpw7wmdp2rq26ahylh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:create-formats #~(list "pdfxmltex" "xmltex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'install-wrappers
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((pdftex (search-input-file inputs "/bin/pdftex")))
                (mkdir-p (string-append #$output "/bin"))
                (symlink pdftex (string-append #$output "/bin/xmltex"))
                (symlink pdftex (string-append #$output "/bin/pdfxmltex"))))))))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-firstaid
           texlive-hyphen-complete
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-pdftex
           texlive-tex
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-xmltexconfig))
    (home-page "https://ctan.org/pkg/xmltex")
    (synopsis "Support for parsing XML documents")
    (description
     "The package provides an implementation of a parser for documents
matching the XML 1.0 and XML Namespace Recommendations.  Element and attribute
names, as well as character data, may use any characters allowed in XML, using
UTF-8 or a suitable 8-bit encoding.")
    (license license:lppl1.0+)))        ;per xmltex/base/readme.txt

(define-public texlive-xpiano
  (package
    (name "texlive-xpiano")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpiano/" "source/latex/xpiano/"
                                     "tex/latex/xpiano/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nk8v0d641cr4mg4l2k0fv7pl9b26nyi30k4px5wajwm976f042p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xpiano")
    (synopsis "Extension of the @code{piano} package")
    (description
     "This package provides macros for typesetting virtual keyboards limited
to two octaves for showing notes represented by a colored circle.  Optionally,
the number used for pitch analysis can be shown.  It is an extension of
@file{piano.sty}.  It features extended syntax and several options, like
setting the color, adding numbers for pitch analysis, one or two octaves, and
others.")
    (license license:lppl1.3+)))

(define-public texlive-xpinyin
  (package
    (name "texlive-xpinyin")
    ;; XXX: Whenever updating this package, please check if "Unihan.zip"
    ;; native input needs to be updated, too.
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpinyin/" "source/latex/xpinyin/"
                                     "tex/latex/xpinyin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fxsnvmkm66rfq08j03sch24maw0wgb8dhl73r2rf6gwxzf4imc5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "luatex"
      #:modules '((ice-9 match)
                  (srfi srfi-1)
                  (guix build texlive-build-system)
                  (guix build utils))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'copy-unihan.zip
            ;; Copy the "Unihan.zip" file where the Lua script expects to find
            ;; it.
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((unihan.zip
                     (any (match-lambda
                            ((_ . dir)
                             (and (string-suffix? "Unihan.zip" dir) dir)))
                          inputs)))
                (with-directory-excursion "source/latex/xpinyin"
                  (install-file unihan.zip ".")
                  (rename-file (basename unihan.zip) "Unihan.zip")))))
          (add-before 'build 'copy-ctxdocstrip.tex
            ;; Set TEXINPUTS so that the process can find extracted
            ;; "ctxdocstrip.tex".
            (lambda* (#:key inputs #:allow-other-keys)
              (install-file (search-input-file inputs
                                               "tex/generic/ctex/ctxdocstrip.tex")
                            "build/")
              (setenv "TEXINPUTS" (string-append (getcwd) "/build:"))))
          (add-after 'build 'fix-reproducibility
            ;; Remove a time-stamp so the generated database is reproducible.
            (lambda _
              (substitute* "tex/latex/xpinyin/xpinyin-database.def"
                (("%% +by \"texlua xpinyin.lua\" .*") "")))))))
    (native-inputs
     (list
      ;; XXX: The Unihan database may need to be updated whenever this package
      ;; is.  Appropriate Unicode version can be found in the
      ;; "tex/latex/xpinyin/xpinyin-database.def" file.
      (origin
        (method url-fetch)
        (uri "https://www.unicode.org/Public/14.0.0/ucd/Unihan.zip")
        (sha256
         (base32
          "0bc5277lpc5j0gg7fjfsah7krhqjzdxya5ww6walvkc25fdm3r1a")))
      ;; There's a circular dependency between this package (where `ctex'
      ;; should be a native input) and `ctex' (where this package is
      ;; a propagated input).  To work around this, grab the required
      ;; "ctxdocstrip.tex" file from `ctex'.
      (package-source texlive-ctex)))
    (home-page "https://ctan.org/pkg/xpinyin")
    (synopsis "Automatically add pinyin to Chinese characters")
    (description
     "The package is written to simplify the input of Hanyu Pinyin.  Macros are
provided that automatically add pinyin to Chinese characters.")
    (license license:lppl1.3c)))

(define-public texlive-hyperref
  (package
    (name "texlive-hyperref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hyperref/"
                                     "source/latex/hyperref/"
                                     "tex/latex/hyperref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mb8fm2759mi9gfxbmg97db2g510ay2wmqjkk93xmgkg768rajbc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-atbegshi
           texlive-auxhook
           texlive-bitset
           texlive-etexcmds
           texlive-gettitlestring
           texlive-hycolor
           texlive-intcalc
           texlive-kvdefinekeys
           texlive-kvsetkeys
           texlive-letltxmacro
           texlive-ltxcmds
           texlive-pdfescape
           texlive-refcount
           texlive-rerunfilecheck
           texlive-stringenc
           texlive-url
           texlive-zapfding))
    (home-page "https://www.ctan.org/pkg/hyperref")
    (synopsis "Extensive support for hypertext in LaTeX")
    (description
     "The @code{hyperref} package is used to handle cross-referencing commands
in LaTeX to produce hypertext links in the document.  The package provides
backends for the @code{\\special} set defined for HyperTeX DVI processors; for
embedded @code{pdfmark} commands for processing by Acrobat
Distiller (@code{dvips} and Y&Y's @code{dvipsone}); for Y&Y's @code{dviwindo};
for PDF control within pdfTeX and @code{dvipdfm}; for TeX4ht; and for VTeX's
pdf and HTML backends.  The package is distributed with the @code{backref} and
@code{nameref} packages, which make use of the facilities of
@code{hyperref}.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-hyperref texlive-hyperref)

(define-public texlive-hypdoc
  (package
    (name "texlive-hypdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hypdoc/" "source/latex/hypdoc/"
                                     "tex/latex/hypdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "158x0aa6vdvd8l3k1blqf5qjyaqg3mdmixscs1vvqpymdbahqgi6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hypdoc")
    (synopsis "Hyper extensions for @file{doc.sty}")
    (description
     "This package adds hypertext features to the package @code{doc} that is
used in the documentation system of LaTeX2e.  Bookmarks are added and
references are linked as far as possible.")
    (license license:lppl1.3c)))

(define-public texlive-hyperxmp
  (package
    (name "texlive-hyperxmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hyperxmp/"
                                     "doc/man/man1/hyperxmp-add-bytecount.1"
                                     "doc/man/man1/hyperxmp-add-bytecount.man1.pdf"
                                     "scripts/hyperxmp/"
                                     "source/latex/hyperxmp/"
                                     "tex/latex/hyperxmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03ipfjyw8wkgmvlaljnaxb2n3imxfs7hzwm9caw78jf6v5ji70ll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "hyperxmp-add-bytecount.pl")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            (lambda _
              (delete-file "source/latex/hyperxmp/hyperxmp-stds.tex"))))))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/hyperxmp")
    (synopsis "Embed XMP metadata within a LaTeX document")
    (description
     "XMP (eXtensible Metadata Platform) is a mechanism proposed by Adobe for
embedding document metadata, within the document itself.  The metadata is
designed to be easy to extract, even by programs that are oblivious to the
document's file format.  The @code{hyperxmp} package makes it trivial for
LaTeX document authors to store XMP metadata in their documents as well.  It
is compatible with pdfLaTeX, XeLaTeX, LaTeX+dvipdfm, and LaTeX+dvips+ps2pdf.")
    (license license:lppl1.3c)))

(define-public texlive-latex-brochure
  (package
    (name "texlive-latex-brochure")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-brochure/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xba20sy8q10ac9hxwnz9axh853hrj06vp7mfn12ajax31miznmy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-brochure")
    (synopsis "Publicity flyer for LaTeX")
    (description
     "The document is designed as a publicity flyer for LaTeX, but also serves
as an interesting showcase of what LaTeX can do.  The flyer is designed for
printing, double-sided, on A3 paper, which would then be folded once.")
    (license license:lppl)))

(define-public texlive-latex-course
  (package
    (name "texlive-latex-course")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-course/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00s521wrc5gqqs5jvd1ljl04nighy8q79r0ama783ic27a3k0qhi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-course")
    (synopsis "LaTeX course as a projected presentation")
    (description
     "This package provides a brief Beamer-based slide presentation on LaTeX,
based on Rupprecht's LaTeX 2.09 course, which the author has translated to
English and taken to LaTeX2e and Beamer.  Additional material was taken from
the @emph{Short Introduction to LaTeX}.")
    (license license:gpl3+)))

(define-public texlive-latex-doc-ptr
  (package
    (name "texlive-latex-doc-ptr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-doc-ptr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mamlfnxzi4lwh5cpss8zcfr64jdnf6vnj9fp48accrqdj2rpfs2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-doc-ptr")
    (synopsis "Direction-finder for LaTeX resources available online")
    (description
     "This package provides a brief set of recommendations for users who need
online documentation of LaTeX.  The document supports the need for
documentation of LaTeX itself, in distributions.")
    (license license:public-domain)))

(define-public texlive-latex-for-undergraduates
  (package
    (name "texlive-latex-for-undergraduates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-for-undergraduates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03s686vbzpjv71vlp5931vxyx8lckvl5819agh4688h9m98w54s9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-for-undergraduates")
    (synopsis "Tutorial aimed at introducing undergraduate students to LaTeX")
    (description
     "This package provides a tutorial aimed at introducing undergraduate
students to LaTeX, including an introduction to LaTeX Workshop in Visual
Studio Code and an example package of user-defined LaTeX commands.")
    (license license:public-domain)))

(define-public texlive-latex-graphics-companion
  (package
    (name "texlive-latex-graphics-companion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-graphics-companion/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01zs32gck1sl9zlbhghyjmjwxyvw0jha5vl2hd10knyrb3z4dhxc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lgc-examples")
    (synopsis "Examples from @emph{The LaTeX Graphics Companion}")
    (description
     "This package contains the source of the examples printed in @emph{The
LaTeX Graphics Companion} book, together with necessary supporting files.")
    (license license:lppl)))

(define-public texlive-latex-refsheet
  (package
    (name "texlive-latex-refsheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-refsheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "169h1syday30qiw032k14fhxikdwszggvqz8b9ga4i9wwxf1vh4m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-refsheet")
    (synopsis "LaTeX reference sheet for a thesis with KOMA-Script")
    (description
     "This LaTeX reference sheet is for writing a thesis using the KOMA-Script
document classes (@code{scrartcl}, @code{scrreprt}, @code{scrbook}) and all
the packages needed for a thesis in natural sciences.")
    (license license:lppl1.3c)))

(define-public texlive-latex-veryshortguide
  (package
    (name "texlive-latex-veryshortguide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-veryshortguide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17i8zmr7mjfrx911psdy9cbn05c5inn4ixqmnjkpr9sbgsninyc4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-veryshortguide")
    (synopsis "The Very Short Guide to LaTeX")
    (description
     "This is a 4-page reminder of what LaTeX does.  It is designed for
printing on A4 paper, double-sided, and folding once to A5.  Such an imposed
version of the document is provided in the distribution, as PDF.  An analogous
version is provided in legal format.")
    (license license:lppl1.3+)))

(define-public texlive-latex-web-companion
  (package
    (name "texlive-latex-web-companion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-web-companion/apa/"
                                     "doc/latex/latex-web-companion/apb/"
                                     "doc/latex/latex-web-companion/apc/"
                                     "doc/latex/latex-web-companion/ch2/"
                                     "doc/latex/latex-web-companion/ch3/"
                                     "doc/latex/latex-web-companion/ch4/"
                                     "doc/latex/latex-web-companion/ch6/"
                                     "doc/latex/latex-web-companion/ch7/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v018lwf88z3qmzyqpyvfql7dbwk5a9r0wj3jfjc9cp2ksl8zf8f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lwc-examples")
    (synopsis "Examples from @emph{The LaTeX Web Companion}")
    (description
     "This package contains the source of the examples printed in @emph{The
LaTeX Web Companion} book, together with necessary supporting files.")
    (license license:lppl)))

(define-public texlive-latex2e-help-texinfo
  (package
    (name "texlive-latex2e-help-texinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/info/latex2e.info"
                                     "doc/latex/latex2e-help-texinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rk69n89hl67qfbi5mmb4msaibychsk9a83dx593170ayiir6s6g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex2e-help-texinfo")
    (synopsis "Unofficial reference manual covering LaTeX2e")
    (description
     "This is an unofficial reference manual for LaTeX.  It is provided as
Texinfo source.  This is a collaborative development, and details of getting
involved are to be found on the package home page.")
    (license license:fdl1.1+)))

(define-public texlive-latex4wp
  (package
    (name "texlive-latex4wp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex4wp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a569y6vss3glz1il4hg2f6718mj24spp4ahdj6v7k6y7ppa1zii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex4wp")
    (synopsis "LaTeX guide specifically designed for word processor users")
    (description
     "@emph{LaTeX for Word Processor Users} is a guide that helps converting
knowledge and techniques of word processing into the LaTeX typesetting
environment.  It aims at helping such users use LaTeX instead.")
    (license license:fdl1.3+)))

(define-public texlive-latex4wp-it
  (package
    (name "texlive-latex4wp-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex4wp-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14r86fwhb9zafmyv05pqfi9962dpxj7wq94acm43gv8m2rsjp52k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex4wp-it")
    (synopsis "LaTeX guide for word processor users, in Italian")
    (description
     "The package provides a version of the @emph{LaTeX for Word Processor
Users} document in Italian.")
    (license license:fdl1.3+)))

(define-public texlive-latexcheat
  (package
    (name "texlive-latexcheat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1383rsi21ma0291asi779bjr33m7fii019di8gv8kxwgci692fz0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat")
    (synopsis "LaTeX cheat sheet")
    (description
     "This package provides a LaTeX reference sheet for writing scientific
papers.  Unlike many other such sheets, this sheet does not focus on
typesetting mathematics, though it does list some symbols.")
    (license license:lppl)))

(define-public texlive-latexcheat-ptbr
  (package
    (name "texlive-latexcheat-ptbr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcheat-ptbr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m636j9gdfpm4j1b679z5qw5ygbm6jp8xl9dzy6v5zzy695fcgaf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcheat-ptbr")
    (synopsis "LaTeX cheat sheet, in Brazilian Portuguese")
    (description
     "This is a translation to Brazilian Portuguese of Winston Chang's LaTeX
cheat sheet.")
    (license license:lppl)))

(define-public texlive-latexcourse-rug
  (package
    (name "texlive-latexcourse-rug")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcourse-rug/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "027siznmshk60flxgra7dgzvwbmgwvckwb6r257b91x3rm77anv5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcourse-rug")
    (synopsis "LaTeX course book")
    (description
     "The package provides the book and practice files for a LaTeX course that
the author has give several times at the Rijksuniversiteit
Groningen (Netherlands).")
    (license license:fdl1.1+)))

(define-public texlive-latexfileinfo-pkgs
  (package
    (name "texlive-latexfileinfo-pkgs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexfileinfo-pkgs/"
                                     "source/latex/latexfileinfo-pkgs/"
                                     "tex/latex/latexfileinfo-pkgs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08afjj6im3bdxv3j0z6kg8yw0pyjl5164fqn0sx084zbdfwdfrqn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexfileinfo-pkgs")
    (synopsis "Comparison of packages showing LaTeX file information")
    (description
     "The package provides an HTML file that lists and compares CTAN packages
that display LaTeX source file information from @code{\\ProvidesClass},
@code{\\ProvidesFile}, and @code{\\ProvidesPackage} commands in the LaTeX
file.  Five packages of the author's, and several other packages are
discussed; revision control systems are mentioned briefly.")
    (license license:lppl1.3+)))

(define-public texlive-oberdiek
  (package
    (name "texlive-oberdiek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/oberdiek/" "doc/latex/oberdiek/"
                                     "source/latex/oberdiek/"
                                     "tex/generic/oberdiek/" "tex/latex/oberdiek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "126fsv65d60ixzyyyx1gpx8a4dd25k5jm599hl31zvdjcrk4p9sx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-auxhook
           texlive-grfext
           texlive-grffile
           texlive-iftex
           texlive-infwarerr
           texlive-kvoptions
           texlive-pdftexcmds))
    (home-page "https://www.ctan.org/pkg/oberdiek")
    (synopsis "Bundle of packages submitted by Heiko Oberdiek")
    (description
     "The bundle comprises various LaTeX packages, providing among others:
better accessibility support for PDF files; extensible chemists reaction
arrows; record information about document class(es) used; and many more.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-oberdiek texlive-oberdiek)

(define-public texlive-regexpatch
  (package
    (name "texlive-regexpatch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/regexpatch/"
                                     "source/latex/regexpatch/"
                                     "tex/latex/regexpatch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jv8hvkvq0yvc8mh68ybj8fvhf6kcdzwjin1czs45i26s0dpsngj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/regexpatch")
    (synopsis "High level patching of commands")
    (description
     "The package generalises the macro patching commands provided by
P. Lehmann's @code{etoolbox}.  The difference between this package and its
sibling @code{xpatch} is that this package sports a very powerful
@code{\\regexpatchcmd} based on the @code{l3regex} module of the LaTeX3
experimental packages.")
    (license license:lppl1.3c)))

(define-public texlive-rerunfilecheck
  (package
    (name "texlive-rerunfilecheck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rerunfilecheck/"
                                     "source/latex/rerunfilecheck/"
                                     "tex/latex/rerunfilecheck/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3rvjgw0hg3n7db8hpyq55lq7py4scm35bqbawpc5mn5pmh2zg1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-atveryend texlive-uniquecounter))
    (home-page "https://www.ctan.org/pkg/rerunfilecheck")
    (synopsis "Checksum based rerun checks on auxiliary files")
    (description
     "This package provides additional rerun warnings if some auxiliary files
have changed.  It is based on MD5 checksum, provided by pdfTeX.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-rerunfilecheck texlive-rerunfilecheck)

(define-public texlive-onedown
  (package
    (name "texlive-onedown")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/onedown/"
                                     "source/latex/onedown/"
                                     "tex/latex/onedown/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j4ymb1mz2wa189dy98mwv0550sj38wbridk2fx074dy2lfjxdm5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/onedown")
    (synopsis "Typeset bridge diagrams")
    (description
     "This is a comprehensive package to draw all sorts of bridge diagrams,
including hands, bidding tables, trick tables, and expert quizzes.

It works for all font sizes.  Different fonts for hands, bidding diagrams and
compass are possible.  It also provides annotations to card and bidding
diagrams, automated check on consistency of suit and hands, and multilingual
output of bridge terms.")
    (license license:lppl1.3+)))

(define-public texlive-tools
  (package
    (name "texlive-tools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tools/"
                                     "source/latex/tools/"
                                     "tex/latex/tools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fkpjgaagf36hq1wxi4a57ijcgdzvlmwlp6alfb05w2ym628zz3h"))))
    (outputs '("out" "doc"))
    (arguments
     (list #:build-targets #~(list "tools.ins")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tools")
    (synopsis "The LaTeX standard tools bundle")
    (description "This package provides a collection of simple tools that
are part of the LaTeX required tools distribution, comprising the packages:
@code{afterpage}, @code{array}, @code{bm}, @code{calc}, @code{dcolumn},
@code{delarray}, @code{enumerate}, @code{fileerr}, @code{fontsmpl},
@code{ftnright}, @code{hhline}, @code{indentfirst}, @code{layout},
@code{longtable}, @code{multicol}, @code{rawfonts}, @code{showkeys},
@code{somedefs}, @code{tabularx}, @code{theorem}, @code{trace},
@code{varioref}, @code{verbatim}, @code{xr}, and @code{xspace}.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-tools texlive-tools)

(define-public texlive-url
  (package
    (name "texlive-url")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/url/" "tex/latex/url/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "184m40wgnx939ky2hbxnj0v9aak023ldrhgffp0lgyk9wdqpxlqg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/url")
    (synopsis "Verbatim with URL-sensitive line breaks")
    (description "The command @code{\\url} is a form of verbatim command that
allows linebreaks at certain characters or combinations of characters, accepts
reconfiguration, and can usually be used in the argument to another command.
The command is intended for email addresses, hypertext links,
directories/paths, etc., which normally have no spaces, so by default the
package ignores spaces in its argument.  However, a package option allows
spaces, which is useful for operating systems where spaces are a common part
of file names.")
    ;; The license header states that it is under LPPL version 2 or later, but
    ;; the latest version is 1.3c.
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-url texlive-url)

(define-public texlive-l3experimental
  (package
    (name "texlive-l3experimental")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3experimental/"
                                     "source/latex/l3experimental/l3benchmark/"
                                     "source/latex/l3experimental/l3draw/"
                                     "source/latex/l3experimental/l3graphics/"
                                     "source/latex/l3experimental/l3opacity/"
                                     "source/latex/l3experimental/l3str/"
                                     "source/latex/l3experimental/l3sys-shell/"
                                     "source/latex/l3experimental/xcoffins/"
                                     "source/latex/l3experimental/xgalley/"
                                     "tex/latex/l3experimental/l3benchmark/"
                                     "tex/latex/l3experimental/l3draw/"
                                     "tex/latex/l3experimental/l3graphics/"
                                     "tex/latex/l3experimental/l3opacity/"
                                     "tex/latex/l3experimental/l3str/"
                                     "tex/latex/l3experimental/l3sys-shell/"
                                     "tex/latex/l3experimental/xcoffins/"
                                     "tex/latex/l3experimental/xgalley/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vrggg8id8fyndzq0vr76vdh4vi8xixjs3b09gq7if48bvjrz3h4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-l3kernel))
    (home-page "https://ctan.org/pkg/l3experimental")
    (synopsis "Experimental LaTeX3 concepts")
    (description
     "The l3experimental packages are a collection of experimental
implementations for aspects of the LaTeX3 kernel, dealing with higher-level
ideas such as the Designer Interface.  Some of them work as stand alone
packages, providing new functionality, and can be used on top of LaTeX2e with
no changes to the existing kernel.  The present release includes:
@itemize @code
@item l3benchmark
for measuring the time taken by TeX to run certain code;
@item l3draw
a code-level interface for constructing drawings;
@item l3graphics
an interface for the inclusion of graphics files;
@item l3opacity
support for opacity in PDF output;
@item l3str
support for string manipulation;
@item l3bitset
support for bit vectors;
@item l3sys-shell
which provides abstractions for common shell functions like file
deletion and copying;
@item xcoffins
which allows the alignment of boxes using a series of handle positions,
supplementing the simple TeX reference point;
@item xgalley
which controls boxes receiving text for typesetting.
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-l3kernel
  (package
    (name "texlive-l3kernel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3kernel/"
                                     "source/latex/l3kernel/"
                                     "tex/latex/l3kernel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ajz0h02l8ykpxxqvq8djjnv7fcidfadcyj11mxifhfm6ii589qk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-engine "tex"
      #:tex-format #f
      #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex))
    (propagated-inputs (list texlive-l3backend))
    (home-page "https://ctan.org/pkg/l3kernel")
    (synopsis "LaTeX3 programming conventions")
    (description
     "The l3kernel bundle provides an implementation of the LaTeX3 programmers
interface, as a set of packages that run under LaTeX2e.  The interface
provides the foundation on which the LaTeX3 kernel and other future code are
built: it is an API for TeX programmers.  The packages are set up so that the
LaTeX3 conventions can be used with regular LaTeX2e packages.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-l3kernel texlive-l3kernel)

(define-public texlive-l3backend
  (package
    (name "texlive-l3backend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3backend/"
                                     "dvips/l3backend/"
                                     "source/latex/l3backend/"
                                     "tex/latex/l3backend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y0jf1gz37vwp7hvi26y83iy9jgjp2drm6v6wq8yayap293jdfk0"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-engine "tex"
           #:tex-format #f
           #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex))
    (home-page "https://ctan.org/pkg/l3backend")
    (synopsis "LaTeX3 backend drivers")
    (description
     "This package forms parts of expl3, and contains the code used to
interface with backends (drivers) across the expl3 codebase.  The functions
here are defined differently depending on the engine in use.  As such, these
are distributed separately from l3kernel to allow this code to be updated on
an independent schedule.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-dvips-l3backend texlive-l3backend)
(define-deprecated-package texlive-latex-l3backend texlive-l3backend)

(define-public texlive-l3packages
  (package
    (name "texlive-l3packages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3packages/"
                                     "source/latex/l3packages/l3keys2e/"
                                     "source/latex/l3packages/xfp/"
                                     "source/latex/l3packages/xparse/"
                                     "source/latex/l3packages/xtemplate/"
                                     "tex/latex/l3packages/l3keys2e/"
                                     "tex/latex/l3packages/xfp/"
                                     "tex/latex/l3packages/xparse/"
                                     "tex/latex/l3packages/xtemplate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "141f5lyybhyg9dncxxsl3npgyysk6ac8wpbagpmqvymfa6sqqrqx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets
           '(list "l3keys2e.ins"
                  "xparse.ins"
                  "xfrac.ins"
                  "xfp.ins"
                  "xtemplate.ins")
           #:tex-engine "tex"
           #:tex-format #f
           #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex))
    (propagated-inputs (list texlive-l3kernel))
    (home-page "https://ctan.org/pkg/l3packages")
    (synopsis "High-level LaTeX3 concepts")
    (description
     "This collection contains implementations for aspects of the LaTeX3
kernel, dealing with higher-level ideas such as the Designer Interface.  The
packages here are considered broadly stable (The LaTeX3 Project does not
expect the interfaces to alter radically).  These packages are built on
LaTeX2e conventions at the interface level, and so may not migrate in the
current form to a stand-alone LaTeX3 format.

Packages provided are @code{xparse}, which provides a high-level interface for
declaring document commands @code{xfp}, an expandable IEEE 754 FPU for LaTeX,
@code{l3keys2e}, which makes the facilities of the kernel module l3keys
available for use by LaTeX 2e packages, @code{xtemplate}, which provides
a means of defining generic functions using a key-value syntax, and
@code{xfrac}, which provides flexible split-level fractions.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-l3packages texlive-l3packages)

(define-public texlive-fonts-churchslavonic
  (package
    (name "texlive-fonts-churchslavonic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fonts-churchslavonic/"
                                     "fonts/opentype/public/fonts-churchslavonic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yq641kmsh52gc66h559h6cgcd46dq1q10gnq3g2x77jv2b39a5r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fonts-churchslavonic")
    (synopsis "Fonts for typesetting in Church Slavonic language")
    (description
     "The package provides Unicode-encoded OpenType fonts for Church Slavonic
which are intended for Unicode TeX engines only.")
    (license license:silofl1.1)))

(define-public texlive-fontspec
  (package
    (name "texlive-fontspec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fontspec/"
                                     "source/latex/fontspec/"
                                     "tex/latex/fontspec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yz1jkwyybrj3qixmdaxxmi8p4a9kz5zyawl6vcmxys6wlxiyqr2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-euenc
           texlive-iftex
           texlive-l3kernel
           texlive-l3packages
           texlive-lm
           texlive-xunicode))
    (home-page "https://ctan.org/pkg/fontspec")
    (synopsis "Advanced font selection in XeLaTeX and LuaLaTeX")
    (description
     "Fontspec is a package for XeLaTeX and LuaLaTeX.  It provides an
automatic and unified interface to feature-rich AAT and OpenType fonts through
the NFSS in LaTeX running on XeTeX or LuaTeX engines.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-fontspec texlive-fontspec)

(define-public texlive-grffile
  (package
    (name "texlive-grffile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grffile/"
                                     "source/latex/grffile/"
                                     "tex/latex/grffile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01mlvdhqwfwj1l91jfvkdfbn1hj95rlb6xhwikzx1r8qrz5whw7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/grffile")
    (synopsis "Extended file name support for graphics (legacy package)")
    (description
     "The original @code{grffile} package extended the file name processing
of the @code{graphics} package to support a larger range of file names.  The
base LaTeX code now supports multiple dots and spaces, and this package by
default is a stub that just loads @code{graphicx}.")
    (license license:lppl1.3c+)))

(define-public texlive-sanskrit
  (package
    (name "texlive-sanskrit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sanskrit/"
                                     "fonts/source/public/sanskrit/"
                                     "fonts/tfm/public/sanskrit/"
                                     "source/latex/sanskrit/"
                                     "tex/latex/sanskrit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qc0mylgdcc4rnid29was51s6mzil0smrs7kgnnrv8kvlb6mzydl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/sanskrit")
    (synopsis "Sanskrit support")
    (description
     "This package provides a font and pre-processor suitable for the
production of documents written in Sanskrit.  Type 1 versions of the fonts are
available.")
    (license license:lppl)))

(define-public texlive-sanskrit-t1
  (package
    (name "texlive-sanskrit-t1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/sanskrit-t1/"
                                     "fonts/map/dvips/sanskrit-t1/"
                                     "fonts/type1/public/sanskrit-t1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mv9ph7999y9shnq25k0w4sgcbvlf2gav5d1fpycjxan3h6rc7vi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sanskrit-t1")
    (synopsis "Type 1 version of @code{skt} fonts for Sanskrit")
    (description
     "The sanskrit-t1 font package provides Type 1 version of Charles Wikner's
@code{skt} font series for the Sanskrit language.")
    (license license:lppl)))

(define-public texlive-sansmath
  (package
    (name "texlive-sansmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sansmath/" "tex/latex/sansmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lqxfvmxan0c9s270jp8jw1a5s6ya1i4jlfp2xz2k4w0g0fryjpj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sansmath")
    (synopsis "Maths in a Sans font")
    (description
     "The package defines a new math version Sans, and a command
@code{\\sansmath} that behaves somewhat like @code{\\boldmath}.")
    (license license:public-domain)))

(define-public texlive-sansmathfonts
  (package
    (name "texlive-sansmathfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/sansmathfonts/"
                                     "fonts/map/dvips/sansmathfonts/"
                                     "fonts/source/public/sansmathfonts/"
                                     "fonts/tfm/public/sansmathfonts/"
                                     "fonts/type1/public/sansmathfonts/"
                                     "fonts/vf/public/sansmathfonts/"
                                     "tex/latex/sansmathfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13i8sn4v5srcxsq0qw7q5lmw5271lzksc5xsgjrvg98s38zg7pa5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-amsfonts"
                                               "texlive-cm"
                                               "texlive-ec")))
    (build-system texlive-build-system)
    (native-inputs
     (list texlive-amsfonts texlive-cm texlive-ec texlive-metafont))
    (home-page "https://ctan.org/pkg/sansmathfonts")
    (synopsis "Correct placement of accents in sans-serif maths")
    (description
     "This package provides sans serif small caps and math fonts for use with
Computer Modern.")
    (license license:lppl1.3c)))

(define-public texlive-stringenc
  (package
    (name "texlive-stringenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stringenc/"
                                     "source/latex/stringenc/"
                                     "tex/generic/stringenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pz9fgn3zc1brbpkw2kkphsv8q6vpvbn51n0smmfl1n2m97fni9j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stringenc")
    (synopsis "Converting a string between different encodings")
    (description
     "This package provides @code{\\StringEncodingConvert} for converting a
string between different encodings.  Both LaTeX and plain-TeX are supported.")
    (license license:lppl1.3c+)))

(define-public texlive-svg-inkscape
  (package
    (name "texlive-svg-inkscape")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svg-inkscape/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gw3jp7wph0ys6372z2rgjwlpmmawdax7xpgrp4hzg5hxz748pn5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svg-inkscape")
    (synopsis "How to include an SVG image in LaTeX using Inkscape")
    (description
     "The document demonstrates the use of SVG images in LaTeX documents.
Using the @samp{PDF+LaTeX output} option of Inkscape, it is possible to
include SVG in documents, in which LaTeX typesets the text.  This results in
uniform text style throughout the document, including text in images;
moreover, LaTeX commands may be used in the image's text, providing such
things as mathematics and references.

The document also describes how to automate the conversion from SVG to
@samp{PDF+LaTeX} using Inkscape.")
    (license license:lppl1.3+)))

(define-public texlive-svn-prov
  (package
    (name "texlive-svn-prov")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svn-prov/" "source/latex/svn-prov/"
                                     "tex/latex/svn-prov/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w416cf1yb1m2j9y38002zq6rbhbmkafi7w100y9m9lrzya0ws06"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svn-prov")
    (synopsis "Subversion variants of @code{\\Provides}... macros")
    (description
     "The package introduces Subversion variants of the standard LaTeX macros
@code{\\ProvidesPackage}, @code{\\ProvidesClass} and @code{\\ProvidesFile}
where the file name and date is extracted from Subversion Id keywords.  The
file name may also be given explicitly as an optional argument.")
    (license license:lppl)))

(define-public texlive-l3build
  (package
    (name "texlive-l3build")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/l3build/"
                                     "doc/man/man1/l3build.1"
                                     "doc/man/man1/l3build.man1.pdf"
                                     "scripts/l3build/"
                                     "source/latex/l3build/"
                                     "tex/latex/l3build/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sx4719vvy1jpyq3dwm59pf0acakf21lidmdmjz8sfwp14xbk7sy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "l3build.lua")))
    (propagated-inputs (list texlive-luatex))
    (home-page "https://ctan.org/pkg/l3build")
    (synopsis "Testing and building system for LaTeX")
    (description
     "The @code{l3build} module is designed to support the development of
high-quality LaTeX code by providing: a unit testing system, automated
typesetting of code sources, and a reliable packaging system for CTAN
releases.  The bundle consists of a Lua script to run the tasks and
a @file{.tex} file which provides the testing environment.")
    (license license:lppl1.3c+)))

(define-public texlive-luabidi
  (package
    (name "texlive-luabidi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luabidi/"
                                     "tex/lualatex/luabidi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hapqr3mqbnx1087rbxb4hd7ynj53hhq97rnr9nlwkj19jw6rra3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luabidi")
    (synopsis "Bidi functions for LuaTeX")
    (description
     "The package attempts to emulate the XeTeX @code{bidi} package, in the
context of LuaTeX.")
    (license (list license:lppl1.3c license:expat))))

(define-public texlive-luacode
  (package
    (name "texlive-luacode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luacode/"
                                     "source/lualatex/luacode/"
                                     "tex/lualatex/luacode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dyld5yb57p3j7wz591plbgjy7dk7ngn8cxw1lfmvx8iprgk1f8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luacode")
    (synopsis "Helper for executing Lua code from within TeX")
    (description
     "Executing Lua code from within TeX with directlua can sometimes be
tricky: there is no easy way to use the percent character, counting
backslashes may be hard, and Lua comments don't work the way you expect.  The
package provides the @code{\\luaexec} command and the @code{luacode}
environments to help with these problems.")
    (license license:lppl1.3+)))

(define-public texlive-lualatex-doc-de
  (package
    (name "texlive-lualatex-doc-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lualatex-doc-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vnmgs475bzbqi14m9sm45cwjfsbvbk45wkb8m73j1bnk7wg7hh4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lualatex-doc-de")
    (synopsis "Guide to LuaLaTeX (German translation)")
    (description
     "The document is a German translation of the map/guide to the world of
LuaLaTeX.  Coverage supports both new users and package developers.  Apart
from the introductory material, the document gathers information from several
sources, and offers links to others.")
    (license license:fdl1.3+)))

(define-public texlive-lualatex-math
  (package
    (name "texlive-lualatex-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lualatex-math/"
                                     "source/lualatex/lualatex-math/"
                                     "tex/lualatex/lualatex-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rzzlq6a0c7sj1x83wqn5iwaiz3w9prcpz4lqbjlkgr7my4m052z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox texlive-filehook))
    (home-page "https://ctan.org/pkg/lualatex-math")
    (synopsis "Fixes for mathematics-related LuaLaTeX issues")
    (description
     "The package patches a few commands of the LaTeX2e kernel and the
@code{amsmath} and @code{mathtools} packages to be more compatible with the
LuaTeX engine.  It is only meaningful for LuaLaTeX documents containing
mathematical formulas, and does not exhibit any new functionality.  The fixes
are mostly moved from the @code{unicode-math} package to this package since
they are not directly related to Unicode mathematics typesetting.")
    (license license:lppl1.3c)))

(define-public texlive-lualibs
  (package
    (name "texlive-lualibs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lualibs/" "source/luatex/lualibs/"
                                     "tex/luatex/lualibs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07669vykws1h3q6s3m25rwpsdf4pzq8d90wpqjkvc5zn7lnk27wk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (home-page "https://ctan.org/pkg/lualibs")
    (synopsis "Additional Lua functions for LuaTeX macro programmers")
    (description
     "Lualibs is a collection of Lua modules useful for general programming.
The bundle is based on lua modules shipped with ConTeXt, and made available in
this bundle for use independent of ConTeXt.")
    (license license:gpl2)))

(define-deprecated-package texlive-luatex-lualibs texlive-lualibs)

(define-public texlive-lua-alt-getopt
  (package
    (name "texlive-lua-alt-getopt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/lua-alt-getopt/"
                                     "scripts/lua-alt-getopt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cizxzn33n3pn98xkqnxb8s6vdwkar3xrwhraqrs05pjfdn9d4wz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/lua-alt-getopt")
    (synopsis "Process application arguments as @code{getopt_long}")
    (description
     "This package provides a Lua module for processing application arguments
in the same way as BSD/GNU @code{getopt_long(3)} functions do.")
    (license license:expat)))

(define-public texlive-luatex
  (package
    (name "texlive-luatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/base/"
                                     "doc/man/man1/dviluatex.1"
                                     "doc/man/man1/dviluatex.man1.pdf"
                                     "doc/man/man1/luatex.1"
                                     "doc/man/man1/luatex.man1.pdf"
                                     "doc/man/man1/texlua.1"
                                     "doc/man/man1/texlua.man1.pdf"
                                     "doc/man/man1/texluac.1"
                                     "doc/man/man1/texluac.man1.pdf"
                                     "tex/generic/config/luatex-unicode-letters.tex"
                                     "web2c/texmfcnf.lua"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jcqymq0a2yyn7smbwl0inc6q7ly4x7hraq8wbx3r5qr9q63hlpg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:create-formats #~(list "dviluatex" "luatex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'customize-texmfcnf.lua
            (lambda _
              (substitute* "web2c/texmfcnf.lua"
                (("TEXMFDIST *=.*") "TEXMFDIST = os.getenv(\"GUIX_TEXMF\"),\n")
                (("TEXMFSYSVAR *=.*")
                 "TEXMFSYSVAR = \"$TEXMFDIST/../texmf-var\",\n")
                (("TEXMFSYSCONFIG *=.*")
                 "TEXMFSYSCONFIG = \"$TEXMFDIST/../texmf-config\",\n")
                (("TEXMF *=.*")
                 "TEXMF = \"{$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,$TEXMFSYSVAR,$TEXMFDIST}\",\n")))))))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/luatex")
    (synopsis "Extended version of pdfTeX using Lua")
    (description
     "LuaTeX is an extended version of pdfTeX using Lua as an embedded
scripting language.  The LuaTeX project's main objective is to provide an open
and configurable variant of TeX while at the same time offering downward
compatibility.  LuaTeX uses Unicode (as UTF-8) as its default input encoding,
and is able to use modern (OpenType) fonts (for both text and mathematics).
It should be noted that LuaTeX is still under development; its specification
has been declared stable, but absolute stability may not in practice be
assumed.")
    (license license:gpl2)))

(define-public texlive-luatexbase
  (package
    (name "texlive-luatexbase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luatexbase/"
                                     "source/luatex/luatexbase/"
                                     "tex/luatex/luatexbase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nz2k9czqdmn08v75qa2bwanvcvyp9jmqcgwaxcy4fy4mpbrn8ra"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-ctablestack))
    (home-page "https://ctan.org/pkg/luatexbase")
    (synopsis "Basic resource management for LuaTeX code")
    (description
     "The LaTeX kernel builds in support for LuaTeX functionality, also
available as @file{ltluatex.tex} for users of plain TeX and those with older
LaTeX kernel implementations.  This support is based on ideas taken from the
original @code{luatexbase} package, but there are interface differences.  This
stub package provides a compatibility layer to allow existing packages to
upgrade smoothly to the new support structure.")
    (license license:lppl1.3+)))

(define-public texlive-luatex85
  (package
    (name "texlive-luatex85")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/luatex85/"
                                     "source/generic/luatex85/"
                                     "tex/generic/luatex85/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02j42g9c5smgbrk898fpvrgqlxqcqi8xch23awvnbvg6y54cs573"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luatex85")
    (synopsis "pdfTeX aliases for LuaTeX")
    (description
     "The package provides emulation of pdfTeX primitives for LuaTeX v0.85+.")
    (license license:lppl1.3+)))

(define-public texlive-luatexja
  (package
    (name "texlive-luatexja")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luatexja/"
                                     "source/luatex/luatexja/"
                                     "tex/luatex/luatexja/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h03dzbi2lqrfsrhdcbfihnn3hni8wxzknam3hhqpdsql39i0drw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-luatexbase))
    (home-page "https://ctan.org/pkg/luatexja")
    (synopsis "Typeset Japanese with Lua(La)TeX")
    (description
     "The package offers support for typesetting Japanese documents with LuaTeX.
Either of the Plain and LaTeX2e formats may be used with the package.")
    (license license:bsd-3)))

(define-public texlive-luahbtex
  (package
    (name "texlive-luahbtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/luahbtex.1"
                                     "doc/man/man1/luahbtex.man1.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y47q58jggwzy5hk9n2arh0g4a92pqcavadzxa38lpadf16zxbck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:create-formats #~(list "luahbtex")))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-luatex
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/luahbtex")
    (synopsis "LuaTeX with HarfBuzz library for glyph shaping")
    (description
     "LuaHBTeX is a LuaTeX variant that can use the HarfBuzz engine for glyph
shaping, instead of LuaTeX's built-in shaper.")
    (license (package-license texlive-luatex))))

(define-public texlive-lua-uni-algos
  (package
    (name "texlive-lua-uni-algos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lua-uni-algos/"
                                     "tex/luatex/lua-uni-algos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dx70msqkj101mgj88b7fmb28bghlrrrcy5v66m74gqb5i41dnc2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (home-page "https://ctan.org/pkg/lua-uni-algos")
    (synopsis "Unicode algorithms for LuaTeX")
    (description
     "Lua code working with Unicode data has to deal with quite some
challenges.  For example there are many canonically equivalent sequences which
should be treated in the same way, and even identifying a single character
becomes quite different once you have to deal with all kinds of combining
characters, emoji sequences and syllables in different scripts.  Therefore
@code{lua-uni-algos} wants to build a collection of small libraries
implementing algorithms to deal with lots of the details in Unicode, such that
authors of LuaTeX packages can focus on their actual functionality instead of
having to fight against the peculiarities of Unicode.  Given that this package
provides Lua modules, it is only useful in Lua(HB)TeX.  Additionally, it
expects an up-to-date version of the unicode-data package to be present.  This
package is intended for package authors only; no user-level functionality
provided.")
    (license license:lppl1.3+)))

(define-public texlive-luaotfload
  (package
    (name "texlive-luaotfload")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luaotfload/"
                                     "doc/man/man1/luaotfload-tool.1"
                                     "doc/man/man1/luaotfload-tool.man1.pdf"
                                     "doc/man/man5/luaotfload.conf.5"
                                     "doc/man/man5/luaotfload.conf.man5.pdf"
                                     "scripts/luaotfload/"
                                     "source/luatex/luaotfload/"
                                     "tex/luatex/luaotfload/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rbf7m27r7nz5raj2gcm1y0hsrg3fxx5l7di15rl4vsz73ij38mk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:texlive-latex-bin? #f
           #:link-scripts #~(list "luaotfload-tool.lua")))
    (propagated-inputs
     (list texlive-lm
           texlive-lua-alt-getopt
           texlive-lua-uni-algos
           texlive-lualibs))
    (home-page "https://ctan.org/pkg/luaotfload")
    (synopsis "OpenType font loader for LuaTeX")
    (description
     "Luaotfload is an adaptation of the ConTeXt font loading system for the
Plain and LaTeX formats.  It allows OpenType fonts to be loaded with font
features accessible using an extended font request syntax while providing
compatibilitywith XeTeX.  By indexing metadata in a database it facilitates
loading fonts by their proper names instead of file names.")
    (license license:gpl2)))

(define-deprecated-package texlive-luatex-luaotfload texlive-luaotfload)

(define-public texlive-amsmath
  (package
    (name "texlive-amsmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsmath/" "source/latex/amsmath/"
                                     "tex/latex/amsmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a8cbi5pdd4l4mwdb0vhmclqvlihh7a6gmpls6vn4jgcs15sjfw3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/amsmath")
    (synopsis "AMS mathematical facilities for LaTeX")
    (description
     "This is the principal package in the AMS-LaTeX distribution.  It adapts
for use in LaTeX most of the mathematical features found in AMS-TeX; it is
highly recommended as an adjunct to serious mathematical typesetting in LaTeX.
When amsmath is loaded, AMS-LaTeX packages @code{amsbsy} (for bold symbols),
@code{amsopn} (for operator names) and @code{amstext} (for text embedded in
mathematics) are also loaded.  This package is part of the LaTeX required
distribution; however, several contributed packages add still further to its
appeal; examples are @code{empheq}, which provides functions for decorating
and highlighting mathematics, and @code{ntheorem}, for specifying theorem (and
similar) definitions.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-amsmath texlive-amsmath)

(define-public texlive-amsmath-it
  (package
    (name "texlive-amsmath-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsmath-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xcwsk8q9q3nsz8wbklgpbw0vzjw7iw0chffzcbp2zsk6rypqf7w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsmath-it")
    (synopsis "Italian translations of some old @code{amsmath} documents")
    (description
     "This package provides an Italian translation for some old @code{amsmath}
documents.  The documents are: @file{diffs-m.txt} of December 1999, and
@file{amsmath.faq} of March 2000.")
    (license license:lppl)))

(define-public texlive-manfnt
  (package
    (name "texlive-manfnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/manfnt/" "source/latex/manfnt/"
                                     "tex/latex/manfnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iwka406hkxb85yqg4kwr81483s3h250way1pmbfb67vl3x4p60x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/manfnt")
    (synopsis "LaTeX support for the TeX book symbols")
    (description
     "This package provides a LaTeX package for easy access to the symbols of
the Knuth's manual font, such as the Dangerous Bend and Manual-errata Arrow.")
    (license license:lppl)))

(define-public texlive-manfnt-font
  (package
    (name "texlive-manfnt-font")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/afm/hoekwater/manfnt-font/"
                                     "fonts/map/dvips/manfnt-font/"
                                     "fonts/type1/hoekwater/manfnt-font/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cdd2a3xj00bwsby9z5iz5f2iy2iwsjl35gcack9q83hacbf3ssb"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/manual")
    (synopsis "Knuth's manual fonts")
    (description
     "This package provides Metafont (by Donald Knuth) and Adobe Type 1 (by
Taco Hoekwater) versions of the font containing the odd symbols Knuth uses in
his books.  LaTeX support is available using the @code{manfnt} package.")
    (license license:knuth)))

(define-public texlive-mathdots
  (package
    (name "texlive-mathdots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/mathdots/"
                                     "source/generic/mathdots/"
                                     "tex/generic/mathdots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jaffj343p1chdxs2g7s6lpckvihk0jfw22nw0vmijyjxfiy9yg0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathdots")
    (synopsis "Commands to produce dots in math that respect font size")
    (description
     "Mathdots redefines @code{\\ddots} and @code{\\vdots}, and defines
@code{\\iddots}.  The dots produced by @code{\\iddots} slant in the opposite
direction to @code{\\ddots}.  All the commands are designed to change size
appropriately in scripts, as well as in response to LaTeX size changing
commands.  The commands may also be used in plain TeX.")
    (license license:lppl)))

(define-public texlive-amscls
  (package
    (name "texlive-amscls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/amscls/" "doc/latex/amscls/"
                                     "source/latex/amscls/" "tex/latex/amscls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1chy1rqwici66p9brphb3gsprmcyhia9cvm5fn9wb5a9cchxqa08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/amscls")
    (synopsis "AMS document classes for LaTeX")
    (description
     "This bundle contains three AMS classes: @code{amsart} (for writing
articles for the AMS), @code{amsbook} (for books) and @code{amsproc} (for
proceedings), together with some supporting material.  The material is made
available as part of the AMS-LaTeX distribution.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-amscls texlive-amscls)

(define-public texlive-babel
  (package
    (name "texlive-babel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/babel/"
                                     "makeindex/babel/"
                                     "source/latex/babel/"
                                     "tex/generic/babel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ijfnjsgg509gqqv7kqkw1ql2vsli9bpjh4bx9155xk61dcdm8nc"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex"
                                               "unzip")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          ;; This package tries to produce babel.aux twice but refuses to
          ;; overwrite the first one.
          (add-before 'build 'fix-ins
            (lambda _
              (substitute* "source/latex/babel/babel.ins"
                (("askonceonly") "askforoverwritefalse"))))
          (add-before 'build 'generate-locales
            (lambda _
              (let ((locale-directory (string-append (getcwd) "/build/locale")))
                (mkdir-p locale-directory)
                (with-directory-excursion "source/latex/babel/"
                  (invoke "unzip" "locale.zip" "-d" locale-directory))))))))
    (native-inputs (list texlive-latex texlive-pdftex unzip))
    (home-page "https://www.ctan.org/pkg/babel")
    (synopsis "Multilingual support for Plain TeX or LaTeX")
    (description
     "The package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages.  A document may
select a single language to be supported, or it may select several, in which
case the document may switch from one language to another in a variety of
ways.  Babel uses contributed configuration files that provide the detail of
what has to be done for each language.  Users of XeTeX are advised to use the
polyglossia package rather than Babel.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-babel texlive-babel)

(define-public texlive-babelbib
  (package
    (name "texlive-babelbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/babelbib/"
                                     "doc/bibtex/babelbib/" "tex/latex/babelbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q65qy0jmy98zfaha26b09hzr7v02jn8i6942y51hfaphbgh8kpx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babelbib")
    (synopsis "Multilingual bibliographies")
    (description
     "This package enables the user to generate multilingual bibliographies in
cooperation with @code{babel}.  Two approaches are possible: each citation may
be written in another language, or the whole bibliography can be typeset in
a language chosen by the user.  In addition, the package supports commands to
change the typography of the bibliographies.")
    (license license:lppl1.0+)))

(define-public texlive-barcodes
  (package
    (name "texlive-barcodes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/barcodes/"
                                     "fonts/source/public/barcodes/"
                                     "fonts/tfm/public/barcodes/"
                                     "source/latex/barcodes/"
                                     "tex/latex/barcodes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bxvmmmb4x0zpdkqa399rwdhz6yamfzx2kn2i7a8vz172q0b2msc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/barcodes")
    (synopsis "Fonts for making barcodes")
    (description
     "The package deals with EAN barcodes; Metafont sources for fonts are
provided, and a set of examples; for some codes, a small Perl script is
needed.")
    (license license:lppl)))

(define-public texlive-bbcard
  (package
    (name "texlive-bbcard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/bbcard/" "metapost/bbcard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f1d3l85d0308izqpydmqmb4vpw47lqx1pwjiq14npjs8zfzkp18"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bbcard")
    (synopsis "Bullshit bingo, calendar and baseball-score cards")
    (description
     "This set contains three jiffy packages for creating cards of various
sorts with MetaPost.")
    (license license:public-domain)))

(define-public texlive-bbm
  (package
    (name "texlive-bbm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bbm/" "fonts/source/public/bbm/"
                                     "fonts/tfm/public/bbm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fyzr8zfcv3i1ymzvpifbkmfxqvrva029vh4v0siia63sl36lvq3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; FIXME: Font metrics cannot be generated due to "bad pos"
               ;; errors with "bbmitt" fonts.
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/bbm")
    (synopsis "Blackboard-style CM fonts")
    (description
     "This package provides blackboard variants of Computer Modern fonts.  The
fonts are distributed as Metafont source (only); LaTeX support is available
with the @code{bbm-macros} package.  A sample of these fonts appears in the
blackboard bold sampler.")
    ;; The package states "You may freely use, modify and/or distribute this
    ;; file." everywhere, notably in the file below.
    (license (license:fsf-free "file://doc/fonts/bbm/README"))))

(define-public texlive-bbm-macros
  (package
    (name "texlive-bbm-macros")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bbm-macros/"
                                     "source/latex/bbm-macros/"
                                     "tex/latex/bbm-macros/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11klh7hwi06yr2wx5bpk230hn7rpfspk6sd55j6rmw8kz2wa3lr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bbm-macros")
    (synopsis "LaTeX support for blackboard-style CM fonts")
    (description
     "This package provides LaTeX support for Blackboard variants of Computer
Modern fonts.  It declares a font family @code{bbm} so you can in principle
write running text in blackboard bold, and lots of math alphabets for using
the fonts within maths.")
    (license license:lppl)))

(define-public texlive-bbold
  (package
    (name "texlive-bbold")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bbold/"
                                     "fonts/source/public/bbold/"
                                     "fonts/tfm/public/bbold/"
                                     "source/latex/bbold/" "tex/latex/bbold/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x3fhz582xcv33s9yiwka82j8bz3nxribgmni3j8j03r6dih8d8r"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:build-targets #~(list "bbold.dtx")
           #:tex-format "latex"))
    (native-inputs
     (list texlive-metafont
           (texlive-updmap.cfg
            (list texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/bbold")
    (synopsis "Sans serif blackboard bold")
    (description
     "This package provides a geometric sans serif blackboard bold font, for
use in mathematics; Metafont sources are provided, as well as macros for use
with LaTeX.")
    (license license:bsd-3)))

(define-public texlive-blockdraw-mp
  (package
    (name "texlive-blockdraw-mp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/blockdraw_mp/"
                                     "metapost/blockdraw_mp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z0cgjslx4kx8fspf3i5h4idxlzhgpm14i16vq88c96z8cdjb2xy"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "blockdraw_mp")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blockdraw_mp")
    (synopsis "Block diagrams and bond graphs, with MetaPost")
    (description
     "This package provides a set of simple MetaPost macros to draw block
diagrams and bond graphs. While the task is not itself difficult to program,
it is felt that many users will be happy to have a library for the job.")
    (license license:lppl)))

(define-public texlive-blopentype
  (package
    (name "texlive-blopentype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/blopentype/"
                                     "tex/luatex/blopentype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bancizncwjyy15pk06kaln8kpzzh7777zwabjrzlj58a0hbm0q6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-gates texlive-texapi texlive-yax))
    (home-page "https://ctan.org/pkg/blopentype")
    (synopsis "Basic LuaTeX OpenType handler")
    (description
     "This is a basic LuaTeX OpenType handler, based on Paul Isambert's PiTeX
code.")
    (license (list license:lppl1.3c license:expat))))

(define-public texlive-bookcover
  (package
    (name "texlive-bookcover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bookcover/"
                                     "source/latex/bookcover/"
                                     "tex/latex/bookcover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m5km26diwv7xij4r64c3gk2hl8xc22lrbcccqlrk1fhdlz3i8zb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bookcover")
    (synopsis "Class for book covers and dust jackets")
    (description "This class helps typesetting book covers and dust jackets.")
    (license license:lppl1.2+)))

(define-public texlive-bpolynomial
  (package
    (name "texlive-bpolynomial")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/bpolynomial/"
                                     "metapost/bpolynomial/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p4c3xc55zij85yy1jhmj7jrkxss935qx5zdxbm79mjlxx1aq1q0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bpolynomial")
    (synopsis "Drawing polynomial functions of up to order 3")
    (description
     "This MetaPost package helps plotting polynomial and root functions up to
order three.  The package provides macros to calculate Bezier curves exactly
matching a given constant, linear, quadratic or cubic polynomial, or square or
cubic root function.  In addition, tangents on all functions and derivatives
of polynomials can be calculated.")
    (license license:lppl)))

(define-public texlive-businesscard-qrcode
  (package
    (name "texlive-businesscard-qrcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/businesscard-qrcode/"
                                     "tex/xelatex/businesscard-qrcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r942lv7mymi9wmmshjgf3vnz2n38m91dzqzrg0dg6bckb09dhmf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/businesscard-qrcode")
    (synopsis "Business cards with QR-Code")
    (description
     "This package generates a configurable business card or visiting card
with full vcard as QR-Code, ready to send to online printers.  You can specify
the exact size of the paper and the content within the paper, including
generation of crop marks.")
    (license license:lgpl3)))

(define-public texlive-cmarrows
  (package
    (name "texlive-cmarrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/cmarrows/"
                                     "metapost/cmarrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1awyf474n4f6fivb7ih9mpmz6641f815in8qrg2biagys3czsq96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmarrows")
    (synopsis "MetaPost arrows and braces in the Computer Modern style")
    (description
     "This MetaPost package contains macros to draw arrows and braces in the
Computer Modern style.")
    (license license:lppl)))

(define-public texlive-cmexb
  (package
    (name "texlive-cmexb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cmexb/" "fonts/map/dvips/cmexb/"
                                     "fonts/tfm/public/cmexb/"
                                     "fonts/type1/public/cmexb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fwnxzlkcf58n1f91vz8xbcp8nmhqmhjqhswgkzvyrd6lnp5gzdk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmexb")
    (synopsis "@code{cmexb10} metrics and Type 1")
    (description
     "This package provides Computer Modern Math Extension bold, metrics and
@file{.pfb} file.")
    (license license:public-domain)))   ;see "README-cmexb"

(define-public texlive-cqubeamer
  (package
    (name "texlive-cqubeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/cqubeamer/"
                                     "tex/xelatex/cqubeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13ma7i3z64w59m2hkrh68j3vqa2k93hhb2lmarqb4pkhr72vk4s7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cqubeamer")
    (synopsis "LaTeX Beamer Template for Chongqing University")
    (description
     "This package provides a LaTeX beamer template designed for researchers
of Chongqing University.  It can be used for academic reports, conferences, or
thesis defense, and can be helpful for delivering a speech.  It should be used
with the XeTeX engine.")
    (license (list license:expat license:cc-by4.0))))

(define-public texlive-cs
  (package
    (name "texlive-cs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/enc/dvips/cs/"
                                     "fonts/map/dvips/cs/"
                                     "fonts/source/public/cs/"
                                     "fonts/tfm/cs/cs-a35/"
                                     "fonts/tfm/cs/cs-charter/"
                                     "fonts/tfm/public/cs/"
                                     "fonts/type1/public/cs/"
                                     "fonts/vf/cs/cs-a35/"
                                     "fonts/vf/cs/cs-charter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nzzcg1yvbslhqm5lsfcpqh6sbzkmnmmgyakg9l8855qpa8g9bf3"))))
    (properties '((updater-extra-native-inputs "texlive-sauter")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont texlive-sauter))
    (propagated-inputs (list texlive-cmexb))
    (home-page "https://ctan.org/pkg/csfonts")
    (synopsis "Czech/Slovak-tuned Computer Modern fonts")
    (description "This package provides Czech/Slovak-tuned Computer Modern
fonts in the Metafont format; Type 1 format versions (csfonts-t1) are also
available.")
    (license license:gpl2+)))           ;see fonts/source/public/cs/cscode.mf

;;; Note: if this package is modified, its name must be changed to comply with
;;; its license.
(define-public texlive-csplain
  (package
    (name "texlive-csplain")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/csplain/base/"
                                     "tex/csplain/fonts/"
                                     "tex/csplain/opmac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14z479gkiwgw17pdghrxh5q0rlxnij7ccj49kgf3macwgmh5lm0r"))))
    (properties '((updater-extra-native-inputs "texlive-xetex")))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "csplain" "luacsplain" "pdfcsplain")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
                         (luatex (search-input-file inputs "bin/luatex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink pdftex "csplain")
                       (symlink pdftex "pdfcsplain")
                       (symlink luatex "luacsplain"))))))))
    (native-inputs (list texlive-xetex))
    (propagated-inputs
     (list texlive-cm
           texlive-cs
           texlive-enctex
           texlive-hyphen-complete
           texlive-luatex
           texlive-luatex85
           texlive-pdftex
           texlive-plain
           texlive-tex
           texlive-tex-ini-files
           texlive-xetex))
    (home-page "https://petr.olsak.net/csplain-e.html")
    (synopsis "Plain TeX multilanguage support")
    (description
     "CSplain is a small extension of basic Plain TeX macros from which the
formats @code{csplain} and @code{pdfcsplain} can be generated.  It supports:
hyphenation of words for 50+ languages, simple and powerful font loading
system (various sizes of fonts), TeX, pdfTeX, XeTeX and LuaTeX engines, math
fonts simply loaded with full amstex-like features, three internal
encodings (IL2 for Czech/Slovak languages, T1 for many languages with latin
alphabet and Unicode in new TeX engines), natural UTF-8 input in pdfTeX using
encTeX without any active characters, Czech and Slovak special typesetting
features.  An important part of the package is OPmac, which implements most of
LaTeX's features (sectioning, font selection, color, hyper reference and URLs,
bibliography, index, table of contents, tables, etc.) by Plain TeX macros.
The OPmac macros can generate a bibliography without any external program.")
    ;; This custom permissive license includes as a redistribution condition
    ;; that says the package must be renamed from 'csplain' if it is modified.
    (license (license:non-copyleft "file:///tex/csplain/base/csplain.ini"))))

(define-public texlive-ctable
  (package
    (name "texlive-ctable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ctable/" "source/latex/ctable/"
                                     "tex/latex/ctable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x624vz1gv8bsdafwhx89zaic7f2mz9vlvwjpv8fwzjhjwx4lxmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ctable")
    (synopsis "Flexible typesetting of table and figure floats")
    (description
     "This package provides commands to typeset centered, left- or
right-aligned table and (multiple-)figure floats, with footnotes.")
    (license license:lppl)))

(define-public texlive-babel-albanian
  (package
    (name "texlive-babel-albanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-albanian/"
                                     "source/generic/babel-albanian/"
                                     "tex/generic/babel-albanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sgyxj2f2w5fb22ys0idcfy10m1wbz3mk3rkpvv7cwa0v3a0arhl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-albanian")
    (synopsis "Support for Albanian within Babel")
    (description
     "The package provides support for typesetting Albanian (as part of the
Babel system).")
    (license license:lppl1.3+)))

(define-public texlive-babel-azerbaijani
  (package
    (name "texlive-babel-azerbaijani")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-azerbaijani/"
                                     "source/generic/babel-azerbaijani/"
                                     "tex/generic/babel-azerbaijani/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vpgx76316gfhxp9maiqnd3z1hjavzlnjibxi4yhalbby0dnswi1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-azerbaijani")
    (synopsis "Support for Azerbaijani within Babel")
    (description
     "This is the Babel style for Azerbaijani.  This language poses special
challenges because no traditional font encoding contains the full character
set, and therefore a mixture must be used (e.g., T2A and T1).  This package is
compatible with Unicode engines LuaTeX and XeTeX, which are very likely the
most convenient way to write Azerbaijani documents.")
    (license license:lppl1.3+)))

(define-public texlive-babel-basque
  (package
    (name "texlive-babel-basque")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-basque/"
                                     "source/generic/babel-basque/"
                                     "tex/generic/babel-basque/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16bcy5wlkwh8cwvcff1sc3m4rq4a7fzzawpl158kscp7fmw7i7k4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-basque")
    (synopsis "Babel contributed support for Basque")
    (description "The package establishes Basque conventions in a document.")
    (license license:lppl1.3+)))

(define-public texlive-babel-belarusian
  (package
    (name "texlive-babel-belarusian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-belarusian/"
                                     "source/generic/babel-belarusian/"
                                     "tex/generic/babel-belarusian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1055gyy9hab9whnr5c2p4i4yczkn5pwm0n54ylnnsl8wg8q58w1z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-belarusian")
    (synopsis "Babel support for Belarusian")
    (description
     "The package provides support for use of Babel in documents written in
Belarusian.")
    (license license:lppl1.3c)))

(define-public texlive-babel-bosnian
  (package
    (name "texlive-babel-bosnian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-bosnian/"
                                     "source/generic/babel-bosnian/"
                                     "tex/generic/babel-bosnian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "097j3cwq29x17hc6wbdj2m4h7m2yv47i1m2irqxkrjvywq0b5bqd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-bosnian")
    (synopsis "Babel contrib support for Bosnian")
    (description
     "The package provides a language definition file that enables support of
Bosnian with Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-breton
  (package
    (name "texlive-babel-breton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-breton/"
                                     "source/generic/babel-breton/"
                                     "tex/generic/babel-breton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hvb2qjin8jx4lmw3w2y04jnnnc6w0033kjhgflfyp309dmvhzhl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-breton")
    (synopsis "Babel contributed support for Breton")
    (description
     "Breton (being, principally, a spoken language) does not have typographic
rules of its own; this package provides an appropriate selection of French and
British typographic rules.")
    (license license:lppl1.3+)))

(define-public texlive-babel-bulgarian
  (package
    (name "texlive-babel-bulgarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-bulgarian/"
                                     "source/generic/babel-bulgarian/"
                                     "tex/generic/babel-bulgarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "065j31rl7r4x8krkwxhq0lwdkmbq90jr8666if4br36kw0g3kzv3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-bulgarian")
    (synopsis "Babel contributed support for Bulgarian")
    (description
     "The package provides support for documents in Bulgarian (or simply
containing some Bulgarian text).")
    (license license:lppl1.3+)))

(define-public texlive-babel-catalan
  (package
    (name "texlive-babel-catalan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-catalan/"
                                     "source/generic/babel-catalan/"
                                     "tex/generic/babel-catalan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "162ih5948z2kbxqxf7bp94ffg7f2b5l8ffa9w304868hj9ik6jfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-catalan")
    (synopsis "Babel contributed support for Catalan")
    (description
     "The package establishes Catalan conventions in a document (or a subset
of the conventions, if Catalan is not the main language of the document).")
    (license license:lppl1.3+)))

(define-public texlive-babel-croatian
  (package
    (name "texlive-babel-croatian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-croatian/"
                                     "source/generic/babel-croatian/"
                                     "tex/generic/babel-croatian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r3cccrc2i57sza8qc24hxm2p6igvhbkr8a6lnsrcrhbji2smi07"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-croatian")
    (synopsis "Babel contributed support for Croatian")
    (description
     "The package establishes Croatian conventions in a document (or a subset
of the conventions, if Croatian is not the main language of the document).")
    (license license:lppl1.3+)))

(define-public texlive-babel-english
  (package
    (name "texlive-babel-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-english/"
                                     "source/generic/babel-english/"
                                     "tex/generic/babel-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fh8xxxh79za80yvgypf8clzj0lk237lfyqfkl233id9rlias08d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-english")
    (synopsis "Babel support for English")
    (description
     "The package provides the language definition file for support of
English in @code{babel}.  Care is taken to select british hyphenation patterns
for British English and Australian text, and default (american) patterns for
Canadian and USA text.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-babel-english texlive-babel-english)

(define-public texlive-babel-esperanto
  (package
    (name "texlive-babel-esperanto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-esperanto/"
                                     "source/generic/babel-esperanto/"
                                     "tex/generic/babel-esperanto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1av9x9d5rff6hsssssbn1jnyrqnj1c2n5fa4kgxlla95xn7zs65m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-esperanto")
    (synopsis "Babel support for Esperanto")
    (description
     "The package provides the language definition file for support of
Esperanto in Babel.  Some shortcuts are defined, as well as translations to
Esperanto of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-estonian
  (package
    (name "texlive-babel-estonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-estonian/"
                                     "source/generic/babel-estonian/"
                                     "tex/generic/babel-estonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pi4rmbwjg8mrxi9y6jhczfv6nbrb25n025sx56yn36f579rwwiy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-estonian")
    (synopsis "Babel support for Estonian")
    (description
     "The package provides the language definition file for support of
Estonian in Babel.  Some shortcuts are defined, as well as translations to
Estonian of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-french
  (package
    (name "texlive-babel-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-french/"
                                     "source/generic/babel-french/"
                                     "tex/generic/babel-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04jbg7dfk9wsyls5vk6a5v2kd5ni8jf4ixj0piy1a0z75s01my1r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-french")
    (synopsis "Babel contributed support for French")
    (description
     "The package establishes French conventions in a document (or a subset of
the conventions, if French is not the main language of the document).")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-babel-french texlive-babel-french)

(define-public texlive-babel-friulan
  (package
    (name "texlive-babel-friulan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-friulan/"
                                     "source/generic/babel-friulan/"
                                     "tex/generic/babel-friulan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "082xhr083hcbp0lqvkfj48hnqj4fa7x30vn6sk6v2f1g57zq9v69"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-friulan")
    (synopsis "Babel and Polyglossia support for Friulan(Furlan)")
    (description
     "The package provides a language description file that enables support of
Friulan either with Babel or with Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-babel-galician
  (package
    (name "texlive-babel-galician")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-galician/"
                                     "source/generic/babel-galician/"
                                     "tex/generic/babel-galician/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13giby8mzyxjccyvhb9dsnyqc2h17k70fch84z5mi8si3jnm9sq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-galician")
    (synopsis "Babel and Polyglossia support for Galician")
    (description
     "The package provides a language description file that enables support of
Galician either with Babel or with Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-babel-georgian
  (package
    (name "texlive-babel-georgian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-georgian/"
                                     "tex/generic/babel-georgian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qjpaxzgm0qh88j6x1zvnjb1n994prxqnzchrp05pgsbyjcf410p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-georgian")
    (synopsis "Babel support for Georgian")
    (description
     "The package provides support for use of Babel in documents written in
Georgian.  The package is adapted for use both under traditional TeX engines,
and under XeTeX and LuaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-babel-german
  (package
    (name "texlive-babel-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-german/"
                                     "source/generic/babel-german/"
                                     "tex/generic/babel-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k5m77nfvazfb2s9bdjchzhiyrs63mk5n8g1da5xcwrbl1pldclw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-german")
    (synopsis "Babel support for documents written in German")
    (description
     "This bundle is an extension to the babel package for multilingual typesetting.
It provides all the necessary macros, definitions and settings to typeset
German documents.  The bundle includes support for the traditional and
reformed German orthography as well as for the Austrian and Swiss varieties of
German.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-babel-german texlive-babel-german)

(define-public texlive-babel-greek
  (package
    (name "texlive-babel-greek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-greek/"
                                     "source/generic/babel-greek/"
                                     "tex/generic/babel-greek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00yk4kx7078q6dkx43rifgpcplhbg8b98m39zsw0vgpd91vzr93p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-greek")
    (synopsis "Babel support for documents written in Greek")
    (description
     "The file provides modes for monotonic (single-diacritic) and polytonic
(multiple-diacritic) modes of writing.  Provision is made for Greek function
names in mathematics, and for classical-era symbols.")
    (license license:lppl1.3+)))

(define-public texlive-babel-hebrew
  (package
    (name "texlive-babel-hebrew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-hebrew/"
                                     "source/generic/babel-hebrew/"
                                     "tex/generic/babel-hebrew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n0w7jmjf71fw96ycrqwxxh6s4knw3fj4i83n63y4xv2x5w40f7y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-hebrew")
    (synopsis "Babel support for Hebrew")
    (description
     "The package provides the language definition file for support of Hebrew
in babel.  Macros to control the use of text direction control of TeX--XeT and
e-TeX are provided (and may be used elsewhere).  Some shortcuts are defined,
as well as translations to Hebrew of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-hungarian
  (package
    (name "texlive-babel-hungarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-hungarian/"
                                     "tex/generic/babel-hungarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x54clczgvkq9slq5331hvp1rzlv4jm4g9gnpflz8y72jbqmcm24"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-hungarian")
    (synopsis "Babel support for Hungarian (Magyar)")
    (description
     "The package provides a language definition file that enables support of
Magyar (Hungarian) with Babel.")
    (license license:lppl)))

(define-public texlive-babel-icelandic
  (package
    (name "texlive-babel-icelandic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-icelandic/"
                                     "source/generic/babel-icelandic/"
                                     "tex/generic/babel-icelandic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cz6q6mn34h19k1rd2c5pfw3s6allqcbsvm0pyriinnylpx9i44d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-icelandic")
    (synopsis "Babel support for Icelandic")
    (description
     "The package provides the language definition file for support of
Icelandic in Babel.  Some shortcuts are defined, as well as translations to
Icelandic of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-indonesian
  (package
    (name "texlive-babel-indonesian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-indonesian/"
                                     "source/generic/babel-indonesian/"
                                     "tex/generic/babel-indonesian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ilkl7s5dh8cs6z211p4imyzg3d2axfa5vkmrxn4d3lbx1g3chs1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-indonesian")
    (synopsis "Support for Indonesian within Babel")
    (description "This is the Babel style for Indonesian.")
    (license license:lppl1.3+)))

(define-public texlive-babel-interlingua
  (package
    (name "texlive-babel-interlingua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-interlingua/"
                                     "source/generic/babel-interlingua/"
                                     "tex/generic/babel-interlingua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mxyfa6rsaxwazliblg9p4cbr0vip12c00mkvnz4dak2adnhzvbg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-interlingua")
    (synopsis "Babel support for Interlingua")
    (description
     "The package provides the language definition file for support of
Interlingua in Babel.  This includes translations to Interlingua of standard
LaTeX names (no shortcuts are provided).  Interlingua itself is an auxiliary
language, built from the common vocabulary of Spanish/Portuguese, English,
Italian and French, with some normalisation of spelling.")
    (license license:lppl1.3+)))

(define-public texlive-babel-irish
  (package
    (name "texlive-babel-irish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-irish/"
                                     "source/generic/babel-irish/"
                                     "tex/generic/babel-irish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j78inzjbv653gla11g3rzmn0b5fvzbkmppmhbgq9qi8102p7k55"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-irish")
    (synopsis "Babel support for Irish")
    (description
     "The package provides the language definition file for support of Irish
Gaelic in Babel.  The principal content is translations to Irish of standard
LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-italian
  (package
    (name "texlive-babel-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-italian/"
                                     "source/generic/babel-italian/"
                                     "tex/generic/babel-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zb2cm5b0pbpvxpcm1mmp1mwxaighf6grlh5ijcq1m36iycpgm0p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-italian")
    (synopsis "Babel support for Italian text")
    (description "The package provides language definitions for use in
Babel.")
    (license license:lppl1.3c)))

(define-public texlive-babel-japanese
  (package
    (name "texlive-babel-japanese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-japanese/"
                                     "source/generic/babel-japanese/"
                                     "tex/generic/babel-japanese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jn2pl080c0dd6ryj6y5b87h6ijg3lcd2hw7g5kyw7p9r7a6b8i0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-japanese")
    (synopsis "Babel support for Japanese")
    (description
     "This package provides a japanese option for the Babel package.  It
defines all the language definition macros in Japanese.  Currently this
package works with pLaTeX, upLaTeX, XeLaTeX and LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-babel-kurmanji
  (package
    (name "texlive-babel-kurmanji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-kurmanji/"
                                     "source/generic/babel-kurmanji/"
                                     "tex/generic/babel-kurmanji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021dzdjhiymsvqxc1cq409vkm7390lrr691snydr9xr35x0k3wr1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-kurmanji")
    (synopsis "Babel support for Kurmanji")
    (description
     "The package provides the language definition file for support of
Kurmanji in Babel.  Kurmanji belongs to the family of Kurdish languages.  Some
shortcuts are defined, as well as translations to Kurmanji of standard LaTeX
names.  Note that the package is dealing with Northern Kurdish, written using
a Latin-based alphabet.  The @code{arabxetex} package offers support for
Kurdish written in Arabic script.")
    (license license:lppl1.3+)))

(define-public texlive-babel-latin
  (package
    (name "texlive-babel-latin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-latin/"
                                     "source/generic/babel-latin/"
                                     "tex/generic/babel-latin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ykiny7rcz5czsadxfxl53403ixkyxi67dqlphqaxkvvm2k61kpb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-latin")
    (synopsis "Babel support for Latin")
    (description
     "The Babel-latin package provides the Babel languages @code{latin},
 @code{classiclatin}, @code{medievallatin}, and @code{ecclesiasticlatin}.  It
also defines several useful shorthands as well as some modifiers for
typographical fine-tuning.")
    (license license:lppl1.3+)))

(define-public texlive-babel-latvian
  (package
    (name "texlive-babel-latvian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-latvian/"
                                     "source/generic/babel-latvian/"
                                     "tex/generic/babel-latvian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a605a9ksibxf8kbrqa2bmk24j9wmgzpz5f12jwcym02jm66sw82"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-latvian")
    (synopsis "Babel support for Latvian")
    (description
     "The package provides the language definition file for support of Latvian
in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-lithuanian
  (package
    (name "texlive-babel-lithuanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-lithuanian/"
                                     "source/generic/babel-lithuanian/"
                                     "tex/generic/babel-lithuanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08ifkjb61m9nx3wn8hvca9vfrzlmxpwvrh21hq1rh6dwmqli11j6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-lithuanian")
    (synopsis "Babel support for documents written in Lithuanian")
    (description
     "Babel support material for documents written in Lithuanian moved from
the @code{lithuanian} package into a new package @code{babel-lithuanian} to
match Babel support for other languages.")
    (license license:lppl1.3+)))

(define-public texlive-babel-macedonian
  (package
    (name "texlive-babel-macedonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-macedonian/"
                                     "source/generic/babel-macedonian/"
                                     "tex/generic/babel-macedonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fps3nlbr4j2vy8pww4xkp2xsxiclzal4ifcpc1a0dsc4blll5nr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-macedonian")
    (synopsis "Babel module to support Macedonian Cyrillic")
    (description
     "The package provides support for Macedonian documents written in
Cyrillic, in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-malay
  (package
    (name "texlive-babel-malay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-malay/"
                                     "source/generic/babel-malay/"
                                     "tex/generic/babel-malay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gbjrsf4drmrplhwl0avpzv5yfyb30znhza4pxk704i1khabnwzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-malay")
    (synopsis "Support for Malay within Babel")
    (description "This is the Babel style for Malay.")
    (license license:lppl1.3+)))

(define-public texlive-babel-occitan
  (package
    (name "texlive-babel-occitan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-occitan/"
                                     "source/generic/babel-occitan/"
                                     "tex/generic/babel-occitan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0apg6i95lhhlwwci3mm8gqrs5x5qchxkc9w615cj083bvsri8vnk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-occitan")
    (synopsis "Babel support for Occitan")
    (description "This package provides Occitan language description file for
Babel, with usage instructions.")
    (license license:lppl1.3+)))

(define-public texlive-babel-piedmontese
  (package
    (name "texlive-babel-piedmontese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-piedmontese/"
                                     "source/generic/babel-piedmontese/"
                                     "tex/generic/babel-piedmontese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04hig8rd6nxwwz1zjskpmap00gixmb63qh08p5fxqc6mb4bdh78b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-piedmontese")
    (synopsis "Babel support for Piedmontese")
    (description
     "The package provides the language definition file for support of
Piedmontese in Babel.  Some shortcuts are defined, as well as translations to
Piedmontese of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-portuges
  (package
    (name "texlive-babel-portuges")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-portuges/"
                                     "source/generic/babel-portuges/"
                                     "tex/generic/babel-portuges/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0619ygyjz5vz3a6khx7yvsa059x59r54fgyxb0p8k196lss07lq2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-portuges")
    (synopsis "Babel support for Portuges")
    (description
     "The package provides the language definition file for support of
Portuguese and Brazilian Portuguese in Babel.  Some shortcuts are defined, as
well as translations to Portuguese of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-romanian
  (package
    (name "texlive-babel-romanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-romanian/"
                                     "source/generic/babel-romanian/"
                                     "tex/generic/babel-romanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yyzcw7pm0b7fmxwn3j677g066dlmkmpa1flrivkqzbcn4mykwir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-romanian")
    (synopsis "Babel support for Romanian")
    (description
     "The package provides the language definition file for support of
Romanian in Babel.  Translations to Romanian of standard LaTeX names are
provided.")
    (license license:lppl1.3+)))

(define-public texlive-babel-romansh
  (package
    (name "texlive-babel-romansh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-romansh/"
                                     "source/generic/babel-romansh/"
                                     "tex/generic/babel-romansh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08lc76yglblidg24s5ap9j0xmzbxgsfwcf9f6g1m4bwbqwkh089x"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list (texlive-updmap.cfg
                          (list texlive-etoolbox
                                texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/babel-romansh")
    (synopsis "Babel and Polyglossia support for the Romansh language")
    (description
     "The package provides a language description file that enables support of
Romansh either with Babel or with Polyglossia.")
    (license license:lppl1.3+)))

(define-public texlive-babel-russian
  (package
    (name "texlive-babel-russian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-russian/"
                                     "source/generic/babel-russian/"
                                     "tex/generic/babel-russian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sy3b7qx5l6smpixa9896zqqrh6ymrz31pd4026f815jy78k3cfb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-russian")
    (synopsis "Russian language module for Babel")
    (description
     "The package provides support for use of Babel in documents written in
Russian (in both traditional and modern forms).  The support is adapted for
use both under traditional TeX engines, and under XeTeX and LuaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-babel-samin
  (package
    (name "texlive-babel-samin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-samin/"
                                     "source/generic/babel-samin/"
                                     "tex/generic/babel-samin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1izvs1xz9g838ygxwnm8v7rcc8fzn68xd1dbah13wcc0p9nq736x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-samin")
    (synopsis "Babel support for Samin")
    (description
     "The package provides the language definition file for support of North
Sami in Babel.  Several Sami dialects/languages are spoken in Finland, Norway,
Sweden and on the Kola Peninsula of Russia.  Not all use the same alphabet,
and no attempt is made to support any other than North Sami here.  Some
shortcuts are defined, as well as translations to Norsk of standard LaTeX
names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-scottish
  (package
    (name "texlive-babel-scottish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-scottish/"
                                     "source/generic/babel-scottish/"
                                     "tex/generic/babel-scottish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lcnf84ri330z8qvxlqxyhfm50ylxh9wb3sn2pjjhfg7zadg9zvv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-scottish")
    (synopsis "Babel support for Scottish Gaelic")
    (description
     "The package provides the language definition file for support of Gaidhlig
(Scottish Gaelic) in Babel.  Some shortcuts are defined, as well as
translations of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-serbian
  (package
    (name "texlive-babel-serbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-serbian/"
                                     "source/generic/babel-serbian/"
                                     "tex/generic/babel-serbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "089w8phd1pyzh8dmn4v2bspnmx4hqi63mby1yn7xk596qxi3nqrz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-serbian")
    (synopsis "Babel and Polyglossia support for Serbian")
    (description
     "The package provides support for Serbian documents written in Latin, in
Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-serbianc
  (package
    (name "texlive-babel-serbianc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-serbianc/"
                                     "source/generic/babel-serbianc/"
                                     "tex/generic/babel-serbianc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ji77vlb10vxdka5bsnqkrlf34c4qhpl162xizrzxf11z6099wng"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-serbianc")
    (synopsis "Babel module to support Serbian Cyrillic")
    (description
     "The package provides support for Serbian documents written in Cyrillic,
in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-slovak
  (package
    (name "texlive-babel-slovak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-slovak/"
                                     "source/generic/babel-slovak/"
                                     "tex/generic/babel-slovak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16w95j3ckvjvmwccx2qvf7lq3b3zvnlf7ygm35i8xq22f3lm2a9k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-slovak")
    (synopsis "Babel support for typesetting Slovak")
    (description
     "The package provides the language definition file for support of Slovak
in Babel, including Slovak variants of LaTeX built-in-names.  Shortcuts are
also defined.")
    (license license:lppl1.3+)))

(define-public texlive-babel-slovenian
  (package
    (name "texlive-babel-slovenian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-slovenian/"
                                     "source/generic/babel-slovenian/"
                                     "tex/generic/babel-slovenian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08bf1732vsa148km0vkfj6k1cg3j3yrhkzsvnhv283bbr1wqprz6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-slovenian")
    (synopsis "Babel support for typesetting Slovenian")
    (description
     "The package provides the language definition file for support of
Slovenian in Babel.  Several shortcuts are defined, as well as translations to
Slovenian of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-sorbian
  (package
    (name "texlive-babel-sorbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-sorbian/"
                                     "source/generic/babel-sorbian/"
                                     "tex/generic/babel-sorbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b6qqk0qik294z8sirvf58cf5v8mhsz4hj91gw7zg8b4j362lp8y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-sorbian")
    (synopsis "Babel support for Upper and Lower Sorbian")
    (description
     "The package provides language definitions file for support of both Upper
and Lower Sorbian, in Babel.  Some shortcuts are defined, as well as
translations to the relevant language of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-spanish
  (package
    (name "texlive-babel-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-spanish/"
                                     "source/generic/babel-spanish/"
                                     "tex/generic/babel-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nzc4hs91a901cjy2vhpamdw3gyxp7k2lmag9ni8zmy180zncm5g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-spanish")
    (synopsis "Babel support for Spanish")
    (description
     "This bundle provides the means to typeset Spanish text, with the support
provided by the LaTeX standard package Babel.  Note that separate support is
provided for those who wish to typeset Spanish as written in Mexico.")
    (license license:lppl1.3+)))

(define-public texlive-babel-swedish
  (package
    (name "texlive-babel-swedish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-swedish/"
                                     "source/generic/babel-swedish/"
                                     "tex/generic/babel-swedish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qi2rzhlxikabrk9n0096inbczgp5hwghvy5zn0mph8zmsxlfbdf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-swedish")
    (synopsis "Babel support for typesetting Swedish")
    (description
     "The package provides the language definition file for Swedish.")
    (license license:lppl1.3+)))

(define-public texlive-babel-thai
  (package
    (name "texlive-babel-thai")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-thai/"
                                     "source/generic/babel-thai/"
                                     "tex/generic/babel-thai/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wgprys500a1fn56bnsmq8fhmb9y8cfwsqn5hginfb36d3gym4p6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-thai")
    (synopsis "Support for Thai within babel")
    (description
     "The package provides support for typesetting Thai text within the Babel
system.")
    (license license:lppl1.3+)))

(define-public texlive-babel-turkish
  (package
    (name "texlive-babel-turkish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-turkish/"
                                     "source/generic/babel-turkish/"
                                     "tex/generic/babel-turkish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q88q0kfa4jjd4m51mvj798scxr5c5l7bjp9sfv8s5pq3ym19bq0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-turkish")
    (synopsis "Babel support for Turkish documents")
    (description
     "The package provides support, within Babel, of the Turkish language.")
    (license license:lppl1.3+)))

(define-public texlive-babel-ukrainian
  (package
    (name "texlive-babel-ukrainian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-ukrainian/"
                                     "source/generic/babel-ukrainian/"
                                     "tex/generic/babel-ukrainian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nz8yzpc5khyv6wgm5ndwfdxx591wqlg311crzxk08ardg8zwvgs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-ukrainian")
    (synopsis "Babel support for Ukrainian")
    (description
     "The package provides support for use of babel in documents written in
Ukrainian.  The support is adapted for use under legacy TeX engines as well as
XeTeX and LuaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-babel-vietnamese
  (package
    (name "texlive-babel-vietnamese")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-vietnamese/"
                                     "source/generic/babel-vietnamese/"
                                     "tex/generic/babel-vietnamese/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12nnrdk0k2xfab33249s3gzs1815p7j197bv4zisndxvrmiv6hdf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-vietnamese")
    (synopsis "Babel support for typesetting Vietnamese")
    (description
     "The package provides the language definition file for support of
Vietnamese in Babel.")
    (license license:lppl1.3+)))

(define-public texlive-babel-welsh
  (package
    (name "texlive-babel-welsh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-welsh/"
                                     "source/generic/babel-welsh/"
                                     "tex/generic/babel-welsh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qba526ralldh4y6w0pzdw2vb2ng31mw416qzn0zzjp8sppc3hyw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-welsh")
    (synopsis "Babel support for Welsh")
    (description
     "The package provides the language definition file for Welsh.")
    (license license:lppl1.3+)))

(define-public texlive-cyklop
  (package
    (name "texlive-cyklop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cyklop/"
                                     "fonts/afm/public/cyklop/"
                                     "fonts/enc/dvips/cyklop/"
                                     "fonts/map/dvips/cyklop/"
                                     "fonts/opentype/public/cyklop/"
                                     "fonts/tfm/public/cyklop/"
                                     "fonts/type1/public/cyklop/"
                                     "tex/latex/cyklop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jfri15l1jycqzjac8s5bz6izypdwfjagfz6jhw95ixj1s9brnpl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cyklop")
    (synopsis "The Cyclop typeface")
    (description
     "The Cyclop typeface was designed in the 1920s at the workshop of Warsaw
type foundry @emph{Odlewnia Czcionek J. Idzkowski i S-ka}.  This sans serif
typeface has a highly modulated stroke so it has high typographic contrast.
The vertical stems are much heavier then horizontal ones.  Most characters
have thin rectangles as additional counters giving the unique shape of the
characters.  The lead types of Cyclop typeface were produced in slanted
variant at sizes 8-48 pt.  It was heavily used for heads in newspapers and
accidents prints.  Typesetters used Cyclop in the inter-war period, during the
occupation in the underground press.  The typeface was used until the
beginnings of the offset print and computer typesetting era.  Nowadays it is
hard to find the metal types of this typeface.

The fonts are distributed in the Type1 and OpenType formats along with the
files necessary for use these fonts in TeX and LaTeX including encoding
definition files: T1 (ec), T5 (Vietnamese), OT4, QX, texnansi and nonstandard
ones (IL2 for Czech fonts).")
    (license license:gfl1.0)))

(define-public texlive-cyrillic-bin
  (package
    (name "texlive-cyrillic-bin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/rubibtex.1"
                                     "doc/man/man1/rubibtex.man1.pdf"
                                     "doc/man/man1/rumakeindex.1"
                                     "doc/man/man1/rumakeindex.man1.pdf"
                                     "scripts/texlive-extra/rubibtex.sh"
                                     "scripts/texlive-extra/rumakeindex.sh"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09l5f7l91ph6sqfp2ia3yn23pa3s4cyfgyn020ncqvapg00s0mmg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "rubibtex.sh" "rumakeindex.sh")
      #:phases
      #~(modify-phases %standard-phases
          (replace 'patch-shell-scripts
            (lambda _
              (with-directory-excursion "scripts/texlive-extra/"
                (with-fluids ((%default-port-encoding "ISO-8859-1"))
                  (substitute* (list "rubibtex.sh" "rumakeindex.sh")
                    (("\\b(basename|cat|mkdir|rm|sed)\\b" _ command)
                     (which command))))))))))
    (home-page "https://ctan.org/pkg/cyrillic-bin")
    (synopsis "Cyrillic BibTeX and MakeIndex")
    (description
     "This package provides scripts for Cyrillic versions of BibTeX and
MakeIndex.")
    (license license:public-domain)))

(define-public texlive-cyrillic
  (package
    (name "texlive-cyrillic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cyrillic/"
                                     "source/latex/cyrillic/"
                                     "tex/latex/cyrillic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08v670f7s74klnac7pzqsad9m4jsxfkckzkswxb94xxd61kanzdx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-engine "tex"
           #:tex-format #f))
    (native-inputs (list texlive-latex))
    (propagated-inputs (list texlive-cyrillic-bin))
    (home-page "https://ctan.org/pkg/cyrillic")
    (synopsis "Support for Cyrillic fonts in LaTeX")
    (description
     "This bundle of macros files provides macro support (including font
encoding macros) for the use of Cyrillic characters in fonts encoded under the
T2* and X2 encodings.  These encodings cover (between them) pretty much every
language that is written in a Cyrillic alphabet.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-cyrillic texlive-cyrillic)

(define-public texlive-passivetex
  (package
    (name "texlive-passivetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/xmltex/passivetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h49v6sqbm27isfwwcql9dzxn4vmcn2algkqh7f1pzj860xw3ygn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/passivetex")
    (synopsis "Support package for XML/SGML typesetting")
    (description
     "This is a set of packages providing XML parsing, UTF-8 parsing,
Unicode entities, and common formatting object definitions for JadeTeX.")
    ;; License given in "tex/xmltex/passivetex/mlnames.sty".
    (license license:lppl1.0+)))

(define-public texlive-pict2e
  (package
    (name "texlive-pict2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pict2e/"
                                     "source/latex/pict2e/"
                                     "tex/latex/pict2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pazv1khsgjhxc673qrhjrbzlkgmcj53qccb9hw7ygdajxrjc2ba"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pict2e")
    (synopsis "New implementation of @code{picture} commands")
    (description
     "This package extends the existing LaTeX @code{picture} environment,
using the familiar technique (the @code{graphics} and @code{color} packages)
of driver files (at present, drivers for dvips, pdfTeX, LuaTeX, XeTeX, VTeX,
dvipdfm, and dvipdfmx are available).  The package documentation has a fair
number of examples of use, showing where things are improved by comparison
with the LaTeX @code{picture} environment.")
    (license license:lppl1.3+)))

(define-public texlive-psnfss
  (package
    (name "texlive-psnfss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psnfss/"
                                     "fonts/map/dvips/psnfss/"
                                     "source/latex/psnfss/"
                                     "tex/latex/psnfss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17zxqz32ky99z22yaqayg9ih8lyaswi97d34jykc0s12w4k4i97c"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm))
    (propagated-inputs
     (list texlive-graphics texlive-symbol texlive-zapfding))
    (home-page "https://www.ctan.org/pkg/psnfss")
    (synopsis "Font support for common PostScript fonts")
    (description
     "The PSNFSS collection includes a set of files that provide a complete
working setup of the LaTeX font selection scheme (NFSS2) for use with common
PostScript fonts.  The base set of text fonts covered by PSNFSS includes the
AvantGarde, Bookman, Courier, Helvetica, New Century Schoolbook, Palatino,
Symbol, Times Roman and Zapf Dingbats fonts.  In addition, the fonts Bitstream
Charter and Adobe Utopia are covered.  Separate packages are provided to load
each font for use as the main text font.  The package @code{helvet} allows
Helvetica to be loaded with its size scaled to something more appropriate for
use as a Sans-Serif font to match Times, while @code{pifont} provides the
means to select single glyphs from symbol fonts.  The bundle as a whole is
part of the LaTeX required set of packages.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-psnfss texlive-psnfss)

(define-public texlive-ifplatform
  (package
    (name "texlive-ifplatform")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifplatform/"
                                     "source/latex/ifplatform/"
                                     "tex/latex/ifplatform/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1llas0xwq3y9nk7gblg40l99cgmkl9r7rbfazrhpnbaz5cshl8pl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifplatform")
    (synopsis "Conditionals to test which platform is being used")
    (description
     "This package uses the (La)TeX extension @samp{-shell-escape} to
establish whether the document is being processed on a Windows or on
a Unix-like system, or on Cygwin.

Booleans provided are: @code{\\ifwindows}, @code{\\iflinux}, @code{\\ifmacosx}
and @code{\\ifcygwin}.  The package also preserves the output of
@command{uname} on a Unix-like system, which may be used to distinguish
between various classes of Unix systems.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-ifplatform texlive-ifplatform)

(define-public texlive-ifptex
  (package
    (name "texlive-ifptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ifptex/" "tex/generic/ifptex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mf4rwy1g0l2qsz571h5g3kinciy17vqgm42gvhbhffm5xyxhvx8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifptex")
    (synopsis "Check if the engine is pTeX or one of its derivatives")
    (description
     "The @code{ifptex} package is a counterpart of @code{ifxetex},
@code{ifluatex}, etc.@: for the pTeX engine.  The @code{ifuptex} package is an
alias to @code{ifptex} provided for backward compatibility.")
    (license license:expat)))

(define-public texlive-iftex
  (package
    (name "texlive-iftex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/iftex/" "tex/generic/iftex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05p8iw8c8vjs59zb8pgilwpvlzrlb8zxyf34fhyr67y6bwm8phnf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "http://www.ctan.org/pkg/iftex")
    (synopsis "Determine the currently used TeX engine")
    (description
     "This package, which works both for Plain TeX and for LaTeX, defines the
@code{\\ifPDFTeX}, @code{\\ifXeTeX}, and @code{\\ifLuaTeX} conditionals for
testing which engine is being used for typesetting.  The package also provides
the @code{\\RequirePDFTeX}, @code{\\RequireXeTeX}, and @code{\\RequireLuaTeX}
commands which throw an error if pdfTeX, XeTeX or LuaTeX (respectively) is not
the engine in use.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-iftex texlive-iftex)
(define-deprecated-package texlive-generic-ifxetex texlive-iftex)

(define-public texlive-ifxptex
  (package
    (name "texlive-ifxptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ifxptex/"
                                     "tex/generic/ifxptex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r77j010a9fcn47kjy6vwv72i8fynb8jsilas6hs9c9lgk5bal1g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifxptex")
    (synopsis "Detect pTeX and its derivatives")
    (description
     "The package provides commands for detecting pTeX and its derivatives
(e-pTeX, upTeX, e-upTeX, and ApTeX).  Both LaTeX and plain TeX are
supported.")
    (license license:knuth)))

(define-public texlive-tipa
  (package
    (name "texlive-tipa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/tipa/"
                                     "fonts/map/dvips/tipa/"
                                     "fonts/source/public/tipa/"
                                     "fonts/tfm/public/tipa/"
                                     "fonts/type1/public/tipa/"
                                     "tex/latex/tipa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11gi7yhq2lnfgvqa29i0sidi5mwkzpja5ggdcpvqwv4xljf4vpvh"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/tipa")
    (synopsis "Fonts and macros for IPA phonetics characters")
    (description
     "These fonts are considered the ultimate answer to IPA typesetting.  The
encoding of these 8-bit fonts has been registered as LaTeX standard encoding
T3, and the set of addendum symbols as encoding TS3.  Times-like Adobe Type
1 versions are provided for both the T3 and the TS3 fonts.")
    (license license:lppl)))

(define-public texlive-tipa-de
  (package
    (name "texlive-tipa-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tipa-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16gwc0dpdls6s2vdl3hmd6307d88gfzsa3kbw3vhl0z5iawvwj4h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tipa-de")
    (synopsis "German translation of @code{tipa} documentation")
    (description
     "This is a German translation of Fukui Rei's @code{tipaman} from the
@code{tipa} bundle.")
    (license license:lppl)))

(define-public texlive-amsrefs
  (package
    (name "texlive-amsrefs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/amsrefs/" "bibtex/bst/amsrefs/"
                                     "doc/latex/amsrefs/" "source/latex/amsrefs/"
                                     "tex/latex/amsrefs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12la66vz5ic6jc1cy96b2zh2fxsbaii9kbs4wrz1ii8v508wdkhv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsrefs")
    (synopsis "LaTeX-based replacement for BibTeX")
    (description
     "Amsrefs is a LaTeX package for bibliographies that provides an
archival data format similar to the format of BibTeX database files, but
adapted to make direct processing by LaTeX easier.  The package can be used
either in conjunction with BibTeX or as a replacement for BibTeX.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-amsrefs texlive-amsrefs)

(define-public texlive-bigfoot
  (package
    (name "texlive-bigfoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bigfoot/"
                                     "source/latex/bigfoot/"
                                     "tex/latex/bigfoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "140b4bbjcgajd1flznmi3ga6lx5pna2nxybr2dqm9515lny8gwf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bigfoot")
    (synopsis "Footnotes for critical editions")
    (description
     "The package aims to provide a one-stop solution to requirements for
footnotes.  It offers multiple footnote apparatus superior to that of
@code{manyfoot}.  Footnotes can be formatted in separate paragraphs, or be run
into a single paragraph.  Note that the majority of the @code{bigfoot}
package's interface is identical to that of @code{manyfoot}; users should seek
information from that package's documentation.

The @code{bigfoot} bundle also provides the @code{perpage} and @code{suffix}
packages.")
    (license license:gpl2+)))

(define-deprecated-package texlive-latex-bigfoot texlive-bigfoot)

(define-public texlive-blindtext
  (package
    (name "texlive-blindtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/blindtext/"
                                     "source/latex/blindtext/"
                                     "tex/latex/blindtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gakawih3mzm5jh01kb44sjpsa4r8c3zwzig5bac37g4ha2vqska"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blindtext")
    (synopsis "Producing blind text for testing")
    (description
     "The package provides the commands @code{\\blindtext} and
@code{\\Blindtext} for creating \"blind\" text useful in testing new classes
and packages, and @code{\\blinddocument}, @code{\\Blinddocument} for creating
an entire random document with sections, lists, mathematics, etc.  The package
supports three languages, @code{english}, @code{(n)german} and @code{latin};
the @code{latin} option provides a short \"lorem ipsum\" (for a fuller \"lorem
ipsum\" text, see the @code{lipsum} package).")
    (license license:lppl)))

(define-deprecated-package texlive-latex-blindtext texlive-blindtext)

(define-public texlive-dinbrief
  (package
    (name "texlive-dinbrief")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dinbrief/"
                                     "source/latex/dinbrief/"
                                     "tex/latex/dinbrief/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l6mmn3y07xglmh3h5f7pnpmyacqb2g6nqgq3q1p6k97kf708c5s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            (lambda _
              (with-fluids ((%default-port-encoding "ISO-8859-1"))
                (with-directory-excursion "source/latex/dinbrief"
                  (delete-file "dinbrief.drv")
                  (substitute* "dinbrief.dtx"
                    (("zur Verf.+ung. In der Pr\"aambel")
                     "zur Verf\"ung. In der Pr\"aambel")))))))))
    (home-page "https://ctan.org/pkg/dinbrief")
    (synopsis "German letter DIN style")
    (description
     "This package implements a document layout for writing letters according
to the rules of DIN (Deutsches Institut für Normung, German standardisation
institute).  A style file for LaTeX 2.09 (with limited support of the
features) is part of the package.  Since the letter layout is based on a
German standard, the user guide is written in German, but most macros have
English names from which the user can recognize what they are used for.  In
addition there are example files showing how letters may be created with the
package.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-dinbrief texlive-dinbrief)

(define-public texlive-draftwatermark
  (package
    (name "texlive-draftwatermark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/draftwatermark/"
                                     "source/latex/draftwatermark/"
                                     "tex/latex/draftwatermark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hanv3972wm2wdy8f8ygljl9rnbf04vn5yx2pqz3jdic8dhwp0j0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/draftwatermark")
    (synopsis "Put a grey textual watermark on document pages")
    (description
     "This package provides a means to add a textual, light grey watermark
on every page or on the first page of a document.  Typical usage may consist
in writing words such as DRAFT or CONFIDENTIAL across document pages.  The
package performs a similar function to that of @code{draftcopy}, but its
implementation is output device independent, and made very simple by relying
on @code{everypage}.")
    (license license:lppl1.3+)))

(define-public texlive-drv
  (package
    (name "texlive-drv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/drv/" "metapost/drv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vjc9x9xa50zzzc3m2csj9x0gqwcamhyqz1xkdbkqwkcy8rfpnlh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drv")
    (synopsis "Derivation trees with MetaPost")
    (description
     "This package provides a set of MetaPost macros for typesetting
derivation trees (such as used in sequent calculus, type inference,
programming language semantics...).")
    (license license:lppl)))

(define-public texlive-dviincl
  (package
    (name "texlive-dviincl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/dviincl/" "metapost/dviincl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05f6ll7cq4ad4i4nkzrjnlqg1456is06fbmjiinadahf7yrqk3lw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dviincl")
    (synopsis "Include a DVI page into MetaPost output")
    (description
     "DVItoMP is one of the auxiliary programs available to any MetaPost
package; it converts a DVI file into a MetaPost file.  Using it, one can
envisage including a DVI page into an EPS files generated by MetaPost.  Such
files allow pages to include other pages.")
    (license license:public-domain)))

(define-public texlive-emp
  (package
    (name "texlive-emp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emp/" "source/latex/emp/"
                                     "tex/latex/emp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "183qwxxjws4l0jrn92dj4qd8avnv9gq2rk1zqak0h48wxlp0fpyq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emp")
    (synopsis "Encapsulate MetaPost figures in a document")
    (description
     "Emp is a package for encapsulating MetaPost figures in LaTeX: the
package provides environments where you can place MetaPost commands, and means
of using that code as fragments for building up figures to include in your
document.  So, with Emp, the procedure is to run your document with LaTeX, run
MetaPost, and then complete running your document in the normal way.  Emp is
therefore useful for keeping illustrations in synchrony with the text.  It
also frees you from inventing descriptive names for PostScript files that fit
into the confines of file system conventions.")
    (license license:gpl3+)))

(define-public texlive-enctex
  (package
    (name "texlive-enctex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/enctex/"
                                     "tex/generic/enctex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j8ji1ka8vhskm5kn0iwmkhjfp88ly6rva30pr1c9llsmsac5sf2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/enctex")
    (synopsis "TeX extension that translates input on its way into TeX")
    (description
     "EncTeX is (another) TeX extension, written at the change-file level.  It
provides means of translating input on the way into TeX.  It allows, for
example, translation of multibyte sequences, such as utf-8 encoding.")
    (license license:gpl3+)))

(define-public texlive-environ
  (package
    (name "texlive-environ")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/environ/"
                                     "source/latex/environ/"
                                     "tex/latex/environ/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08a3vhyzc647b9zp3yifdklj0vch9cv2vajh7ig3y01jcdqhjy41"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-trimspaces))
    (home-page "https://ctan.org/pkg/environ")
    (synopsis "New interface for environments in LaTeX")
    (description
     "This package provides the @code{\\collect@@body} command (as in
@code{amsmath}), as well as a @code{\\long} version @code{\\Collect@@Body},
for collecting the body text of an environment.  These commands are used to
define a new author interface to creating new environments.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-environ texlive-environ)

(define-public texlive-epsincl
  (package
    (name "texlive-epsincl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/epsincl/" "metapost/epsincl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pjnfqayh42gavlbd9wqn86qyqhw1bxrbmwgsv39ycj4s63xjxqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epsincl")
    (synopsis "Include EPS in MetaPost figures")
    (description
     "The package facilitates including EPS files in MetaPost figures.")
    (license license:public-domain)))

(define-public texlive-eqparbox
  (package
    (name "texlive-eqparbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqparbox/"
                                     "source/latex/eqparbox/"
                                     "tex/latex/eqparbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16c5dyd4bz45a2c1ppbq05h9ixg15srk5az5pld5gpv4j0zwzrqw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqparbox")
    (synopsis "Create equal-widthed parboxes")
    (description
     "LaTeX users sometimes need to ensure that two or more blocks of text
occupy the same amount of horizontal space on the page.  To that end, the
@code{eqparbox} package defines a new command, @code{\\eqparbox}, which works
just like @code{\\parbox}, except that instead of specifying a width, one
specifies a tag.  All @code{eqparbox}es with the same tag---regardless of
where they are in the document---will stretch to fit the widest
@code{eqparbox} with that tag.  This simple, equal-width mechanism can be used
for a variety of alignment purposes, as is evidenced by the examples in
@code{eqparbox}'s documentation.  Various derivatives of @code{\\eqparbox} are
also provided.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-eqparbox texlive-eqparbox)

(define-public texlive-etoc
  (package
    (name "texlive-etoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etoc/" "source/latex/etoc/"
                                     "tex/latex/etoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "008j03lplb5a12ha8vdsl2m8jqjm5vr753x40nahbpr96397k2b2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etoc")
    (synopsis "Customisable table of contents")
    (description
     "This package gives the user complete control of how the entries of the
table of contents should be constituted from the name, number, and page number
of each sectioning unit.  The layout is controlled by the definition of line
styles for each sectioning level used in the document.

The package provides its own custom line styles (which may be used as
examples), and continues to support the standard formatting inherited from the
LaTeX document classes, but the package can also allow the user to delegate
the details to packages dealing with list making environments (such as
@code{enumitem}).  The package's default global style typesets tables of
contents in a multi-column format, with either a standard heading, or a ruled
title (optionally with a frame around the table).

The @code{\\tableofcontents} command may be used arbitrarily many times in the
same document, while @code{\\localtableofcontents} provides a local table of
contents.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-etoc texlive-etoc)

(define-public texlive-expdlist
  (package
    (name "texlive-expdlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/expdlist/"
                                     "source/latex/expdlist/"
                                     "tex/latex/expdlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kylmj615hmbmjbynn5bfzhfz0wk1drxmg0kjqljnglffkb6irv6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expdlist")
    (synopsis "Expanded description environments")
    (description
     "The package provides additional features for the LaTeX @code{description} environment,
including adjustable left margin.  The package also allows the user to break
a list (for example, to interpose a comment) without affecting the structure
of the list (this works for itemize and eumerate lists and numbered lists
remain in sequence).")
    (license license:lppl)))

(define-deprecated-package texlive-latex-expdlist texlive-expdlist)

(define-public texlive-expressg
  (package
    (name "texlive-expressg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/expressg/"
                                     "metapost/expressg/"
                                     "source/metapost/expressg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08f6lxxxmhfld6g2iy2kn68llalz3wayxqka7nd48s1ahm33kmdd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/expressg")
    (synopsis "Diagrams consisting of boxes, lines, and annotations")
    (description
     "This package provides a MetaPost package providing facilities to assist
in drawing diagrams that consist of boxes, lines, and annotations.  Particular
support is provided for creating EXPRESS-G diagrams, for example IDEF1X, OMT,
Shlaer-Mellor, and NIAM diagrams.  The package may also be used to create UML
and most other Box-Line-Annotation charts, but not Gantt charts directly.")
    (license license:lppl)))

(define-public texlive-exteps
  (package
    (name "texlive-exteps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/exteps/" "metapost/exteps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mmlmcjn8fk16y14p3q6xfmkcc75vcykblgcyzapzxd1nzy51ak7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exteps")
    (synopsis "Include EPS figures in MetaPost")
    (description
     "Exteps is a module for including external EPS figures into MetaPost
figures.  It is written entirely in MetaPost, and does not therefore require
any post processing of the MetaPost output.")
    (license license:gpl3+)))

(define-public texlive-featpost
  (package
    (name "texlive-featpost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/featpost/"
                                     "metapost/featpost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a97syvr3vwpayhasb98ssvgwr99p13plrjnqb9ad24jd6srmmdg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/featpost")
    (synopsis "MetaPost macros for 3D")
    (description
     "These macros allow the production of three-dimensional schemes
containing angles, circles, cylinders, cones and spheres, among other
things.")
    (license license:gpl3+)))

(define-public texlive-feynmf
  (package
    (name "texlive-feynmf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/feynmf/" "metafont/feynmf/"
                                     "metapost/feynmf/" "source/latex/feynmf/"
                                     "tex/latex/feynmf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a6zhs4x6rkjl7vapc3y59hmrvmi570ji2bszpsk88w3fi8klckb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/feynmf")
    (synopsis "Macros and fonts for creating Feynman (and other) diagrams")
    (description
     "The @code{feynmf} package provides an interface to Metafont to use
simple structure specifications to produce relatively complex diagrams. While
the package was designed for Feynman diagrams, it could in principle be used
for diagrams in graph and similar theories, where the structure is
semi-algorithmically determined.")
    (license license:gpl3+)))

(define-public texlive-feynmp-auto
  (package
    (name "texlive-feynmp-auto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/feynmp-auto/"
                                     "source/latex/feynmp-auto/"
                                     "tex/latex/feynmp-auto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ghfblv641ghak049v42wbqmh7pfadz0mrbkfbx2jr4bvf57rv2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/feynmp-auto")
    (synopsis "Automatic processing of @code{feynmp} graphics")
    (description
     "The package takes care of running Metapost on the output files produced
by the @code{feynmp} package, so that the compiled pictures will be available
in the next run of LaTeX. The package honours options that apply to
@code{feynmp}.")
    (license license:lppl1.3+)))

(define-public texlive-filemod
  (package
    (name "texlive-filemod")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filemod/" "tex/generic/filemod/"
                                     "tex/latex/filemod/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1snsj7kblkj1ig3x3845lsypz7ab04lf0dcpdh946xakgjnz4fb5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/filemod")
    (synopsis "Provide file modification times, and compare them")
    (description
     "This package provides macros to read and compare the modification dates
of files.  The files may be @code{.tex} files, images or other files (as long
as they can be found by LaTeX).  It uses the @code{\\pdffilemoddate} primitive
of pdfLaTeX to find the file modification date as PDF date string, parses the
string and returns the value to the user.  The package will also work for DVI
output with recent versions of the LaTeX compiler which uses pdfLaTeX in DVI
mode.  The functionality is provided by purely expandable macros or by faster
but non-expandable ones.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-filemod texlive-filemod)

(define-public texlive-fix2col
  (package
    (name "texlive-fix2col")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fix2col/" "source/latex/fix2col/"
                                     "tex/latex/fix2col/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04mzs1qn9ish5sdp1v9adqvl92ljbs9rjxxfsqskalm4g9ckn8dy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fix2col")
    (synopsis "Fix miscellaneous two column mode features")
    (description
     "This package is obsolete; do not use in new documents.  It will do
nothing in LaTeX formats after 2015/01/01 as the fixes that it implements were
incorporated into the @code{fixltx2e} package, which is itself obsolete as
since the 2015/01/01 release these fixes are in the LaTeX format itself.

Fix mark handling so that @code{\\firstmark} is taken from the first column if
that column has any marks at all; keep two column floats like @code{figure*}
in sequence with single column floats like figure.")
    (license license:lppl)))

(define-public texlive-fixlatvian
  (package
    (name "texlive-fixlatvian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/fixlatvian/"
                                     "makeindex/fixlatvian/"
                                     "source/xelatex/fixlatvian/"
                                     "tex/xelatex/fixlatvian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09bivnc287z57k9rhwfl16w66dkvb55shnwpqv972n6dsjdcrh7j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixlatvian")
    (synopsis "Improve Latvian language support in XeLaTeX")
    (description
     "The package offers improvement of the Latvian language support in
@code{polyglossia}, in particular in the area of the standard classes.")
    (license license:lppl1.3+)))

(define-public texlive-fiziko
  (package
    (name "texlive-fiziko")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/fiziko/" "metapost/fiziko/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "160iqgm4f7imnj89gj4822xv5wnnxf336k261v52h6sd0lhnhany"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fiziko")
    (synopsis "MetaPost library for physics textbook illustrations")
    (description
     "This MetaPost library was initially written to automate some elements of
black and white illustrations for a physics textbook.  It provides functions
to draw things like lines of variable width, shaded spheres, and tubes of
different kinds, which can be used to produce images of a variety of objects.
The library also contains functions to draw some objects constructed from
these primitives.")
    (license (list license:gpl3+ license:cc-by-sa4.0))))

(define-public texlive-font-change-xetex
  (package
    (name "texlive-font-change-xetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/font-change-xetex/"
                                     "tex/xetex/font-change-xetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qhkxsk3wl6a8isik4ln1jq7ifhk7hbidq2i1lfy18c1py87xw5k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/font-change-xetex")
    (synopsis "Macros to change text and mathematics fonts in plain XeTeX")
    (description
     "This package consists of macros that can be used to typeset plain XeTeX
documents using any OpenType or TrueType font installed on the computer
system.  The macros allow the user to change the text mode fonts and some math
mode fonts.  For any declared font family, various font style, weight, and
size variants like bold, italics, small caps, etc., are available through
standard and custom TeX control statements.  Using the optional argument of
the macros, the available XeTeX font features and OpenType tags can be
accessed.  Other features of the package include activating and deactivating
hanging punctuation, and support for special Unicode characters.")
    (license license:cc-by-sa4.0)))

(define-public texlive-fontbook
  (package
    (name "texlive-fontbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/fontbook/"
                                     "source/xelatex/fontbook/"
                                     "tex/xelatex/fontbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n5yn6rgndk0yr91bhglby9nr5mifgfi895klvsixmxc0k5bqp97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontbook")
    (synopsis "Generate a font book")
    (description
     "The package provides a means of producing a book of font samples (for
evaluation, etc.).")
    (license license:lppl1.3+)))

(define-public texlive-fontwrap
  (package
    (name "texlive-fontwrap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/fontwrap/"
                                     "tex/xelatex/fontwrap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nzphhwgm9387mn2rfhmsandyvcwv99lxm5978jg6pycs43dggs7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontwrap")
    (synopsis "Bind fonts to specific Unicode blocks")
    (description
     "The package (which runs under XeLaTeX) lets you bind fonts to specific
Unicode blocks, for automatic font tagging of multilingual text.")
    (license license:gpl3+)))

(define-public texlive-garrigues
  (package
    (name "texlive-garrigues")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/garrigues/"
                                     "metapost/garrigues/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vg1j0r4mkp057v7kjr8yza1danc3zj7k590x5531yi0gzp7hgq2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/garrigues")
    (synopsis "MetaPost macros for the reproduction of Garrigues' Easter nomogram")
    (description
     "This library provides MetaPost macros for the reproduction of Garrigues
Easter nomogram.")
    (license license:lppl)))

(define-public texlive-garuda-c90
  (package
    (name "texlive-garuda-c90")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/garuda-c90/"
                                     "fonts/map/dvips/garuda-c90/"
                                     "fonts/tfm/public/garuda-c90/"
                                     "source/fonts/garuda-c90/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f6rlfxq3ccv9wdf7pzfgs1081yflxd3fzhkzi23mpyl777l7q9y"))))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fonts-tlwg))
    (home-page "https://ctan.org/pkg/garuda-c90")
    (synopsis "TeX support (from CJK) for the Garuda font")
    (description
     "This package provides TeX support (from CJK) for the Garuda font.")
    (license license:gpl2+)))

(define-public texlive-hanging
  (package
    (name "texlive-hanging")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hanging/" "source/latex/hanging/"
                                     "tex/latex/hanging/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18ichpmmghz0nmv6m646r64y5jvyp52qz9hj7hadrf34xj1ijmlk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/hanging")
    (synopsis "Typeset hanging paragraphs")
    (description
     "The @code{hanging} package facilitates the typesetting of hanging
paragraphs.  The package also enables typesetting with hanging punctuation,
by making punctuation characters active.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-hanging texlive-hanging)

(define-public texlive-fira
  (package
    (name "texlive-fira")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fira/"
                                     "fonts/enc/dvips/fira/"
                                     "fonts/map/dvips/fira/"
                                     "fonts/opentype/public/fira/"
                                     "fonts/tfm/public/fira/"
                                     "fonts/type1/public/fira/"
                                     "fonts/vf/public/fira/"
                                     "tex/latex/fira/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19sb6c1h1crhs1597i3nlvr2ahl20hxj7a1a5xkpfr5vj4n3x5kv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fira")
    (synopsis "Fira fonts with LaTeX support")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the Fira Sans family of fonts designed by Erik Spiekermann and Ralph du
Carrois of Carrois Type Design.  Fira Sans is available in eleven weights with
corresponding italics: light, regular, medium, bold, ...")
    (license (list license:lppl
                   license:silofl1.1))))

(define-public texlive-firstaid
  (package
    (name "texlive-firstaid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/firstaid/" "source/latex/firstaid/"
                                     "tex/latex/firstaid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kzf4siq18mp5wfp9mkc96vk45k85wcgphpv51vsa312fqdylzcb"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (home-page "https://ctan.org/pkg/firstaid")
    (synopsis
     "First aid for external LaTeX files and packages that need updating")
    (description
     "This package contains some first aid for LaTeX packages or classes that
require updates because of internal changes to the LaTeX kernel that are not
yet reflected in the package's or class's code.  The file
@file{latex2e-first-aid-for-external-files.ltx} provided by this package is
meant to be loaded during format generation and not by the user.")
    (license license:lppl1.3c)))

(define-public texlive-gmp
  (package
    (name "texlive-gmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmp/" "source/latex/gmp/"
                                     "tex/latex/gmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zvl80wjg4xsika0p0v6jskrwdpy3n7qbfvbg76qbzzpc03n6x6a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmp")
    (synopsis "Enable integration between MetaPost pictures and LaTeX")
    (description
     "The package allows integration between MetaPost pictures and LaTeX.
The main feature is that passing parameters to the MetaPost pictures is
possible and the picture code can be put inside arguments to commands,
including @code{\\newcommand}.")
    (license license:lppl1.3+)))

(define-public texlive-hershey-mp
  (package
    (name "texlive-hershey-mp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/hershey-mp/"
                                     "metapost/hershey-mp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pbybiqh5qgj9zh0yifxm2hn25h73kz1glrv1cz9sw38h6iydlzw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hershey-mp")
    (synopsis "MetaPost support for the Hershey font file format")
    (description
     "This package provides MetaPost support for reading jhf vector font
files, used by (mostly? only?) the so-called Hershey Fonts of the late 1960s.
The package does not include the actual font files, which you can probably
find in the software repository of your operating system.")
    (license license:eupl1.2)))

(define-public texlive-interchar
  (package
    (name "texlive-interchar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/interchar/"
                                     "tex/xelatex/interchar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06pvpaph1gi3rjvwzpvzc2rlx0wb8fqmidbfh8dw2qazzbirdlnz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/interchar")
    (synopsis "Managing character class schemes in XeTeX")
    (description
     "The package manages character class schemes of XeTeX.  Using this
package, you may switch among different character class schemes.  Migration
commands are provided for make packages using this mechanism compatible with
each others.")
    (license license:lppl1.3+)))

(define-public texlive-latexmk
  (package
    (name "texlive-latexmk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/latexmk.1"
                                     "doc/man/man1/latexmk.man1.pdf"
                                     "doc/support/latexmk/" "scripts/latexmk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yqll020pp0ajyq9i1ifim0mqvb9dk97y1gjkgi8r4n0d1bvkx9d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "latexmk.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/latexmk")
    (synopsis "Fully automated LaTeX document generation")
    (description
     "Latexmk completely automates the process of generating a LaTeX document.
Given the source files for a document, @command{latexmk} issues the
appropriate sequence of commands to generate a @file{.dvi}, @file{.ps},
@file{.pdf} or hardcopy version of the document.  An important feature is the
preview continuous mode, where the script watches all of the source files and
reruns LaTeX, etc., whenever a source file has changed.  Thus a previewer can
offer a display of the document's latest state.")
    (license license:gpl2)))

(define-public texlive-latexmp
  (package
    (name "texlive-latexmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/latexmp/" "metapost/latexmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxwxss5sl16laaqalr8043wmyk2bhlja3al5xlxkizvlnflqy0f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexmp")
    (synopsis "Interface for LaTeX-based typesetting in MetaPost")
    (description
     "The MetaPost package @code{latexMP} implements a user-friendly interface
to access LaTeX-based typesetting capabilities in MetaPost.  The text to be
typeset is given as string.  This allows even dynamic text elements, for
example counters, to be used in labels.  Compared to other implementations it
is much more flexible, since it can be used as direct replacement for
@code{btex.etex}, and much faster, compared for example to the solution
provided by @code{tex.mp}.")
    (license license:public-domain)))

(define-public texlive-marathi
  (package
    (name "texlive-marathi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/marathi/" "source/latex/marathi/"
                                     "tex/latex/marathi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xlyvdb6dadg4x2xixcxr1ixqsz69ssifpbh5p46lzsz080pwd58"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marathi")
    (synopsis "Typeset Marathi language using XeLaTeX or LuaLaTeX")
    (description
     "This package is used to typeset Marathi language with LuaLaTeX and XeLaTeX.
It will provide localizations needed for the Marathi language.  Currently the
package localizes package @code{blindtext} and package @code{expex}.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-markdown
  (package
    (name "texlive-markdown")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/markdown/examples/"
                                     "doc/generic/markdown/"
                                     "doc/latex/markdown/examples/"
                                     "doc/optex/markdown/examples/"
                                     "scripts/markdown/"
                                     "source/generic/markdown/"
                                     "tex/context/third/markdown/"
                                     "tex/generic/markdown/"
                                     "tex/latex/markdown/"
                                     "tex/luatex/markdown/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1202x2l22sq2252b7bnywm58b2sj7syvk9ayldd3fgxb0lr3a063"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/markdown")
    (synopsis "Converting and rendering Markdown documents inside TeX")
    (description
     "The package provides facilities for the conversion of Markdown markup to
plain TeX.  These are provided both in form of a Lua module and in form of
plain TeX, LaTeX, and ConTeXt macro packages that enable the direct inclusion
of Markdown documents inside TeX documents.")
    (license license:lppl1.3c)))

(define-public texlive-mcf2graph
  (package
    (name "texlive-mcf2graph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mcf2graph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xy1f4cmf2w9p0wpdapig6jc4bwwmqqiy7981ja3kcx6g6id1r95"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mcf2graph")
    (synopsis "Draw chemical structure diagrams with MetaPost")
    (description
     "The Molecular Coding Format (MCF) is a linear notation for describing
chemical structure diagrams.  This package converts MCF to graphic files using
MetaPost.")
    (license license:expat)))

(define-public texlive-metago
  (package
    (name "texlive-metago")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metago/" "metapost/metago/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13m61ml8wfs5888nifilgzi503m3gz1f2fa44408jdhlr6zk6fa0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metago")
    (synopsis "MetaPost output of Go positions")
    (description
     "The package allows you to draw Go game positions with MetaPost.  Two
methods of usage are provided, either using the package programmatically, or
using the package via a script (which may produce several images).")
    (license license:lppl)))

(define-public texlive-metaobj
  (package
    (name "texlive-metaobj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metaobj/" "metapost/metaobj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ir6p14h79x5iqbxmj2893x8j1d490bnhs83jwnrbcjxn0yxky6w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metaobj")
    (synopsis "MetaPost package providing high-level objects")
    (description
     "METAOBJ is a large MetaPost package providing high-level objects.  It
implements many of PSTricks features for node connections, but also trees,
matrices, and many other things.  It more or less contains @code{boxes.mp} and
@code{rboxes.mp}.  It is easily extensible with new objects.")
    (license license:lppl)))

(define-public texlive-metaplot
  (package
    (name "texlive-metaplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metaplot/" "metapost/metaplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19y8lj28gvky7f7g2i562ixwvmnxnflnfc8l8r0x7zg384hg8835"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metaplot")
    (synopsis "Plot-manipulation macros for use in MetaPost")
    (description
     "MetaPlot is a set of MetaPost macros for manipulating pre-generated
plots (and similar objects), and formatting them for inclusion in a MetaPost
figure.  The intent is that the plots can be generated by some outside
program, in an abstract manner that does not require making decisions about
on-page sizing and layout, and then they can be imported into MetaPlot and
arranged using the full capabilities of MetaPost.  Metaplot also includes
a very flexible set of macros for generating plot axes, which may be useful in
other contexts as well.")
    (license license:lppl)))

(define-public texlive-metapost-colorbrewer
  (package
    (name "texlive-metapost-colorbrewer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metapost-colorbrewer/"
                                     "metapost/metapost-colorbrewer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00bpdz2k849k1sfrlflxhdbylncb5y2bixgmylyh0i8rbb467q7l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metapost-colorbrewer")
    (synopsis
     "Implementation of the @code{colorbrewer2.org} colours for MetaPost")
    (description
     "This package provides two MetaPost include files that define all the
@code{colorbrewer2.org} colours: @code{colorbrewer-cmyk.mp} and
@code{colorbrewer-rgb.mp}. The first defines all the colours as CMYK, the
second as RGB.")
    (license license:gpl3+)))

(define-public texlive-metauml
  (package
    (name "texlive-metauml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/metauml/" "metapost/metauml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01hs234mjqnr39zm7jl6dpbm5w0k4p73pr0aj35ii0dhakln2jsy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metauml")
    (synopsis "MetaPost library for typesetting UML diagrams")
    (description
     "MetaUML is a MetaPost library for typesetting UML diagrams, which
provides a usable, human-friendly textual notation for UML, offering now
support for class, package, activity, state, and use case diagrams.")
    (license license:gpl3+)))

(define-public texlive-mfpic
  (package
    (name "texlive-mfpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/mfpic/" "metafont/mfpic/"
                                     "metapost/mfpic/" "source/generic/mfpic/"
                                     "tex/generic/mfpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s3z31mglmij7qc1f0681vv2a6md9wz9zbi6zlh7zvmhy5hzkjkv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfpic")
    (synopsis "Draw Metafont/post pictures from (La)TeX commands")
    (description
     "Mfpic is a scheme for producing pictures from (La)TeX commands.
Commands @code{\\mfpic} and @code{\\endmfpic} (in LaTeX, the @code{mfpic}
environment) enclose a group in which drawing commands may be placed.  The
commands generate a Meta-language file, which may be processed by MetaPost (or
even Metafont).  The resulting image file will be read back in to the document
to place the picture at the point where the original (La)TeX commands
appeared.")
    (license license:lppl1.3+)))

(define-public texlive-mfpic4ode
  (package
    (name "texlive-mfpic4ode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mfpic4ode/"
                                     "source/latex/mfpic4ode/"
                                     "tex/latex/mfpic4ode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ssmpvp1apxvinidq42pfpvjimpvd250har85n6rl7dj5fws9j8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mfpic4ode")
    (synopsis "Macros to draw direction fields and solutions of ODEs")
    (description
     "The package is a small set of macros for drawing direction fields, phase
portraits and trajectories of differential equations and two dimensional
autonomous systems.  The Euler, Runge-Kutta and fourth order Runge-Kutta
algorithms are available to solve the ODEs.  The picture is translated into
@code{mfpic} macros and MetaPost is used to create the final drawing.")
    (license license:lppl)))

(define-public texlive-minim-hatching
  (package
    (name "texlive-minim-hatching")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minim-hatching/"
                                     "metapost/minim-hatching/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qcd5zvhj9hrdhb7il1hbfdh5sgccl6mvwwmpw9fymbwdri9224f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minim-hatching")
    (synopsis "Create tiling patterns with @code{minim-mp} MetaPost processor")
    (description
     "This is a small proof-of-concept library of tiling patterns for use with
the @code{minim-mp} MetaPost processor.")
    (license license:eupl1.2)))

(define-public texlive-mp3d
  (package
    (name "texlive-mp3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mp3d/" "metapost/mp3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qfg4ifm5z72sr8vimibmpmqh0cxzipiy4jr8rbq5qsj2mfqzphd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mp3d")
    (synopsis "3D animations")
    (description
     "This library creates animations of 3-dimensional objects (such as
polyhedra) in MetaPost.")
    (license license:lppl)))

(define-public texlive-mparrows
  (package
    (name "texlive-mparrows")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mparrows/"
                                     "metapost/mparrows/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pc9w5g6qasfpv4dxf0aahahbxk6kjwirdmx8l4i27syjb1lgzw9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mparrows")
    (synopsis "MetaPost module with different types of arrow heads")
    (description
     "This package provides a package to provide different types of arrow
heads to be used with MetaPost commands")
    (license license:public-domain)))

(define-public texlive-mpattern
  (package
    (name "texlive-mpattern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mpattern/"
                                     "metapost/mpattern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00g250vl6gnvwx6zgmfqcw3nwkh546i1vjz4zjp3dc5n5yj5y6ls"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpattern")
    (synopsis "Patterns in MetaPost")
    (description
     "This package provides a package for defining and using patterns in MetaPost,
using the Pattern Color Space available in PostScript Level 2.")
    (license license:public-domain)))

(define-public texlive-mpcolornames
  (package
    (name "texlive-mpcolornames")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mpcolornames/"
                                     "metapost/mpcolornames/"
                                     "source/metapost/mpcolornames/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s5yb57yamg1fd7w5hmkmfyxyqj3mivhkvrkqzm31dzh4y22qg3k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpcolornames")
    (synopsis "Extend list of predefined colour names for MetaPost")
    (description
     "The MetaPost format @code{plain.mp} provides only five built-in colour names
(variables), all of which are defined in the RGB model: red, green and blue
for the primary colours and black and white.  The package makes more than 500
colour names from different colour sets in different colour models available
to MetaPost.")
    (license license:lppl)))

(define-public texlive-mpgraphics
  (package
    (name "texlive-mpgraphics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mpgraphics/"
                                     "source/latex/mpgraphics/"
                                     "tex/latex/mpgraphics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z51scc8vimwihdyxv3g1cb7bjbj8w2a2ck1ygjyf8xzz4hcic2s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpgraphics")
    (synopsis "Process and display MetaPost figures inline")
    (description
     "The package allows LaTeX users to typeset MetaPost code inline and
display figures in their documents with only and only one run of LaTeX,
pdfLaTeX or XeLaTeX (no separate runs of @command{mpost}).  Mpgraphics
achieves this by using the shell escape (@samp{\\write 18}) feature of current
TeX distributions, so that the whole process is automatic and the end user is
saved the tiresome processing.")
    (license license:lppl1.3+)))

(define-public texlive-mptrees
  (package
    (name "texlive-mptrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/mptrees/" "metapost/mptrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zbrbyvih6cp46y2ilr10g4a7ijfwpj0x9cipl5rl62r60qwydfx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mptrees")
    (synopsis "Probability trees with MetaPost")
    (description
     "This package provides MetaPost tools for drawing simple probability
trees.  One command and several parameters to control the output are
provided.")
    (license license:lppl1.3+)))

(define-public texlive-na-position
  (package
    (name "texlive-na-position")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/na-position/"
                                     "tex/xelatex/na-position/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rp1css44sl6j762kfwzq53k6690djgag6yc85dd9134i837gvqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/na-position")
    (synopsis
     "Tables of relative positions of curves, asymptotes, tangents in Arabic documents")
    (description
     "This package facilitates, in most cases, the creation of tables of
relative positions of a curve and its asymptote, or a curve and a tangent in
one of its points.  This package has to be used with @code{polyglossia} and
XeLaTeX to produce documents in Arabic.")
    (license license:lppl)))

(define-public texlive-natbib
  (package
    (name "texlive-natbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/natbib/" "doc/latex/natbib/"
                                     "source/latex/natbib/" "tex/latex/natbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17hyba6v24wrbjvakgjxkndjb418mmi2wmnhrm7zmfwb0bvy6f2j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/natbib")
    (synopsis "Flexible bibliography support")
    (description
     "The bundle provides a package that implements both author-year and
numbered references, as well as much detailed of support for other
bibliography use.  Also Provided are versions of the standard BibTeX styles
that are compatible with natbib--plainnat, unsrtnat, abbrnat.  The
bibliography styles produced by custom-bib are designed from the start to be
compatible with @code{natbib}.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-natbib texlive-natbib)

(define-public texlive-newfloat
  (package
    (name "texlive-newfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newfloat/" "source/latex/newfloat/"
                                     "tex/latex/newfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "056vy6vwhp7mn9gwrb6ib1ymmrqd26ysjw7bv34v812xc0z9gfck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newfloat")
    (synopsis "Define new floating environments")
    (description
     "This package offers the command @code{\\DeclareFloatingEnvironment},
which the user may use to define new floating environments which behave like
the LaTeX standard foating environments @code{figure} and @code{table}.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-newfloat texlive-newfloat)

(define-public texlive-newpax
  (package
    (name "texlive-newpax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newpax/" "source/latex/newpax/"
                                     "tex/latex/newpax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qrlii2hkkmj60w1qklx3rbagiy1y4x1dfv56lz6bc6kzs6qk5hm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newpax")
    (synopsis "Experimental package to extract and reinsert PDF annotations")
    (description
     "The package is based on the @code{pax} package from Heiko Oberdiek.  It
offers a Lua-based alternative to the java based @file{pax.jar} to extract the
annotations from a PDF.  The resulting file can then be used together with
@file{pax.sty}.  It also offers an extended style which works with all three
major engines.")
    (license license:lppl1.3c)))

(define-public texlive-newunicodechar
  (package
    (name "texlive-newunicodechar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newunicodechar/"
                                     "source/latex/newunicodechar/"
                                     "tex/latex/newunicodechar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b3n5mdfw9csp0ri1vw4jh1ibnpsllb5n6pwfkg1jad10ml9wavz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/newunicodechar")
    (synopsis "Definitions of the meaning of Unicode characters")
    (description
     "This package provides a friendly interface for defining the meaning of
Unicode characters.  The document should be processed by (pdf)LaTeX with the
Unicode option of @code{inputenc} or @code{inputenx}, or by XeLaTeX/LuaLaTeX.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-newunicodechar texlive-newunicodechar)

(define-public texlive-newverbs
  (package
    (name "texlive-newverbs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newverbs/" "source/latex/newverbs/"
                                     "tex/latex/newverbs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02mhqgsfd13i1llhm0rgq3f9qs067jih2s15q1zvsfd5bhzls1pq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'copy-ydocstrip.tex
            ;; There's a circular dependency between `newverbs' (where `ydoc'
            ;; should be a native input) and `ydoc' (where `newverbs' is
            ;; a propagated input).  To work around this, install the specific
            ;; "ydocstrip.tex" file from `ydoc' in the build directory and set
            ;; TEXINPUTS variable accordingly so the process can find it.
            (lambda* (#:key inputs native-inputs #:allow-other-keys)
              (install-file (search-input-file (or native-inputs inputs)
                                               "tex/generic/ydoc/ydocstrip.tex")
                            "build/")
              (setenv "TEXINPUTS" (string-append (getcwd) "/build:")))))))
    (native-inputs (list (package-source texlive-ydoc)))
    (home-page "https://ctan.org/pkg/newverbs")
    (synopsis "Define new versions of @code{\\verb}")
    (description
     "The package allows the definition of @code{\\verb} variants which add
TeX code before and after the verbatim text (e.g., quotes or surrounding
@code{\\fbox@{@}}).  When used together with the @code{shortvrb} package it
allows the definition of short verbatim characters which use this package's
variant instead of the normal @code{\\verb}.  In addition, it is possible to
collect an argument verbatim to either typeset or write it into a file.  The
@code{\\Verbdef} command defines verbatim text to a macro which can later be
used to write the verbatim text to a file.")
    (license license:lppl1.3+)))

(define-public texlive-nodetree
  (package
    (name "texlive-nodetree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/nodetree/"
                                     "source/luatex/nodetree/"
                                     "tex/luatex/nodetree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qjf59xsp1bpjflfwgps7xq47l3jrlm644xvkqwcjxhr6gk21cb2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nodetree")
    (synopsis "Visualize node lists in a tree view")
    (description
     "@code{nodetree} is a development package that visualizes the structure
of node lists.  It uses a similar visual representation for node lists as the
UNIX @command{tree} command for a folder structure.")
    (license license:lppl1.3+)))

(define-public texlive-nomencl
  (package
    (name "texlive-nomencl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nomencl/" "makeindex/nomencl/"
                                     "source/latex/nomencl/" "tex/latex/nomencl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "176lqab9ypsym7x7mk9d0pbqf3fl9iwi539zjqv3l6nbmxj9ga88"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nomencl")
    (synopsis "Produce lists of symbols as in nomenclature")
    (description
     "This package produces lists of symbols using the capabilities of the
MakeIndex program.")
    (license license:lppl)))

(define-public texlive-norasi-c90
  (package
    (name "texlive-norasi-c90")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/norasi-c90/"
                                     "fonts/map/dvips/norasi-c90/"
                                     "fonts/tfm/public/norasi-c90/"
                                     "source/fonts/norasi-c90/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ynw46dbk71sbzx6rna359gdddjmwl57gw3kfz3f9ywvhq01m1k"))))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fonts-tlwg))
    (home-page "https://ctan.org/pkg/norasi-c90")
    (synopsis  "TeX support (from CJK) for the Norasi font")
    (description
     "This package provides TeX support (from CJK) for the Norasi font.")
    (license license:gpl2+)))

(define-public texlive-noto
  (package
    (name "texlive-noto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/noto/"
                                     "fonts/enc/dvips/noto/"
                                     "fonts/map/dvips/noto/"
                                     "fonts/tfm/google/noto/"
                                     "fonts/truetype/google/noto/"
                                     "fonts/type1/google/noto/"
                                     "fonts/vf/google/noto/"
                                     "tex/latex/noto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14nf6xd85cb5s9f1sk8zzshgfhjda0r712dp592j8cb4s5v2hf7p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/noto")
    (synopsis "Support for Noto fonts")
    (description
     "This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for
the NotoSerif, NotoSans and NotoSansMono families of fonts, designed by Steve
Matteson for Google.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-novel
  (package
    (name "texlive-novel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/novel/"
                                     "fonts/opentype/public/novel/"
                                     "tex/lualatex/novel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jglb0i5p1s80wbx03z37ps5mzdwdlrfkd8fxf607c7v1sbhhabc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/novel")
    (synopsis "Class for printing fiction, such as novels")
    (description
     "This LuaLaTeX document class is specifically written to meet the needs
of original fiction writers, who are typesetting their own novels for
non-color print-on-demand technology.  The package is well suited for
detective novels, science fiction, and short stories.  It is however not
recommended for creating color picture books or dissertations.")
    (license (list license:lppl1.3c license:silofl1.1))))

(define-public texlive-octavo
  (package
    (name "texlive-octavo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/octavo/" "source/latex/octavo/"
                                     "tex/latex/octavo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10ycj2xg2v7cq4my51dcc749hrrkg2gd41xyrwv1dg1lp9vh7j4z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/octavo")
    (synopsis "Typeset books following classical design and layout")
    (description
     "The @code{octavo} class is a modification of the standard LaTeX
@code{book} class.  Its purpose is to typeset books following classical design
and layout principles, with the express intention of encouraging the making of
beautiful books by anyone with access to a good printer and with an
inclination towards venerable crafts, e.g., bookbinding.  The @code{octavo}
class differs from the book class by implementing many of the proposals and
insights of respected experts, especially Jan Tschichold and Hugh Williamson.
The documentation discusses methods to organise and print out any text into
signatures, which can then be gathered, folded and sewn into a book.")
    (license license:lppl)))

(define-public texlive-odsfile
  (package
    (name "texlive-odsfile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/odsfile/"
                                     "tex/lualatex/odsfile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wkl7mj7adqwdw6g8hrmh6yq834rkk60fd2vpyrqq9l5az703cj6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/odsfile")
    (synopsis "Read OpenDocument Spreadsheet documents as LaTeX tables")
    (description
     "The distribution includes a package and a Lua library that can together
read OpenDocument spreadsheet documents as LaTeX tables.  Cells in the tables
may be processed by LaTeX macros, so that, for example, the package may be
used for drawing some plots.  The package uses Lua's @code{zip} library.")
    (license license:lppl1.3c)))

(define-public texlive-pdftexcmds
  (package
    (name "texlive-pdftexcmds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pdftexcmds/"
                                     "source/generic/pdftexcmds/"
                                     "tex/generic/pdftexcmds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gad1vi0r5xw7gyj1cb2cp58j4dqrw4awcfxmfrna9xbz91g4sn9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/pdftexcmds")
    (synopsis "LuaTeX support for pdfTeX utility functions")
    (description
     "This package makes a number of utility functions from pdfTeX
available for LuaTeX by reimplementing them using Lua.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-pdftexcmds texlive-pdftexcmds)

(define-public texlive-philokalia
  (package
    (name "texlive-philokalia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/philokalia/"
                                     "fonts/opentype/public/philokalia/"
                                     "source/xelatex/philokalia/"
                                     "tex/xelatex/philokalia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pcszddyyc4caqd1ahcl10rf1mn0m1lrdgn1gldv94cpa89653kg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/philokalia")
    (synopsis "Font to typeset the Philokalia Books")
    (description
     "The @code{philokalia} package has been designed to ease the use of the
Philokalia-Regular OpenType font with XeLaTeX.  The font started as a project
to digitize the typeface used to typeset the Philokalia books.")
    (license license:lppl1.3c)))

(define-public texlive-piechartmp
  (package
    (name "texlive-piechartmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/piechartmp/"
                                     "metapost/piechartmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xf83k85bwbdy4d1m23zyk5zjg9qw960q4rkgf2i1449w30gf3hp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/piechartmp")
    (synopsis "Draw pie-charts using MetaPost")
    (description
     "The @code{piechartmp} package is an easy way to draw pie-charts with
MetaPost.  The package implements an interface that enables users with little
MetaPost experience to draw charts.  A highlight of the package is the
possibility of suppressing some segments of the chart, thus creating the
possibility of several charts from the same data.")
    (license license:lppl)))

(define-public texlive-placeins
  (package
    (name "texlive-placeins")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/placeins/" "tex/latex/placeins/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0785ppjhf4x3by61mskwz289nzvbbw6iw7n0fq2dckgywjw3p2mz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/placeins")
    (synopsis "Control float placement")
    (description
     "This package defines a @code{\\FloatBarrier} command, beyond which
floats may not pass; useful, for example, to ensure all floats for a section
appear before the next @code{\\section} command.")
    (license license:public-domain)))

(define-public texlive-psfrag
  (package
    (name "texlive-psfrag")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psfrag/"
                                     "dvips/psfrag/"
                                     "source/latex/psfrag/"
                                     "tex/latex/psfrag/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06vp5x6rnl4gqwxzzynbl169q23k8pmaxjhb0lbzdcm3ihvzp47z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/psfrag")
    (synopsis "Replace strings in encapsulated PostScript figures")
    (description
     "This package allows LaTeX constructions (equations, picture
environments, etc.) to be precisely superimposed over Encapsulated PostScript
figures, using your own favorite drawing tool to create an EPS figure and
placing simple text tags where each replacement is to be placed, with PSfrag
automatically removing these tags from the figure and replacing them with
a user specified LaTeX construction, properly aligned, scaled, and/or
rotated.")
    (license (license:fsf-free "file://psfrag.dtx"))))

(define-deprecated-package texlive-latex-psfrag texlive-psfrag)

(define-public texlive-psfrag-italian
  (package
    (name "texlive-psfrag-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psfrag-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ssx8rw7fwln02zzscywivnhizgrb6w05awscvv9gf9n1qj6avsf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/psfrag-italian")
    (synopsis "PSfrag documentation in Italian")
    (description
     "This is a translation of the documentation that comes with the
@code{psfrag} package.")
    (license license:gpl3+)))

(define-public texlive-pstool
  (package
    (name "texlive-pstool")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pstool/" "tex/latex/pstool/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12clzcw2cl7g2chr2phgmmiwxw4859cln1gbx1wgp8bl9iw590nc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pstool")
    (synopsis "Support for @code{psfrag} within pdfLaTeX")
    (description
     "This is a package for processing PostScript graphics with @code{psfrag}
labels within pdfLaTeX documents.  Every graphic is compiled individually,
drastically speeding up compilation time when only a single figure needs
re-processing.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-pstool texlive-pstool)

(define-public texlive-ptext
  (package
    (name "texlive-ptext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/ptext/" "tex/xelatex/ptext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ipb1mlg266rziznskdxi3iwi0s6374lp8ky0hhbi5llryg505p9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ptext")
    (synopsis "Lipsum for Persian")
    (description
     "The package provides lipsum-like facilities for the Persian language.
The source of the filling text is the Persian epic @emph{the Shanameh} (100
paragraphs are used).")
    (license license:lppl1.2+)))

(define-public texlive-realscripts
  (package
    (name "texlive-realscripts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/realscripts/"
                                     "source/latex/realscripts/"
                                     "tex/latex/realscripts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yk1v1ybd1zv1x6rc8qd2mbbwc5h91i44scnih6v2n5nrh61jfxb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/realscripts")
    (synopsis "Access OpenType subscript and superscript glyphs")
    (description
     "This package replaces @code{\\textsuperscript} and
@code{\\textsubscript} commands by equivalent commands that use OpenType font
features to access appropriate glyphs if possible.  It also patches LaTeX's
default footnote command to use this new @code{\\textsuperscript} for footnote
symbols.")
    (license license:lppl1.3+)))

(define-public texlive-refcount
  (package
    (name "texlive-refcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/refcount/" "source/latex/refcount/"
                                     "tex/latex/refcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "128cvwdl4wcdshvs59yn5iljdxxdrc5jircbxav77y7kc3l33z7z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/refcount")
    (synopsis "Counter operations with label references")
    (description
     "This package provides the @code{\\setcounterref} and
@code{\\addtocounterref} commands which use the section (or other) number
from the reference as the value to put into the counter.  It also provides
@code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the
corresponding thing with the page reference of the label.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-refcount texlive-refcount)

(define-public texlive-repere
  (package
    (name "texlive-repere")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/repere/" "metapost/repere/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bxhx0vfmsb6yzx19a4b7hwwxkwkxj36iyr6zvw1f1wra6aqky7y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/repere")
    (synopsis "MetaPost macros for secondary school mathematics teachers")
    (description
     "This package provides MetaPost macros for drawing secondary school
mathematics figures in a coordinate system: axis, grids points, vectors
functions (curves, tangents, integrals, sequences) statistic diagrams plane
geometry (polygons, circles), arrays and game boards.")
    (license license:lppl1.3c)))

(define-public texlive-revtex
  (package
    (name "texlive-revtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/revtex/" "doc/latex/revtex/"
                                     "source/latex/revtex/" "tex/latex/revtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12s8cm8717h0a6dx14zcnghxvlqiag9v5y42hdvhm2rcvjipspjx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/revtex")
    (synopsis "Styles for various Physics Journals")
    (description
     "This package includes styles for American Physical Society, American
Institute of Physics, and Optical Society of America.  The distribution
consists of the RevTeX class itself, and several support packages.")
    (license license:lppl1.3c)))

(define-public texlive-roex
  (package
    (name "texlive-roex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "metafont/roex/" "source/metafont/roex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12w5wrrlk8rd4gx57646r01rb49ckmgnzhmx9385ll0sag8c9s2v"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mf-ps")
    (synopsis "Metafont-PostScript conversions")
    (description
     "This package provides a Metafont support package including: @code{epstomf},
a tiny AWK script for converting EPS files into Metafont; @code{mftoeps} for
generating (encapsulated) PostScript files readable, e.g., by CorelDRAW, Adobe
Illustrator and Fontographer; a collection of routines (in folder progs) for
converting Metafont-coded graphics into encapsulated PostScript; and
@code{roex.mf}, which provides Metafont macros for removing overlaps and
expanding strokes.  In @code{mftoeps}, Metafont writes PostScript code to
a log-file, from which it may be extracted by either TeX or AWK.")
    (license license:public-domain)))

(define-public texlive-roundrect
  (package
    (name "texlive-roundrect")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/roundrect/"
                                     "metapost/roundrect/"
                                     "source/metapost/roundrect/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bx6xfr49rrcrnbyw917fab2qi0x29h66ip4nyhw6477815ic0wq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/roundrect")
    (synopsis "MetaPost macros for configurable rounded rectangles")
    (description
     "The @code{roundrect} macros for MetaPost provide ways to produce rounded
rectangles, which may or may not contain a title bar or text (the title bar
may itself contain text).")
    (license license:lppl1.3+)))

(define-public texlive-sauerj
  (package
    (name "texlive-sauerj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sauerj/" "source/latex/sauerj/"
                                     "tex/latex/sauerj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03dmw150qcravzndikijhq2a89sjdplxgi93fx0zxln2l4flvz5k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sauerj")
    (synopsis "Bundle of utilities by Jonathan Sauer")
    (description
     "The bundle consists of:
@itemize
@item a tool for collecting text for later re-use,
@item a tool for typesetting the meta-information within a text,
@item a tool for use in constructing macros with multiple optional parameters,
@item a package for multiple column parallel texts,
@item a tool for processing key-value structured lists,
@item macros for typesetting a number as a German-language string.
@end itemize")
    (license license:lppl)))

(define-public texlive-sauter
  (package
    (name "texlive-sauter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/source/public/sauter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "037skfr46198y0vczwcy6dzq9ry8w5imj1ih9nfy9mrb0hmj8caq"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sauter")
    (synopsis "Wide range of design sizes for CM fonts")
    (description
     "This package includes extensions, originally to the CM fonts, providing
a parameterization scheme to build Metafont fonts at true design sizes, for
a large range of sizes.  The scheme has now been extended to a range of other
fonts, including the AMS fonts, @code{bbm}, @code{bbold}, @code{rsfs} and
@code{wasy} fonts.")
    (license license:gpl3+)))

(define-public texlive-selinput
  (package
    (name "texlive-selinput")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/selinput/" "source/latex/selinput/"
                                     "tex/latex/selinput/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x8l98r6xzyi4lc909bv7ii2nbpff8j7j3q4z86l7rrjk1jkx9qi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/selinput")
    (synopsis "Semi-automatic detection of input encoding")
    (description
     "This package selects the input encoding by specifying pairs of input
characters and their glyph names.")
    (license license:lppl1.3+)))

(define-public texlive-semaphor
  (package
    (name "texlive-semaphor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/semaphor/"
                                     "fonts/afm/public/semaphor/"
                                     "fonts/enc/dvips/semaphor/"
                                     "fonts/map/dvips/semaphor/"
                                     "fonts/opentype/public/semaphor/"
                                     "fonts/source/public/semaphor/"
                                     "fonts/tfm/public/semaphor/"
                                     "fonts/type1/public/semaphor/"
                                     "tex/context/third/semaphor/"
                                     "tex/latex/semaphor/"
                                     "tex/plain/semaphor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yigah8x75fd13x0f6ncpp21ly75nyfz6h5y5sfc590n7wcm0gvr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/semaphor")
    (synopsis "Semaphore alphabet font")
    (description
     "These fonts represent semaphore in a highly schematic, but very clear,
fashion.  The fonts are provided as Metafont source, and in both OpenType and
Adobe Type 1 formats.")
    (license license:gpl3+)))

(define-public texlive-seminar
  (package
    (name "texlive-seminar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/seminar/" "tex/latex/seminar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xm78f9qsy3zr1vllb8mgp1azhn7a2jaqkj2lkrsgc3m7ag9w9hh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seminar")
    (synopsis "Make overhead slides")
    (description
     "This package provides a class that produces overhead
slides (transparencies), with many facilities.  Seminar is not nowadays
reckoned a good basis for a presentation — users are advised to use more
recent classes such as @code{powerdot} or @code{beamer}, both of which are
tuned to 21st-century presentation styles.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-seminar texlive-seminar)

(define-public texlive-sepnum
  (package
    (name "texlive-sepnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sepnum/" "tex/latex/sepnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vzjhb470imd1f5wlj32jysn825vyygq9xkscqdjaa9jby70a26x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sepnum")
    (synopsis "Print numbers in a friendly format")
    (description
     "This package provides a command to print a number with (potentially
different) separators every three digits in the parts either side of the
decimal point (the point itself is also configurable).  The macro is fully
expandable and not fragile (unless one of the separators is).  There is also
a command @code{\\sepnumform}, that may be used when defining
@samp{\\the<counter> macros}.")
    (license license:lppl)))

(define-public texlive-seqsplit
  (package
    (name "texlive-seqsplit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/seqsplit/"
                                     "source/latex/seqsplit/"
                                     "tex/latex/seqsplit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x6xcism9s9mhpr278xi4c1gimz3mlqnrpr40vkx5abglr0gzm0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seqsplit")
    (synopsis "Split long sequences of characters in a neutral way")
    (description
     "@code{seqsplit} provides a command @code{\\seqsplit}, which makes its
argument splittable anywhere, and then leaves the TeX paragraph-maker to do the
splitting.  The package is suitable for situations when one needs to type long
sequences of letters or of numbers in which there is no obvious break points to
be found, such as in base-sequences in genes or calculations of transcendental
numbers.  While the package may obviously be used to typeset DNA sequences, the
user may consider the @code{dnaseq} as a rather more powerful alternative.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-seqsplit texlive-seqsplit)

(define-public texlive-shapes
  (package
    (name "texlive-shapes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/shapes/" "metapost/shapes/"
                                     "source/metapost/shapes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q93ycxjzmvp73z92rc7vlzvmijbj2w1ldq709r9jflk044lsrh2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shapes")
    (synopsis "Draw polygons, reentrant stars, and fractions in circles")
    (description
     "The shapes set of macros allows drawing regular polygons; their
corresponding reentrant stars in all their variations; and fractionally filled
circles (useful for visually demonstrating the nature of fractions) in
MetaPost.")
    (license license:lppl1.3+)))

(define-public texlive-short-math-guide
  (package
    (name "texlive-short-math-guide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/short-math-guide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wjcjgw0xk4zx57f364cpl57qpxj3lq4lahlkbk6iiin1h9v2prf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/short-math-guide")
    (synopsis "Guide to typeset mathematical notation with LaTeX")
    (description
     "@emph{The Short Math Guide} is intended to be a concise introduction to
the use of the facilities provided by @code{amsmath} and various other LaTeX
packages for typesetting mathematical notation.  Originally created by Michael
Downes of the American Mathematical Society based only on @code{amsmath}, it
has been brought up to date with references to related packages and other
useful information.")
    (license license:lppl1.3c)))

(define-public texlive-showexpl
  (package
    (name "texlive-showexpl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/showexpl/" "source/latex/showexpl/"
                                     "tex/latex/showexpl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vff1yk7a3f4csxibfk6r37s3h6n4wdpnk3qj4dsx7kh5zrcysha"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showexpl")
    (synopsis "Typesetting LaTeX source code")
    (description
     "This package provides a way to typeset LaTeX source code and the related
result in the same document.")
    (license license:lppl1.2+)))

(define-public texlive-simple-resume-cv
  (package
    (name "texlive-simple-resume-cv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/simple-resume-cv/"
                                     "tex/xelatex/simple-resume-cv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07lqmjfjr58q7jgl59syv67hsy54rsig9f002wkwr1297z02k862"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simple-resume-cv")
    (synopsis "Template for a simple resume or curriculum vitae (CV)")
    (description
     "This package provides a template for a simple resume or curriculum
vitae (CV), in XeLaTeX.  This simple template can be further customized or
extended, with numerous examples.")
    (license license:public-domain)))

(define-public texlive-simple-thesis-dissertation
  (package
    (name "texlive-simple-thesis-dissertation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list
                                "doc/xelatex/simple-thesis-dissertation/"
                                "tex/xelatex/simple-thesis-dissertation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ikxsh8br03lz17z6pd6y5gw9y7bw9zyhnh646cmd28i6p1ryi4i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simple-thesis-dissertation")
    (synopsis "Template for a simple thesis, dissertation, or technical report")
    (description
     "This package provides a template for a simple thesis or dissertation or
technical report, in XeLaTeX.  This simple template that can be further
customized or extended, with numerous examples.")
    (license license:public-domain)))

(define-public texlive-simplified-latex
  (package
    (name "texlive-simplified-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplified-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cgf1p7p2ikda1nb0c2vhhx7ai6rd973pz6a00pr9yanxsvghp6d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplified-latex")
    (synopsis "Simplified introduction to LaTeX")
    (description
     "This package provides an accessible introduction to LaTeX for the
beginner.")
    (license license:lppl)))

(define-public texlive-slideshow
  (package
    (name "texlive-slideshow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/slideshow/"
                                     "metapost/slideshow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07r58whn61nyxj0cldzf9bbwhh0kc72d6708ldf03q7sbf5zi37s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/slideshow")
    (synopsis "Generate slideshow with MetaPost")
    (description
     "The package provides a means of creating presentations in MetaPost,
without intervention from other utilities (except a distiller).")
    (license (license:fsf-free "file://metapost/slideshow/slideshow.mp"))))

(define-public texlive-splines
  (package
    (name "texlive-splines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/splines/" "metapost/splines/"
                                     "source/metapost/splines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15pvr4vl5whcrij6gq3al5jaqrshvm2qybvxq7qx0gdxzfsli38z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/splines")
    (synopsis "MetaPost macros for drawing cubic spline interpolants")
    (description
     "This is a small package of macros for creating cubic spline interpolants
in MetaPost or Metafont.  Given a list of points the macros can produce
a closed or a relaxed spline joining them.")
    (license license:lppl1.3+)))

(define-public texlive-stackengine
  (package
    (name "texlive-stackengine")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stackengine/"
                                     "tex/latex/stackengine/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c12ygqxdb6vn1y03jzcjpmdp53r076hq3hgjzwy2ch1dw81cnpd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-listofitems))
    (home-page "https://ctan.org/pkg/stackengine")
    (synopsis "Customised stacking of objects")
    (description
     "The package provides a versatile way to stack objects vertically in a
variety of customizable ways.  A number of useful macros are provided, all
of which make use of the @code{stackengine} core.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-stackengine texlive-stackengine)

(define-public texlive-suanpan
  (package
    (name "texlive-suanpan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/suanpan/" "metapost/suanpan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ddhk8d98bc4l2xbx5w6kaynl4n125nnv4hadfp5s19vwcc6slqv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/suanpan")
    (synopsis "MetaPost macros for drawing Chinese and Japanese abaci")
    (description
     "The package provides macros for drawing Chinese and Japanese abaci.")
    (license license:lppl)))

(define-public texlive-synctex
  (package
    (name "texlive-synctex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/synctex.1"
                                     "doc/man/man1/synctex.man1.pdf"
                                     "doc/man/man5/synctex.5"
                                     "doc/man/man5/synctex.man5.pdf"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a2nlmbib8723jjhf6xxh5rpmnd5jv3cd69br4ihchbq5ipzircp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/synctex")
    (synopsis "Engine-level feature synchronizing output and source")
    (description
     "SyncTeX allows navigating between the TeX source and (usually PDF)
output, in both directions, given a SyncTeX-aware front end.  It is compiled
into most engines and can be enabled with the @samp{--synctex=1} option.")
    (license license:expat)))

(define-public texlive-tetragonos
  (package
    (name "texlive-tetragonos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/tetragonos/"
                                     "tex/xelatex/tetragonos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "191727d2craai25847i2xfzlm04852afvrwdjsk3jjss46a43ixn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tetragonos")
    (synopsis "Four-Corner codes of Chinese characters")
    (description
     "This is a XeLaTeX package for mapping Chinese characters to their codes
in the Four-Corner method.")
    (license license:lppl1.3c)))

(define-public texlive-threeddice
  (package
    (name "texlive-threeddice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/threeddice/"
                                     "metapost/threeddice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sj4f3bbxjzwbncxlvlbmsnfi7jkf5625gwhbqfh399vlh0nb56j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/threeddice")
    (synopsis "Create images of dice with one, two, or three faces showing")
    (description
     "The package provides MetaPost code to create all possible symmetrical
views (up to rotation) of a right-handed die.")
    (license license:lppl)))

(define-public texlive-textpath
  (package
    (name "texlive-textpath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/textpath/"
                                     "metapost/textpath/" "tex/latex/textpath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07g7n0hjsvsk0cibprpqid43vvljjzagap07zbp2kirkiv7yq3k0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textpath")
    (synopsis "Setting text along a path with MetaPost")
    (description
     "This MetaPost package provides macros to typeset text along a free path
with the help of LaTeX, thereby preserving kerning and allowing for 8-bit
input (accented characters).")
    (license license:lppl)))

(define-public texlive-tocloft
  (package
    (name "texlive-tocloft")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tocloft/"
                                     "source/latex/tocloft/"
                                     "tex/latex/tocloft/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s09g02pq2zi5ywm3yhyp4lpzq77n9aahr6wnm1c0wb9zawq2mpk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/tocloft")
    (synopsis "Control table of contents")
    (description
     "This package provides control over the typography of the @dfn{Table of
Contents}, @dfn{List of Figures} and @dfn{List of Tables}, and the ability to
create new @samp{List of ...}.  The ToC @code{\\parskip} may be changed.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-tocloft texlive-tocloft)

(define-public texlive-tocvsec2
  (package
    (name "texlive-tocvsec2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tocvsec2/"
                                     "source/latex/tocvsec2/"
                                     "tex/latex/tocvsec2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ybw8dra074pbl9l0ilp13naz73mgb57agy79bvmrb7v2r8a6zm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tocvsec2")
    (synopsis "Section numbering and table of contents control")
    (description
     "This package provides control over section numbering (without recourse
to starred sectional commands) and the entries in the table of contents on
a section by section basis.")
    (license license:lppl1.3+)))

(define-public texlive-transparent
  (package
    (name "texlive-transparent")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/transparent/"
                                     "source/latex/transparent/"
                                     "tex/latex/transparent/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "161lfx6yv8qgk76lz0j375swrk6012djay3sjxggrsx7l92qjvhd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/transparent")
    (synopsis "Using a color stack for transparency with pdfTeX")
    (description
     "This package shows how a separate color stack can be used for
transparency, a property besides color that works across page breaks.  If the
PDF management is used it can also be used with other engines, but without
support for page breaks.")
    (license license:lppl1.3c)))

(define-public texlive-trimspaces
  (package
    (name "texlive-trimspaces")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/trimspaces/"
                                     "source/latex/trimspaces/"
                                     "tex/latex/trimspaces/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0if7pqaib533fbrj9r62mmr4h012hrpszdxs759rwhmyycikg6dk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-filecontents")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "latex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-bug
            (lambda _
              ;; The "ins" file refers to the wrong source file.
              (substitute* "source/latex/trimspaces/trimspaces.ins"
                (("pstool\\.tex") "trimspaces.tex")))))))
    (native-inputs (list texlive-filecontents))
    (home-page "https://ctan.org/pkg/trimspaces")
    (synopsis "Trim spaces around an argument or within a macro")
    (description
     "This package provides a very short package that allows you to expandably
remove spaces around a token list (commands are provided to remove spaces
before, spaces after, or both); or to remove surrounding spaces within a macro
definition, or to define space-stripped macros.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-trimspaces texlive-trimspaces)

(define-public texlive-tufte-latex
  (package
    (name "texlive-tufte-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/tufte-latex/"
                                     "doc/latex/tufte-latex/"
                                     "tex/latex/tufte-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16jqf8assirdj769rajrdb70w8rc0kyj0q07bs6v13kfil5h0bdp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-changepage
           texlive-ifmtarg
           texlive-paralist
           texlive-placeins
           texlive-sauerj
           texlive-xifthen))
    (home-page "https://ctan.org/pkg/tufte-latex")
    (synopsis "Document classes inspired by the work of Edward Tufte")
    (description
     "This package provides two classes inspired, respectively, by handouts
and books created by Edward Tufte.")
    (license license:asl2.0)))

(define-public texlive-turkmen
  (package
    (name "texlive-turkmen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turkmen/" "source/latex/turkmen/"
                                     "tex/latex/turkmen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jgz9vkqpp853pxvhknafrwpl41h04j7fr1gfjrzqzcrdq7d855i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turkmen")
    (synopsis "Babel support for Turkmen")
    (description
     "The package provides support for Turkmen in Babel, but integration with
Babel is not available.")
    (license license:lppl)))

(define-public texlive-ucharclasses
  (package
    (name "texlive-ucharclasses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/ucharclasses/"
                                     "tex/xelatex/ucharclasses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pgzs730zqmcck693i7fq771p7szq6nqdxb9w8dy6l2b4zdql14m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucharclasses")
    (synopsis "Font actions in XeTeX according to what is being processed")
    (description
     "The package takes care of switching fonts when you switch from one
Unicode block to another in the text of a document.  This way, you can write
a document with no explicit font selection, but a series of rules of the form
``when entering block ..., switch font to use ...''.")
    (license license:public-domain)))

(define-public texlive-undolabl
  (package
    (name "texlive-undolabl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/undolabl/"
                                     "source/latex/undolabl/"
                                     "tex/latex/undolabl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pa1m610j46623wm59inxmaqpjhd9cfmbwmyh02pbmpqid47p9l1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/undolabl")
    (synopsis "Override existing labels")
    (description
     "The package allows the user to override existing labels (for example,
those generated automatically).")
    (license license:lppl1.3+)))

(define-public texlive-unicode-bidi
  (package
    (name "texlive-unicode-bidi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/unicode-bidi/"
                                     "tex/xelatex/unicode-bidi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0anwaaf21qcdgni9z85hqap1wb4y9pv13p96x13w29hbqizmf69l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unicode-bidi")
    (synopsis "Experimental Unicode Bidi package for XeTeX")
    (description
     "The experimental Unicode-Bidi package allows to mix non-RTL script with
RTL script without any markup.")
    (license license:lppl1.3+)))

(define-public texlive-unimath-plain-xetex
  (package
    (name "texlive-unimath-plain-xetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/unimath-plain-xetex/"
                                     "fonts/misc/xetex/fontmapping/unimath-plain-xetex/"
                                     "tex/xetex/unimath-plain-xetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vqnqfklg1mj7mipgrfng0qq1i9psiqri0yh30ixrz8j6mkaqb35"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unimath-plain-xetex")
    (synopsis "OpenType math support in (plain) XeTeX")
    (description
     "This package provides OpenType math font support in plain TeX format.
It only works with the XeTeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-unisugar
  (package
    (name "texlive-unisugar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/unisugar/"
                                     "tex/xelatex/unisugar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bn88ghfn14am1grph1pjw9k0xy1rz8swzhsbxsxyzz6cqk9s161"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unisugar")
    (synopsis "Define syntactic sugar for Unicode LaTeX")
    (description
     "The package allows the user to define shorthand aliases for single
Unicode characters, and also provides support for such aliases in RTL-text.
The package requires an TeX-alike system that uses Unicode input in a native
way: current examples are XeTeX and LuaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-xebaposter
  (package
    (name "texlive-xebaposter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xebaposter/"
                                     "tex/latex/xebaposter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18fnwfhfk3jzkp4yd0dfi49jnf8njccbhhd6k15pvghs4brd9hba"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xebaposter")
    (synopsis "Create scientific Persian/Latin posters using TikZ")
    (description
     "This package is designed for making scientific Persian/Latin posters.
It is a fork of @code{baposter} by Brian Amberg and Reinhold Kainhofer.")
    (license license:lppl1.3+)))

(define-public texlive-xechangebar
  (package
    (name "texlive-xechangebar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xechangebar/"
                                     "tex/xelatex/xechangebar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a7b9bffh5b435gw4qxydmfrpizly79cjgjhhlgywwg6gibvxn4s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xechangebar")
    (synopsis "Extension of package @code{changebar} for use with XeLaTeX")
    (description
     "The package extends package @code{changebar} so it can be used with
XeLaTeX.  It introduces the new option @code{xetex} for use with XeLaTeX.
Everything else remains the same and users should consult the original
documentation for usage information.")
    (license license:lppl1.3+)))

(define-public texlive-xecolor
  (package
    (name "texlive-xecolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xecolor/"
                                     "tex/xelatex/xecolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0adzg2j1lmclr5zcs8da3m1b9q5xs50rxga6k2pzzxy2x0nh1xpi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xecolor")
    (synopsis "Support for color in XeLaTeX")
    (description
     "This is a simple package which defines about 140 different colours using
XeTeX's colour feature.  The colours can be used in bidirectional texts
without any problem.")
    (license license:lppl1.3+)))

(define-public texlive-xecyr
  (package
    (name "texlive-xecyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xecyr/" "tex/xelatex/xecyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07qvxfnwha6iqzcv84ws074jdi8jn60h42l93jn037n3zj2qxkg8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xecyr")
    (synopsis "Using Cyrillic languages in XeTeX")
    (description
     "This package provides helper tools for using Cyrillic languages with
XeLaTeX and @code{babel}.")
    (license license:lppl1.3+)))

(define-public texlive-xeindex
  (package
    (name "texlive-xeindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xeindex/"
                                     "tex/xelatex/xeindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sps9lrzm9y2rrin5pkgzyk56c77xnydvp21ljmvsimqgafr5aqb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xeindex")
    (synopsis "Automatic index generation for XeLaTeX")
    (description
     "The package is based on XeSearch, and will automatically index words or
phrases in an XeLaTeX document.  Words are declared in a list, and every
occurrence then creates an index entry whose content can be fully specified
beforehand.")
    (license license:lppl)))

(define-public texlive-xesearch
  (package
    (name "texlive-xesearch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/xesearch/" "tex/xetex/xesearch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13fdllqswyyvvyjqn0a4ld18dixxnn7zlpagsdaq8cl1svpaxpk5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xesearch")
    (synopsis "String finder for XeTeX")
    (description
     "The package finds strings (e.g., parts of words or phrases) and
manipulates them, thus turning each word or phrase into a possible command.
It is written in plain XeTeX and should thus work with any format.  The main
application for the moment is XeIndex, an automatic index for XeLaTeX, but
examples are given of simple use to check spelling, count words, and highlight
syntax of programming languages.")
    (license license:lppl)))

(define-public texlive-xespotcolor
  (package
    (name "texlive-xespotcolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xespotcolor/"
                                     "source/xelatex/xespotcolor/"
                                     "tex/xelatex/xespotcolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pqv4y2idcazwdy94ryyrk5s2g66sb7liy9hypqaq69symn8myf7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xespotcolor")
    (synopsis "Spot colours support for XeLaTeX")
    (description
     "The package provides macros for using spot colours in LaTeX documents.
The package is a reimplementation of the @code{spotcolor} package for use with
XeLaTeX.  As such, it has the same user interface and the same capabilities.")
    (license license:lppl1.3c)))

(define-public texlive-xetex-devanagari
  (package
    (name "texlive-xetex-devanagari")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/xetex-devanagari/"
                                     "fonts/misc/xetex/fontmapping/xetex-devanagari/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17br9aq1af36wadq2cmndbb0z2jdhr1mn7jdb3cq642wwngcfi13"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetex-devanagari")
    (synopsis "XeTeX input map for Unicode Devanagari")
    (description
     "The package provides a map for use with Jonathan Kew's TECkit, to
translate Devanagari (encoded according to the Harvard/Kyoto convention) to
Unicode (range 0900-097F).")
    (license license:lppl)))

(define-public texlive-xetex-itrans
  (package
    (name "texlive-xetex-itrans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xetex-itrans/"
                                     "fonts/misc/xetex/fontmapping/xetex-itrans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1chx2s0p6y5p767cr23jh9x61axjrdnyc5lcvf7kyrg74cszsmql"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetex-itrans")
    (synopsis "Itrans input maps for use with XeLaTeX")
    (description
     "The package provides maps for use with XeLaTeX with coding done using
@code{itrans}.  Fontspec maps are provided for Devanagari (Sanskrit), for
Sanskrit in Kannada and for Kannada itself.")
    (license license:lppl1.3+)))

(define-public texlive-xetex-pstricks
  (package
    (name "texlive-xetex-pstricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/xetex-pstricks/"
                                     "tex/xelatex/xetex-pstricks/"
                                     "tex/xetex/xetex-pstricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "195zjdxddlwl69gnp2x3jg3l8gn36mxsdbz03qs0r940frx533ls"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetex-pstricks")
    (synopsis "Running PSTricks under XeTeX")
    (description
     "The package provides an indirection scheme for XeTeX to use the PSTricks
@file{xdvipdfmx.cfg} configuration file, so that XeTeX documents will load it
in preference to the standard pstricks.con configuration file.  With this
configuration, many PSTricks features can be used in XeLaTeX or plain XeTeX
documents.")
    (license license:public-domain)))

(define-public texlive-xetex-tibetan
  (package
    (name "texlive-xetex-tibetan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/xetex-tibetan/"
                                     "fonts/misc/xetex/fontmapping/xetex-tibetan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02z3jzf16hi9zj50lpf9map5f6ydvxw66f0k4n5ry88s7frbxwmw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetex-tibetan")
    (synopsis "XeTeX input maps for Unicode Tibetan")
    (description
     "The package provides a map for use with Jonathan Kew's TECkit, to
translate Tibetan to Unicode (range 0F00-0FFF).")
    (license license:lppl)))

(define-public texlive-xetexfontinfo
  (package
    (name "texlive-xetexfontinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/xetexfontinfo/"
                                     "tex/xetex/xetexfontinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x1llikcvwlf74anmvaks73gvd99xha9dg49zh75dwki0nwisn2j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetexfontinfo")
    (synopsis "Report font features in XeTeX")
    (description
     "This package provides a pair of documents to reveal the font features
supported by fonts usable in XeTeX.")
    (license license:asl2.0)))

(define-public texlive-xetexko
  (package
    (name "texlive-xetexko")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/xetexko/" "tex/xetex/xetexko/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d3jmk40a05yah0viyi2xnqjwjmmfyhv9i1a0xcly2wjyr9c6dzx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetexko")
    (synopsis "Typeset Korean with Xe(La)TeX")
    (description
     "The package supports typesetting Korean documents (including old Hangul
texts), using XeTeX.  It enhances the existing support, in XeTeX, providing
features that provide quality typesetting.")
    (license license:lppl1.3c)))

(define-public texlive-xetexref
  (package
    (name "texlive-xetexref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xetex/xetexref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m2cf5l7q8djsifz3xj4s99ad6j7xxfndvm9v7h6cg3jxv083yrg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetexref")
    (synopsis "Reference documentation of XeTeX")
    (description
     "The package comprises reference documentation for XeTeX detailing its
extended features.")
    (license license:lppl1.3c)))

(define-public texlive-xevlna
  (package
    (name "texlive-xevlna")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xevlna/" "tex/xelatex/xevlna/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gwh1rd5s01rnb11nxk6nxwyqj32bi739p10hwqz3sw1hfy8mnfi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xevlna")
    (synopsis "Insert non-breakable spaces using XeTeX")
    (description
     "The package will directly insert nonbreakable spaces (in Czech, vlna or
vlnka), after nonsyllabic prepositions and single letter conjuctions, while
the document is being typeset.")
    (license license:lppl1.3+)))

(define-public texlive-currfile
  (package
    (name "texlive-currfile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/currfile/" "source/latex/currfile/"
                                     "tex/latex/currfile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g28y2bwqnc3xfcp0ak7rxx0c40b88vl85pj7x5dccmvx0yrxy9n"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/currfile")
    (synopsis "Provide file name and path of input files")
    (description
     "The package provides macros holding file name information (directory,
base name, extension, full name and full path) for files read by LaTeX
@code{\\input} and @code{\\include} macros; it uses the file hooks provided by
the author's @code{filehook}.  In particular, it restores the parent file name
after the trailing @code{\\clearpage} of an @code{\\included} file; as
a result, the macros may be usefully employed in the page header and footer of
the last printed page of such a file.  The depth of inclusion is made
available, together with the parent (including file) and parents (all
including files to the root of the tree).  The package supersedes FiNK.")
    (license license:lppl1.3+)))

(define-public texlive-cursolatex
  (package
    (name "texlive-cursolatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cursolatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "048s5fg8c19s3zbl2dkmh8ffkicb8fd9n46m0iqrc39i0wrh7p12"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cursolatex")
    (synopsis "LaTeX tutorial, in Portuguese")
    (description
     "This package provides a LaTeX tutorial, in Portuguese.  The tutorial is
presented as a set of slides.")
    (license license:gpl3+)))

(define-public texlive-calrsfs
  (package
    (name "texlive-calrsfs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calrsfs/" "tex/latex/calrsfs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aqa0k0zzzicx5nynd29i9pdb7a4j6fvf1xwrbm4qg64pl55i6xa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calrsfs")
    (synopsis "Copperplate calligraphic letters in LaTeX")
    (description "This package provides a maths interface to the @code{rsfs}
fonts.")
    (license license:public-domain)))

(define-public texlive-capt-of
  (package
    (name "texlive-capt-of")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/capt-of/" "source/latex/capt-of/"
                                     "tex/latex/capt-of/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bf0cdd9ca3kkqxqqkq6jalh5ybs60l80l5gfkl2whk2v4bnzfvz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/capt-of")
    (synopsis "Captions on more than floats")
    (description
     "This package defines a command @code{\\captionof} for putting a caption
to something that's not a float.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-capt-of texlive-capt-of)

(define-public texlive-carlisle
  (package
    (name "texlive-carlisle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/carlisle/" "source/latex/carlisle/"
                                     "tex/latex/carlisle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kgbs8k6ma3kng2srwpzkla1c51ylzgb7yn8bib2zy46rmysrk86"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/carlisle")
    (synopsis "David Carlisle's small packages")
    (description
     "Many of David Carlisle's more substantial packages stand on their own,
or as part of the LaTeX latex-tools set; this set contains: making dotless
@emph{j} characters for fonts that don't have them; a method for combining the
capabilities of @code{longtable} and @code{tabularx}; an environment for
including plain TeX in LaTeX documents; a jiffy to create slashed characters
for physicists.")
    (license license:lppl)))

(define-public texlive-catchfile
  (package
    (name "texlive-catchfile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/catchfile/" "source/latex/catchfile/"
                                     "tex/generic/catchfile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dpxy64hs0bjp8d2dmikflc995vazf7fi6z92w51fnj2fidgl8gx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/macros/latex/contrib/catchfile")
    (synopsis "Catch an external file into a macro")
    (description
     "Catchfile catches the contents of a file and puts it in a macro.")
    (license license:lppl1.3+)))

(define-public texlive-ddphonism
  (package
    (name "texlive-ddphonism")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ddphonism/" "tex/latex/ddphonism/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p02ai76nnh6042pnmqv4n30z6yxsvyyk2nb9jk7xlyyc87zzbdd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ddphonism")
    (synopsis "Dodecaphonic diagrams for LaTeX")
    (description
     "This is a music-related package which is focused on notation from the
twelve-tone system, also called dodecaphonism.  It provides LaTeX algorithms
that produce typical dodecaphonic notation based off a musical series, or row
sequence, of variable length.")
    (license license:lppl1.3c)))

(define-public texlive-doi
  (package
    (name "texlive-doi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/doi/" "tex/latex/doi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18z9922lqb3hliqn95h883fndqs4lgyi5yqbnq2932ya0imc3j7h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/doi")
    (synopsis "Create correct hyperlinks for DOI numbers")
    (description
     "You can hyperlink DOI numbers to doi.org.  However, some publishers have
elected to use nasty characters in their DOI numbering scheme (@code{<},
@code{>}, @code{_} and @code{;} have all been spotted).  This will either
upset LaTeX, or your PDF reader.  This package contains a single user-level
command @code{\\doi{}}, which takes a DOI number, and creates a correct
hyperlink to the target of the DOI.")
    ;; Any version of the LPPL.
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-doi texlive-doi)

(define-public texlive-etoolbox
  (package
    (name "texlive-etoolbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etoolbox/" "tex/latex/etoolbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070iaj540rglf0c80l0hjkwg6aa7qyskhh4iwyhf7n8vrg5cjjab"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etoolbox")
    (synopsis "e-TeX tools for LaTeX")
    (description
     "The package is a toolbox of programming facilities geared primarily
towards LaTeX class and package authors.  It provides LaTeX frontends to some
of the new primitives provided by e-TeX as well as some generic tools which
are not strictly related to e-TeX but match the profile of this package.  The
package provides functions that seem to offer alternative ways of implementing
some LaTeX kernel commands; nevertheless, the package will not modify any part
of the LaTeX kernel.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-etoolbox texlive-etoolbox)

(define-public texlive-fncychap
  (package
    (name "texlive-fncychap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fncychap/"
                                     "tex/latex/fncychap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1javlws18ncrf7rz7qfbx1db9jwk45lm6sa0s67hlr6hqnyjxf94"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fncychap")
    (synopsis "Seven predefined chapter heading styles")
    (description
     "This package provides seven predefined chapter heading styles.  Each
style can be modified using a set of simple commands.  Optionally one can
modify the formatting routines in order to create additional chapter
headings.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-fncychap texlive-fncychap)

(define-public texlive-framed
  (package
    (name "texlive-framed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/framed/"
                                     "tex/latex/framed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09hlzjlhz3q3l62h6gj997pfx1hc4726frhcdc6y5g66c3gh621g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/framed")
    (synopsis "Framed or shaded regions that can break across pages")
    (description
     "The package creates three environments: @code{framed}, which puts an
ordinary frame box around the region, @code{shaded}, which shades the region,
and @code{leftbar}, which places a line at the left side.  The environments
allow a break at their start (the @code{\\FrameCommand} enables creation of
a title that is “attached” to the environment); breaks are also allowed in the
course of the framed/shaded matter.  There is also a command
@code{\\MakeFramed} to make your own framed-style environments.")
    ;; The header states: "These macros may be freely transmitted, reproduced,
    ;; or modified for any purpose provided that this notice is left intact."
    (license (license:fsf-free "file://framed.sty"))))

(define-deprecated-package texlive-latex-framed texlive-framed)

(define-public texlive-g-brief
  (package
    (name "texlive-g-brief")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/g-brief/"
                                     "source/latex/g-brief/"
                                     "tex/latex/g-brief/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sicgf3wjw5jymh5xjxby2hsilakhw2lqgywx0f2zax1z854xc2m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/g-brief")
    (synopsis "Letter document class")
    (description
     "This package is designed for formatting formless letters in German; it
can also be used for English (by those who can read the documentation).  There
are LaTeX 2.09 @code{documentstyle} and LaTeX 2e class files for both an old
and a new version of @code{g-brief}.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-g-brief texlive-g-brief)

(define-public texlive-galois
  (package
    (name "texlive-galois")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/galois/"
                                     "source/latex/galois/"
                                     "tex/latex/galois/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1324nw1r1aj6khz6fvrhd1p1sinadrd83j0s2q2fhnsgwp6sw94f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/galois")
    (synopsis "Typeset Galois connections")
    (description
     "The package deals with connections in two-dimensional style, optionally
in colour.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-galois texlive-galois)

(define-public texlive-gcite
  (package
    (name "texlive-gcite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gcite/"
                                     "source/latex/gcite/"
                                     "tex/latex/gcite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yb7sid13bx25yar3aw6pbf4jmmfi0gdmcd7ynf5hjh9qdfb3zyh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/gcite")
    (synopsis "Citations in a reader-friendly style")
    (description
     "The package allows citations in the German style, which is considered by
many to be particularly reader-friendly.  The citation provides a small amount
of bibliographic information in a footnote on the page where each citation is
made.  It combines a desire to eliminate unnecessary page-turning with the
look-up efficiency afforded by numeric citations.  The package makes use of
BibLaTeX, and is considered experimental.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-gcite texlive-gcite)

(define-public texlive-gckanbun
  (package
    (name "texlive-gckanbun")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gckanbun/" "tex/latex/gckanbun/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hjp7nw2b34pkfxh6n2722zc83hjpn492q77gb063jzi79pgbprx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gckanbun")
    (synopsis "Kanbun typesetting for (u)pLaTeX and LuaLaTeX")
    (description
     "This package provides a Kanbun (Han Wen, ``Chinese writing'')
typesetting for @code{(u)pLaTeX} and LuaLaTeX.")
    (license license:expat)))

(define-public texlive-gentombow
  (package
    (name "texlive-gentombow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gentombow/"
                                     "tex/latex/gentombow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pc1cxsxlnj9d2qnvm31r3cw15mf7fwr5dadd10473mww8bp8irf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gentombow")
    (synopsis "Generate Japanese-style crop marks")
    (description
     "This bundle provides a LaTeX package for generating Japanese-style crop
marks (called tombow in Japanese) for practical use in self-publishing.

The bundle contains the following packages:
@itemize
@item @file{gentombow.sty}: Generate crop marks (called tombow in
Japanese) for practical use in self-publishing.  It provides the core
tombow feature if not available.
@item @file{pxgentombow.sty}: Superseded by @file{gentombow.sty}; kept
for compatibility only.
@item @file{bounddvi.sty}: Set papersize special to DVI file.  Can be
used on LaTeX, pLaTeX, upLaTeX (with DVI output mode) with dvips or
dvipdfmx drivers.
@end itemize")
    (license license:bsd-3)))

(define-public texlive-geometry
  (package
    (name "texlive-geometry")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/geometry/"
                                     "source/latex/geometry/"
                                     "tex/latex/geometry/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09jwdrg4s1c0gqmx7s57byw5kc09cna3li85y9ix0vxa6f6iqzi1"))))
    (build-system texlive-build-system)
    (outputs '("out" "doc"))
    (propagated-inputs (list texlive-graphics texlive-iftex))
    (home-page "https://www.ctan.org/pkg/geometry")
    (synopsis "Flexible and complete interface to document dimensions")
    (description
     "This package provides an easy and flexible user interface to customize
page layout, implementing auto-centering and auto-balancing mechanisms so that
the users have only to give the least description for the page layout.  The
package knows about all the standard paper sizes, so that the user need not
know what the nominal real dimensions of the paper are, just its standard
name (such as a4, letter, etc.).  An important feature is the package's
ability to communicate the paper size it's set up to the output.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-geometry texlive-geometry)

(define-public texlive-mdwtools
  (package
    (name "texlive-mdwtools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mdwtools/"
                                     "source/latex/mdwtools/"
                                     "tex/latex/mdwtools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08wyw0k6r3fv7vdgwbcpq9ckifldy17fzhpar51s1qn0yib93zdg"))))
    (build-system texlive-build-system)
    (outputs '("out" "doc"))
    (home-page "https://www.ctan.org/pkg/mdwtools")
    (synopsis "Miscellaneous tools by Mark Wooding")
    (description
     "This collection of tools includes: @code{atsupport} for short commands
starting with @code{@@}, macros to sanitize the OT1 encoding of the
@code{cmtt} fonts; a @code{doafter} command; improved @code{footnote} support;
@code{mathenv} for various alignment in maths; list handling; @code{mdwmath}
which adds some minor changes to LaTeX maths; a rewrite of LaTeX's
@code{tabular} and @code{array} environments; verbatim handling; and syntax
diagrams.")
    (license license:gpl3+)))

(define-deprecated-package texlive-latex-mdwtools texlive-mdwtools)

(define-public texlive-makecmds
  (package
    (name "texlive-makecmds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makecmds/" "source/latex/makecmds/"
                                     "tex/latex/makecmds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05y5n265in7mrbpgjxqg339l8r8dmp6lvl4k528pr3rkb8z94qaf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/makecmds")
    (synopsis "TeX macro to define or redefine a command")
    (description "The package provides a @code{\\makecommand} command, which
is like @code{\\newcommand} or @code{\\renewcommand} except it
always (re)defines a command.  There is also @code{\\makeenvironment} and
@code{\\provideenvironment} for environments.")
    (license license:lppl1.3c+)))

(define-public texlive-makeindex
  (package
    (name "texlive-makeindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/makeindex.1"
                                     "doc/man/man1/makeindex.man1.pdf"
                                     "doc/man/man1/mkindex.1"
                                     "doc/man/man1/mkindex.man1.pdf"
                                     "doc/support/makeindex/"
                                     "makeindex/base/"
                                     "tex/plain/makeindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m01m0x1kf10yvzxgrkvpic0amsr0g6q2r2wsg5f4ngybq4y9gyi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-makeindex-bin))
    (home-page "https://ctan.org/pkg/makeindexk")
    (synopsis "Makeindex development sources")
    (description
     "The package contains the development sources of MakeIndex.")
    (license
     (license:fsf-free "https://mirrors.ctan.org/indexing/makeindex/COPYING"))))

(define-public texlive-makeindex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-makeindex-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "texk" '("makeindexk" "tests"))
            (delete-other-directories "utils" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-makeindexk" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/makeindexk"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/makeindexk"
                  (invoke "make" "install"))))))))
    (native-inputs (list perl pkg-config))
    (inputs (list texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-makeindex))
    (synopsis "Binary for @code{texlive-makeindex}")
    (description
     "This package provides the binary for @code{texlive-makeindex}.")
    (license (package-license texlive-makeindex))))

(define-public texlive-marginfix
  (package
    (name "texlive-marginfix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/marginfix/"
                                     "source/latex/marginfix/"
                                     "tex/latex/marginfix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y6lmxm5ws2g0rqisvgdc8kg3whnvabrkl662sb4jvvaz02y3qdi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marginfix")
    (synopsis "Patch @code{\\marginpar} to avoid overfull margins")
    (description
     "Authors using LaTeX to typeset books with significant margin material
often run into the problem of long notes running off the bottom of the page.
This package implements a solution to make @code{marginpars} just work by
keeping a list of floating inserts and arranging them intelligently in the
output routine.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-marginfix texlive-marginfix)

(define-public texlive-metalogo
  (package
    (name "texlive-metalogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metalogo/" "source/latex/metalogo/"
                                     "tex/latex/metalogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xzy982kc7k5n7gy019rk4hbvxli2mlf4s7h7s11diasmh5fa2gf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metalogo")
    (synopsis "Extended TeX logo macros")
    (description
     "This package exposes spacing parameters for various TeX logos to the end
user, to optimise the logos for different fonts.  It is written especially for
XeLaTeX users.")
    (license license:lppl1.3c+)))

(define-public texlive-paralist
  (package
    (name "texlive-paralist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/paralist/" "source/latex/paralist/"
                                     "tex/latex/paralist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "003gs7rjm97vqh903wdjys3ls96kx45w3s4qghjk1fdjx6qxd32l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/paralist")
    (synopsis "@code{enumerate} and @code{itemize} within paragraphs")
    (description
     "The @code{paralist} package provides @code{enumerate} and @code{itemize}
environments that can be used within paragraphs to format the items either as
running text or as separate paragraphs with a preceding number or symbol.  It
also provides compacted versions of @code{enumerate} and @code{itemize}.")
    (license license:lppl1.0+)))

(define-public texlive-polski
  (package
    (name "texlive-polski")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/polski/" "source/latex/polski/"
                                     "tex/latex/polski/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rcqyq8a96dl61fi9yr201rpm93w70sq93872ngfgvnk5m19xy13"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:build-targets #~(list "polski.ins")))
    (propagated-inputs (list texlive-hyphen-complete texlive-pl))
    (home-page "https://ctan.org/pkg/polski")
    (synopsis "Typeset Polish documents with LaTeX and Polish fonts")
    (description
     "This package provides tools to typeset monolingual Polish documents in
LaTeX2e without Babel or Polyglossia.  The package loads Polish hyphenation
patterns, ensures that a font encoding suitable for Polish is used; in
particular it enables Polish adaptation of Computer Modern fonts (the
so-called PL fonts), provides translations of @code{\\today} and names like
@samp{Bibliography} or @samp{Chapter}, redefines math symbols according to
Polish typographical tradition, provides macros for dashes according to Polish
orthography, provides a historical input method for Polish characters, works
with traditional TeX as well as with Unicode aware variants.")
    (license license:lppl1.2+)))

(define-public texlive-polyglossia
  (package
    (name "texlive-polyglossia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/polyglossia/"
                                     "fonts/misc/xetex/fontmapping/polyglossia/"
                                     "source/latex/polyglossia/"
                                     "tex/latex/polyglossia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r5l5c586zzvkyz8irj47pb86m4hkarc7617hvz8gsx1qqnf4463"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "xelatex"
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'substitute-fonts
            (lambda _
              ;; Use dummy fonts for documentation.  We will install
              ;; pre-generated one anyway. Moreover, adding appropriate fonts
              ;; would bring in some large dependencies, such as webkitgtk for
              ;; Amiri.
              (substitute* "source/latex/polyglossia/polyglossia.dtx"
                (("\\{Serto Jerusalem}") "{FreeSans}")
                (("\\{Amiri-Regular}") "{FreeSans}")
                (("\\{Noto Serif CJK SC}") "{FreeSans}")
                (("\\{GFSPolyglot.otf}") "{FreeSans}"))))
          (add-after 'unpack 'extend-texmf
            (lambda _
              ;; Extend the current TEXMF environment variable to make
              ;; Polyglossia own libraries visible.
              (setenv "GUIX_TEXMF"
                      (string-append (getcwd) ":"
                                     (getenv "GUIX_TEXMF"))))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list font-dejavu
                  font-gnu-freefont
                  font-linuxlibertine
                  font-sil-ezra
                  fontconfig
                  texlive-amiri
                  texlive-babel
                  texlive-bidi
                  texlive-booktabs
                  texlive-caption
                  texlive-context
                  texlive-fancyvrb
                  texlive-graphics
                  texlive-hyperref
                  texlive-infwarerr
                  texlive-kvoptions
                  texlive-latex-fonts
                  texlive-libertine
                  texlive-metalogo
                  texlive-microtype
                  texlive-noto
                  texlive-paralist
                  texlive-pdftexcmds
                  texlive-tex
                  texlive-tools
                  texlive-xcolor
                  texlive-xetex
                  texlive-zref))))
    (propagated-inputs
     (list texlive-etoolbox
           texlive-filehook
           texlive-fontspec
           texlive-iftex
           texlive-makecmds
           texlive-xkeyval))
    (home-page "https://www.ctan.org/pkg/polyglossia")
    (synopsis "Alternative to Babel for XeLaTeX and LuaLaTeX")
    (description "This package provides a complete Babel replacement for users
of LuaLaTeX and XeLaTeX.  It includes support for over 70 different languages,
some of which in different regional or national varieties, or using a
different writing system.  It enables:
@itemize
@item
Loading the appropriate hyphenation patterns.
@item
Setting the script and language tags of the current font (if possible and
available), using the package @code{fontspec}.
@item
Switching to a font assigned by the user to a particular script or language.
@item
Adjusting some typographical conventions in function of the current language
(such as @code{afterindent}, @code{frenchindent}, spaces before or after
punctuation marks, etc.)
@item
Redefining the document strings (like @samp{chapter}, @samp{figure},
@samp{bibliography}).  Adapting the formatting of dates (for non-gregorian
calendars via external packages bundled with @code{polyglossia}: currently the
Hebrew, Islamic and Farsi calendars are supported).
@item
For languages that have their own numeration system, modifying the formatting
of numbers appropriately.
@item
Ensuring the proper directionality if the document contains languages
written from right to left.
@end itemize")
    (license license:expat)))

(define-deprecated-package texlive-latex-polyglossia texlive-polyglossia)

(define-public texlive-przechlewski-book
  (package
    (name "texlive-przechlewski-book")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/przechlewski-book/"
                                     "doc/latex/przechlewski-book/"
                                     "tex/latex/przechlewski-book/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06bsdpm26s3qqxhik185pkrxp0mx2n5jxndm14cd917drh162yr8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/przechlewski-book")
    (synopsis "Examples from Przechlewski's LaTeX book")
    (description
     "The bundle provides machine-readable copies of the examples from the
book @emph{Praca magisterska i dyplomowa z programem LaTeX}.")
    (license license:lppl)))

(define-public texlive-qpxqtx
  (package
    (name "texlive-qpxqtx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/qpxqtx/"
                                     "fonts/tfm/public/qpxqtx/"
                                     "fonts/vf/public/qpxqtx/"
                                     "tex/generic/qpxqtx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ksikdpzsv0rdnl5p536aw3625rlmzpgmhsycb8sbm9jlbrpxvi6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qpxqtx")
    (synopsis
     "Polish macros and fonts supporting Pagella/pxfonts and Termes/txfonts")
    (description
     "This package provides Polish macros and fonts supporting Pagella/pxfonts
and Termes/txfonts")
    (license license:public-domain)))

(define-public texlive-supertabular
  (package
    (name "texlive-supertabular")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/supertabular/"
                                     "source/latex/supertabular/"
                                     "tex/latex/supertabular/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z4kyx20w2zvn6c5a7p702pxj254f2pwlk7x815gzlcc6563js6a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/supertabular")
    (synopsis "Multi-page tables package")
    (description
     "This package was a predecessor of @code{longtable}; the newer
package (designed on quite different principles) is easier to use and more
flexible, in many cases, but @code{supertabular} retains its usefulness in
a few situations where longtable has problems.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-supertabular texlive-supertabular)

(define-public texlive-tap
  (package
    (name "texlive-tap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tap/" "tex/generic/tap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18xfn4p90i0hw5h7am982jgqnsj7qyaijw20zjy3shwihgkaq7fs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tap")
    (synopsis "TeX macros for typesetting complex tables")
    (description
     "The package offers a simple notation for pretty complex tables (to
Michael J.@: Ferguson's credit).  With PostScript, the package allows
shaded/coloured tables, diagonal rules, etc.  The package is supposed to work
with both Plain and LaTeX.  An AWK converter from ASCII semigraphic tables to
TAP notation is included.")
    (license license:public-domain)))

(define-public texlive-texinfo
  (package
    (name "texlive-texinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/texinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ds5vf98gzfqxafil4gsfqwyrxaha0cd1fx5mg76bw9y9xjzpzsl"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texinfo")
    (synopsis "Texinfo documentation system")
    (description
     "Texinfo is the preferred format for documentation in the GNU project;
the format may be used to produce online or printed output from a single
source.  The Texinfo macros may be used to produce printable output using TeX;
other programs in the distribution offer online interactive use (with
hypertext linkages in some cases).")
    (license license:gpl3+)))

(define-deprecated-package texlive-tex-texinfo texlive-texinfo)

(define-public texlive-textcase
  (package
    (name "texlive-textcase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textcase/" "source/latex/textcase/"
                                     "tex/latex/textcase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n48zzy63vw9npwbnsg573plrlm7b5r7zjjvghcczfya1w30yf2d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textcase")
    (synopsis "Case conversion ignoring mathematics, etc")
    (description
     "The @code{textcase} package offers commands @code{\\MakeTextUppercase}
and @code{\\MakeTextLowercase} are similar to the standard
@code{\\MakeUppercase} and @code{\\MakeLowercase}, but they do not change the
case of any sections of mathematics, or the arguments of @code{\\cite},
@code{\\label} and @code{\\ref} commands within the argument.  A further
command @code{\\NoCaseChange} does nothing but suppress case change within its
argument, so to force uppercase of a section including an environment, one
might say:

@example
\\MakeTextUppercase{...\\NoCaseChange{\\begin{foo}} ...\\NoCaseChange{\\end{foo}}...}
@end example")
    (license license:lppl)))

(define-public texlive-upquote
  (package
    (name "texlive-upquote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/upquote/"
                                     "source/latex/upquote/"
                                     "tex/latex/upquote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1manbljqx2859wq9by6bpcx4rnxvc596a05d21cw464484f8a8z2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/upquote")
    (synopsis "Show realistic quotes in verbatim")
    (description
     "Typewriter-style fonts are best for program listings, but Computer
Modern Typewriter prints @samp{`} and @samp{'} as bent opening and closing
single quotes.  Other fonts, and most programming languages, print @samp{`} as
a grave accent and @samp{'} upright; @samp{'} is used both to open and to
close quoted strings.  The package switches the typewriter font to Computer
Modern Typewriter in OT1 encoding, and modifies the behaviour of
@code{verbatim}, @code{verbatim*}, @code{\\verb}, and @code{\\verb*} to print
in the expected way.  It does this regardless of other fonts or encodings in
use, so long as the package is loaded after the other fonts were.  The package
does not affect @code{\\tt}, @code{\\texttt}, etc.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-upquote texlive-upquote)

(define-public texlive-anysize
  (package
    (name "texlive-anysize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anysize/"
                                     "tex/latex/anysize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "155s0v82zpkmv97kwqhhfw52230hka9zl3wzjw1d5ayxd4n11bxq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anysize")
    (synopsis "Simple package to set up document margins")
    (description
     "This is a simple package to set up document margins.  This package is
considered obsolete; alternatives are the @code{typearea} package from the
@code{koma-script} bundle, or the @code{geometry} package.")
    (license license:public-domain)))

(define-deprecated-package texlive-latex-anysize texlive-anysize)

(define-public texlive-appendix
  (package
    (name "texlive-appendix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/appendix/"
                                     "source/latex/appendix/"
                                     "tex/latex/appendix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vqkqpzs7bc6pbjnafakrwayjyfx9mvadrqxccdf549m8172qvzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/appendix")
    (synopsis "Extra control of appendices")
    (description
     "The @code{appendix} package provides various ways of formatting the
titles of appendices.  Also (sub)appendices environments are provided that can
be used, for example, for per chapter/section appendices.  An
@code{appendices} environment is provided which can be used instead of the
@code{\\appendix} command.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-appendix texlive-appendix)

(define-public texlive-bookman
  (package
    (name "texlive-bookman")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/bookman/"
                                     "fonts/afm/adobe/bookman/"
                                     "fonts/afm/urw/bookman/"
                                     "fonts/map/dvips/bookman/"
                                     "fonts/tfm/adobe/bookman/"
                                     "fonts/tfm/urw35vf/bookman/"
                                     "fonts/type1/urw/bookman/"
                                     "fonts/vf/adobe/bookman/"
                                     "fonts/vf/urw35vf/bookman/"
                                     "tex/latex/bookman/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12wkjwpzxn1a1k3bb41gpnky1jjsh7gzj4xahsjd087fpmrsj9p9"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Bookman font")
    (description
     "This package provides a drop-in replacement for the Bookman font from
Adobe's basic set")
    (license license:gpl3+)))

(define-public texlive-bookmark
  (package
    (name "texlive-bookmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bookmark/"
                                     "source/latex/bookmark/"
                                     "tex/latex/bookmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cfwiz7d896bfcah91x5kw8radhsyaavhzdc3x91zlzy8d5ag2bd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/bookmark")
    (synopsis "Bookmark (outline) organization for @code{hyperref}")
    (description
     "This package implements a new bookmark (outline) organization for the
@code{hyperref} package.  Bookmark properties such as style and color.  Other
action types are available (URI, GoToR, Named).")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-bookmark texlive-bookmark)

(define-public texlive-changebar
  (package
    (name "texlive-changebar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/changebar/"
                                     "source/latex/changebar/"
                                     "tex/latex/changebar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03mpvzdy3iffhayx4zbjzyr4p2xirrqczxiv3akgaa8knhrbyivr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/changebar")
    (synopsis "Generate changebars in LaTeX documents")
    (description
     "Identify areas of text to be marked with changebars with the
@code{\\cbstart} and @code{\\cbend} commands; the bars may be coloured.  The
package uses drivers to place the bars; the available drivers can work with
@code{dvitoln03}, @code{dvitops}, @code{dvips}, the emTeX and TeXtures DVI
drivers, and VTeX and pdfTeX.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-changebar texlive-changebar)

(define-public texlive-checkcites
  (package
    (name "texlive-checkcites")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/checkcites/"
                                     "scripts/checkcites/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13jlkmvnqcwryp9dn5lh77cf1yj2x7fa5kc8vx0j3sj1ryphykja"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/checkcites")
    (synopsis "Check citation commands in a document")
    (description
     "The package provides a Lua script written for the sole purpose of
detecting undefined and unused references from LaTeX auxiliary or bibliography
files.")
    (license license:lppl1.3+)))

(define-public texlive-chickenize
  (package
    (name "texlive-chickenize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/chickenize/"
                                     "source/luatex/chickenize/"
                                     "tex/luatex/chickenize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "055lkxc2igr0qh1lcdbnh2w0z92v3wkjgp1hpbbrj8r5kvpm7nvy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chickenize")
    (synopsis "Use Lua callbacks for some textual effects")
    (description
     "The package allows manipulations of any LuaTeX document.  Most of the
package's functions are merely for fun or educational use, but some
functions (for example, @code{colorstretch} for visualising the badness and
font expansion of each line, and @code{letterspaceadjust} doing what its name
says) could be useful in a normal LuaTeX document.")
    (license license:lppl1.3+)))

(define-public texlive-chinese-jfm
  (package
    (name "texlive-chinese-jfm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/chinese-jfm/"
                                     "tex/luatex/chinese-jfm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ixlwivijp6vvzn2j3drr13hk0ylslcd9ws8df24abda93wjm35r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chinese-jfm")
    (synopsis "Luatexja-jfm files for Chinese typesetting")
    (description
     "ChineseJFM is a series of @code{luatexja-jfm} files for better Chinese
typesetting, providing @code{quanjiao}, @code{banjiao}, and @code{kaiming}
three styles and other fancy features.  It can be used for both horizontal and
vertical writing mode in Simplified/Traditional Chinese or Japanese fonts.")
    (license license:expat)))

(define-public texlive-cloze
  (package
    (name "texlive-cloze")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/cloze/" "scripts/cloze/"
                                     "source/luatex/cloze/" "tex/luatex/cloze/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i0bsflqgw14bik1r8qlx2287fx6lv8jmha57bx54d7icaswssf9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cloze")
    (synopsis "Lualatex package for creating cloze texts")
    (description
     "This is a LuaTeX or LuaLaTeX package for generating cloze texts.  The
main feature of the package is that the formatting doesn't change when using
the hide and show options.")
    (license license:lppl1.3+)))

(define-public texlive-cmap
  (package
    (name "texlive-cmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmap/"
                                     "tex/latex/cmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hag26l3g9mpmmy1kn7lrnfzzr8k0hpm259qp087smggykvsjc4v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmap")
    (synopsis "Make PDF files searchable and copyable")
    (description
     "This package embeds CMap tables into PDF files to make search and
copy-and-paste functions work properly.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-cmap texlive-cmap)

(define-public texlive-colorprofiles
  (package
    (name "texlive-colorprofiles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/colorprofiles/"
                                     "tex/generic/colorprofiles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nxbds0jhn5wvf50iy1a4mpfgk56587kqvs4wxf08ysvqx6xiaxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorprofiles")
    (synopsis "Collection of free ICC profiles")
    (description
     "This package collects ICC profiles that can be used by color profile
aware applications or tools like the @code{pdfx} package, as well as TeX and
LaTeX packages to access them.")
    (license license:lppl1.2+)))        ;per "colorprofiles.sty"

(define-public texlive-colortbl
  (package
    (name "texlive-colortbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colortbl/" "source/latex/colortbl/"
                                     "tex/latex/colortbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1js4ndmzhhj8py3qsqpvichbxga7w00j2qhn2ns6rmlm8hb2ln5v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colortbl")
    (synopsis "Add colour to LaTeX tables")
    (description
     "The package allows rows and columns to be coloured, and even
individual cells.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-colortbl texlive-colortbl)

(define-public texlive-combofont
  (package
    (name "texlive-combofont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/combofont/"
                                     "tex/lualatex/combofont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05p044znavjjd7cpgjx46i8n6b56rpybhixqs9yaam86nb70ha7n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/combofont")
    (synopsis "Add NFSS-declarations of combo fonts to LuaLaTeX documents")
    (description
     "This highly experimental package can be used to add NFSS-declarations of
combo fonts to LuaLaTeX documents.")
    (license license:lppl1.3c)))

(define-public texlive-cstypo
  (package
    (name "texlive-cstypo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/cstypo/"
                                     "tex/lualatex/cstypo/" "tex/luatex/cstypo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07cgcda6jcmkvhp90n4a8g4x98jmzwf4199gp6nh19718v6n15j8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cstypo")
    (synopsis "Czech typography rules enforced through LuaTeX hooks")
    (description
     "This package provides macros that enforce basic Czech typography rules
through Lua hooks available in LuaTeX.")
    (license license:expat)))

(define-public texlive-fancybox
  (package
    (name "texlive-fancybox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancybox/"
                                     "tex/latex/fancybox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pb1j0a1va8yhrzig7dwrd8jgq39mbcpygl810jhrv8pl473mfmn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancybox")
    (synopsis "Variants of @code{\\fbox} and other games with boxes")
    (description
     "This package provides variants of @code{\\fbox}: @code{\\shadowbox},
@code{\\doublebox}, @code{\\ovalbox}, @code{\\Ovalbox}, with helpful tools for
using box macros and flexible verbatim macros.  You can box mathematics,
floats, center, flushleft, and flushright, lists, and pages.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-fancybox texlive-fancybox)

(define-public texlive-fancyhdr
  (package
    (name "texlive-fancyhdr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyhdr/" "source/latex/fancyhdr/"
                                     "tex/latex/fancyhdr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0asx5l8kx1zsvja5arnbspr37hwmmjp01837kfrsy7dsm8wfclgr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyhdr")
    (synopsis "Extensive control of page headers and footers in LaTeX2e")
    (description
     "The package provides extensive facilities, both for constructing headers
and footers, and for controlling their use (for example, at times when LaTeX
would automatically change the heading style in use).")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-fancyhdr texlive-fancyhdr)

(define-public texlive-fancyhdr-it
  (package
    (name "texlive-fancyhdr-it")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyhdr-it/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "117826hd9zl15i8qf6d1pz2qz57l68a9nxqldxyk21acc29ifalr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyhdr-it")
    (synopsis "Italian translation of @code{fancyhdr} documentation")
    (description
     "This package provides an Italian translation of documentation provided
with the @code{fancyhdr} package.")
    (license license:lppl)))

(define-public texlive-fancyref
  (package
    (name "texlive-fancyref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyref/"
                                     "source/latex/fancyref/"
                                     "tex/latex/fancyref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0njgl53f5farwbd8xkw8im8id0scf6agbfqcdjkbqlk540vdzwbp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyref")
    (synopsis "LaTeX package for fancy cross-referencing")
    (description
     "This package provides fancy cross-referencing support, based on the
package's reference commands (@code{\\fref} and @code{\\Fref}) that recognise
what sort of object is being referenced.")
    (license license:gpl3+)))

(define-public texlive-float
  (package
    (name "texlive-float")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/float/"
                                     "source/latex/float/"
                                     "tex/latex/float/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rfyvk1n83zsmrrp0x643052nrjb00cj935d2cpm37x4pz649f5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/float")
    (synopsis "Improved interface for floating objects")
    (description
     "The @code{float} package improves the interface for defining floating
objects such as figures and tables.  It introduces the boxed float, the ruled
float and the plaintop float.  You can define your own floats and improve the
behaviour of the old ones.  The package also provides the @samp{H} float
modifier option of the obsolete @code{here} package.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-float texlive-float)

(define-public texlive-footmisc
  (package
    (name "texlive-footmisc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footmisc/" "source/latex/footmisc/"
                                     "tex/latex/footmisc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qbp5ca4asqblz41maj6i2pi9qjym7rpkv7cchbz9fxkgyamhiy4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footmisc")
    (synopsis "Range of footnote options")
    (description
     "This is a collection of ways to change the typesetting of footnotes.
The package provides means of changing the layout of the footnotes themselves,
a way to number footnotes per page, to make footnotes disappear in a
\"moving\" argument, and to deal with multiple references to footnotes from
the same place.  The package also has a range of techniques for labelling
footnotes with symbols rather than numbers.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-footmisc texlive-footmisc)

(define-public texlive-footnotehyper
  (package
    (name "texlive-footnotehyper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footnotehyper/"
                                     "source/latex/footnotehyper/"
                                     "tex/latex/footnotehyper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f8d13zr07bl295rvpagj99s9fn4dgrcjzv1xpjmla3h6xhrv914"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footnotehyper")
    (synopsis "hyperref aware @file{footnote.sty}")
    (description
     "The @code{footnote} package by Mark Wooding dates back to 1997 and has
not been made @code{hyperref} compatible.  The aim of the present package is
to do that.")
    (license license:lppl1.3c)))

(define-public texlive-letltxmacro
  (package
    (name "texlive-letltxmacro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/letltxmacro/"
                                     "source/latex/letltxmacro/"
                                     "tex/latex/letltxmacro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16bmwsng9p80jf78sdmib24apwnw3raw306cs1ms50z5s9dsfdby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/letltxmacro")
    (synopsis "Let assignment for LaTeX macros")
    (description
     "TeX's @code{\\let} assignment does not work for LaTeX macros with
optional arguments or for macros that are defined as robust macros by
@code{\\DeclareRobustCommand}.  This package defines @code{\\LetLtxMacro} that
also takes care of the involved internal macros.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-letltxmacro texlive-letltxmacro)

(define-public texlive-frankenstein
  (package
    (name "texlive-frankenstein")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/frankenstein/"
                                     "bibtex/bst/frankenstein/"
                                     "doc/latex/frankenstein/"
                                     "source/latex/frankenstein/"
                                     "tex/latex/frankenstein/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x494vl4acl0bhfshs96ap8j47xk4m4njfincfhg2b0mi7l5mj1i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:modules '((guix build texlive-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'set-TEXINPUTS
            ;; The ".ins" files strip comments from ".sty", turning them into
            ;; faster ".stq" (and ".bsq") files.  Unfortunately, the ".ins"
            ;; and the ".sty" files are not located in the same
            ;; directory. This phase extends TEXINPUTS so everyone can see
            ;; each other, including the docstrip utility.
            (lambda* (#:key inputs #:allow-other-keys)
              (setenv "TEXINPUTS"
                      (let ((cwd (getcwd)))
                        (string-append
                         cwd "/tex/latex/frankenstein//:"
                         cwd "/source/latex/frankenstein//:"
                         (string-join
                          (map (match-lambda ((_ . dir) dir)) inputs)
                          "//:"))))))
          (add-before 'install 'install-faster-files
            (lambda _
              ;; Replace ".sty" and ".bst" files with their faster
              ;; counterpart.
              (copy-file "build/achicago.bsq"
                         "bibtex/bst/frankenstein/achicago.bst")
              ;; "build/tex/.../xxx.stq" -> "tex/.../xxx.sty"
              (for-each (lambda (file)
                          (copy-file file
                                     (string-append "tex/latex/frankenstein/"
                                                    (basename file ".stq")
                                                    ".sty")))
                        (find-files "build/tex" "\\.stq$")))))))
    (home-page "https://ctan.org/pkg/frankenstein")
    (synopsis "Collection of LaTeX packages")
    (description
     "Frankenstein is a bundle of LaTeX packages serving various purposes
and a BibTeX bibliography style.  The individual packages are: @code{abbrevs},
@code{achicago}, @code{achicago} bibstyle, @code{attrib}, @code{blkcntrl},
@code{compsci}, @code{dialogue}, @code{lips}, @code{moredefs},
@code{newclude}, @code{slemph} and @code{titles}.")
    ;; README mentions an unspecified version of GNU GPL and points to
    ;; COPYING, which is missing. However, the individual files mention LPPL
    ;; 1.2 or later.
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-frankenstein texlive-frankenstein)

(define-public texlive-kantlipsum
  (package
    (name "texlive-kantlipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kantlipsum/"
                                     "source/latex/kantlipsum/"
                                     "tex/latex/kantlipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18rnf9k0h1mysxr7g014i58h80pra5jrcsrr1r633mimsas8fzm1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kantlipsum")
    (synopsis "Generate sentences in Kant's style")
    (description
     "The package spits out sentences in Kantian style; the text is provided
by the Kant generator for Python by Mark Pilgrim, described in the book ``Dive
into Python''.  The package is modelled on @code{lipsum}, and may be used for
similar purposes.")
    (license license:lppl1.3c)))

(define-public texlive-kurdishlipsum
  (package
    (name "texlive-kurdishlipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/kurdishlipsum/"
                                     "tex/xelatex/kurdishlipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lpdjqbif0pqsb6pmg8jc8igdf06dzwn3yfxh19mnjfzslcxkcmk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kurdishlipsum")
    (synopsis "Lipsum package for the Kurdish language")
    (description
     "This package provides lipsum-like facilities for the Kurdish language.
The package gives you easy access to the Kurdish poetry and balladry texts of
the Diwany Vafaiy, Ahmedy Xani, Naly, Mahwy,....  The package needs to be run
under XeLaTeX.")
    (license license:lppl)))

(define-public texlive-kurier
  (package
    (name "texlive-kurier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/kurier/"
                                     "fonts/afm/nowacki/kurier/"
                                     "fonts/enc/dvips/kurier/"
                                     "fonts/map/dvips/kurier/"
                                     "fonts/opentype/nowacki/kurier/"
                                     "fonts/tfm/nowacki/kurier/"
                                     "fonts/type1/nowacki/kurier/"
                                     "tex/latex/kurier/"
                                     "tex/plain/kurier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j89iv0yyy33dyyka0w0v5jykl41sdn7plxrrxa91qmxzqvi2y67"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kurier")
    (synopsis "Two-element sans-serif typeface")
    (description
     "Kurier is a two-element sans-serif typeface.  It was designed for
a diploma in typeface design at the Warsaw Academy of Fine Arts under the
supervision of Roman Tomaszewski.  This distribution contains a significantly
extended set of characters covering the following modern alphabets:
latin (including Vietnamese), Cyrillic and Greek as well as a number of
additional symbols (including mathematical symbols).  The fonts are prepared
in Type 1 and OpenType formats.  For use with TeX the following encoding files
have been prepared: T1 (ec), T2 (abc), and OT2--Cyrillic, T5 (Vietnamese),
OT4, QX, texansi and--nonstandard (IL2 for the Czech fonts), as well as
supporting macros and files defining fonts for LaTeX.")
    (license license:gfl1.0)))

(define-public texlive-lipsum
  (package
    (name "texlive-lipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lipsum/" "source/latex/lipsum/"
                                     "tex/latex/lipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07kcma66p3s68baygzvgcmb7jvwaan7jj6s3hxmx42npcfsp57s3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lipsum")
    (synopsis "Easy access to the Lorem Ipsum dummy text")
    (description
     "This package gives you easy access to the Lorem Ipsum dummy text; an
option is available to separate the paragraphs of the dummy text into
TeX-paragraphs.  All the paragraphs are taken with permission from
@url{http://lipsum.com/}.")
    (license license:lppl1.3+)))

(define-public texlive-listings
  (package
    (name "texlive-listings")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listings/" "source/latex/listings/"
                                     "tex/latex/listings/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0grk73jmglrwkyskmnmkx9n0rpf12bvbvdmr4xjq33m5h11m758g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; Do not build intermediate "lstdrvrs.ins".
    (arguments (list #:build-targets '(list "listings.ins")))
    (home-page "https://ctan.org/pkg/listings")
    (synopsis "Typeset source code listings using LaTeX")
    (description
     "The package enables the user to typeset programs (programming code)
within LaTeX; the source code is read directly by TeX---no front-end processor
is needed.  Keywords, comments and strings can be typeset using different
styles.  Support for @code{hyperref} is provided.")
    (license license:lppl1.3+)))

(define-public texlive-listingsutf8
  (package
    (name "texlive-listingsutf8")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listingsutf8/"
                                     "source/latex/listingsutf8/"
                                     "tex/latex/listingsutf8/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "152gzkzm7sl3bvggmmfcj1pw74vc40s2kpkbp01fd9i0d0v60wma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/listingsutf8")
    (synopsis "Allow UTF-8 in listings input")
    (description
     "Package @code{listings} does not support files with multi-byte encodings
such as UTF-8.  In the case of @code{\\lstinputlisting}, a simple workaround
is possible if a one-byte encoding exists that the file can be converted to.
The package requires the e-TeX extensions under pdfTeX (in either PDF or DVI
output mode).")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-listings texlive-listings)

(define-public texlive-jknapltx
  (package
    (name "texlive-jknapltx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jknapltx/"
                                     "tex/latex/jknapltx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0as43yqq123cacxhvp4sbdp4ka3cyp2spmxwayqny0fh5rsk6qaq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jknapltx")
    (synopsis "Miscellaneous packages by Joerg Knappen")
    (description
     "This package provides miscellaneous macros by Joerg Knappen,
including: represent counters in greek; Maxwell's non-commutative division;
@code{latin1jk}, @code{latin2jk} and @code{latin3jk}, which are
@code{inputenc} definition files that allow verbatim input in the respective
ISO Latin codes; blackboard bold fonts in maths; use of RSFS fonts in maths;
extra alignments for @code{\\parboxes}; swap Roman and Sans fonts;
transliterate semitic languages; patches to make (La)TeX formulae embeddable
in SGML; use maths minus in text as appropriate; simple Young tableaux.")
    (license license:gpl3+)))

(define-deprecated-package texlive-latex-jknapltx texlive-jknapltx)
(define-deprecated-package texlive-jknappen texlive-jknapltx)

(define-public texlive-jmn
  (package
    (name "texlive-jmn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/afm/jmn/hans/" "fonts/enc/dvips/jmn/"
                                     "fonts/map/dvips/jmn/" "fonts/tfm/jmn/hans/"
                                     "fonts/type1/jmn/hans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iq5ky3llx50smw80lpylv11jmqc51m5yrhlslz3sakmgdqgg1yi"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jmn")
    (synopsis "Special fonts for ConTeXt")
    (description "This ConTeXt module provides special fonts.")
    (license license:bsd-2)))           ;as the whole ConTeXt project

(define-public texlive-kvoptions
  (package
    (name "texlive-kvoptions")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kvoptions/"
                                     "source/latex/kvoptions/"
                                     "tex/latex/kvoptions/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14f19c53s5m067vp25h7yk1f209h1xm352zkhzv6qk5xc0ckkbxm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/kvoptions")
    (synopsis "Key/value format for package options")
    (description
     "This package provides facilities for using key-value format in
package options.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-kvoptions texlive-kvoptions)

(define-public texlive-ekdosis
  (package
    (name "texlive-ekdosis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/ekdosis/"
                                     "source/lualatex/ekdosis/"
                                     "tex/lualatex/ekdosis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bzydy6gcmikqsdiaji30a2ycifzaafbg0ccv5lq5an7rv2hajmj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ekdosis")
    (synopsis "Typesetting TEI-xml compliant Critical Editions")
    (description
     "@code{ekdosis} is a LuaLaTeX package designed for multilingual critical
editions.  It can be used to typeset texts and different layers of critical
notes in any direction accepted by LuaTeX. Texts can be arranged in running
paragraphs or on facing pages, in any number of columns which in turn can be
synchronized or not.  In addition to printed texts, @code{ekdosis} can convert
@file{.tex} source files so as to produce TEI XML-compliant critical editions.
Database-driven encoding under LaTeX then allows extraction of texts entered
segment by segment according to various criteria: main edited text, variant
readings, translations or annotated borrowings between texts.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-emoji
  (package
    (name "texlive-emoji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emoji/" "tex/latex/emoji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17i2kjb1rlgj2ipg6bkni1n8l1yhhnm1m96ynj1nv8gkmgkfklal"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emoji")
    (synopsis "Emoji support in (Lua)LaTeX")
    (description
     "This package allows users to typeset emojis in LaTeX documents.  It
requires the LuaHBTeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-emojicite
  (package
    (name "texlive-emojicite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/emojicite/"
                                     "tex/lualatex/emojicite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wfr4alglwhsp728fp91qxdmc9413c6k9j7hgg0qk3j4w464srbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emojicite")
    (synopsis "Add emojis to citations")
    (description "This package adds emojis to citations.")
    (license license:lppl1.3c)))

(define-public texlive-enigma
  (package
    (name "texlive-enigma")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/enigma/enigma/"
                                     "scripts/context/lua/third/enigma/mtx-t-enigma.lua/"
                                     "tex/context/third/enigma/t-enigma.mkv/"
                                     "tex/generic/enigma/"
                                     "tex/latex/enigma/"
                                     "tex/plain/enigma/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rnp2c903bfgq0gqshaccd1zxcb0zpbk2sh7w3lwynpp0zx8d435"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/enigma")
    (synopsis "Encrypt documents with a three rotor Enigma")
    (description
     "The package provides historical encryption (Enigma cipher) for
LuaTeX-based formats.")
    (license license:bsd-2)))

(define-public texlive-ae
  (package
    (name "texlive-ae")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/ae/" "fonts/tfm/public/ae/"
                                     "fonts/vf/public/ae/" "source/fonts/ae/"
                                     "tex/latex/ae/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xkzg381y0avdq381r2m990wp27czkdff0qkvsp2n5q62yc0bdsw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ae")
    (synopsis "Virtual fonts for T1 encoded CMR-fonts")
    (description
     "This package provides a set of virtual fonts which emulates T1 coded
fonts using the standard CM fonts.  The package name, AE fonts, supposedly
stands for \"Almost European\".  The main use of the package was to produce
PDF files using Adobe Type 1 versions of the CM fonts instead of bitmapped EC
fonts.  Note that direct substitutes for the bitmapped EC fonts are available,
via the CM-super, Latin Modern and (in a restricted way) CM-LGC font sets.")
    (license license:lppl1.3+)))

(define-public texlive-aeguill
  (package
    (name "texlive-aeguill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aeguill/" "tex/latex/aeguill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dbl2dky8gbax9blj0nvk23y2pwkmyikxnbbn27zivpamwc0j8nc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aeguill")
    (synopsis "Add several kinds of guillemets to the @code{ae} fonts")
    (description
     "The package enables the user to add guillemets from several
source (Polish cmr, Cyrillic cmr, lasy and ec) to the @code{ae} fonts.  This
was useful when the @code{ae} fonts were used to produce PDF files, since the
additional guillemets exist in fonts available in Adobe Type 1 format.")
    (license license:lppl)))

(define-public texlive-incgraph
  (package
    (name "texlive-incgraph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/incgraph/" "tex/latex/incgraph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18ygl211wpnx433xy4v3jyl7wn9vn0dw23m709xs01kq7pwmsz3i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/incgraph")
    (synopsis "Sophisticated graphics inclusion in a PDF document")
    (description
     "The package provides tools for including graphics at the full size of
the output medium, or for creating pages whose size is that of the graphic
they contain.  A principal use case is documents that require inclusion
of (potentially many) scans or photographs.  Bookmarking is especially
supported.  The tool box has basic macros and a convenience user interface
that wraps @code{\\includegraphics}.")
    (license license:lppl1.3+)))

(define-public texlive-inconsolata
  (package
    (name "texlive-inconsolata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/inconsolata/"
                                     "fonts/enc/dvips/inconsolata/"
                                     "fonts/map/dvips/inconsolata/"
                                     "fonts/opentype/public/inconsolata/"
                                     "fonts/tfm/public/inconsolata/"
                                     "fonts/type1/public/inconsolata/"
                                     "tex/latex/inconsolata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19lvma52vk7x8d7j4s9ymjwm3w2k08860fh6dkzn76scgpdm4wlb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inconsolata")
    (synopsis "Monospaced font with support files for use with TeX")
    (description
     "Inconsolata is a monospaced font designed by Raph Levien.  This package
contains the font (in both Adobe Type 1 and OpenType formats) in regular and
bold weights, with additional glyphs and options to control slashed zero,
upright quotes and a shapelier lower-case L, plus metric files for use with
TeX, and LaTeX font definition and other relevant files.")
    (license (list license:lppl1.3+
                   license:silofl1.1
                   license:asl2.0))))

(define-public texlive-innerscript
  (package
    (name "texlive-innerscript")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/innerscript/"
                                     "source/lualatex/innerscript/"
                                     "tex/lualatex/innerscript/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13kw7xkc3bpa494mzfphl2v3yn6y08013qnrp3h9awq4blgi2y8b"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "lualatex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-booktabs
                  texlive-etoolbox
                  texlive-hypdoc
                  texlive-infwarerr
                  texlive-kvoptions
                  texlive-microtype
                  texlive-pdftexcmds))))
    (home-page "https://ctan.org/pkg/innerscript")
    (synopsis "Modifies automatic mathematics spacing")
    (description
     "This package modifies two aspects of TeX's automatic interatom
mathematics spacing.  It uses LuaTeX's @code{\\Umath} primitives to make
superscripts and subscripts more closely resemble @code{\\textstyle} and
@code{\\displaystyle} math and to treat @code{\\mathinner} subformulas as
@code{\\mathord}, effectively eliminating this class.")
    (license license:lppl1.3c)))

(define-public texlive-interpreter
  (package
    (name "texlive-interpreter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/interpreter/"
                                     "tex/luatex/interpreter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03h6bjhvbl3bfkiyssplivqmn2986asv8b1jvr1ahsh7p04bkk4j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/interpreter")
    (synopsis "Translate input files on the fly")
    (description
     "The package preprocesses input files to a Lua(La)TeX run, on the fly.
The user defines Lua regular expressions to search for patterns and modify
input lines (or entire paragraphs) accordingly, before TeX reads the material.
In this way, documents may be prepared in a non-TeX language (e.g., some
lightweight markup language) and turned into proper TeX for processing.")
    (license license:lppl)))

(define-public texlive-times
  (package
    (name "texlive-times")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/times/"
                                     "fonts/afm/adobe/times/"
                                     "fonts/afm/urw/times/"
                                     "fonts/map/dvips/times/"
                                     "fonts/tfm/adobe/times/"
                                     "fonts/tfm/urw35vf/times/"
                                     "fonts/type1/urw/times/"
                                     "fonts/vf/adobe/times/"
                                     "fonts/vf/urw35vf/times/"
                                     "tex/latex/times/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13g41a7vbkvsf7ki9dgl7qm100w382mnlqkcngwgl3axp6s5s8l0"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Times font")
    (description
     "This package provides a drop-in replacement for the Times font from
Adobe's basic set.")
    ;; No license version specified.
    (license license:gpl3+)))

(define-deprecated-package texlive-fonts-adobe-times texlive-times)

(define-public texlive-palatino
  (package
    (name "texlive-palatino")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/palatino/"
                                     "fonts/afm/adobe/palatino/"
                                     "fonts/afm/urw/palatino/"
                                     "fonts/map/dvips/palatino/"
                                     "fonts/tfm/adobe/palatino/"
                                     "fonts/tfm/urw35vf/palatino/"
                                     "fonts/type1/urw/palatino/"
                                     "fonts/vf/adobe/palatino/"
                                     "fonts/vf/urw35vf/palatino/"
                                     "tex/latex/palatino/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jc0av7v99857jigmva47qaxyllhpzsnqis10n0qya2kz44xf22"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Palatino font")
    (description
     "This package provides a drop-in replacement for the Palatino font from
Adobe's basic set.")
    ;; No license version specified.
    (license license:gpl3+)))

(define-deprecated-package texlive-fonts-adobe-palatino texlive-palatino)

(define-public texlive-poltawski
  (package
    (name "texlive-poltawski")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/poltawski/"
                                     "fonts/afm/gust/poltawski/"
                                     "fonts/enc/dvips/poltawski/"
                                     "fonts/map/dvips/poltawski/"
                                     "fonts/opentype/gust/poltawski/"
                                     "fonts/tfm/gust/poltawski/"
                                     "fonts/type1/gust/poltawski/"
                                     "tex/latex/poltawski/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cf8vxah8j6nnaq2lhmiy1q3dnq6swprfmizzxd6y67sc60rznzm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poltawski")
    (synopsis "Antykwa Poltawskiego Family of Fonts")
    (description
     "The package contains the Antykwa Poltawskiego family of fonts in the
PostScript Type 1 and OpenType formats Following the route set out by the
Latin Modern and TeX Gyre projects, the Antykwa Poltawskiego digitisation
project aims at providing a rich collection of diacritical characters in the
attempt to cover as many Latin-based scripts as possible.  To our knowledge,
the repertoire of characters covers all European languages as well as some
other Latin-based alphabets such as Vietnamese and Navajo; at the request of
users, recent extensions (following the enhancement of the Latin Modern
collection) provide glyphs sufficient for typesetting of romanized
transliterations of Arabic and Sanskrit scripts.  The Antykwa Poltawskiego
family consists of 4 weights (light, normal, medium, bold), each having
upright and italic forms and one of 5 design sizes: 6, 8, 10, 12 and 17pt.")
    (license license:gfl1.0)))

(define-public texlive-zapfchan
  (package
    (name "texlive-zapfchan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/zapfchan/"
                                     "fonts/afm/adobe/zapfchan/"
                                     "fonts/afm/urw/zapfchan/"
                                     "fonts/map/dvips/zapfchan/"
                                     "fonts/tfm/adobe/zapfchan/"
                                     "fonts/tfm/urw35vf/zapfchan/"
                                     "fonts/type1/urw/zapfchan/"
                                     "fonts/vf/adobe/zapfchan/"
                                     "fonts/vf/urw35vf/zapfchan/"
                                     "tex/latex/zapfchan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1753lvv2bq29g43s4chc884n742695agvgal0b99gsrvlkyfp8gn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Zapf Chancery font")
    (description
     "This package provides a drop-in replacement for the Zapf Chancery
font from Adobe's basic set.")
    (license license:gpl3+)))

(define-public texlive-zapfding
  (package
    (name "texlive-zapfding")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/zapfding/"
                                     "fonts/afm/adobe/zapfding/"
                                     "fonts/afm/urw/zapfding/"
                                     "fonts/map/dvips/zapfding/"
                                     "fonts/tfm/adobe/zapfding/"
                                     "fonts/tfm/urw35vf/zapfding/"
                                     "fonts/type1/urw/zapfding/"
                                     "tex/latex/zapfding/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17mls8wilz9api9ivsbcczpiqp1f39qy8wa6ajssi8zhnc5lq7zn"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Zapfding font")
    (description
     "This package provides a drop-in replacement for the Zapfding font from
Adobe's basic set.")
    ;; No license version specified.
    (license license:gpl3+)))

(define-public texlive-zbmath-review-template
  (package
    (name "texlive-zbmath-review-template")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/zbmath-review-template/"
                                     "tex/xelatex/zbmath-review-template/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m5q03vjscla4wmy9fr3kl23pk8zmqw760i89zg62pj4np8vyplj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zbmath-review-template")
    (synopsis "Template for a zbMATH Open review")
    (description
     "This package contains a template for zbMATH Open reviews.  It will show
what your review will look like on zbMATH Open and you can test whether your
LaTeX-Code will compile on our system.")
    (license (list license:gpl3 license:cc-by-sa4.0))))

(define-public texlive-zhmetrics
  (package
    (name "texlive-zhmetrics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/zhmetrics/"
                                     "fonts/tfm/zhmetrics/cyberb/"
                                     "fonts/tfm/zhmetrics/gbk/"
                                     "fonts/tfm/zhmetrics/gbkfs/"
                                     "fonts/tfm/zhmetrics/gbkhei/"
                                     "fonts/tfm/zhmetrics/gbkkai/"
                                     "fonts/tfm/zhmetrics/gbkli/"
                                     "fonts/tfm/zhmetrics/gbksong/"
                                     "fonts/tfm/zhmetrics/gbkyou/"
                                     "fonts/tfm/zhmetrics/unifs/"
                                     "fonts/tfm/zhmetrics/unihei/"
                                     "fonts/tfm/zhmetrics/unikai/"
                                     "fonts/tfm/zhmetrics/unili/"
                                     "fonts/tfm/zhmetrics/unisong/"
                                     "fonts/tfm/zhmetrics/uniyou/"
                                     "source/fonts/zhmetrics/"
                                     "tex/generic/zhmetrics/"
                                     "tex/latex/zhmetrics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0953rxs3k3vil9aq9v8hacwbnchz73ql8xp0dp0ynpw6v8iabxyg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zhmetrics")
    (synopsis "TFM subfont files for using Chinese fonts in 8-bit TeX")
    (description
     "These are metrics to use existing Chinese TrueType fonts in workflows
that use LaTeX and @command{dvipdfmx}, or pdfLaTeX.  The fonts themselves are
not included in the package.  Six font families are supported: Kai, Song,
Lishu, Fangsong, Youyuan and Hei.  Two encodings (GBK and UTF-8) are
supported.")
    (license license:lppl)))

(define-public texlive-zhmetrics-uptex
  (package
    (name "texlive-zhmetrics-uptex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/zhmetrics-uptex/"
                                     "fonts/tfm/public/zhmetrics-uptex/"
                                     "fonts/vf/public/zhmetrics-uptex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1598l2k32g8nvxqzbgc6mzsib4v0pmsn9h221r4m1d95vm3n0pvd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zhmetrics-uptex")
    (synopsis "Chinese font metrics for upTeX")
    (description
     "The package contains some Chinese font metrics (JFM, VF, etc) for upTeX
engine, together with a simple DVIPDFMx font mapping of Fandol fonts for
DVIPDFMx.")
    (license license:lppl1.3+)))

(define-public texlive-zhnumber
  (package
    (name "texlive-zhnumber")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zhnumber/"
                                     "source/latex/zhnumber/"
                                     "tex/latex/zhnumber/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "170lwb97ji9zgmmayzxmpawjkzk50g7rwqmwr11w72zfqkc2v9g2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; FIXME: I couldn't find how to build this package from source.
    (arguments
     (list #:phases #~(modify-phases %standard-phases (delete 'build))))
    (home-page "https://ctan.org/pkg/zhnumber")
    (synopsis "Typeset Chinese representations of numbers")
    (description
     "The package provides commands to typeset Chinese representations of
numbers.  The main difference between this package and CJKnumb is that the
commands provided are expandable in the proper way.")
    (license license:lppl1.3c)))

(define-public texlive-zhspacing
  (package
    (name "texlive-zhspacing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/zhspacing/"
                                     "tex/context/third/zhspacing/"
                                     "tex/generic/zhspacing/"
                                     "tex/xelatex/zhspacing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02hwa7yjwb6wxkkib83mjdbara5zcsixbp5xlawri8n9ah54vxjm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zhspacing")
    (synopsis "Spacing for mixed CJK-English documents in XeTeX")
    (description
     "The package manages spacing in a CJK document; between consecutive Chinese
letters, spaces are ignored, but a consistent space is inserted between Chinese
text and English (or mathematics).  The package may be used by any document
format under XeTeX.")
    (license license:lppl1.3+)))

(define-public texlive-zref
  (package
    (name "texlive-zref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zref/" "source/latex/zref/"
                                     "tex/latex/zref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1icii7zv0k6yxw658b0m09xnkg937i0xibcxh277zx59isc00dff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://github.com/ho-tex/zref")
    (synopsis "Reference scheme for LaTeX")
    (description "This package offers a means to remove the limitation, of
only two properties, that is inherent in the way LaTeX's reference system
works.  The package implements an extensible referencing system, where
properties may be defined and used in the course of a document.  It provides
an interface for macro programmers to access the new reference scheme and some
modules that use it.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-fonts-adobe-zapfding texlive-zapfding)

(define-public texlive-rsfs
  (package
    (name "texlive-rsfs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/rsfs/"
                                     "fonts/afm/public/rsfs/"
                                     "fonts/map/dvips/rsfs/"
                                     "fonts/source/public/rsfs/"
                                     "fonts/tfm/public/rsfs/"
                                     "fonts/type1/public/rsfs/"
                                     "tex/plain/rsfs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sa32wnsj84wbwqji1fb4k9ik99dy5ji7zz4v0xbd7306agyhns5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/rsfs")
    (synopsis "Ralph Smith's Formal Script font")
    (description
     "The fonts provide uppercase formal script letters for use as symbols in
scientific and mathematical typesetting (in contrast to the informal script
fonts such as that used for the calligraphic symbols in the TeX maths symbol
font).  The fonts are provided as Metafont source, and as derived Adobe Type
1 format.  LaTeX support, for using these fonts in mathematics, is available
via one of the packages @code{calrsfs} and @code{mathrsfs}.")
    (license (license:fsf-free "http://mirrors.ctan.org/fonts/rsfs/README"))))

(define-deprecated-package texlive-fonts-rsfs texlive-rsfs)

(define-public texlive-es-tex-faq
  (package
    (name "texlive-es-tex-faq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/es-tex-faq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wp5jx1qs4yp3y4qpwqhpw7rnilw3vb2z5xb4lzwph6zw27jf6sd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/faq-es")
    (synopsis "CervanTeX (Spanish TeX Group) FAQ")
    (description
     "This package provides the SGML source, converted LaTeX version, and
readable copies of the FAQ from the Spanish TeX users group.")
    (license license:lppl)))

(define-public texlive-eskd
  (package
    (name "texlive-eskd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eskd/" "source/latex/eskd/"
                                     "tex/latex/eskd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q83pvycckrmyaiwwg3mcl77jy5wrcy8jy7kz004x7asq2p0a2ls"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eskd")
    (synopsis "Modern Russian typesetting")
    (description
     "The class offers modern Russian text formatting, in accordance with
accepted design standards.  Fonts not (apparently) available on CTAN are
required for use of the class.")
    (license license:lppl)))

(define-public texlive-eskdx
  (package
    (name "texlive-eskdx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eskdx/" "tex/latex/eskdx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07c9gbvgr4455s5sfsdjxbbdllx2lhmb5d1c2sdk7rpkvjh64lv8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eskdx")
    (synopsis "Modern Russian typesetting")
    (description
     "Eskdx is a collection of LaTeX classes and packages to typeset textual
and graphical documents in accordance with Russian (and probably post USSR)
standards for designers.")
    (license license:lppl1.3+)))

(define-public texlive-eso-pic
  (package
    (name "texlive-eso-pic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eso-pic/" "source/latex/eso-pic/"
                                     "tex/latex/eso-pic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cz1al3xddbhpdq322i5pp11fmwi8jmyvi337753cnc4pz03s1qa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eso-pic")
    (synopsis "Add picture commands (or backgrounds) to every page")
    (description
     "The package adds one or more user commands to LaTeX's @code{shipout}
routine, which may be used to place the output at fixed positions.  The
@code{grid} option may be used to find the correct places.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-eso-pic texlive-eso-pic)

(define-public texlive-eepic
  (package
    (name "texlive-eepic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eepic/"
                                     "tex/latex/eepic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16v8j3f8bgww9adddpfzpwd5q9kvak7xnp5kkvkrvhw8vshdspaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/eepic")
    (synopsis "Extensions to @code{epic} and the LaTeX drawing tools")
    (description
     "This package provides extensions to @code{epic} and the LaTeX picture
drawing environment.  It includes the drawing of lines at any slope, the
drawing of circles in any radii, and the drawing of dotted and dashed lines
much faster with much less TeX memory, and providing several new commands for
drawing ellipses, arcs, splines, and filled circles and ellipses.")
    (license license:public-domain)))

(define-deprecated-package texlive-latex-eepic texlive-eepic)

(define-public texlive-enotez
  (package
    (name "texlive-enotez")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/enotez/" "tex/latex/enotez/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0498zr9niylpj9q5ndnj52lb06cj0b424yyq587vqhckxq4l24ik"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/enotez")
    (synopsis "Support for end-notes")
    (description
     "This package allows nested endnotes, supports @code{hyperref} and
provides means for easy customization of the list of notes.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-enotez texlive-enotez)

(define-public texlive-endnotes
  (package
    (name "texlive-endnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endnotes/" "tex/latex/endnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s7j5sg8fbhifng0gfqnghbvalbbh0p7j9v06r660w089364ypwz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endnotes")
    (synopsis "Place footnotes at the end")
    (description
     "The @code{endnotes} package can be used to accumulate notes (using the
@code{\\endnote} command, which can be used as a replacement for
@code{\\footnote}), and place them at the end of the section, chapter or
document.")
    (license license:lppl1.2+)))

(define-public texlive-endnotesj
  (package
    (name "texlive-endnotesj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endnotesj/"
                                     "tex/latex/endnotesj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yv8jzvps79svd4013f6cpm41mh3mx2m64jx7bv01ryqdgjzq2g9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endnotesj")
    (synopsis "Japanese-style endnotes")
    (description
     "This package provides customized styles for endnotes to be used with
Japanese documents.  It can be used on pLaTeX, upLaTeX, and LuaLaTeX
(LuaTeX-ja).")
    (license license:bsd-3)))

(define-public texlive-enumitem
  (package
    (name "texlive-enumitem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/enumitem/" "tex/latex/enumitem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qwbyjb4a82qjxrfmz06v3w5vly75id4ix4sw7lz2az68kz080dv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/enumitem")
    (synopsis "Control layout of itemize, enumerate, description")
    (description
     "This package provides user control over the layout of the three basic
list environments: enumerate, itemize and description.  It supersedes both
@code{enumerate} and @code{mdwlist} (providing well-structured replacements
for all their functionality), and in addition provides functions to compute
the layout of labels, and to clone the standard environments, to create new
environments with counters of their own.")
    (license license:expat)))

(define-deprecated-package texlive-latex-enumitem texlive-enumitem)

(define-public texlive-multido
  (package
    (name "texlive-multido")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/multido/"
                                     "source/generic/multido/"
                                     "tex/generic/multido/" "tex/latex/multido/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vwf2naw5bgs93s2gcmf226f60ws9z6cmw6gi1562fs8vg4mnjsh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multido")
    (synopsis "Loop facility for Generic TeX")
    (description
     "The package provides the @code{\\multido} command, which was originally
designed for use with PSTricks.  Fixed-point arithmetic is used when working
on the loop variable, so that the package is equally applicable in graphics
applications like PSTricks as it is with the more common integer loops.")
    (license license:lppl)))

(define-public texlive-multirow
  (package
    (name "texlive-multirow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multirow/"
                                     "source/latex/multirow/"
                                     "tex/latex/multirow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18xnxqbkkzblngws1ydmkiwfrf9gvrriqrjpb6g6kmaxciwypqd6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multirow")
    (synopsis "Create tabular cells spanning multiple rows")
    (description
     "The package has a lot of flexibility, including an option for specifying
an entry at the natural width of its text.  The package is distributed with
the @code{bigdelim} and @code{bigstrut} packages, which can be used to
advantage with @code{\\multirow} cells.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-multirow texlive-multirow)

(define-public texlive-overpic
  (package
    (name "texlive-overpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/overpic/"
                                     "source/latex/overpic/"
                                     "tex/latex/overpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ax69iiiz58jc8gmz0ay2b84c7j6y45nksx2zdqy1wb91rxhcsyj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/overpic")
    (synopsis "Combine LaTeX commands over included graphics")
    (description
     "The @code{overpic} environment is a cross between the LaTeX
@code{picture} environment and the @code{\\includegraphics} command of
@code{graphicx}.  The resulting picture environment has the same dimensions as
the included graphic.  LaTeX commands can be placed on the graphic at defined
positions; a grid for orientation is available.")
    (license license:lppl1.0+)))

(define-deprecated-package texlive-latex-overpic texlive-overpic)

(define-public texlive-parskip
  (package
    (name "texlive-parskip")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parskip/"
                                     "source/latex/parskip/"
                                     "tex/latex/parskip/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18yygddxv3kblvf4jhzqa8h1js0n8g1bw723r6ss2hlz4lj64kf0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/parskip")
    (synopsis "Layout with zero @code{\\parindent}, non-zero @code{\\parskip}")
    (description
     "Simply changing @code{\\parskip} and @code{\\parindent} leaves a layout
that is untidy; this package (though it is no substitute for a properly
designed class) helps alleviate this untidiness.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-parskip texlive-parskip)

(define-public texlive-pbox
  (package
    (name "texlive-pbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pbox/"
                                     "source/latex/pbox/"
                                     "tex/latex/pbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "104x4y22msgxhnlz2x331zq7rw28v129s5ym1jqhsk685izb3hcl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pbox")
    (synopsis "@code{\\parbox} with a variable width")
    (description
     "@code{pbox} defines a @code{\\pbox} command which adjusts the box width
to that of the enclosed text, up to the maximum width given.  The package also
defines some associated length commands.")
    (license license:gpl3+)))

(define-deprecated-package texlive-latex-pbox texlive-pbox)

(define-public texlive-pdfpages
  (package
    (name "texlive-pdfpages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfpages/" "source/latex/pdfpages/"
                                     "tex/latex/pdfpages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gsivj0m05i2vsl2j46zgh968j5jds1g3937dcll0zp05dw4s15x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-eso-pic texlive-graphics texlive-oberdiek texlive-tools))
    (home-page "https://ctan.org/pkg/pdfpages")
    (synopsis "Include PDF documents in LaTeX")
    (description
     "This package simplifies the inclusion of external multi-page PDF
documents in LaTeX documents.  Pages may be freely selected and it is possible
to put several logical pages onto each sheet of paper.  Furthermore a lot of
hypertext features like hyperlinks and article threads are provided.  The
package supports pdfTeX (pdfLaTeX) and VTeX.  With VTeX it is even possible to
use this package to insert PostScript files, in addition to PDF files.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-pdfpages texlive-pdfpages)

(define-public texlive-stix2-otf
  (package
    (name "texlive-stix2-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stix2-otf/"
                                     "fonts/opentype/public/stix2-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05xqlg61rkfky34x7mc92203z440kanr7bwpmw1djq2y36ql3p1l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stix2-otf")
    (synopsis "OpenType Unicode text and maths fonts")
    (description
     "The Scientific and Technical Information eXchange (STIX) fonts are
intended to satisfy the demanding needs of authors, publishers, printers, and
others working in the scientific, medical, and technical fields.  They combine
a comprehensive Unicode-based collection of mathematical symbols and alphabets
with a set of text faces suitable for professional publishing.")
    (license license:silofl1.1)))

(define-public texlive-sidecap
  (package
    (name "texlive-sidecap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sidecap/" "source/latex/sidecap/"
                                     "tex/latex/sidecap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h4ysw90dpvnj0x1j9krx40078kyzzs4ynpjz7y50v9hwrrrynjk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sidecap")
    (synopsis "Typeset captions sideways")
    (description
     "The @code{sidecap} package defines environments called @code{SCfigure}
and @code{SCtable} (analogous to @code{figure} and @code{table}) to typeset
captions sideways.  Options include @code{outercaption}, @code{innercaption},
@code{leftcaption} and @code{rightcaption}.")
    (license license:lppl1.0+)))

(define-deprecated-package texlive-latex-sidecap texlive-sidecap)

(define-public texlive-stmaryrd
  (package
    (name "texlive-stmaryrd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/stmaryrd/"
                                     "fonts/afm/public/stmaryrd/"
                                     "fonts/map/dvips/stmaryrd/"
                                     "fonts/source/public/stmaryrd/"
                                     "fonts/tfm/public/stmaryrd/"
                                     "fonts/type1/public/stmaryrd/"
                                     "source/fonts/stmaryrd/"
                                     "tex/latex/stmaryrd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ljrxbf2p301p4cmadf2w0qb5idvgmx4j6y3kq7qg2v8x4maqqj4"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch-ins
            (lambda _
              (substitute* "source/fonts/stmaryrd/stmaryrd.ins"
                (("^%% LaTeX2e.*") "\\input docstrip\n")
                (("fontdef\\}\\}" line)
                 (string-append line "\n\\endbatchfile"))))))))
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/stmaryrd")
    (synopsis "St Mary Road symbols for theoretical computer science")
    (description
     "The fonts were originally distributed as Metafont sources only, but
Adobe Type 1 versions are also now available.  Macro support is provided for
use under LaTeX; the package supports the @code{only} option (provided by the
@code{somedefs} package) to restrict what is loaded, for those who don't need
the whole font.")
    (license license:lppl)))

(define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)

(define-public texlive-subfig
  (package
    (name "texlive-subfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subfig/" "source/latex/subfig/"
                                     "tex/latex/subfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bq1328pb1ak91j7q8n1kh2fncr742lvff7apgf8kkxzxjfg2z9r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/subfig")
    (synopsis "Figures broken into subfigures")
    (description
     "The package provides support for the manipulation and reference of small
or sub figures and tables within a single figure or table environment.  It is
convenient to use this package when your subfigures are to be separately
captioned, referenced, or are to be included in the List-of-Figures.  A new
@code{\\subfigure} command is introduced which can be used inside a figure
environment for each subfigure.  An optional first argument is used as the
caption for that subfigure.")
    (license license:lppl)))

(define-public texlive-subfigure
  (package
    (name "texlive-subfigure")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subfigure/"
                                     "source/latex/subfigure/"
                                     "tex/latex/subfigure/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1327ygajf6gza5msvhfjjnk6r3sw7vb7rxg23v4gx4dmyxqfqrbi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/subfigure")
    (synopsis "Deprecated: Figures divided into subfigures")
    (description
     "This (deprecated) package provides support for the manipulation and
reference of small, or sub, figures and tables within a single figure or table
environment.  It is convenient to use this package when your subfigures are to
be separately captioned, referenced, or are to be included in the
List-of-Figures.  A new @code{\\subfigure} command is introduced which can be
used inside a figure environment for each subfigure.  An optional first
argument is used as the caption for that subfigure.  The package is now
considered obsolete: it was superseded by @code{subfig}, but users may find
the more recent @code{subcaption} package more satisfactory.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-subfigure texlive-subfigure)

(define-public texlive-tabulary
  (package
    (name "texlive-tabulary")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabulary/" "source/latex/tabulary/"
                                     "tex/latex/tabulary/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00afi9r5264rhfy5kg73fk763i7wm6bvzkmrlg7n17fwl6hx0sa1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabulary")
    (synopsis "Tabular with variable width columns balanced")
    (description
     "The package defines a @code{tabular*}-like environment, @code{tabulary},
taking a \"total width\" argument as well as the column specifications.  The
environment uses column types @code{L}, @code{C}, @code{R} and @code{J} for
variable width columns (@code{\\raggedright}, @code{\\centering},
@code{\\raggedleft}, and normally justified).  In contrast to
@code{tabularx}'s @code{X} columns, the width of each column is weighted
according to the natural width of the widest cell in the column.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-tabulary texlive-tabulary)

(define-public texlive-tamethebeast
  (package
    (name "texlive-tamethebeast")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/tamethebeast/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13shw7hcimckn7pp8pj0cr1zsi1wq6r400x1v6akpmwwjxkw09g5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tamethebeast")
    (synopsis "Manual about bibliographies and especially BibTeX")
    (description
     "This package is an as complete as possible manual about bibliographies
in LaTeX, and thus mainly about BibTeX.")
    (license license:lppl1.3+)))

(define-public texlive-tds
  (package
    (name "texlive-tds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tds/" "doc/info/tds.info"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04lhavbayyisxxqfm1vpfq38xx1xwkn136hdnjaa3szky2xyn3yh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tds")
    (synopsis "TeX Directory Structure standard")
    (description
     "This package defines a structure for placement of TeX-related files on
an hierarchical file system, in a way that is well-defined, and is readily
implementable.")
    (license license:fdl1.1+)))

(define-public texlive-tex-font-errors-cheatsheet
  (package
    (name "texlive-tex-font-errors-cheatsheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tex-font-errors-cheatsheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pfd5qphmizhxb2p4gg6809xcx1rlfkwqa6vs4f74457chcwljwn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-font-errors-cheatsheet")
    (synopsis "Cheat sheet outlining the most common TeX font errors")
    (description
     "This is a compact three-pages document highlighting the TeX flow of
integrating fonts, and explains how some of the most common font-related error
messages occur.  Also, hints are given on how to address those.")
    (license license:lppl)))

(define-public texlive-tex-nutshell
  (package
    (name "texlive-tex-nutshell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/tex-nutshell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01nmw2lj7dvylfypgyr7lsw1i2b4vlmhd56jyy1grv8hx1rfl0yh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-nutshell")
    (synopsis "Short document about TeX principles")
    (description
     "This document is meant for users who are looking for information about
the basics of TeX.  Its main goal is its brevity.  The pure TeX features are
described, no features provided by macro extensions.  Only the last section
gives a summary of plain TeX macros.")
    (license license:public-domain)))

(define-public texlive-tex-overview
  (package
    (name "texlive-tex-overview")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tex-overview/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1agfya9rwvyjvip0alvibimz75jivpf19hp4jvlv7z0n9m26m9jd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-overview")
    (synopsis "Overview of the development of TeX")
    (description
     "The document gives a short overview of TeX and its children, as well as
the macro packages LaTeX and ConTeXt.")
    (license license:lppl1.3+)))

(define-public texlive-tex-refs
  (package
    (name "texlive-tex-refs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-refs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w7hcd3qsdhmb2siakjg2hm3h6kxa90ncsaif9spr4xkxs03ib6l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-references")
    (synopsis "References for TeX and Friends")
    (description
     "This is an ongoing project with the aim of providing a help file for
LaTeX (and its friends like ConTeXt, MetaPost, Metafont, etc.) using
DocBook/XML source format.")
    (license license:fdl1.2+)))

(define-public texlive-tex-vpat
  (package
    (name "texlive-tex-vpat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tex-vpat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y7f87prympxg8av128npsa43cri71jjl9gxq1p04pjlpdjjm0fv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-vpat")
    (synopsis "TeX accessibility conformance report")
    (description
     "This package provides the TeX accessibility conformance report based on
ITI VPAT(R) guidelines.")
    (license license:cc-by3.0)))

(define-public texlive-texbytopic
  (package
    (name "texlive-texbytopic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/texbytopic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pnh1hsd6k434c8i1xdjq3ywrwylmryrsl86d6h7i1cnmzz4pwlx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texbytopic")
    (synopsis "@emph{TeX by Topic} book")
    (description
     "@emph{TeX by Topic} is a book originally published by Addison-Wesley.
It describes itself as ``a TeXnician's reference'', and covers the way
TeX (the engine) works in as much detail as most ordinary TeX programmers will
ever need to know.")
    (license license:fdl1.3+)))

(define-public texlive-texonly
  (package
    (name "texlive-texonly")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/plain/texonly/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h40f8hj03ha0ilpj2fx5kzzvdv0yplmr4528s2rmmy62l9kgdkd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texonly")
    (synopsis "Sample document in Plain TeX")
    (description
     "This package provides a file written with TeX, not using any packages,
to be compiled with TeX or pdfTeX only, not with LaTeX and al.")
    (license license:lppl1.3c)))

(define-public texlive-threeparttable
  (package
    (name "texlive-threeparttable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/threeparttable/"
                                     "tex/latex/threeparttable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05i50k1y736m52903nz4kf2xl23w6y7rrzyacs4kgd1w6kmjm6f7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/threeparttable")
    (synopsis "Tables with captions and notes all the same width")
    (description
     "This package facilitates tables with titles (captions) and notes.  The
title and notes are given a width equal to the body of the table (a
@code{tabular} environment).  By itself, a @code{threeparttable} does not
float, but you can put it in a @code{table} or a @code{table*} or some other
environment.")
    (license (license:fsf-free "file://threeparttable.sty"))))

(define-public texlive-thumbpdf
  (package
    (name "texlive-thumbpdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/thumbpdf/"
                                     "doc/man/man1/thumbpdf.1"
                                     "doc/man/man1/thumbpdf.man1.pdf"
                                     "scripts/thumbpdf/" "tex/generic/thumbpdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ya18440rpkav0z1zddzii9jh2swybicj87413l5iin2acrssw42"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "thumbpdf.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/thumbpdf")
    (synopsis "Thumbnails for pdfTeX and dvips/ps2pdf")
    (description
     "This package provides a Perl script that provides support for thumbnails
in pdfTeX and dvips/ps2pdf.  The script uses Ghostscript to generate the
thumbnails which get represented in a TeX readable file that is read by the
package @code{thumbpdf.sty} to automatically include the thumbnails.  This
arrangement works with both plain TeX and LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-titlepages
  (package
    (name "texlive-titlepages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/titlepages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17ib7rpb2dhb2m724x66fdzddv8cqd808wxy5kkvx0vb3rl27hyh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/titlepages")
    (synopsis "Sample titlepages, and how to code them")
    (description
     "The document provides examples of over two dozen title page designs
based on a range of published books and theses, together with the LaTeX code
used to create them.")
    (license license:lppl)))

(define-public texlive-tlc2
  (package
    (name "texlive-tlc2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tlc2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ysb233rjb8gpl9s35qql1dny5rj6fn8ssy2dqdqsn5xj9pdasyy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tlc2-examples")
    (synopsis "Examples from @emph{The LaTeX Companion}, second edition")
    (description
     "This package provides the source of the examples printed in @emph{The
LaTeX Companion} book, together with necessary supporting files.")
    (license license:lppl)))

(define-public texlive-tlc3-examples
  (package
    (name "texlive-tlc3-examples")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tlc3-examples/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01ny6r3ycji0af0cdywn2fmxd0fyz3y7afdnn983a5gy1j9rza7v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tlc3-examples")
    (synopsis "All examples from @emph{The LaTeX Companion}, third edition")
    (description
     "This package provides the PDFsand sources for all examples from
@emph{The LaTeX Companion}, third edition (Parts I+II), together with
necessary supporting files.")
    (license license:lppl1.3c)))

(define-public texlive-tlmgr-intro-zh-cn
  (package
    (name "texlive-tlmgr-intro-zh-cn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/tlmgr-intro-zh-cn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "127fad3aq66rnn4jkccyw7qc8pdcwapyjb6lj9kn49nqcy3jm6nk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tlmgr-intro-zh-cn")
    (synopsis "Short tutorial on using @command{tlmgr} in Chinese")
    (description
     "This is a Chinese translation of the @command{tlmgr} documentation.  It
introduces some of the common usage of the TeX Live Manager.  The original can
be found in the @code{tlmgrbasics} package.")
    (license license:gpl3+)))

(define-public texlive-tlmgrbasics
  (package
    (name "texlive-tlmgrbasics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/tlmgrbasics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mgncnr778i5s310zp7bfcdcilsxlf63cis7iy4hbf9y8qzvjx0h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tlmgrbasics")
    (synopsis "Simplified documentation for @command{tlmgr}")
    (description
     "This package provides simplified documentation for @command{tlmgr}, the
TeX Live manager.  It describes the most commonly-used actions and options in
a convenient format.")
    (license license:gpl2+)))

(define-public texlive-txfonts
  (package
    (name "texlive-txfonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/txfonts/"
                                     "fonts/afm/public/txfonts/"
                                     "fonts/enc/dvips/txfonts/"
                                     "fonts/map/dvips/txfonts/"
                                     "fonts/tfm/public/txfonts/"
                                     "fonts/type1/public/txfonts/"
                                     "fonts/vf/public/txfonts/"
                                     "tex/latex/txfonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "017zjas5y1zlyq0iy4x6mv1qbz23xcy3y5xs0crj6zdnfvnccqgp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/txfonts")
    (synopsis "Times-like fonts in support of mathematics")
    (description
     "Txfonts supplies virtual text roman fonts using Adobe Times (or URW
NimbusRomNo9L) with some modified and additional text symbols in the OT1, T1,
and TS1 encodings; maths alphabets using Times/URW Nimbus; maths fonts
providing all the symbols of the Computer Modern and AMS fonts, including all
the Greek capital letters from CMR; and additional maths fonts of various
other symbols.

The set is complemented by a sans-serif set of text fonts, based on
Helvetica/NimbusSanL, and a monospace set.

All the fonts are in Type 1 format (AFM and PFB files), and are supported by
TeX metrics (VF and TFM files) and macros for use with LaTeX.")
    ;; Any version of the GPL with font exception.
    (license license:gpl3+)))

(define-deprecated-package texlive-fonts-txfonts texlive-txfonts)

(define-public texlive-typehtml
  (package
    (name "texlive-typehtml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/typehtml/"
                                     "source/latex/typehtml/"
                                     "tex/latex/typehtml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nmdh2mhkzdqs5y4k95g9il6vz4rgndzhkikiilknkwg1a04rrzi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typehtml")
    (synopsis "Typeset HTML directly from LaTeX")
    (description
     "This package typesets HTML directly from LaTeX.  It can handle almost
all of HTML2, and most of the math fragment of the draft HTML3.")
    (license license:lppl)))

(define-public texlive-iwona
  (package
    (name "texlive-iwona")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/iwona/"
                                     "fonts/afm/nowacki/iwona/"
                                     "fonts/enc/dvips/iwona/"
                                     "fonts/map/dvips/iwona/"
                                     "fonts/opentype/nowacki/iwona/"
                                     "fonts/tfm/nowacki/iwona/"
                                     "fonts/type1/nowacki/iwona/"
                                     "tex/latex/iwona/"
                                     "tex/plain/iwona/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gk80zj711rcnk06cvszic7lpm06nj47kbypg13rpijdzfsvmi8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iwona")
    (synopsis "Sans-serif typeface for TeX")
    (description "Iwona is a two-element sans-serif typeface.  It was created
as an alternative version of the Kurier typeface, which was designed in 1975
for a diploma in typeface design at the Warsaw Academy of Fine Arts under the
supervision of Roman Tomaszewski.  Kurier was designed for linotype
typesetting of newspapers and similar periodicals.  The Iwona fonts are an
alternative version of the Kurier fonts.  The difference lies in the absence
of ink traps which typify the Kurier font.")
    (license license:gfl1.0)))

(define-deprecated-package texlive-fonts-iwona texlive-iwona)

(define-public texlive-jadetex
  (package
    (name "texlive-jadetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/jadetex.1"
                                     "doc/man/man1/jadetex.man1.pdf"
                                     "doc/man/man1/pdfjadetex.1"
                                     "doc/man/man1/pdfjadetex.man1.pdf"
                                     "doc/otherformats/jadetex/base/"
                                     "source/jadetex/base/"
                                     "tex/jadetex/base/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0acan496ixymwjvygcd5rx5pmz4p5vffzkmazdryw1kpilhiixcx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:create-formats #~(list "jadetex" "pdfjadetex")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'install-wrappers
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((pdftex (search-input-file inputs "/bin/pdftex"))
                    (bin (string-append #$output "/bin")))
                (mkdir-p bin)
                (with-directory-excursion bin
                  (symlink pdftex "jadetex")
                  (symlink pdftex "pdfjadetex"))))))))
    (propagated-inputs
     (list texlive-amsfonts
           texlive-auxhook
           texlive-babel
           texlive-bigintcalc
           texlive-bitset
           texlive-cm
           texlive-colortbl
           texlive-cyrillic
           texlive-ec
           texlive-etoolbox
           texlive-fancyhdr
           texlive-firstaid
           texlive-gettitlestring
           texlive-graphics
           texlive-graphics-cfg
           texlive-graphics-def
           texlive-hycolor
           texlive-hyperref
           texlive-hyphen-complete
           texlive-iftex
           texlive-infwarerr
           texlive-intcalc
           texlive-kvdefinekeys
           texlive-kvoptions
           texlive-kvsetkeys
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-letltxmacro
           texlive-ltxcmds
           texlive-marvosym
           texlive-passivetex
           texlive-pdfescape
           texlive-pdftex
           texlive-pdftexcmds
           texlive-psnfss
           texlive-refcount
           texlive-rerunfilecheck
           texlive-stmaryrd
           texlive-symbol
           texlive-tex
           texlive-tex-ini-files
           texlive-tipa
           texlive-tools
           texlive-ulem
           texlive-unicode-data
           texlive-uniquecounter
           texlive-url
           texlive-wasysym
           texlive-zapfding))
    (home-page "https://www.ctan.org/pkg/jadetex/")
    (synopsis "TeX macros to produce TeX output using OpenJade")
    (description "JadeTeX is a companion package to the OpenJade DSSSL
processor.  OpenJade applies a DSSSL stylesheet to an SGML or XML document.
The output of this process can be in a number of forms, including a set of
high level LaTeX macros.  It is the task of the JadeTeX package to transform
these macros into DVI/PostScript (using the @command{jadetex} command) or
Portable Document Format (PDF) form (using the @command{pdfjadetex}
command).")
    ;; The license text is found at the header of the jadetex.dtx file.
    (license license:expat)))

(define-public texlive-japanese-mathformulas
  (package
    (name "texlive-japanese-mathformulas")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/japanese-mathformulas/"
                                     "tex/lualatex/japanese-mathformulas/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a5kqgkl89m5yc9zgkhlz44dvvi52jfaja3lwcf7g7q039k2h6fg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/japanese-mathformulas")
    (synopsis "Compiling basic math formulas in Japanese using LuaLaTeX")
    (description
     "This is a style file for compiling basic maths formulas in Japanese
using LuaLaTeX.  @code{\\NewDocumentCommand} allows you to specify whether the
formula should be used within a sentence or on a new line.")
    (license license:lppl1.3c)))

(define-public texlive-japanese-otf
  (package
    (name "texlive-japanese-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/japanese-otf/"
                                     "fonts/tfm/public/japanese-otf/"
                                     "fonts/vf/public/japanese-otf/"
                                     "source/fonts/japanese-otf/"
                                     "tex/platex/japanese-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "199cipyli3l5man5gbhx3djvh4xs0vhmsaxmlvph4kvlhwcmhzm3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/japanese-otf")
    (synopsis "Advanced font selection for platex and its friends")
    (description
     "The package contains pLaTeX support files and virtual fonts for
supporting a wide variety of fonts in LaTeX using the pTeX engine.")
    (license license:bsd-3)))

(define-public texlive-jieeetran
  (package
    (name "texlive-jieeetran")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/jieeetran/"
                                     "doc/bibtex/jieeetran/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "122g618j9wli9amx9c82whjp81i5cpjz1mj4pnmyfa8x5mfdh6dp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jieeetran")
    (synopsis
     "UnofficiaL BibTeX style for citing Japanese articles in IEEE format")
    (description
     "This package provides an unofficial BibTeX style for authors trying to
cite Japanese articles in the Institute of Electrical and Electronics
Engineers (IEEE) format.")
    (license license:expat)))

(define-public texlive-jlreq
  (package
    (name "texlive-jlreq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jlreq/"
                                     "fonts/tfm/public/jlreq/"
                                     "fonts/vf/public/jlreq/"
                                     "source/latex/jlreq/"
                                     "tex/latex/jlreq/"
                                     "tex/luatex/jlreq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06nbsmmqxwnhikbgkyvwdmwipyw9m517h0zyigynawna6x4i19yp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jlreq")
    (synopsis
     "Japanese document class based on requirements for Japanese text layout")
    (description
     "This package provides a Japanese document class based on requirements
for Japanese text layout.  The class file and the JFM (Japanese font metric)
files for LuaTeX-ja, pLaTeX, or upLaTeX are provided.")
    (license license:bsd-2)))

(define-public texlive-jlreq-deluxe
  (package
    (name "texlive-jlreq-deluxe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/platex/jlreq-deluxe/"
                                     "fonts/tfm/public/jlreq-deluxe/"
                                     "fonts/vf/public/jlreq-deluxe/"
                                     "tex/platex/jlreq-deluxe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0clyspji3pdkxdshwksbkldvv7qhph4gqwlmvjp6080r4gjm5x8j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jlreq-deluxe")
    (synopsis "Multi-weight Japanese font support for the @code{jlreq} class")
    (description
     "This package provides multi-weight Japanese font support for the
@code{jlreq} class.")
    (license license:expat)))

(define-public texlive-jpneduenumerate
  (package
    (name "texlive-jpneduenumerate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jpneduenumerate/"
                                     "tex/latex/jpneduenumerate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ndg4ig5bg9ns2pxcf070c7jyh7d7r3r7c7xg5d99k3qlg4vkd9n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jpneduenumerate")
    (synopsis "Enumerative expressions in Japanese education")
    (description
     "Mathematical equation representation in Japanese education differs
somewhat from the standard LaTeX writing style.  This package introduces
enumerative expressions in Japanese education.")
    (license license:expat)))

(define-public texlive-jpnedumathsymbols
  (package
    (name "texlive-jpnedumathsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jpnedumathsymbols/"
                                     "tex/latex/jpnedumathsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ap370bp831xxrq45zllyrbhhxs0yv3qb1l5pkpvgsildfk5rk7m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jpnedumathsymbols")
    (synopsis "Mathematical equation representation in Japanese education")
    (description
     "Mathematical equation representation in Japanese education differs
somewhat from the standard LaTeX writing style.  This package introduces
mathematical equation representation in Japanese education.")
    (license license:expat)))

(define-public texlive-kanbun
  (package
    (name "texlive-kanbun")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kanbun/" "tex/latex/kanbun/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a922jly8f791r4jbz4097h8js5z29435zphm5i52pvkl6p245wy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kanbun")
    (synopsis "Typeset kanbun-kundoku with support for kanbun annotation")
    (description
     "This package allows users to manually input macros for elements in
a kanbun-kundoku (Han Wen Xun Du) paragraph.  More importantly, it accepts
plain text input in the kanbun annotation form when used with LuaLaTeX, which
allows typesetting kanbun-kundoku paragraphs efficiently.")
    (license license:lppl1.3+)))

(define-public texlive-libertine
  (package
    (name "texlive-libertine")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/libertine/"
                                     "fonts/enc/dvips/libertine/"
                                     "fonts/map/dvips/libertine/"
                                     "fonts/opentype/public/libertine/"
                                     "fonts/tfm/public/libertine/"
                                     "fonts/type1/public/libertine/"
                                     "fonts/vf/public/libertine/"
                                     "tex/latex/libertine/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fw0pldmyjm7p59n951ayf4kc5wb5hrif5lhc4kiw8cgp82inxcm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-fontaxes
           texlive-iftex
           texlive-mweights
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/libertine")
    (synopsis "Use of Linux Libertine and Biolinum fonts with LaTeX")
    (description
     "The package provides the Libertine and Biolinum fonts in both Type 1 and
OTF styles, together with support macros for their use.  Monospaced and
display fonts, and the keyboard set are also included, in OTF style, only.
The @code{mweights} package is used to manage the selection of font weights.")
    (license (list license:gpl2+        ; with font exception
                   license:silofl1.1
                   license:lppl))))

(define-public texlive-librarian
  (package
    (name "texlive-librarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/librarian/"
                                     "tex/generic/librarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a40ac9vg2niafg6dd2iv0c5nrxqxz8vhh2awdw756xsd0znb5n0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/librarian")
    (synopsis "Tools to create bibliographies in TeX")
    (description
     "The package extracts information in @file{.bib} files, makes it
available in the current document, and sorts lists of entries according to
that information and the user's specifications.  Citation and bibliography
styles can then be written directly in TeX, without any use of BibTeX.  The
package works with all formats that use plain TeX's basic syntactic sugar; the
distribution includes a third-party file for ConTeXt and a style file for
LaTeX.")
    (license license:lppl)))

(define-public texlive-dejavu
  (package
    (name "texlive-dejavu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/dejavu/"
                                     "fonts/afm/public/dejavu/"
                                     "fonts/enc/dvips/dejavu/"
                                     "fonts/map/dvips/dejavu/"
                                     "fonts/tfm/public/dejavu/"
                                     "fonts/truetype/public/dejavu/"
                                     "fonts/type1/public/dejavu/"
                                     "fonts/vf/public/dejavu/"
                                     "tex/latex/dejavu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y4qf5jl0xncah9nkcaalmy69wwq02n3j895zp71n2p0nfi24aka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dejavu")
    (synopsis "LaTeX support for the DejaVu fonts")
    (description
     "The package contains LaTeX support for the DejaVu fonts, which are
derived from the Vera fonts but contain more characters and styles.  The fonts
are included in the original TrueType format, and in converted Type 1 format.
The (currently) supported encodings are: OT1, T1, IL2, TS1, T2*, X2, QX, and
LGR.  The package doesn't (currently) support mathematics.")
    (license license:lppl)))

(define-public texlive-titlesec
  (package
    (name "texlive-titlesec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/titlesec/" "tex/latex/titlesec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n0i2icwra1wrpv1k9d2sgrg5b5z5z08i6323kv7rm3m3m5kbfrz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/titlesec")
    (synopsis "Select alternative section titles")
    (description
     "This package provides an interface to sectioning commands for selection
from various title styles, e.g. for marginal titles and to change the font of
all headings with a single command, also providing simple one-step page
styles.  It also includes a package to change the page styles when there are
floats in a page.  You may assign headers/footers to individual floats, too.")
    (license license:expat)))

(define-deprecated-package texlive-latex-titlesec texlive-titlesec)

(define-public texlive-type1cm
  (package
    (name "texlive-type1cm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/type1cm/" "source/latex/type1cm/"
                                     "tex/latex/type1cm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1922af5xvhrh4l8rqwz3bjd1gqvzfkxrfim28rpnvbx4n7jl6sdh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/type1cm")
    (synopsis "Arbitrary size font selection in LaTeX")
    (description
     "LaTeX, by default, restricts the sizes at which you can use its default
computer modern fonts, to a fixed set of discrete sizes (effectively, a set
specified by Knuth).  The @code{type1cm} package removes this restriction;
this is particularly useful when using scalable versions of the @code{cm}
fonts (Bakoma, or the versions from BSR/Y&Y, or True Type versions from Kinch,
PCTeX, etc.).  Note that the LaTeX distribution now contains a package
@code{fix-cm}, which performs the task of @code{type1cm}, as well as doing the
same job for T1- and TS1-encoded @code{ec} fonts.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-type1cm texlive-type1cm)

(define-public texlive-lh
  (package
    (name "texlive-lh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/lh/"
                                     "fonts/source/lh/base/"
                                     "fonts/source/lh/lh-XSlav/"
                                     "fonts/source/lh/lh-conc/"
                                     "fonts/source/lh/lh-lcy/"
                                     "fonts/source/lh/lh-ot2/"
                                     "fonts/source/lh/lh-t2a/"
                                     "fonts/source/lh/lh-t2b/"
                                     "fonts/source/lh/lh-t2c/"
                                     "fonts/source/lh/lh-t2d/"
                                     "fonts/source/lh/lh-x2/"
                                     "fonts/source/lh/nont2/"
                                     "fonts/source/lh/specific/"
                                     "source/fonts/lh/"
                                     "source/latex/lh/"
                                     "tex/latex/lh/"
                                     "tex/plain/lh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cqwns4zy1847fn3dp8z3wbfpy4dl05cr065nk9k65fmp7wksnjk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm"
                                               "texlive-metafont")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (propagated-inputs (list texlive-ec))
    (home-page "https://ctan.org/pkg/lh")
    (synopsis "Cyrillic fonts that support LaTeX standard encodings")
    (description
     "The LH fonts address the problem of the wide variety of alphabets that
are written with Cyrillic-style characters.  The fonts are the original basis
of the set of T2* and X2 encodings that are now used when LaTeX users need to
write in Cyrillic languages.  Macro support in standard LaTeX encodings is
offered through the latex-cyrillic and t2 bundles, and the package itself
offers support for other (more traditional) encodings.  The fonts, in the
standard T2* and X2 encodings are available in Adobe Type 1 format, in the
CM-Super family of fonts.  The package also offers its own LaTeX support for
OT2 encoded fonts, CM bright shaped fonts and Concrete shaped fonts.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-lh texlive-lh)

(define-public texlive-marvosym
  (package
    (name "texlive-marvosym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/marvosym/"
                                     "fonts/afm/public/marvosym/"
                                     "fonts/map/dvips/marvosym/"
                                     "fonts/tfm/public/marvosym/"
                                     "fonts/truetype/public/marvosym/"
                                     "fonts/type1/public/marvosym/"
                                     "source/fonts/marvosym/"
                                     "tex/latex/marvosym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16s5ibpw6c9d3vzc82hfn90dg643xlracivikdbr9s43f2ayak41"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marvosym")
    (synopsis "Martin Vogel's Symbols (marvosym) font")
    (description
     "Martin Vogel's Symbol font (marvosym) contains the Euro currency symbol
as defined by the European commission, along with symbols for structural
engineering; symbols for steel cross-sections; astronomy signs (sun, moon,
planets); the 12 signs of the zodiac; scissor symbols; CE sign and others.
The package contains both the original TrueType font and the derived Type
1 font, together with support files for TeX (LaTeX).")
    (license (list license:lppl          ;for TeX support files
                   license:silofl1.1)))) ;for fonts

(define-public texlive-metapost
  (package
    (name "texlive-metapost")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/dvitomp.1"
                                     "doc/man/man1/dvitomp.man1.pdf"
                                     "doc/man/man1/mpost.1"
                                     "doc/man/man1/mpost.man1.pdf"
                                     "doc/metapost/base/"
                                     "fonts/afm/metapost/"
                                     "fonts/enc/dvips/metapost/"
                                     "fonts/map/dvips/metapost/"
                                     "fonts/tfm/metapost/"
                                     "fonts/type1/metapost/"
                                     "metapost/base/"
                                     "metapost/config/"
                                     "metapost/misc/"
                                     "metapost/support/"
                                     "tex/generic/metapost/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11ily9x63q2gk41mxv5xggaszp1fwkc7qy10sklqw60arr106h4h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kpathsea texlive-metapost-bin))
    (home-page "https://ctan.org/pkg/metapost")
    (synopsis "Create scalable illustrations")
    (description
     "MetaPost uses a language based on that of Metafont to produce precise
technical illustrations.  Its output is scalable PostScript or SVG, rather
than the bitmaps Metafont creates.")
    (license license:lppl)))

(define-public texlive-metapost-bin
  (package
    (inherit texlive-bin)
    (name "texlive-metapost-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (let ((bin (string-append #$output "/bin")))
                  (with-directory-excursion "texk/web2c"
                    (invoke "make" "mpost")
                    (install-file "mpost" bin))
                  (with-directory-excursion bin
                    (for-each (lambda (link) (symlink "mpost" link))
                              '("dvitomp" "mfplain" "r-mpost"))))))))))
    (native-inputs (list pkg-config))
    (inputs (modify-inputs (package-inputs texlive-bin)
              (append cairo mpfi mpfr)))
    (home-page (package-home-page texlive-metapost))
    (synopsis "Binary for @code{texlive-metapost}")
    (description
     "This package provides the binary for @code{texlive-metapost}.")
    (license (package-license texlive-metapost))))

(define-public texlive-acmart
  (package
    (name "texlive-acmart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/acmart/" "doc/latex/acmart/"
                                     "source/latex/acmart/" "tex/latex/acmart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ffmkpqa7nvzyavx7m4n9l22xidwkywm987h3xnzb22ca5fa88vi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/acmart")
    (synopsis "Class for typesetting publications of ACM")
    (description
     "This package provides a class for typesetting publications of the
Association for Computing Machinery (ACM).")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-acmart texlive-acmart)

(define-public texlive-varwidth
  (package
    (name "texlive-varwidth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/varwidth/" "tex/latex/varwidth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jcrv4klcjpl17ml0zyqfvkrq6qwn2imxv8syqs5m6qk0fk7hg6l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/varwidth")
    (synopsis "Variable-width @code{minipage}")
    (description
     "The @code{varwidth} environment is superficially similar to @code{minipage},
but the specified width is just a maximum value -- the box may get a narrower
natural width.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-varwidth texlive-varwidth)

(define-public texlive-wasy
  (package
    (name "texlive-wasy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/wasy/" "fonts/source/public/wasy/"
                                     "fonts/tfm/public/wasy/" "tex/plain/wasy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1swzxgld3lndi5q0q6zkwbw06ndh13fvp04as7zpwyhh646s0hbx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/wasy")
    (synopsis "Waldi symbol fonts")
    (description "This package provides the @code{wasy} (Waldi symbol) fonts,
in the Metafont and Adobe Type 1 formats.  Support under LaTeX is provided by
the @code{wasysym} package.")
    (license license:public-domain)))

(define-public texlive-wasy-type1
  (package
    (name "texlive-wasy-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/wasy-type1/"
                                     "fonts/afm/public/wasy-type1/"
                                     "fonts/map/dvips/wasy-type1/"
                                     "fonts/type1/public/wasy-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01xwryijs787ab4ayfsj44ylf72s0zkm49zm0yk4ghs4vck2qvq3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-wasy))
    (home-page "https://ctan.org/pkg/wasy-type1")
    (synopsis "Type 1 versions of @code{wasy} fonts")
    (description
     "This package provides converted (Adobe Type 1) outlines of the
@code{wasy} fonts.")
    (license license:public-domain)))

(define-public texlive-wasysym
  (package
    (name "texlive-wasysym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wasysym/" "source/latex/wasysym/"
                                     "tex/latex/wasysym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n0rrrh510hy04a4fkxqh7skwfhp3xiiji78cw3mc65g06h1jyjc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wasysym")
    (synopsis "LaTeX support for the @code{wasy} fonts")
    (description
     "The @code{wasy} (Waldi Symbol) font by Roland Waldi provides many glyphs
like male and female symbols and astronomical symbols, as well as the complete
@code{lasy} font set and other odds and ends.  The @code{wasysym} package
implements an easy to use interface for these symbols.")
    (license license:lppl1.3c)))

(define-deprecated-package texlive-latex-wasysym texlive-wasysym)

(define-public texlive-willowtreebook
  (package
    (name "texlive-willowtreebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/willowtreebook/"
                                     "tex/latex/willowtreebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rv6pmyl02fpysviz4mvz9az9bgk96p6s7mbi9ykxxp74xzh8jik"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/willowtreebook")
    (synopsis "Easy basic book class, built on @code{memoir}")
    (description
     "The @code{willowtreebook} class is a simple book class, which the author
uses for his lecture notes to be found on his web page Benjamin McKay.  It
actually just selects options for the more sophisticated @code{memoir}
class.")
    (license license:lppl1.3c)))

(define-public texlive-wrapfig
  (package
    (name "texlive-wrapfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wrapfig/" "tex/latex/wrapfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wk1vp0dqsp597xzsqbwj8xk80v7d77qmpjir84n54f920rf9ka9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wrapfig")
    (synopsis "Produces figures which text can flow around")
    (description
     "This package allows figures or tables to have text wrapped around them.
It does not work in combination with list environments, but can be used in a
@code{parbox} or @code{minipage}, and in two-column format.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-wrapfig texlive-wrapfig)

(define-public texlive-ucharcat
  (package
    (name "texlive-ucharcat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucharcat/"
                                     "source/latex/ucharcat/"
                                     "tex/latex/ucharcat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r6mphnn26053vb4bgw1zjhw7y7xjavii9hnn7607cbscnx5f9di"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucharcat")
    (synopsis
     "Implementation of the XeTeX @code{\\Ucharcat} command for LuaTeX")
    (description
     "The package implements the @code{\\Ucharcat} command for LuaLaTeX.
@code{\\Ucharcat} is a new primitive in XeTeX, an extension of the existing
@code{\\Uchar} command, that allows the specification of the catcode as well
as character code of the character token being constructed.")
    (license license:lppl)))

(define-public texlive-ucs
  (package
    (name "texlive-ucs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ucs/" "fonts/enc/dvips/ucs/"
                                     "source/latex/ucs/" "tex/latex/ucs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ihsx71ignmyp7hrpnq90p1cl01z4lw9fldhg1897aw1l1bpnagi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ucs")
    (synopsis "Extended UTF-8 input encoding support for LaTeX")
    (description
     "The bundle provides the @code{ucs} package, and @file{utf8x.def},
together with a large number of support files.  The @file{utf8x.def}
definition file for use with @code{inputenc} covers a wider range of Unicode
characters than does @file{utf8.def} in the LaTeX distribution.  The package
provides facilities for efficient use of its large sets of Unicode characters.
Glyph production may be controlled by various options, which permits use of
non-ASCII characters when coding mathematical formulae.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-ucs texlive-ucs)

(define-public texlive-preview
  (package
    (name "texlive-preview")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/preview/" "source/latex/preview/"
                                     "tex/latex/preview/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yv4fm93ffh6gggqb90qcs7pczn5ff9y5xghxpq5va5hsmh169zx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/preview")
    (synopsis "Extract bits of a LaTeX source for output")
    (description
     "The main purpose of the preview package is the extraction of selected
elements from a LaTeX source, like formulas or graphics, into separate
pages of a DVI file.  A flexible and convenient interface allows it to
specify what commands and constructs should be extracted.  This works
with DVI files postprocessed by either Dvips and Ghostscript or
dvipng, but it also works when you are using PDFTeX for generating PDF
files.")
    (license license:gpl3+)))

(define-deprecated-package texlive-latex-preview texlive-preview)

(define-public texlive-acronym
  (package
    (name "texlive-acronym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/acronym/" "source/latex/acronym/"
                                     "tex/latex/acronym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p2sws3qy7wv0v6bsy6c5j36n9s1ps7b1z7dmg1370schrjpqnfh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/acronym")
    (synopsis "Expand acronyms at least once")
    (description
     "This package ensures that all acronyms used in the text are spelled out
in full at least once.  It also provides an environment to build a list of
acronyms used.  The package is compatible with PDF bookmarks.  The package
requires the @code{suffix} package, which in turn requires that it runs under
e-TeX.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-acronym texlive-acronym)

(define-public texlive-pdftex
  (package
    (name "texlive-pdftex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pdfetex.1"
                                     "doc/man/man1/pdfetex.man1.pdf"
                                     "doc/man/man1/pdftex.1"
                                     "doc/man/man1/pdftex.man1.pdf"
                                     "doc/pdftex/"
                                     "fonts/map/dvips/dummy-space/"
                                     "fonts/tfm/public/pdftex/"
                                     "fonts/type1/public/pdftex/"
                                     "scripts/simpdftex/"
                                     "tex/generic/config/pdftex-dvi.tex"
                                     "tex/generic/pdftex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03l4qmlx3ax9dfgbp6266l2hfxgra53n5an5hbdai4a0x1k2d1pm"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "ghostscript")))
    (build-system texlive-build-system)
    (arguments
     (list #:texlive-latex-bin? #f
           #:link-scripts #~(list "simpdftex")
           #:create-formats #~(list "etex" "pdfetex" "pdftex")
           #:phases
           #~(modify-phases %standard-phases
               (replace 'patch-shell-scripts
                 (lambda _
                   (substitute* "scripts/simpdftex/simpdftex"
                     (("/bin/(cp|date|echo|mv|rm)" _ command)
                      (which command))
                     (("basename|dirname|mkdir|sed" command)
                      (which command))
                     (("(^[ \t]*)(cat|rm)" _ indent command)
                      (string-append indent (which command)))
                     (("(distillerpath=\").*" _ prefix)
                      (string-append prefix
                                     #$(this-package-input "ghostscript")
                                     "/bin\"\n"))))))))
    (inputs (list ghostscript))
    (propagated-inputs
     (list texlive-cm
           texlive-etex
           texlive-hyphen-complete
           texlive-knuth-lib
           texlive-kpathsea
           texlive-plain
           texlive-tex-ini-files))
    (home-page "https://ctan.org/pkg/pdftex")
    (synopsis "TeX extension for direct creation of PDF")
    (description
     "This package is an extension of TeX which can directly generate PDF
documents as well as DVI output.")
    (license license:gpl3+)))

(define-deprecated-package texlive-generic-pdftex texlive-pdftex)

(define-public texlive-biber
  (package
    (name "texlive-biber")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/bibtex/biber/" "source/bibtex/biber/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11y03jim2vjbcwylp3hz9hbdw3zal3di3p0q58dffm3a27vbcr0j"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "perl-config-autoconf"
                                               "perl-extutils-libbuilder"
                                               "perl-file-which"
                                               "perl-module-build"
                                               "perl-test-differences")
                  (updater-extra-inputs "perl"
                                        "perl-autovivification"
                                        "perl-class-accessor"
                                        "perl-data-dump"
                                        "perl-data-compare"
                                        "perl-data-uniqid"
                                        "perl-datetime-format-builder"
                                        "perl-datetime-calendar-julian"
                                        "perl-file-slurper"
                                        "perl-io-string"
                                        "perl-ipc-cmd"
                                        "perl-ipc-run3"
                                        "perl-list-allutils"
                                        "perl-list-moreutils"
                                        "perl-mozilla-ca"
                                        "perl-regexp-common"
                                        "perl-log-log4perl"
                                        "perl-parse-recdescent"
                                        "perl-unicode-collate"
                                        "perl-unicode-normalize"
                                        "perl-unicode-linebreak"
                                        "perl-encode-eucjpascii"
                                        "perl-encode-jis2k"
                                        "perl-encode-hanextra"
                                        "perl-xml-libxml"
                                        "perl-xml-libxml-simple"
                                        "perl-xml-libxslt"
                                        "perl-xml-writer"
                                        "perl-sort-key"
                                        "perl-text-csv"
                                        "perl-text-csv-xs"
                                        "perl-text-roman"
                                        "perl-uri"
                                        "perl-text-bibtex"
                                        "perl-libwww"
                                        "perl-lwp-protocol-https"
                                        "perl-business-isbn"
                                        "perl-business-issn"
                                        "perl-business-ismn"
                                        "perl-lingua-translit")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tests? #true
      #:imported-modules `(,@%texlive-build-system-modules
                           (guix build perl-build-system))
      #:modules '((guix build texlive-build-system)
                  ((guix build perl-build-system) #:prefix perl:)
                  (guix build utils))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'unpack-biber-source
            (lambda _
              (mkdir-p "build")
              (with-directory-excursion "build"
                (invoke "tar" "xvf"
                        "../source/bibtex/biber/biblatex-biber.tar.gz"
                        "--strip-components=1"))))
          (add-after 'unpack-biber-source 'build-biber
            (lambda args
              (with-directory-excursion "build"
                (for-each (lambda (phase)
                            (apply (assoc-ref perl:%standard-phases phase) args))
                          '(configure build check install)))))
          (add-after 'install 'wrap-programs
            (lambda _
              (let ((perl5lib (getenv "PERL5LIB")))
                (wrap-program (string-append #$output "/bin/biber")
                  `("PERL5LIB" ":" prefix
                    (,(string-append perl5lib ":"
                                     #$output "/lib/perl5/site_perl"))))))))))
    (native-inputs
     (list perl-config-autoconf
           perl-extutils-libbuilder
           perl-file-which
           perl-module-build
           perl-test-differences))
    (inputs
     (list bash-minimal
           perl
           perl-autovivification
           perl-business-isbn
           perl-business-ismn
           perl-business-issn
           perl-class-accessor
           perl-data-compare
           perl-data-dump
           perl-data-uniqid
           perl-datetime-calendar-julian
           perl-datetime-format-builder
           perl-encode-eucjpascii
           perl-encode-hanextra
           perl-encode-jis2k
           perl-file-slurper
           perl-io-string
           perl-ipc-cmd
           perl-ipc-run3
           perl-libwww
           perl-lingua-translit
           perl-list-allutils
           perl-list-moreutils
           perl-log-log4perl
           perl-lwp-protocol-https
           perl-mozilla-ca
           perl-parse-recdescent
           perl-regexp-common
           perl-sort-key
           perl-text-bibtex
           perl-text-csv
           perl-text-csv-xs
           perl-text-roman
           perl-unicode-collate
           perl-unicode-linebreak
           perl-unicode-normalize
           perl-uri
           perl-xml-libxml
           perl-xml-libxml-simple
           perl-xml-libxslt
           perl-xml-writer))
    (home-page "https://ctan.org/pkg/biber")
    (synopsis "BibTeX replacement for users of BibLaTeX")
    (description
     "Biber is a BibTeX replacement for users of BibLaTeX.  It supports full
UTF-8, can (re)-encode input and output, supports highly configurable sorting,
dynamic bibliography sets and many other features.")
    (license license:artistic2.0)))

(define-deprecated-package biber texlive-biber)

(define-public rubber
  (package
    (name "rubber")
    (version "1.6.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://gitlab.com/latex-rubber/rubber/")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kndj42f87042x44p4jqwcf44bhpvhfqi2ilhh8sl09px2rm0qzl"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:tests? #true
      #:phases
      #~(modify-phases %standard-phases
          (delete 'build)
          ;; setup.py script does not support one of the Python build
          ;; system's default flags, "--single-version-externally-managed".
          (replace 'install
            (lambda _
              (invoke "python" "setup.py" "install"
                      (string-append "--prefix=" #$output)
                      "--root=/"))))))
    (native-inputs
     (list texinfo (texlive-updmap.cfg (list texlive-texinfo))))
    (inputs (list python-wrapper))
    (home-page "https://gitlab.com/latex-rubber/rubber/")
    (synopsis "Wrapper for LaTeX and friends")
    (description
     "Rubber is a program whose purpose is to handle all tasks related to the
compilation of LaTeX documents.  This includes compiling the document itself,
of course, enough times so that all references are defined, and running BibTeX
to manage bibliographic references.  Automatic execution of dvips to produce
PostScript documents is also included, as well as usage of pdfLaTeX to produce
PDF documents.")
    (license license:gpl3+)))

(define-public texmaker
  (package
    (name "texmaker")
    (version "5.0.4")
    (source (origin
              (method url-fetch)
              (uri (string-append "http://www.xm1math.net/texmaker/texmaker-"
                                  version ".tar.bz2"))
              (sha256
               (base32
                "1qnh5g8zkjpjmw2l8spcynpfgs3wpcfcla5ms2kkgvkbdlzspqqx"))))
    (build-system gnu-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         ;; Qt has its own configuration utility.
         (replace 'configure
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))
               (invoke "qmake"
                       (string-append "PREFIX=" out)
                       (string-append "DESKTOPDIR=" out "/share/applications")
                       (string-append "ICONDIR=" out "/share/pixmaps")
                       (string-append "METAINFODIR=" out "/share/metainfo")
                       "texmaker.pro")))))))
    (inputs
     (list poppler-qt5 qtbase-5 qtscript zlib))
    (native-inputs
     (list pkg-config))
    (home-page "https://www.xm1math.net/texmaker/")
    (synopsis "LaTeX editor")
    (description "Texmaker is a program that integrates many tools needed to
develop documents with LaTeX, in a single application.")
    (license license:gpl2+)))

(define-public texstudio
  (package
    (name "texstudio")
    (version "4.7.2")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/texstudio-org/texstudio")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10w398airsq04vym27n37pw10425f19a7vbhicnwn5iinahdm3s3"))))
    (build-system qt-build-system)
    (arguments
     `(#:tests? #f))                    ;tests work only with debug build
    (native-inputs
     (list pkg-config
           poppler-qt5
           qtdeclarative-5
           qtsvg-5
           qttools-5))
    (home-page "https://www.texstudio.org/")
    (synopsis "Feature-packed LaTeX editor")
    (description
     "TeXstudio is an integrated writing environment for creating LaTeX
documents.  It makes writing LaTeX comfortable by providing features such as
syntax-highlighting, an integrated viewer and reference checking.")
    (license license:gpl3)))

(define-public dvisvgm
  (package
    (name "dvisvgm")
    (version "3.0.3")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/mgieseki/dvisvgm")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11r401yqbw61n1mwsfk5qmwx2c92djwpl0q756qkds5kh25l9ci8"))))
    (native-inputs (list pkg-config
                         autoconf
                         autoconf-archive
                         automake
                         python-wrapper
                         libtool))
    (inputs (list texlive-libkpathsea
                  freetype
                  fontforge
                  clipper
                  ghostscript
                  xxhash
                  google-brotli
                  woff2
                  zlib))
    (build-system gnu-build-system)
    (synopsis "Command-line utility for generating SVG from DVI, EPS and PDF
files")
    (description
     "Dvisvgm converts TeX DVI, EPS and PDF files into an
SVG (Scalable Vector Graphics) image.  It provides full font support including
virtual fonts, font maps and sub-fonts.  The embedded SVG fonts can optionally
be replaced with graphics paths for applications that do not support SVG
fonts.  Dvisvgm supports also colors, emTeX, tpic, papersize, PDF mapfile
and PostScript specials.  A working TeX installation is needed.")
    (home-page "https://dvisvgm.de/")
    (license license:gpl3+)))

(define-public teximpatient
  ;; The homepage seems to be distributing this version which is currently the
  ;; most recent commit
  (let ((commit "e3666abff186832fd9c467ceda3958058f30bac2")
        (revision "0"))
    (package
      (name "teximpatient")
      (version (git-version "2.4" revision commit))
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url
                       "https://git.savannah.gnu.org/git/teximpatient.git/")
                      (commit commit)))
                (file-name (git-file-name name version))
                (sha256
                 (base32
                  "0r30383nmly7w29il6v3vmilnnyrzak0x0qmabjvnpaga9ansjmi"))))
      (build-system gnu-build-system)
      (arguments
       `(#:tests? #f ;there are none
         #:allowed-references ("out")
         #:phases (modify-phases %standard-phases
                    (add-after 'unpack 'fix-build
                      (lambda* (#:key inputs #:allow-other-keys)
                        (chdir "teximpatient")

                        ;; Remove generated files
                        (for-each delete-file
                                  '("book.pdf"
                                    "book.aux"
                                    "book.ccs"
                                    "book.log"
                                    "book.idx"
                                    "config.log"
                                    "config.status"
                                    "configure"
                                    "Makefile"))
                        (delete-file-recursively "autom4te.cache")

                        ;; make build reproducible
                        (substitute* "eplain.tex"
                          (("timestamp.*%")
                           (string-append "timestamp{"
                                          ,version "}"))))))))
      (native-inputs
       (list autoconf
             automake
             (texlive-updmap.cfg
              (list texlive-mflogo-font
                    texlive-palatino
                    texlive-zapfding))))
      (home-page "https://www.gnu.org/software/teximpatient/")
      (synopsis "Book on TeX, plain TeX and Eplain")
      (description
       "@i{TeX for the Impatient} is a ~350 page book on TeX,
plain TeX, and Eplain, originally written by Paul Abrahams, Kathryn Hargreaves,
and Karl Berry.")
      (license license:fdl1.3+))))

(define-public lyx
  (package
    (name "lyx")
    (version "2.3.7")
    (source (origin
              (method url-fetch)
              ;; XXX: Upstream version is 2.3.7, but they released a suffixed
              ;; tarball.  This can probably be removed after next release.
              (uri (let ((suffix "-1"))
                     (string-append "https://ftp.lyx.org/pub/lyx/stable/"
                                    (version-major+minor version) ".x/"
                                    "lyx-" version suffix ".tar.xz")))
              (sha256
               (base32
                "1vfq30big55038bcymh83xh9dqp9wn0gnw0f6644xcw6zdj8igir"))
              (modules '((guix build utils)))
              (snippet
               '(begin
                  (delete-file-recursively "3rdparty")))))
    (build-system qt-build-system)
    (arguments
     (list #:configure-flags
           #~(list "-DLYX_USE_QT=QT5"
                   "-DLYX_EXTERNAL_BOOST=1"
                   "-DLYX_INSTALL=1"
                   "-DLYX_RELEASE=1"
                   "-DLYX_PROGRAM_SUFFIX=OFF"
                   (string-append "-DLYX_INSTALL_PREFIX=" #$output))
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'patch-python
                 (lambda* (#:key inputs #:allow-other-keys)
                   (substitute* '("lib/configure.py"
                                  "src/support/ForkedCalls.cpp"
                                  "src/support/Systemcall.cpp"
                                  "src/support/os.cpp"
                                  "src/support/filetools.cpp")
                     (("\"python ")
                      (string-append "\""
                                     (search-input-file inputs "/bin/python3")
                                     " ")))))
               (add-after 'unpack 'add-missing-test-file
                 (lambda _
                   ;; Create missing file that would cause tests to fail.
                   (with-output-to-file "src/tests/check_layout.cmake"
                     (const #t)))))))
    (inputs
     ;; XXX: Aspell library is properly detected during build, but hunspell
     ;; isn't.  So we use the former here.
     (list aspell
           boost
           libx11
           mythes
           python
           qtbase-5
           qtsvg-5
           zlib))
    (native-inputs
     (list python pkg-config))
    (home-page "https://www.lyx.org/")
    (synopsis "Document preparation system with GUI")
    (description "LyX is a document preparation system.  It excels at letting
you create complex technical and scientific articles with mathematics,
cross-references, bibliographies, indexes, etc.  It is very good for working
with documents of any length in which the usual processing abilities are
required: automatic sectioning and pagination, spell checking and so forth.")
    (license license:gpl2+)))

(define-public texlive-media9
  (package
    (name "texlive-media9")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/media9/" "source/latex/media9/"
                                     "tex/latex/media9/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hzwan5y199a6za32h7bn653f2pzd91z9idrq8xdz6fjhns3fcdr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/media9")
    (synopsis "Multimedia inclusion package with Adobe Reader-9/X compatibility")
    (description
     "The package provides an interface to embed interactive Flash (SWF) and
3D objects (Adobe U3D & PRC), as well as video and sound files or streams in
the popular MP4, FLV and MP3 formats into PDF documents with Acrobat-9/X
compatibility.  Playback of multimedia files uses the built-in Flash Player of
Adobe Reader and does, therefore, not depend on external plug-ins.  Flash
Player supports the efficient H.264 codec for video compression.

The package is based on the RichMedia Annotation, an Adobe addition to the PDF
specification.  It replaces the now obsolete @code{movie15} package.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-media9 texlive-media9)

(define-public texlive-ocgx2
  (package
    (name "texlive-ocgx2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ocgx2/" "tex/latex/ocgx2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jpvwy6sp7almdbhxizz22h3jxgfnsl4nirs93p7y1lqdgc4srl4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocgx2")
    (synopsis "Drop-in replacement for 'ocgx' and 'ocg-p'")
    (description
     "This package serves as a drop-in replacement for the packages
@code{ocgx} by Paul Gaborit and @code{ocg-p} by Werner Moshammer for the
creation of PDF Layers.  It re-implements the functionality of the @code{ocg},
@code{ocgx}, and @code{ocg-p} packages and adds support for all known engines
and back-ends.  It also ensures compatibility with the @code{media9} and
@code{animate} packages.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-ocgx2 texlive-ocgx2)

(define-public texlive-optex
  (package
    (name "texlive-optex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/optex.1"
                                     "doc/man/man1/optex.man1.pdf"
                                     "doc/optex/base/"
                                     "tex/optex/base/"
                                     "tex/optex/demo/"
                                     "tex/optex/pkg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1px8hihdhnv7364qhysk78i56kwccfdwzrkmvfxhz0jm1f0zqbd1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:create-formats #~(list "optex")
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'install 'symlink-binaries
                 (lambda* (#:key inputs #:allow-other-keys)
                   (let ((luatex (search-input-file inputs "bin/luatex"))
                         (bin (string-append #$output "/bin")))
                     (mkdir-p bin)
                     (with-directory-excursion bin
                       (symlink luatex "optex"))))))))
    (propagated-inputs
     (list texlive-amsfonts
           texlive-cm
           texlive-ec
           texlive-hyphen-base
           texlive-librarian
           texlive-lm
           texlive-luaotfload
           texlive-luatex
           texlive-rsfs
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/optex")
    (synopsis "LuaTeX format based on Plain TeX and OPmac")
    (description
     "OpTeX is a LuaTeX format based on Plain TeX macros with power from
OPmac (fonts selection system, colors, external graphics, references,
hyperlinks, ...) with Unicode fonts.")
    (license license:public-domain)))

(define-public texlive-ms
  (package
    (name "texlive-ms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ms/" "source/latex/ms/"
                                     "tex/latex/ms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cgrpx5mybiirjjdmni8kvqdg37dwfkixq3h9ami0mgxqqqfl2x3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/ms")
    (synopsis "Various LaTeX packages by Martin Schroder")
    (description
     "This package is the remains of a bundle of LaTeX packages by Martin
Schroder; the collection comprises: @code{count1to}, make use of TeX counters;
and @code{multitoc}, typeset the table of contents in multiple columns.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-ms texlive-ms)

(define-public texlive-ncctools
  (package
    (name "texlive-ncctools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ncctools/" "source/latex/ncctools/"
                                     "tex/latex/ncctools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g3fpvrg6kx2ns97ih6iwdk0rcbxlv043x8rdppxdincl2lvbdx5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ncctools")
    (synopsis "A collection of general packages for LaTeX")
    (description
     "The NCCtools bundle contains many packages for general use under LaTeX;
many are also used by NCC LaTeX.  The bundle includes tools for:
@itemize
@item executing commands after a package is loaded;
@item watermarks;
@item counter manipulation;
@item improvements to the @code{description} environment;
@item hyphenation of compound words;
@item new levels of footnotes;
@item space-filling patterns;
@item poor man's Black Board Bold symbols;
@item alignment of the content of a box; use comma as decimal separator;
@item boxes with their own crop marks;
@item page cropmarks;
@item improvements to fancy headers;
@item float styles, mini floats, side floats;
@item manually marked footnotes;
@item extension of amsmath;
@item control of paragraph skip;
@item an envelope to the @code{graphicx} package;
@item dashed and multiple rules;
@item alternative techniques for declarations of sections, captions, and
toc-entries;
@item generalised text-stretching;
@item generation of new theorem-like environments;
@item control of the text area;
@item centered page layouts;
@item un-numbered top-level section.
@end itemize")
    (license license:lppl)))

(define-public texlive-ncntrsbk
  (package
    (name "texlive-ncntrsbk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/ncntrsbk/"
                                     "fonts/afm/adobe/ncntrsbk/"
                                     "fonts/afm/urw/ncntrsbk/"
                                     "fonts/map/dvips/ncntrsbk/"
                                     "fonts/tfm/adobe/ncntrsbk/"
                                     "fonts/tfm/urw35vf/ncntrsbk/"
                                     "fonts/type1/urw/ncntrsbk/"
                                     "fonts/vf/adobe/ncntrsbk/"
                                     "fonts/vf/urw35vf/ncntrsbk/"
                                     "tex/latex/ncntrsbk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i6a48zbn9lg4pwbw8ya2wjjgppwac816fnbpmahm67kknx4d7ij"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's New Century Schoolbook font")
    (description
     "This package provides a drop-in replacement for the New Century
Schoolbook font from Adobe's basic set.")
    (license license:gpl3+)))

(define-public texlive-numprint
  (package
    (name "texlive-numprint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numprint/" "source/latex/numprint/"
                                     "tex/latex/numprint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqbqj4ffcfxxxxbs100pdslaiimwzgg19mf2qzcmm5snxwrf7zj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numprint")
    (synopsis "Print numbers with separators and exponent if necessary")
    (description
     "The package numprint prints numbers with a separator every three digits
and converts numbers given as @samp{12345.6e789} to @samp{12\\,345,6\\cdot
10^@{789@}}.  Numbers are printed in the current mode (text or math) in order
to use the correct font.

Many things, including the decimal sign, the thousand separator, as well as
the product sign can be changed by the user.  If an optional argument is given
it is printed upright as unit.  Numbers can be rounded to a given number of
digits.  The package supports an automatic, language-dependent change of the
number format.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-numprint texlive-numprint)

(define-public texlive-needspace
  (package
    (name "texlive-needspace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/needspace/"
                                     "source/latex/needspace/"
                                     "tex/latex/needspace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12hbvv1w6b1k29qjvp72bkpnzsxpvrimzshllwinrxh9rx1mn550"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-filecontents")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list texlive-filecontents))
    (home-page "https://ctan.org/pkg/needspace")
    (synopsis "Insert pagebreak if not enough space")
    (description
     "This package provides commands to disable pagebreaking within a given
vertical space.  If there is not enough space between the command and the
bottom of the page, a new page will be started.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-needspace texlive-needspace)

(define-public texlive-changepage
  (package
    (name "texlive-changepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/changepage/"
                                     "source/latex/changepage/"
                                     "tex/latex/changepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g9zlbqrgxh3p2vys2s84i8v590qi4fbpppp5lkaqc1di8kw60lm"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-filecontents")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list texlive-filecontents))
    (home-page "https://ctan.org/pkg/changepage")
    (synopsis "Margin adjustment and detection of odd/even pages")
    (description
     "The package provides commands to change the page layout in the middle of
a document, and to robustly check for typesetting on odd or even pages.  The
package is an extraction of code from the @code{memoir} class, whose user
interface it shares.  This package will eventually replace the @code{chngpage}
package, which is distributed with the package.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-changepage texlive-changepage)

(define-public texlive-eukdate
  (package
    (name "texlive-eukdate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eukdate/" "source/latex/eukdate/"
                                     "tex/latex/eukdate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bz32l4500y4sx7ighpcvzfh0z45lzyyxm1dq1knmhdsv46gqaxi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eukdate")
    (synopsis "UK format dates, with weekday")
    (description
     "The package is used to change the format of @code{\\today}’s date,
including the weekday, e.g., @samp{Saturday, 26 June 2008}, the UK format,
which is preferred in many parts of the world, as distinct from that which is
used in @code{\\maketitle} of the article class, @samp{June 26, 2008}, the US
format.")
    (license license:lppl)))

(define-deprecated-package texlive-latex-eukdate texlive-eukdate)

(define-public texlive-euler
  (package
    (name "texlive-euler")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/euler/" "source/latex/euler/"
                                     "tex/latex/euler/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xd4lniaj243jvmlgfan7rp1zx308cfvpdd02nvvqpdnrwc69irk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/euler")
    (synopsis "Use AMS Euler fonts for math")
    (description
     "This package provides a setup for using the AMS Euler family of fonts
for mathematics in LaTeX documents. ``The underlying philosophy of Zapf's
Euler design was to capture the flavour of mathematics as it might be written
by a mathematician with excellent handwriting.'' The @code{euler} package is
based on Knuth's macros for the book Concrete Mathematics'.  The text fonts
for the Concrete book are supported by the @code{beton} package.")
    (license license:lppl)))

(define-public texlive-extsizes
  (package
    (name "texlive-extsizes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/extsizes/" "tex/latex/extsizes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1akxh0x8y1rhmpq8qzqi2bpbm1ffy8x0212jkyib7gm1i1d9ijgl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/extsizes")
    (synopsis "Extend the standard classes' size options")
    (description
     "This package provides classes @code{extarticle}, @code{extreport},
@code{extletter}, @code{extbook} and @code{extproc} which provide for
documents with a base font size from 8-20pt.  There is also a LaTeX package,
@file{extsizes.sty}, which can be used with nonstandard document classes.  But
it cannot be guaranteed to work with any given class.")
    (license license:lppl)))

(define-public texlive-ulem
  (package
    (name "texlive-ulem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ulem/" "tex/generic/ulem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wcfnw5h6lsg2ilvkkf7mns8jgcn0n5sh45iznfsb49pfb4mming"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ulem")
    (synopsis "Package for underlining")
    (description
     "The package provides an @code{\\ul} (underline) command which will break
over line ends; this technique may be used to replace @code{\\em} (both in
that form and as the @code{\\emph} command), so as to make output look as if
it comes from a typewriter.  The package also offers double and wavy
underlining, and striking out, and crossing out.")
    (license license:lppl1.3c+)))

(define-public texlive-pdfarticle
  (package
    (name "texlive-pdfarticle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/pdfarticle/"
                                     "tex/lualatex/pdfarticle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16cy8n3hws1gm3bsv3h4mwnpvaajiy5sj6hpchy0r9hq28liara4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfarticle")
    (synopsis "Class for PDF publications")
    (description
     "pdfArticle is simple document class dedicated for creating PDF documents
with LuaLaTeX.")
    (license license:expat)))

(define-public texlive-pdfextra
  (package
    (name "texlive-pdfextra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/optex/pdfextra/" "tex/luatex/pdfextra/"
                                     "tex/optex/pdfextra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vv7vidcvi6c9bg9rdp00d324d3xfyazpwlc7l4vggz1w6n8l96y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfextra")
    (synopsis "Extra PDF features for (Op)TeX")
    (description
     "This package provides extra PDF features for OpTeX (or in limited form
for plain LuaTeX and LuaLaTeX).  As a minimalistic format, OpTeX does not
support advanced features of the PDF file format in its base.  This third
party package aims to provide them.  As such, it supports insertion of
multimedia (audio, video, 3D), hyperlinks and other actions, triggering
events, transitions, and attachments.")
    (license license:bsd-0)))

(define-public texlive-penlight
  (package
    (name "texlive-penlight")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/penlight/"
                                     "tex/luatex/penlight/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cs4kgm3nbs3b56iyj3q7lsds6iky78i47airkxd3cfyjv5ri47y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/penlight")
    (synopsis "Penlight Lua libraries made available to LuaLaTeX users")
    (description
     "This LuaLaTeX package provides a wrapper to use the penlight Lua
libraries with LuaLaTeX, with some extra functionality added.")
    (license license:expat)))

(define-public texlive-pgf
  (package
    (name "texlive-pgf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pgf/"
                                     "tex/context/third/pgf/basiclayer/"
                                     "tex/context/third/pgf/frontendlayer/"
                                     "tex/context/third/pgf/math/"
                                     "tex/context/third/pgf/systemlayer/"
                                     "tex/context/third/pgf/utilities/"
                                     "tex/generic/pgf/"
                                     "tex/latex/pgf/basiclayer/"
                                     "tex/latex/pgf/compatibility/"
                                     "tex/latex/pgf/doc/"
                                     "tex/latex/pgf/frontendlayer/"
                                     "tex/latex/pgf/math/"
                                     "tex/latex/pgf/systemlayer/"
                                     "tex/latex/pgf/utilities/"
                                     "tex/plain/pgf/basiclayer/"
                                     "tex/plain/pgf/frontendlayer/"
                                     "tex/plain/pgf/math/"
                                     "tex/plain/pgf/systemlayer/"
                                     "tex/plain/pgf/utilities/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16kdxcyk60i1c8y3i3d0v2076kapg2vs2pd4pbb434w3vjf8jfm5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-atveryend
           texlive-fp
           texlive-graphics
           texlive-ms
           texlive-pdftexcmds
           texlive-xcolor))
    (home-page "https://ctan.org/pkg/pgf")
    (synopsis "Create PostScript and PDF graphics in TeX")
    (description
     "PGF is a macro package for creating graphics.  It is platform- and
format-independent and works together with the most important TeX backend
drivers, including pdfTeX and dvips.  It comes with a user-friendly syntax
layer called TikZ.  Its usage is similar to @code{pstricks} and the standard
@code{picture} environment.  PGF works with plain (pdf-)TeX, (pdf-)LaTeX, and
ConTeXt.  Unlike @code{pstricks}, it can produce either PostScript or PDF
output.")
    ;; The code of the package is dual-license: GPL-2 or LPPL-1.3c+.  The
    ;; documentation is also dual-license: LPPL-1.3c+ or GFDL-1.2.
    (license (list license:gpl2 license:lppl1.3c+ license:fdl1.2+))))

(define-deprecated-package texlive-latex-pgf texlive-pgf)

(define-public texlive-piton
  (package
    (name "texlive-piton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/piton/"
                                     "source/lualatex/piton/"
                                     "tex/lualatex/piton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l225vs825n6v1bxwlv8d6gp0q8gp6ni2igjkvfyj3krfb9l2p1s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/piton")
    (synopsis "Typeset Python listings with LPEG")
    (description
     "This package uses the Lua library LPEG to typeset and highlight Python
listings.")
    (license license:lppl1.3+)))

(define-public texlive-placeat
  (package
    (name "texlive-placeat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/placeat/" "scripts/placeat/"
                                     "source/lualatex/placeat/"
                                     "tex/lualatex/placeat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lwr71sxrs1idy2nqqn2xsi3pmgv0hyfkhhiyir53cix203n18aq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/placeat")
    (synopsis "Absolute content positioning")
    (description
     "The package provides commands so that the user of LuaLaTeX may position
arbitrary content at any position specified by absolute coordinates on the
page.  The package draws a grid on each page of the document, to aid
positioning (the grid may be disabled, for final copy using the command
\\placeatsetup).")
    (license license:lppl1.3+)))

(define-public texlive-plantuml
  (package
    (name "texlive-plantuml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/plantuml/"
                                     "tex/lualatex/plantuml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1akyksvw9hcxgvikm7w6m4c1bpi5nzwpnl9w5r1332a3ggybpca4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plantuml")
    (synopsis
     "Support for rendering UML diagrams using syntax and tool of PlantUML")
    (description
     "The package provides support for rendering UML diagrams using the syntax
and tools of PlantUML.  The PlantUML syntax is very short and thus enables
quickly specifying UML diagrams.  Using @command{dot}, PlantUML layouts the
diagrams.")
    (license license:lppl1.3c)))

(define-public texlive-pyluatex
  (package
    (name "texlive-pyluatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/pyluatex/"
                                     "tex/lualatex/pyluatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b88lxzig8ky539hnf4cvjrl0jqdhbdy55yvbwv84qvqqx9wz9qg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pyluatex")
    (synopsis "Execute Python code on the fly in your LaTeX documents")
    (description
     "PyLuaTeX allows you to execute Python code and to include the resulting
output in your LaTeX documents in a single compilation run.  LaTeX documents
must be compiled with LuaLaTeX for this to work.  PyLuaTeX runs a Python
InteractiveInterpreter (actually several if you use different sessions) in the
background for on-the-fly code execution.  Python code from your LaTeX file is
sent to the background interpreter through a TCP socket.  This approach allows
your Python code to be executed and the output to be integrated in your LaTeX
file in a single compilation run.")
    (license (list license:expat license:lppl1.3c))))

(define-public texlive-pythontex
  (package
    (name "texlive-pythontex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pythontex/" "scripts/pythontex/"
                                     "source/latex/pythontex/"
                                     "tex/latex/pythontex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "161kyk3sg7fnp9wxjmb1c9xbw0az0dxw2izipdyz0378ciqhqjfw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "depythontex.py" "pythontex.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/pythontex")
    (synopsis "Run Python from within a document, typesetting the results")
    (description
     "The package allows you to enter Python code within a LaTeX document,
execute the code, and access its output in the original document.  There is
also support for Bash, JavaScript, Julia, Octave, Perl, R, Raku (Perl 6),
Ruby, Rust, and SageMath.  Code is only executed when it has been modified, or
when it meets user-specified criteria.  Code may be divided into user-defined
sessions, which automatically run in parallel.  Errors and warnings are
synchronized with the LaTeX document, so that they refer to the document's
line numbers.  External dependencies can be tracked, so that code is
re-executed when the data it depends on is modified.  PythonTeX also provides
syntax highlighting for code in LaTeX documents via the Pygments syntax
highlighter.

The package also provides a @command{depythontex} utility.  This creates
a copy of the document in which all Python code has been replaced by its
output.  This is useful for journal submissions, sharing documents, and
conversion to other formats.")
    (license license:lppl1.3+)))

(define-public texlive-koma-script
  (package
    (name "texlive-koma-script")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/koma-script/"
                                     "source/latex/koma-script/"
                                     "tex/latex/koma-script/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r2li64g7fk7qg4gb215z2q86by2f2ah9hjlqf0wcv8985qshnif"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; Building the package requires "scrdocstrip.tex", which is deeper
          ;; in the tree.  Extend TEXINPUTS accordingly.
          (add-before 'build 'fix-build
            (lambda _
              (setenv "TEXINPUTS"
                      (string-append (getcwd)
                                     "/source/latex/koma-script/doc:")))))))
    (propagated-inputs (list texlive-etoolbox texlive-xpatch))
    (home-page "https://ctan.org/pkg/koma-script")
    (synopsis "Bundle of versatile classes and packages")
    (description
     "The KOMA-Script bundle provides replacements for the article, report,
and book classes with emphasis on typography and versatility.  There is also
a letter class.  The bundle also offers: a package for calculating type areas
in the way laid down by the typographer Jan Tschichold, packages for easily
changing and defining page styles, a package @code{scrdate} for getting not
only the current date but also the name of the day, and a package
@code{scrtime} for getting the current time.  All these packages may be used
not only with KOMA-Script classes but also with the standard classes.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-koma-script texlive-koma-script)

(define-public texlive-koma-script-examples
  (package
    (name "texlive-koma-script-examples")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/koma-script-examples/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s95a3vgjxrn34cpcinkyr1yw2rj8s2973np71yxrwzi9dqdjpn1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/koma-script-examples")
    (synopsis "Examples from the KOMA-Script book")
    (description
     "This package contains some examples from the 6th edition of the book
@emph{KOMA-Script<, Eine Sammlung von Klassen und Paketen fur LaTeX2e} by
Markus Kohm, published by Lehmanns Media.  There are no further descriptions
of these examples.")
    (license license:lppl1.3c)))

(define-public texlive-atbegshi
  (package
    (name "texlive-atbegshi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/atbegshi/" "source/latex/atbegshi/"
                                     "tex/generic/atbegshi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vd90wdjwj5w4g4xka4nms3rgixjw63iwf0hj0v1akcfflwvgn69"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-latex"
                                               "texlive-pdftex")))
    (build-system texlive-build-system)
    (arguments (list #:texlive-latex-bin? #f))
    (native-inputs (list texlive-latex texlive-pdftex))
    (home-page "https://ctan.org/pkg/atbegshi")
    (synopsis "Execute commands at @code{\\shipout} time")
    (description
     "This package is a modern reimplementation of package @code{everyshi},
providing various commands to be executed before a @code{\\shipout} command.
It makes use of e-TeX’s facilities if they are available.  The package may
be used either with LaTeX or with plain TeX.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-atbegshi texlive-atbegshi)

(define-public texlive-bigintcalc
  (package
    (name "texlive-bigintcalc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bigintcalc/"
                                     "source/latex/bigintcalc/"
                                     "tex/generic/bigintcalc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cyv4mcvx83ab782l6h2f86a63ipm845r7hv1m6f1z2336vy7rc5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bigintcalc")
    (synopsis "Integer calculations on very large numbers")
    (description
     "This package provides expandable arithmetic operations with big integers
that can exceed TeX's number limits.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-bigintcalc texlive-bigintcalc)

(define-public texlive-bitset
  (package
    (name "texlive-bitset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bitset/" "source/latex/bitset/"
                                     "tex/generic/bitset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q7vk5gr5a4vaa3l20j178cg2q7a99rxdiyxhzpx9a6lfqfkjddz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bigintcalc))
    (home-page "https://ctan.org/pkg/bitset")
    (synopsis "Handle bit-vector datatype")
    (description
     "This package defines and implements the data type bit set, a vector of
bits.  The size of the vector may grow dynamically.  Individual bits can be
manipulated.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-bitset texlive-bitset)

(define-public texlive-etexcmds
  (package
    (name "texlive-etexcmds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etexcmds/" "source/latex/etexcmds/"
                                     "tex/generic/etexcmds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13cf1fs5x9d8749b2jgxmgnkrx0r4hwpl389r15kq3ldz9jfl627"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etexcmds")
    (synopsis "Avoid name clashes with e-TeX commands")
    (description
     "New primitive commands are introduced in e-TeX; sometimes the names
collide with existing macros.  This package solves the name clashes by adding
a prefix to e-TeX’s commands.  For example, ε-TeX’s @code{\\unexpanded} is
provided as @code{\\etex@@unexpanded}.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-etexcmds texlive-etexcmds)

(define-public texlive-etextools
  (package
    (name "texlive-etextools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etextools/"
                                     "source/latex/etextools/"
                                     "tex/latex/etextools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bfcc8g8q5v1nyqmrg8n17hv4k8yvhsplansvriccpmvyx0w9y9d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etextools")
    (synopsis "e-TeX tools for LaTeX users and package writers")
    (description
     "The package provides many (purely expandable) tools for LaTeX: extensive
list management; purely expandable loops; conversion; addition/deletion;
expansion and group control; tests on tokens, characters and control
sequences; tests on strings; purely expandable macros with options or
modifiers; some purely expandable numerics.")
    (license license:lppl)))

(define-public texlive-gettitlestring
  (package
    (name "texlive-gettitlestring")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gettitlestring/"
                                     "source/latex/gettitlestring/"
                                     "tex/generic/gettitlestring/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vbvmwrpsvy37gbwdmsqbbsicjiww3i0bh1yqnb75jiya9an0sjb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gettitlestring")
    (synopsis "Clean up title references")
    (description
     "This package provides commands for cleaning up the title string
(such as removing @code{\\label} commands) for packages that typeset such
strings.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-gettitlestring texlive-gettitlestring)

(define-public texlive-infwarerr
  (package
    (name "texlive-infwarerr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/infwarerr/"
                                     "source/latex/infwarerr/"
                                     "tex/generic/infwarerr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lpcrpf3d6xfdp68ri22126x57mvmq5dpj9np68ph8p8lhvhqdjd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/infwarerr")
    (synopsis "Complete set of information/warning/error message macros")
    (description
     "This package provides a complete set of macros for information, warning
and error messages.  Under LaTeX, the commands are wrappers for the
corresponding LaTeX commands; under Plain TeX they are available as complete
implementations.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-infwarerr texlive-infwarerr)

(define-public texlive-intcalc
  (package
    (name "texlive-intcalc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/intcalc/" "source/latex/intcalc/"
                                     "tex/generic/intcalc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15alwp9cr8wasfajs3p201p7nqml37vly9mpg1j5l6xv95javk7x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/intcalc")
    (synopsis "Expandable arithmetic operations with integers")
    (description
     "This package provides expandable arithmetic operations with integers,
using the e-TeX extension @code{\\numexpr} if it is available.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-intcalc texlive-intcalc)

(define-public texlive-kvdefinekeys
  (package
    (name "texlive-kvdefinekeys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kvdefinekeys/"
                                     "source/latex/kvdefinekeys/"
                                     "tex/generic/kvdefinekeys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1026h223ph3nzhs6jqbasa0bzsrdg3zgllfcwwcavfzb5i6p9jdf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kvdefinekeys")
    (synopsis "Define keys for use in the @code{kvsetkeys} package")
    (description
     "This package provides the @code{\\kv@@define@@key} (analogous to
keyval’s @code{\\define@@key}, to define keys for use by @code{kvsetkeys}.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-kvdefinekeys texlive-kvdefinekeys)

(define-public texlive-kvsetkeys
  (package
    (name "texlive-kvsetkeys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kvsetkeys/"
                                     "source/latex/kvsetkeys/"
                                     "tex/latex/kvsetkeys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c4f4sgb3xpxmvphrvzbyqa2vl7sp2j52hb99spmpbqwgj9j61qx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kvsetkeys")
    (synopsis "Key value parser with default handler support")
    (description
     "This package provides @code{\\kvsetkeys}, a variant of @code{\\setkeys}
from the @code{keyval} package.  Users can specify a handler that deals with
unknown options.  Active commas and equal signs may be used, and only one
level of curly braces are removed from the values.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-kvsetkeys texlive-kvsetkeys)

(define-public texlive-listofitems
  (package
    (name "texlive-listofitems")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/listofitems/"
                                     "tex/generic/listofitems/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "019v5m9f443mad57wd9d6fwfxws558zan17bbq3qg4kw6drl0kh3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/listofitems")
    (synopsis "Grab items in lists using user-specified separation character")
    (description
     "This package is designed to read a list, for which the parsing character
has been selected by the user, and to access any of these items with a simple
interface.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-listofitems texlive-listofitems)

(define-public texlive-ltxcmds
  (package
    (name "texlive-ltxcmds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/ltxcmds/"
                                     "source/generic/ltxcmds/"
                                     "tex/generic/ltxcmds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11nzqfra69f1rkc3ccnmgz6j94hlav23cckjc9xbgvrwp0631l5z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltxcmds")
    (synopsis "Some LaTeX kernel commands for general use")
    (description
     "This package exports some utility macros from the LaTeX kernel into
a separate namespace and also makes them available for other formats such as
plain TeX.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-ltxcmds texlive-ltxcmds)

(define-public texlive-ltxmisc
  (package
    (name "texlive-ltxmisc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/ltxmisc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14llkpla8gpx7q6a53sd8a0a42wgk93fg4mbl6pc0v7v1kjblr5m"))))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'delete-non-free-file
                 ;; This file has a non-commercial license.
                 (lambda _ (delete-file "tex/latex/ltxmisc/vrbexin.sty"))))))
    (home-page "https://ctan.org/pkg/ltxmisc")
    (synopsis "Miscellaneous LaTeX packages")
    (description
     "This package provides miscellaneous LaTeX packages and classes.")
    (license (list license:public-domain ;beletter.cls
                   license:gpl2+         ;bibcheck.sty
                   license:lppl          ;iagproc.cls
                   (license:fsf-free "file:/linsys.sty")
                   license:lppl1.0+)))) ;topcapt.sty

(define-public texlive-pdfescape
  (package
    (name "texlive-pdfescape")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfescape/"
                                     "source/latex/pdfescape/"
                                     "tex/generic/pdfescape/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16a0rdmpa4wxh6gyf46qwfgyh399rwdind2wc89phqd50ky9b5m4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfescape")
    (synopsis "Implements pdfTeX's escape features using TeX or e-TeX")
    (description
     "This package implements pdfTeX's escape features (@code{\\pdfescapehex},
@code{\\pdfunescapehex}, @code{\\pdfescapename}, @code{\\pdfescapestring})
using TeX or e-TeX.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-generic-pdfescape texlive-pdfescape)

(define-public texlive-uniquecounter
  (package
    (name "texlive-uniquecounter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uniquecounter/"
                                     "source/latex/uniquecounter/"
                                     "tex/generic/uniquecounter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ll3iwk8x44l3qx1dhna399ngg66vbllivv8i3lwzriwkx22xbf3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uniquecounter")
    (synopsis "Provides unlimited unique counter")
    (description
     "This package provides a kind of counter that provides unique number values.
Several counters can be created with different names.  The numeric values are
not limited.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-uniquecounter texlive-uniquecounter)

(define-public texlive-readarray
  (package
    (name "texlive-readarray")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/readarray/" "tex/latex/readarray/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iy3m20761mp83g59qpx9l20bg3fvm28l64vq735rcha7yqbhf22"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/readarray")
    (synopsis "Read, store and recall array-formatted data")
    (description
     "This package allows the user to input formatted data into elements of
a 2-D or 3-D array and to recall that data at will by individual cell number.
The data can be but need not be numerical in nature.  It can be, for example,
formatted text.")
    (license license:lppl1.3)))

(define-deprecated-package texlive-latex-readarray texlive-readarray)

(define-public texlive-verbatimbox
  (package
    (name "texlive-verbatimbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verbatimbox/"
                                     "tex/latex/verbatimbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13y3indc2mgx3jgj2xrqjd6g456h1g8vhf67ha4jvmrrgzcm36l6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/verbatimbox")
    (synopsis "Deposit verbatim text in a box")
    (description
     "The package provides a @code{verbbox} environment to place its contents
into a globally available box, or into a box specified by the user.  The
global box may then be used in a variety of situations (for example, providing
a replica of the @code{boxedverbatim} environment itself).  A valuable use is
in places where the standard @code{verbatim} environment (which is based on a
@code{trivlist}) may not appear.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-verbatimbox texlive-verbatimbox)

(define-public texlive-verifica
  (package
    (name "texlive-verifica")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verifica/"
                                     "source/latex/verifica/"
                                     "tex/latex/verifica/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q7kdx7rywc98sdgycj33v8w3a3rk30qil5nqh9h0kgmc7a91mpc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verifica")
    (synopsis "Typeset (Italian high school) exercises")
    (description
     "This class provides various environments and commands to produce the
typical exercises contained in a test.  It is mainly intended for Italian high
school teachers, as the style is probably more in line with Italian high
school tests.")
    (license license:lppl1.3+)))

(define-public texlive-exam-zh
  (package
    (name "texlive-exam-zh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/exam-zh/" "tex/latex/exam-zh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jxs1gha989ncz46hqcxsqwvkxp1qni7najw244nahzh7pi6p2i9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exam-zh")
    (synopsis "LaTeX template for Chinese exams")
    (description
     "This package provides a class @file{exam-zh.cls} suitable for Chinese
exams of all types.  It also includes several module packages like
@file{exam-zh-question.sty} and @file{exam-zh-choices.sty}, which can be used
individually.")
    (license license:lppl1.3c)))

(define-public texlive-examplep
  (package
    (name "texlive-examplep")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/examplep/" "tex/latex/examplep/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0afbl77i57hxngc3l0czdzmmkhcgh2l4h2dpbg9ax9p9dv8c006n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/examplep")
    (synopsis "Verbatim phrases and listings in LaTeX")
    (description
     "The @code{examplep} package provides sophisticated features for
typesetting verbatim source code listings, including the display of the source
code and its compiled LaTeX or Metapost output side-by-side, with automatic
width detection and enabled page breaks (in the source), without the need for
specifying the source twice.  Special care is taken that section, page and
footnote numbers do not interfere with the main document.  For typesetting
short verbatim phrases, a replacement for the @code{\\verb} command is also
provided in the package, which can be used inside tables and moving arguments
such as footnotes and section titles.")
    ;; No version of the GPL is specified.
    (license license:gpl3+)))

(define-deprecated-package texlive-latex-examplep texlive-examplep)

(define-public texlive-xunicode
  (package
    (name "texlive-xunicode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/xunicode/"
                                     "tex/xelatex/xunicode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d96i8kd2lhbykc3rxy2jjvws404f2vy1cvdcp5bdr6l9m72q1fa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-tipa))
    (home-page "https://ctan.org/pkg/xunicode")
    (synopsis "Generate Unicode characters from accented glyphs")
    (description
     "The package supports XeTeX's (and other putative future similar
engines') need for Unicode characters, in a similar way to what the fontenc
does for 8-bit (and the like) fonts: convert accent-glyph sequence to a single
Unicode character for output.  The package also covers glyphs specified by
packages (such as @code{tipa}) which define many commands for single text
glyphs.")
    (license license:lppl1.3+)))

(define-public texlive-xypic
  (package
    (name "texlive-xypic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/xypic/"
                                     "dvips/xypic/"
                                     "fonts/afm/public/xypic/"
                                     "fonts/enc/dvips/xypic/"
                                     "fonts/map/dvips/xypic/"
                                     "fonts/source/public/xypic/"
                                     "fonts/tfm/public/xypic/"
                                     "fonts/type1/public/xypic/"
                                     "tex/generic/xypic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09b51bbm189xh7039h5n8nmab5nn2bybhh26qjn08763m80zdhjg"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/xypic")
    (synopsis "Flexible diagramming macros")
    (description
     "This package provides a package for typesetting a variety of graphs and
diagrams with TeX.  Xy-pic works with most formats (including LaTeX,
AMS-LaTeX, AMS-TeX, and plain TeX).  The distribution includes Michael Barr's
@code{diag} package, which was previously distributed stand-alone.")
    (license license:gpl3+)))

(define-deprecated-package texlive-fonts-xypic texlive-xypic)

(define-deprecated-package texlive-generic-xypic texlive-xypic)

(define-public texlive-xypic-tut-pt
  (package
    (name "texlive-xypic-tut-pt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/xypic-tut-pt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d9ivdz5jnhnh3pg8qb2jn7qfxad06hxff65scyhdd6wbsfaizi9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xypic-tut-pt")
    (synopsis "Tutorial for XY-pic, in Portuguese")
    (description "This is a tutorial for XY-pic, in Portuguese.")
    (license license:gpl3+)))

(define-public texlive-bibtex
  (package
    (name "texlive-bibtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/base/"
                                     "bibtex/bst/base/"
                                     "doc/bibtex/base/"
                                     "doc/man/man1/bibtex.1"
                                     "doc/man/man1/bibtex.man1.pdf"
                                     "tex/generic/bibtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zf0via3lh3797wsfg9cjvlfxkrsyshbb1kskijdqfgal8f80nms"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-bibtex-bin texlive-kpathsea))
    (home-page "https://ctan.org/pkg/bibtex")
    (synopsis "Process bibliographies for LaTeX")
    (description
     "BibTeX allows the user to store his citation data in generic form, while
printing citations in a document in the form specified by a BibTeX style, to
be specified in the document itself (one often needs a LaTeX citation-style
package, such as @command{natbib} as well).")
    (license license:knuth)))

(define-public texlive-bibtex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-bibtex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(delete "--enable-web2c" #$flags))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'install
              (lambda _
                (with-directory-excursion "texk/web2c"
                  (invoke "make" "bibtex")
                  (install-file "bibtex"
                                (string-append #$output "/bin")))))))))
    (native-inputs (list pkg-config))
    (home-page (package-home-page texlive-bibtex))
    (synopsis "Binary for @code{texlive-bibtex}")
    (description
     "This package provides the binary for @code{texlive-bibtex}.")
    (license (package-license texlive-bibtex))))

(define-public texlive-charissil
  (package
    (name "texlive-charissil")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/charissil/"
                                     "fonts/enc/dvips/charissil/"
                                     "fonts/map/dvips/charissil/"
                                     "fonts/tfm/SIL/charissil/"
                                     "fonts/truetype/SIL/charissil/"
                                     "fonts/type1/SIL/charissil/"
                                     "fonts/vf/SIL/charissil/"
                                     "tex/latex/charissil/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hdwxbck39xjkyq981fm3zxxkjw753mnr05jb7h7824k9x9wpfsl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/charissil")
    (synopsis "CharisSIL fonts with support for all LaTeX engines")
    (description
     "This package provides the CharisSIL family of fonts adapted by SIL
International from Bitstream Charter in TrueType format, with support for
LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX.")
    (license (list license:silofl1.1 license:lppl))))

(define-public texlive-charter
  (package
    (name "texlive-charter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/charter/"
                                     "fonts/afm/bitstrea/charter/"
                                     "fonts/tfm/bitstrea/charter/"
                                     "fonts/type1/bitstrea/charter/"
                                     "fonts/vf/bitstrea/charter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09l5ymgz48s3hyn776l01g3isk3dnhrj1vdavdw4qq4kfxxpqdn9"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-propagated-inputs "texlive-psnfss")))
    (build-system texlive-build-system)
     ;; This provides charter.map.
    (propagated-inputs (list texlive-psnfss))
    (home-page "https://www.ctan.org/pkg/charter")
    (synopsis "Charter fonts for TeX")
    (description "This package provides a copy of the Charter Type-1 fonts
which Bitstream contributed to the X consortium, renamed for use with TeX.
Support for use with LaTeX is available in @code{freenfss}, part of
@command{psnfss}.")
    (license (license:non-copyleft
              "http://mirrors.ctan.org/fonts/charter/readme.charter"))))

(define-deprecated-package texlive-fonts-charter texlive-charter)

(define-public texlive-chngcntr
  (package
    (name "texlive-chngcntr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chngcntr/" "tex/latex/chngcntr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ag1hb1vkl0xdzslp6f0j59dijwr9k9kq7vaada148241q0hflbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chngcntr")
    (synopsis "Change the resetting of counters")
    (description
     "This package defines commands @code{\\counterwithin} (which sets up
a counter to be reset when another is incremented) and
@code{\\counterwithout} (which unsets such a relationship).")
    (license license:lppl)))

(define-public texlive-context
  (package
    (name "texlive-context")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "context/data/scite/context/"
                                     "context/data/texworks/"
                                     "context/data/vscode/"
                                     "doc/context/"
                                     "doc/man/man1/context.1"
                                     "doc/man/man1/context.man1.pdf"
                                     "doc/man/man1/mtx-babel.1"
                                     "doc/man/man1/mtx-babel.man1.pdf"
                                     "doc/man/man1/mtx-base.1"
                                     "doc/man/man1/mtx-base.man1.pdf"
                                     "doc/man/man1/mtx-bibtex.1"
                                     "doc/man/man1/mtx-bibtex.man1.pdf"
                                     "doc/man/man1/mtx-cache.1"
                                     "doc/man/man1/mtx-cache.man1.pdf"
                                     "doc/man/man1/mtx-chars.1"
                                     "doc/man/man1/mtx-chars.man1.pdf"
                                     "doc/man/man1/mtx-check.1"
                                     "doc/man/man1/mtx-check.man1.pdf"
                                     "doc/man/man1/mtx-colors.1"
                                     "doc/man/man1/mtx-colors.man1.pdf"
                                     "doc/man/man1/mtx-context.1"
                                     "doc/man/man1/mtx-context.man1.pdf"
                                     "doc/man/man1/mtx-convert.1"
                                     "doc/man/man1/mtx-convert.man1.pdf"
                                     "doc/man/man1/mtx-ctan.1"
                                     "doc/man/man1/mtx-ctan.man1.pdf"
                                     "doc/man/man1/mtx-dvi.1"
                                     "doc/man/man1/mtx-dvi.man1.pdf"
                                     "doc/man/man1/mtx-epub.1"
                                     "doc/man/man1/mtx-epub.man1.pdf"
                                     "doc/man/man1/mtx-evohome.1"
                                     "doc/man/man1/mtx-evohome.man1.pdf"
                                     "doc/man/man1/mtx-fcd.1"
                                     "doc/man/man1/mtx-fcd.man1.pdf"
                                     "doc/man/man1/mtx-fixpdf.1"
                                     "doc/man/man1/mtx-fixpdf.man1.pdf"
                                     "doc/man/man1/mtx-flac.1"
                                     "doc/man/man1/mtx-flac.man1.pdf"
                                     "doc/man/man1/mtx-fonts.1"
                                     "doc/man/man1/mtx-fonts.man1.pdf"
                                     "doc/man/man1/mtx-grep.1"
                                     "doc/man/man1/mtx-grep.man1.pdf"
                                     "doc/man/man1/mtx-install-modules.1"
                                     "doc/man/man1/mtx-install-modules.man1.pdf"
                                     "doc/man/man1/mtx-install.1"
                                     "doc/man/man1/mtx-install.man1.pdf"
                                     "doc/man/man1/mtx-interface.1"
                                     "doc/man/man1/mtx-interface.man1.pdf"
                                     "doc/man/man1/mtx-kpse.1"
                                     "doc/man/man1/mtx-kpse.man1.pdf"
                                     "doc/man/man1/mtx-metapost.1"
                                     "doc/man/man1/mtx-metapost.man1.pdf"
                                     "doc/man/man1/mtx-modules.1"
                                     "doc/man/man1/mtx-modules.man1.pdf"
                                     "doc/man/man1/mtx-package.1"
                                     "doc/man/man1/mtx-package.man1.pdf"
                                     "doc/man/man1/mtx-patterns.1"
                                     "doc/man/man1/mtx-patterns.man1.pdf"
                                     "doc/man/man1/mtx-pdf.1"
                                     "doc/man/man1/mtx-pdf.man1.pdf"
                                     "doc/man/man1/mtx-plain.1"
                                     "doc/man/man1/mtx-plain.man1.pdf"
                                     "doc/man/man1/mtx-profile.1"
                                     "doc/man/man1/mtx-profile.man1.pdf"
                                     "doc/man/man1/mtx-rsync.1"
                                     "doc/man/man1/mtx-rsync.man1.pdf"
                                     "doc/man/man1/mtx-scite.1"
                                     "doc/man/man1/mtx-scite.man1.pdf"
                                     "doc/man/man1/mtx-server.1"
                                     "doc/man/man1/mtx-server.man1.pdf"
                                     "doc/man/man1/mtx-spell.1"
                                     "doc/man/man1/mtx-spell.man1.pdf"
                                     "doc/man/man1/mtx-synctex.1"
                                     "doc/man/man1/mtx-synctex.man1.pdf"
                                     "doc/man/man1/mtx-texworks.1"
                                     "doc/man/man1/mtx-texworks.man1.pdf"
                                     "doc/man/man1/mtx-tools.1"
                                     "doc/man/man1/mtx-tools.man1.pdf"
                                     "doc/man/man1/mtx-unicode.1"
                                     "doc/man/man1/mtx-unicode.man1.pdf"
                                     "doc/man/man1/mtx-unzip.1"
                                     "doc/man/man1/mtx-unzip.man1.pdf"
                                     "doc/man/man1/mtx-update.1"
                                     "doc/man/man1/mtx-update.man1.pdf"
                                     "doc/man/man1/mtx-vscode.1"
                                     "doc/man/man1/mtx-vscode.man1.pdf"
                                     "doc/man/man1/mtx-watch.1"
                                     "doc/man/man1/mtx-watch.man1.pdf"
                                     "doc/man/man1/mtx-youless.1"
                                     "doc/man/man1/mtx-youless.man1.pdf"
                                     "doc/man/man1/mtxrun.1"
                                     "doc/man/man1/mtxrun.man1.pdf"
                                     "fonts/afm/hoekwater/context/"
                                     "fonts/cid/fontforge/"
                                     "fonts/enc/dvips/context/"
                                     "fonts/map/dvips/context/"
                                     "fonts/map/luatex/context/"
                                     "fonts/map/pdftex/context/"
                                     "fonts/misc/xetex/fontmapping/context/"
                                     "fonts/tfm/hoekwater/context/"
                                     "fonts/type1/hoekwater/context/"
                                     "metapost/context/base/common/"
                                     "metapost/context/base/mpiv/"
                                     "metapost/context/base/mpxl/"
                                     "metapost/context/fonts/mpiv/"
                                     "scripts/context/lua/context.lua"
                                     "scripts/context/lua/mtx-babel.lua"
                                     "scripts/context/lua/mtx-base.lua"
                                     "scripts/context/lua/mtx-bibtex.lua"
                                     "scripts/context/lua/mtx-cache.lua"
                                     "scripts/context/lua/mtx-chars.lua"
                                     "scripts/context/lua/mtx-check.lua"
                                     "scripts/context/lua/mtx-colors.lua"
                                     "scripts/context/lua/mtx-context.lua"
                                     "scripts/context/lua/mtx-context.xml"
                                     "scripts/context/lua/mtx-convert.lua"
                                     "scripts/context/lua/mtx-ctan.lua"
                                     "scripts/context/lua/mtx-dvi.lua"
                                     "scripts/context/lua/mtx-epub.lua"
                                     "scripts/context/lua/mtx-evohome.lua"
                                     "scripts/context/lua/mtx-fcd.lua"
                                     "scripts/context/lua/mtx-fixpdf.lua"
                                     "scripts/context/lua/mtx-flac.lua"
                                     "scripts/context/lua/mtx-fonts.lua"
                                     "scripts/context/lua/mtx-grep.lua"
                                     "scripts/context/lua/mtx-install-modules.lua"
                                     "scripts/context/lua/mtx-install.lua"
                                     "scripts/context/lua/mtx-interface.lua"
                                     "scripts/context/lua/mtx-kpse.lua"
                                     "scripts/context/lua/mtx-metapost.lua"
                                     "scripts/context/lua/mtx-mk-help.lua"
                                     "scripts/context/lua/mtx-modules.lua"
                                     "scripts/context/lua/mtx-package.lua"
                                     "scripts/context/lua/mtx-patterns.lua"
                                     "scripts/context/lua/mtx-pdf.lua"
                                     "scripts/context/lua/mtx-plain.lua"
                                     "scripts/context/lua/mtx-profile.lua"
                                     "scripts/context/lua/mtx-rsync.lua"
                                     "scripts/context/lua/mtx-scite.lua"
                                     "scripts/context/lua/mtx-server-ctx-fonttest.lua"
                                     "scripts/context/lua/mtx-server-ctx-help.lua"
                                     "scripts/context/lua/mtx-server-ctx-startup.lua"
                                     "scripts/context/lua/mtx-server.lua"
                                     "scripts/context/lua/mtx-spell.lua"
                                     "scripts/context/lua/mtx-synctex.lua"
                                     "scripts/context/lua/mtx-texworks.lua"
                                     "scripts/context/lua/mtx-tools.lua"
                                     "scripts/context/lua/mtx-unicode.lua"
                                     "scripts/context/lua/mtx-unzip.lua"
                                     "scripts/context/lua/mtx-update.lua"
                                     "scripts/context/lua/mtx-vscode.lua"
                                     "scripts/context/lua/mtx-watch.lua"
                                     "scripts/context/lua/mtx-youless.lua"
                                     "scripts/context/lua/mtxlibs.lua"
                                     "scripts/context/lua/mtxrun.lua"
                                     "scripts/context/lua/texlua.lua"
                                     "scripts/context/perl/makempy.pl"
                                     "scripts/context/perl/path_tre.pm"
                                     "scripts/context/perl/pdftrimwhite.pl"
                                     "scripts/context/perl/texfind.pl"
                                     "scripts/context/perl/texfont.pl"
                                     "tex/context/"
                                     "tex/generic/context/luatex/"
                                     "tex/generic/context/ppchtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1657n2pp14m3wz4y18s90chvlxb5ff2lf3k8d3milr43fab65b7v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'install-executables
            (lambda* (#:key inputs #:allow-other-keys)
              (let* ((bin (string-append #$output "/bin"))
                     (context (string-append bin "/context"))
                     (mtxrun (string-append bin "/mtxrun"))
                     (texmfcnf.lua
                      (search-input-file inputs
                                         "share/texmf-dist/web2c/texmfcnf.lua"))
                     (sh (search-input-file inputs "bin/sh")))
                (mkdir-p bin)
                ;; Create "mtxrun" runner.
                ;;
                ;; Out of the box, "mtxrun" first looks for "texmfcnf.lua" in
                ;; "~/texmf", then in TEXMFCNF.  The latter is set within
                ;; TEXLIVE-LIBKPATHSEA; it cannot contain the configuration
                ;; file provided by TEXLIVE-LUATEX.  Point to the right file
                ;; instead.
                (call-with-output-file mtxrun
                  (lambda (port)
                    (format port
                            "#!~a~%env ~a ~a luatex --luaonly mtxrun.lua \"$@\""
                            sh
                            (string-append "LUATEXDIR="
                                           #$output
                                           "/share/texmf-dist/scripts/context/lua")
                            (format #f
                                    "TEXMFCNF={$HOME/texmf/web2c,~a}"
                                    (dirname texmfcnf.lua)))))
                (chmod mtxrun #o755)
                ;; Create "context" runner.
                (call-with-output-file context
                  (lambda (port)
                    (format port "#!~a~%mtxrun --script context \"$@\"" sh)))
                (chmod context #o755)))))))
    (propagated-inputs
     (list texlive-amsfonts
           texlive-context-companion-fonts
           texlive-context-texlive
           texlive-lm
           texlive-lm-math
           texlive-luajittex
           texlive-luatex
           texlive-manfnt-font
           texlive-mflogo-font
           texlive-stmaryrd))
    (home-page "https://ctan.org/pkg/context")
    (synopsis "Full featured, parameter driven macro package for TeX")
    (description "ConTeXt is a full featured, parameter driven macro package,
which fully supports advanced interactive documents.  See the ConTeXt garden
for a wealth of support information.")
    ;; The GPL applies to all code; alternatively, the LaTeX license may be
    ;; used.  The CC-BY-SA license applies to all documentation.
    (license (list license:lppl1.3c+
                   license:gpl2+
                   license:cc-by-sa4.0))))

(define-deprecated-package texlive-context-base texlive-context)

(define-public texlive-context-calendar-examples
  (package
    (name "texlive-context-calendar-examples")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list
                         "doc/context/third/calendar-examples/"
                         "tex/context/third/calendar-examples/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "02ic0vn3bn2fibcnvr6k78ndfq67f9kysszzvcw5qh4nsck06syf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-calendar-examples")
    (synopsis "Collection of calendars based on the PocketDiary module")
    (description
     "The module contains examples for creating calendars based on the
PocketDiary-module in various page sizes.")
    (license license:public-domain)))

(define-public texlive-context-collating-marks
  (package
    (name "texlive-context-collating-marks")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list
                         "doc/context/third/collating-marks/"
                         "tex/context/third/collating-marks/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0jrlq3gar1ibm7vj8jvqh0cdq1vbl06g9vk74h4vihnmmhj1b3wz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-collating-marks")
    (synopsis "Environment to place collating marks on the spine of a section")
    (description
     "This module provides a possibility to place collating marks on the
spines of sections when using imposition.  Placing collating marks is a method
to make the correct sequence of sections of a book block visible.")
    (license license:public-domain)))

(define-public texlive-context-legacy
  (package
    (name "texlive-context-legacy")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list "bibtex/bst/context/mkii/"
                              "context/data/texfont/"
                              "doc/context/scripts/mkii/"
                              "doc/man/man1/texexec.1"
                              "doc/man/man1/texexec.man1.pdf"
                              "doc/man/man1/texmfstart.1"
                              "doc/man/man1/texmfstart.man1.pdf"
                              "metapost/context/base/mpii/"
                              "scripts/context/ruby/"
                              "tex/context/base/mkii/"
                              "tex/context/bib/common/"
                              "tex/context/bib/mkii/"
                              "tex/context/fonts/mkii/"
                              "tex/context/interface/mkii/"
                              "tex/context/modules/mkii/"
                              "tex/context/patterns/mkii/"
                              "tex/context/user/mkii/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "15wfyb8s3n7l7692k5ny4w0im6paicaypyjfpzm4k5yhi0jxfgqw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:link-scripts #~(list "texexec.rb" "texmfstart.rb")
      #:create-formats #~(list "cont-en")))
    (inputs (list ruby))
    (propagated-inputs (list texlive-context texlive-metapost texlive-mptopdf
                             texlive-pdftex texlive-xetex))
    (home-page "https://ctan.org/pkg/context-legacy")
    (synopsis "The ConTeXt macro package, MkII")
    (description
     "In TeX Live, ConTeXt MkII is split from current ConTeXt (MkIV and
newer).")
    ;; Same as ConTeXt.
    (license (list license:lppl1.3c+ license:gpl2+ license:cc-by-sa4.0))))

(define-public texlive-context-notes-zh-cn
  (package
    (name "texlive-context-notes-zh-cn")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference (url (texlive-packages-repository version))
                                 (revision 70951)
                                 (locations (list
                                             "doc/context/third/context-notes-zh-cn/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0pdizaybvxvzh19451x90mj81ql98q91f6cj8mfxwxa0mci1b9p4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-notes-zh-cn")
    (synopsis "Notes on using ConTeXt MkIV")
    (description
     "This package provides an introductory tutorial on @code{ConTeXt}, in
Chinese.  The document covers @code{ConTeXt} installation, fonts, layout
design, cross-reference, project structure, metafun and presentation design.")
    (license license:gpl3)))

(define-public texlive-context-pocketdiary
  (package
    (name "texlive-context-pocketdiary")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list
                         "doc/context/third/pocketdiary/"
                         "tex/context/third/pocketdiary/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0zn2rzlhm6agz5pknf0f8qqn7w0c1qjgdxh73gglyb55jvgl8b2z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-pocketdiary")
    (synopsis "Personal organiser")
    (description
     "PocketDiary is a calendar module, enabling to prepare various calendars
from day- to week, month- and year-calendars based on the ideas contained in
PocketMods, having 8 pages arranged on a A4 single-sided printed sheet of
paper.  The module comes with different templates for notes etc.  The module
provides sun and moon data calculations.")
    (license license:public-domain)))

(define-public texlive-context-squares
  (package
    (name "texlive-context-squares")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list "doc/context/third/squares/"
                              "tex/context/third/squares/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "13kg55djn6bppvigl395irfqsq87vw2sazfmjrfan2agl1mfsqfv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-squares")
    (synopsis "Typesetting Magic and Latin squares")
    (description "The package provides typesetting of Magic and Latin squares.")
    (license license:expat)))

(define-public texlive-context-sudoku
  (package
    (name "texlive-context-sudoku")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list "doc/context/third/sudoku/"
                              "tex/context/third/sudoku/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0izgrfbqblik9hmlnnqsjwnfjrjks1zdafqk68gfv87lpysz6kgj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-sudoku")
    (synopsis "Sudokus for ConTeXt")
    (description
     "This package provides a port of Peter Norvig's sudoku solver to
Lua/ConTeXt.  It provides four basic commands for typesetting sudokus, as well
as a command handler.")
    (license license:expat)))

(define-public texlive-context-companion-fonts
  (package
    (name "texlive-context-companion-fonts")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations
              (list "fonts/opentype/public/context-companion-fonts/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "14xxbwjcin47pfxm6nsrvn3kvd3z72ih4py7v4bg08z39653b2sw"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/context-companion-fonts")
    (synopsis "Companion fonts with fixes for ConTeXt")
    (description
     "These files fix and/or enhance some math glyphs and are loaded in the
math font goodie files used by ConTeXt LMTX.")
    (license (list license:lppl1.3c+ license:gpl2+))))

(define-public texlive-context-cyrillicnumbers
  (package
    (name "texlive-context-cyrillicnumbers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/cyrillicnumbers/"
                                     "tex/context/interface/third/"
                                     "tex/context/third/cyrillicnumbers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pysyspfnlynbylh4jv4rlwc3sf618ry90l7sph4zbhqg1cairys"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-cyrillicnumbers")
    (synopsis "Write numbers as cyrillic glyphs")
    (description
     "The package extends ConTeXt's system of number conversion, by adding
numeration using cyrillic letters.")
    (license license:bsd-2)))

(define-public texlive-context-filter
  (package
    (name "texlive-context-filter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/filter/"
                                     "tex/context/third/filter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03nv2zd3aiv9lkq0bwq6awibn1acjprkc6b6jr5jslcyy4sw3k7w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-filter")
    (synopsis
     "Run external programs on the contents of a start-stop environment")
    (description
     "The @code{filter} module provides a simple interface to run external
programs on the contents of a start-stop environment.  Options are available
to run the external program only if the content of the environment has
changed, to specify how the program output should be read back, and to choose
the name of the temporary files that are created.  The module is compatible
with both MkII and MkIV.")
    (license license:bsd-2)))

(define-public texlive-context-gnuplot
  (package
    (name "texlive-context-gnuplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/gnuplot/"
                                     "metapost/context/third/gnuplot/"
                                     "tex/context/third/gnuplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bmzww4sq8n37aipy6cvplcblxwlbmpl0by2sqysc3pdyxnixg41"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-gnuplot")
    (synopsis "Inclusion of Gnuplot graphs in ConTeXt")
    (description
     "This ConTeXt module enables simple creation and inclusion of graphs with
Gnuplot.  It writes a script into temporary file, runs Gnuplot and includes
the resulting graphic directly into the document.")
    (license license:gpl3+)))

(define-public texlive-context-handlecsv
  (package
    (name "texlive-context-handlecsv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/handlecsv/"
                                     "tex/context/third/handlecsv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s1ivnv62y8dcmhwk49x3hxphn5ig326f3n5klpkkxzfhk9d9f52"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-handlecsv")
    (synopsis "Data merging for automatic document creation")
    (description
     "The package handles CSV data merging for automatic document creation.")
    (license license:gpl3)))

(define-public texlive-context-letter
  (package
    (name "texlive-context-letter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/letter/"
                                     "tex/context/interface/third/"
                                     "tex/context/third/letter/base/"
                                     "tex/context/third/letter/style/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12dc8bii38s8qgiyw749walkcmpni0j33pji7rxbrslfax81cb4q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-letter")
    (synopsis "ConTeXt package for writing letters")
    (description
     "This package provides a means of writing vanilla letters and memos is
provided, with support covering ConTeXt Mkii and Mkiv.  The design of
letters may be amended by a wide range of style specifications.")
    (license license:gpl3+)))

(define-public texlive-context-mathsets
  (package
    (name "texlive-context-mathsets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/mathsets/"
                                     "tex/context/interface/third/"
                                     "tex/context/third/mathsets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "132ps8piihyp93y2af98xl6qan0ivmjbjkljvy7ly5h763ykkv3q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-mathsets")
    (synopsis "Set notation in ConTeXt")
    (description
     "Typeset good-looking set notation as well as similar things such as
Dirac braket notation, conditional probabilities, etc.  The package is at
least inspired by @code{braket}.")
    (license license:bsd-2)))           ;from "t-mathsets.tex"

(define-public texlive-context-simpleslides
  (package
    (name "texlive-context-simpleslides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/simpleslides/"
                                     "scripts/context/lua/third/simpleslides/"
                                     "tex/context/interface/third/"
                                     "tex/context/third/simpleslides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7pam5darq2nfnhfnrcxj5yzdjawg6kjiqq7qbip87l9jmj7sga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-simpleslides")
    (synopsis "Module for preparing presentations")
    (description
     "This ConTeXt module provides an easy-to-use interface for creating
presentations for use with a digital projector.  The presentations are
not interactive (no buttons, hyperlinks or navigational tools such as
tables of contents).  Graphics may be mixed with the text of slides.
The module provides several predefined styles, designed for academic
presentation.  Most styles are configurable, and it is easy to design
new styles.")
    (license license:gpl3+)))

(define-public texlive-context-texlive
  (package
    (name "texlive-context-texlive")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list "doc/man/man1/contextjit.1"
                              "doc/man/man1/contextjit.man1.pdf"
                              "doc/man/man1/luatools.1"
                              "doc/man/man1/luatools.man1.pdf"
                              "doc/man/man1/mtxrunjit.1"
                              "doc/man/man1/mtxrunjit.man1.pdf"
                              "scripts/context-texlive/stubs-mkiv/unix/"
                              "scripts/context-texlive/stubs-mkiv/win64/"
                              "scripts/context-texlive/stubs/unix/"
                              "scripts/context-texlive/stubs/win64/"
                              "tex/context/texlive/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1d4lga9l3yfqv1b3lskpgifkrcylnwz6v2hggylzf7ixvsi49hwd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "contextjit" "luatools" "mtxrunjit")))
    (home-page "https://ctan.org/pkg/context-texlive")
    (synopsis "TeX Live-specific helpers for ConTeXt (caches, papersize)")
    (description
     "This package distributes @file{cont-sys.mkxl} and @file{cont-sys.mkiv}
files to update the ConTeXt filename cache if the system @file{ls-R} files are
modified (typically by @command{mktexlsr}).  It also sets the default paper
size from the @file{context-papersize.tex} file which TeX Live
creates/updates.  It also includes stubs to run the @command{luatools},
@command{contextjit}, and @command{mtxrunjit} scripts.")
    ;; Same as ConTeXt.
    (license (list license:lppl1.3c+ license:gpl2+))))

(define-public texlive-context-transliterator
  (package
    (name "texlive-context-transliterator")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/transliterator/"
                                     "scripts/context/lua/third/transliterator/"
                                     "tex/context/interface/third/"
                                     "tex/context/third/transliterator/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "089mw43yrj0l06dcv1jzf1nibrwrz6qbhaj85crzjh8k91dzsw4j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-transliterator")
    (synopsis "Transliterate text from other alphabets")
    (description
     "The package will read text in one alphabet, and provide a transliterated
version in another; this is useful for readers who cannot read the original
alphabet.  The package can make allowance for hyphenation.")
    (license license:bsd-2)))           ;from "t-transliterator.mkiv"

(define-public texlive-context-typescripts
  (package
    (name "texlive-context-typescripts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/typescripts/"
                                     "tex/context/third/typescripts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kz3flqyzg2p7lvr7yy1h1nmk368glzxxhwirizn5g4xv5sdf27b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-typescripts")
    (synopsis "Small modules to load various fonts for use in ConTeXt")
    (description
     "The package provides files offering interfaces to 33 publicly available
fonts (or collections of fonts from the same foundry); each is available in
a @file{.mkii} and a @file{.mkiv} version.")
    (license license:gpl2)))

(define-public texlive-context-vim
  (package
    (name "texlive-context-vim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/vim/"
                                     "tex/context/third/vim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03cwdqkrx6bgcikmyxrwkyac3jmz7i50cavgb6r8b26zrsm522ca"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context texlive-context-filter))
    (home-page "https://ctan.org/pkg/context-vim")
    (synopsis "Generate ConTeXt syntax highlighting code from Vim")
    (description
     "ConTeXt has excellent pretty printing capabilities for many languages.
The code for pretty printing is written in TeX, and due to catcode juggling,
such verbatim typesetting is perhaps the trickiest part of TeX.  This makes it
difficult for a normal user to define syntax highlighting rules for a new
language.  This module takes the onus of defining syntax highlighting rules
away from the user and uses Vim editor to generate the syntax highlighting.
There is a helper @file{2context.vim} script to do the syntax parsing in
Vim.")
    (license license:bsd-2)))

(define-public texlive-context-visualcounter
  (package
    (name "texlive-context-visualcounter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/visualcounter/"
                                     "source/context/third/visualcounter/"
                                     "tex/context/third/visualcounter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rq2zqrvbidwngc4jyv4ay84y5l854z1shk08cjlvnlbsgrg7lmk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-context))
    (home-page "https://ctan.org/pkg/context-visualcounter")
    (synopsis "Visual display of ConTeXt counters")
    (description
     "This package provides a typical document usually contains many counters:
page numbers, section numbers, itemizations, enumerations, theorems, and so
on.  This module provides a visual display for such counters.")
    (license license:bsd-2)))

(define-public texlive-beamer
  (package
    (name "texlive-beamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamer/" "tex/latex/beamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ck21cwnwz5nx1hb263n9qs4gq76wiisqrh346yy6rjf425rgviy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-amscls
           texlive-amsfonts
           texlive-amsmath
           texlive-atbegshi
           texlive-etoolbox
           texlive-geometry
           texlive-hyperref
           texlive-iftex
           texlive-pgf
           texlive-translator
           texlive-xcolor))
    (home-page "https://www.ctan.org/pkg/beamer")
    (synopsis "LaTeX class for producing presentations and slides")
    (description
     "The @code{beamer} LaTeX class can be used for producing slides.
The class works in both PostScript and direct PDF output modes, using the
@code{pgf} graphics system for visual effects.  Content is created in the
@code{frame} environment, and each frame can be made up of a number of slides
using a simple notation for specifying material to appear on each slide within
a frame.  Short versions of title, authors, institute can also be specified as
optional parameters.  Whole frame graphics are supported by plain frames.  The
class supports @code{figure} and @code{table} environments, transparency
effects, varying slide transitions and animations.")
    ;; Code is dual licensed under GPLv2+ or LPPL1.3c+; documentation is
    ;; dual-licensed under either FDLv1.3+ or LPPL1.3c+.
    (license (list license:lppl1.3c+ license:gpl2+ license:fdl1.3+))))

(define-deprecated-package texlive-latex-beamer texlive-beamer)

(define-public texlive-beamer-tut-pt
  (package
    (name "texlive-beamer-tut-pt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamer-tut-pt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ayh3kbh11l4nyyzp2kcwzn0phqhzawppy044iyl1wwwc2v3zx5b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamer-tut-pt")
    (synopsis "Introduction to the @code{beamer} class, in Portuguese")
    (description
     "This package provides an introduction to the @code{beamer} class, in
Portuguese.")
    (license license:gpl3+)))

(define-public texlive-xmpincl
  (package
    (name "texlive-xmpincl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xmpincl/" "source/latex/xmpincl/"
                                     "tex/latex/xmpincl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wc48qark5hd593jh3mx1yryxsdcq5hbaxyrhwcaxzgqivdli34p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xmpincl")
    (synopsis "Include eXtensible Metadata Platform data in pdfLaTeX")
    (description
     "The XMP (eXtensible Metadata platform) is a framework to add metadata to
digital material to enhance the workflow in publication.  The essence is that
the metadata is stored in an XML file, and this XML stream is then embedded in
the file to which it applies.")
    (license license:gpl3+)))

(define-deprecated-package texlive-latex-xmpincl texlive-xmpincl)

(define-public texlive-pdfx
  (package
    (name "texlive-pdfx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfx/" "source/latex/pdfx/"
                                     "tex/latex/pdfx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z4j4d92k2fjmf8jfap4zn7ij97d9rz2jcs9aslcac07ag4x5bdp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-encoding
            (lambda _
              (substitute* "source/latex/pdfx/pdfx.dtx"
                (("    .+umaczy") "umaczy")))))))
    (home-page "https://ctan.org/pkg/pdfx")
    (synopsis "PDF/X and PDF/A support for pdfTeX, LuaTeX and XeTeX")
    (description
     "The package helps LaTeX users to create PDF/X, PFD/A and other
standards-compliant PDF documents with pdfTeX, LuaTeX and XeTeX.")
    (license license:lppl1.2+)))

(define-deprecated-package texlive-latex-pdfx texlive-pdfx)

(define-public texlive-yamlvars
  (package
    (name "texlive-yamlvars")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/yamlvars/"
                                     "tex/lualatex/yamlvars/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08s64y8gb3nxa6cadklfz31ia7k2bk42z1zg3db851d2xnvwivs8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yamlvars")
    (synopsis "YAML parser and tool for easy LaTeX definition creation")
    (description
     "This LuaLaTeX package provides a YAML parser and some functions to
declare and define LaTeX definitions using YAML files.")
    (license license:expat)))

(define-public texlive-yax
  (package
    (name "texlive-yax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/yax/" "tex/generic/yax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01hv550qkmxw63m41v4qykfiracvzvjwxk49y6fc6abg89hfvsj6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yax")
    (synopsis "Yet Another Key System")
    (description
     "YaX is advertised as a key system, but it rather organizes attributes in
parameters, which parameters can be executed, so that YaX is halfway between
key management and macro definition (and actually hopes to provide a user's
interface).  Values assigned to attributes can be retrieved and tested in
various ways, with full expandability ensured as much as possible.  Finally,
YaX's syntax is a quite peculiar (as few braces as possible), but may be
customized.")
    (license license:lppl)))

(define-public texlive-ydoc
  (package
    (name "texlive-ydoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ydoc/" "source/latex/ydoc/"
                                     "tex/generic/ydoc/" "tex/latex/ydoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00v7vlv7z2xy4sy2zd4arlndjqvgjsqar3i22vdnld4flb03jqb8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox
           texlive-float
           texlive-hyperref
           texlive-listings
           texlive-needspace
           texlive-newverbs
           texlive-showexpl
           texlive-tools
           texlive-url
           texlive-xcolor))
    (home-page "https://ctan.org/pkg/ydoc")
    (synopsis "Macros for documentation of LaTeX classes and packages")
    (description "The package provides macros and environments to document
LaTeX packages and classes.  It is an (as yet unfinished) alternative to the
@code{ltxdoc} class and the @code{doc} or @code{xdoc} packages.  The aim is to
provide a different layout and more modern styles (using the @code{xcolor},
@code{hyperref} packages, etc.)  This is an alpha release, and should probably
not (yet) be used with other packages, since the implementation might
change.")
    (license license:lppl1.3+)))

(define-public texlive-yet-another-guide-latex2e
  (package
    (name "texlive-yet-another-guide-latex2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yet-another-guide-latex2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a4z4ni7327jd1r4n0w2lh7bb8ag7dfdgr6xwl4q5hf2jbdv8mmy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yet-another-guide-latex2e")
    (synopsis "Short guide to using LaTeX2e to typeset high quality documents")
    (description
     "This document is a short guide to using LaTeX2e to typeset high quality
documents.  It focuses on users of Windows and guides the reader through
installation, some of LaTeX's conventions, and creating the front matter, body
and end matter.  The appendices contain a list of useful facilities not
otherwise covered in this document and a list of helpful resources.")
    (license license:fdl1.3+)))

(define-public texlive-pstricks
  (package
    (name "texlive-pstricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pstricks/" "dvips/pstricks/"
                                     "tex/generic/pstricks/" "tex/latex/pstricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z4lk96pkd3cjx264kb8dgfwwa5ag0f1aam34wqssffbbccl2d9b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "http://www.ctan.org/pkg/pstricks-base")
    (synopsis "PostScript macros for TeX")
    (description
     "PSTricks offers an extensive collection of macros for generating
PostScript that is usable with most TeX macro formats, including Plain TeX,
LaTeX, AMS-TeX, and AMS-LaTeX.  Included are macros for colour, graphics, pie
charts, rotation, trees and overlays.  It has many special features, including
a wide variety of graphics (picture drawing) macros, with a flexible interface
and with colour support.  There are macros for colouring or shading the cells
of tables.")
    (license license:lppl1.3+)))

(define-public texlive-pst-2dplot
  (package
    (name "texlive-pst-2dplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-2dplot/"
                                     "tex/latex/pst-2dplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lq39hdlqf4af16lx7qrs6x2hj10rsashgd3yl8659346a2mq75a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-2dplot")
    (synopsis "PSTricks package for drawing 2D curves")
    (description
     "Pst-2dplot is a PSTricks package that offers an intuitive tool for
plotting 2-d curves.  It defines an environment with commands similar to
MATLAB for plotting.")
    (license license:lppl)))

(define-public texlive-pst-3d
  (package
    (name "texlive-pst-3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-3d/" "dvips/pst-3d/"
                                     "source/generic/pst-3d/"
                                     "tex/generic/pst-3d/" "tex/latex/pst-3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12gpsg14glcjavlwsb7g0dkxcax89z2adkx7p29cpzvssnimdj50"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-3d")
    (synopsis "PSTricks package for tilting and other pseudo-3D tricks")
    (description
     "The package provides basic macros that use PSTricks for shadows, tilting
and three dimensional representations of text or graphical objects.")
    (license license:lppl)))

(define-public texlive-pst-3dplot
  (package
    (name "texlive-pst-3dplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-3dplot/"
                                     "dvips/pst-3dplot/"
                                     "tex/generic/pst-3dplot/"
                                     "tex/latex/pst-3dplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n9lhqaj7zmvv781yhbm7d2swdzsjn6dzljrpchm2lz58l1lig2j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-3dplot")
    (synopsis "Draw 3D objects in parallel projection, using PSTricks")
    (description
     "This package provides a package using PSTricks to draw a large variety
of graphs and plots, including 3D maths functions.  Data can be read from
external data files, making this package a generic tool for graphing within
TeX or LaTeX, without the need for external tools.")
    (license license:lppl)))

(define-public texlive-pst-abspos
  (package
    (name "texlive-pst-abspos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-abspos/"
                                     "source/generic/pst-abspos/"
                                     "tex/generic/pst-abspos/"
                                     "tex/latex/pst-abspos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12k786hfhp8vrq4a6a6caf6fi1p16hd79r3lf19d5vcyykppdcm8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-abspos")
    (synopsis "Put objects at an absolute position")
    (description
     "This PSTricks package provides a command @code{\\pstPutAbs(x,y)} to put
an object at an arbitrary absolute (or even a relative) position on the
page.")
    (license license:lppl)))

(define-public texlive-pst-am
  (package
    (name "texlive-pst-am")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-am/"
                                     "source/generic/pst-am/" "tex/latex/pst-am/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dyhjycy6ccamxcp65761gbszxpvxdsiirqbpljkywsbynwfcn6q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-am")
    (synopsis "Simulation of modulation and demodulation")
    (description
     "The package allows the simulation of the modulated and demodulated
amplitude of radio waves.  The user may plot curves of modulated signals, wave
carrier, signal modulation, signal recovery and signal demodulation.")
    (license license:lppl)))

(define-public texlive-pst-antiprism
  (package
    (name "texlive-pst-antiprism")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-antiprism/"
                                     "dvips/pst-antiprism/"
                                     "tex/generic/pst-antiprism/"
                                     "tex/latex/pst-antiprism/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "158691m8i8zd0w7d7vsbmkjm4y1ixfvj4j7bxszcw67cz2q2cmyi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-antiprism")
    (synopsis "PSTricks related package which draws an antiprism")
    (description
     "@code{pst-antiprism} is a PSTricks related package which draws an antiprism,
which is a semiregular polyhedron constructed with 2-gons and triangles.")
    (license license:lppl)))

(define-public texlive-pst-arrow
  (package
    (name "texlive-pst-arrow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-arrow/"
                                     "tex/generic/pst-arrow/"
                                     "tex/latex/pst-arrow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z216b5189f390mdzxxcc240i0iav13nicqjqwcn31f4j4wclpzj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-arrow")
    (synopsis "Special arrows for PSTricks")
    (description
     "This package has all the code from the package @code{pstricks-add},
which was related to arrows, like multiple arrows and so on.")
    (license license:lppl)))

(define-public texlive-pst-asr
  (package
    (name "texlive-pst-asr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-asr/"
                                     "tex/generic/pst-asr/" "tex/latex/pst-asr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hxp905d2r4j2z8hfbl9v45xid20lm41k8xy52fdj5grpshhg2z1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-asr")
    (synopsis "Typeset autosegmental representations for linguists")
    (description
     "The package allows the user to typeset autosegmental representations.")
    (license license:lppl)))

(define-public texlive-pst-bar
  (package
    (name "texlive-pst-bar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-bar/" "dvips/pst-bar/"
                                     "tex/generic/pst-bar/" "tex/latex/pst-bar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19x8a3r09m28g6mpa98rz94274yahajznkkqarzwh1n8v54bb7hd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-bar")
    (synopsis "Produces bar charts using PSTricks")
    (description
     "The package uses PSTricks to draw bar charts from data stored in
a comma-delimited file.  Several types of bar charts may be drawn, and the
drawing parameters are highly customizable.")
    (license license:lppl)))

(define-public texlive-pst-barcode
  (package
    (name "texlive-pst-barcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-barcode/"
                                     "dvips/pst-barcode/"
                                     "tex/generic/pst-barcode/"
                                     "tex/latex/pst-barcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10990hhhj961rizfffplx8v3rhnv7knm8nz2zd1aqp686fr3fkgv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-barcode")
    (synopsis "Print barcodes using PostScript")
    (description
     "The @code{pst-barcode} package allows printing of barcodes, in a huge
variety of formats, including quick-response (QR) codes.  As a PSTricks
package, the package requires pstricks.  The package uses @code{PostScript}
for calculating the bars.  For PDF output use a multi-pass mechansism such as
@code{pst-pdf}.")
    (license license:lppl)))

(define-public texlive-pst-bezier
  (package
    (name "texlive-pst-bezier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-bezier/"
                                     "dvips/pst-bezier/"
                                     "tex/generic/pst-bezier/"
                                     "tex/latex/pst-bezier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "181232snaqfjdc5mzazsdgjvmjn27pcfx45mydkk0cpp61kdr9yk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-bezier")
    (synopsis "Draw Bezier curves")
    (description
     "The package provides a macro @code{\\psbcurve} for drawing a Bezier curve.
Provision is made for full control of over all the control points of the
curve.")
    (license license:lppl)))

(define-public texlive-pst-blur
  (package
    (name "texlive-pst-blur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-blur/" "dvips/pst-blur/"
                                     "source/generic/pst-blur/"
                                     "tex/generic/pst-blur/"
                                     "tex/latex/pst-blur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zz5ixznkl3i59zlv9lxz7f1cfqwbar3qjy5x4323gmzjw2k9f8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-blur")
    (synopsis "PSTricks package for blurred shadows")
    (description
     "Pst-blur is a package built for use with PSTricks.  It provides macros
that apply blurring to the normal shadow function of PSTricks.")
    (license license:lppl)))

(define-public texlive-pst-bspline
  (package
    (name "texlive-pst-bspline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-bspline/"
                                     "dvips/pst-bspline/"
                                     "tex/generic/pst-bspline/"
                                     "tex/latex/pst-bspline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0djf1izf9779lgmbw5zhcz7k5hf8ay96nlgdgpsm1zj4ncwkpibg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-bspline")
    (synopsis "Draw cubic Bspline curves and interpolations")
    (description
     "The package draws uniform, cubic B-spline curves, open and closed, based
on a sequence of B-spline control points.  There is also code which permits
drawing the open or closed cubic Bspline curve interpolating a sequence of
points.  Graphical output is created using PStricks.")
    (license license:lppl1.3+)))

(define-public texlive-pst-calculate
  (package
    (name "texlive-pst-calculate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-calculate/"
                                     "tex/latex/pst-calculate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19yi0n8p4gj2p16nsk8f3i02a9adlqssyv57r67dc0qh6a0ipa9k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-calculate")
    (synopsis "Support for floating point operations at LaTeX level")
    (description
     "This package provides an interface to the LaTeX3 floating point unit,
mainly used for PSTricks related packages to allow math expressions at LaTeX
level.")
    (license license:lppl1.3+)))

(define-public texlive-pst-calendar
  (package
    (name "texlive-pst-calendar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-calendar/"
                                     "tex/latex/pst-calendar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07vc1jxrr0n0iwjx6qjww53xji1pv42dvlc2ghi1r14nypgm8j5n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-calendar")
    (synopsis "Plot calendars in fancy ways")
    (description
     "The package draws tabular calendars, or calendars on dodecahedra with
a month to each face.  The package works for years 2000--2099, and has options
for calendars in French German and English, but the documentation is not
available in English.")
    (license license:lppl)))

(define-public texlive-pst-cie
  (package
    (name "texlive-pst-cie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-cie/" "dvips/pst-cie/"
                                     "tex/generic/pst-cie/" "tex/latex/pst-cie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g5yry8m935idznwn486gn75vjyhbdzs2w99l0szh95026kd4f0a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-cie")
    (synopsis "CIE color space")
    (description
     "pst-cie is a PSTricks related package to show the different CIE color
spaces: Adobe, CIE, ColorMatch, NTSC, Pal-Secam, ProPhoto, SMPTE, and sRGB.")
    (license license:lppl)))

(define-public texlive-pst-circ
  (package
    (name "texlive-pst-circ")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-circ/" "dvips/pst-circ/"
                                     "tex/generic/pst-circ/"
                                     "tex/latex/pst-circ/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0255xcjhm0jcgw352cmdn8d8062g2mihfzhii20zh4j0zznmk7hj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-circ")
    (synopsis "PSTricks package for drawing electric circuits")
    (description
     "The package can easily draw current 2-terminal devices and some 3- and
4-terminal devices used in electronic or electric theory.  The package's
macros are designed with a view to logical representation of circuits, as far
as possible, so as to relieve the user of purely graphical considerations when
expressing a circuit.")
    (license license:lppl)))

(define-public texlive-pst-coil
  (package
    (name "texlive-pst-coil")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-coil/" "dvips/pst-coil/"
                                     "tex/generic/pst-coil/"
                                     "tex/latex/pst-coil/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d3wqrv19zc9qwp3gbr32siad408z4g23k5861p0hqy2hw8f908q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-coil")
    (synopsis "PSTricks package for coils, etc")
    (description
     "Pst-coil is a PSTricks based package for coils and zigzags and for coil
and zigzag node connections.")
    (license license:lppl)))

(define-public texlive-pst-contourplot
  (package
    (name "texlive-pst-contourplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-contourplot/"
                                     "tex/generic/pst-contourplot/"
                                     "tex/latex/pst-contourplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00nqg59x1x3nh30cclqjdyyyjzinyl9czjfywznh68dzari1fvqk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-contourplot")
    (synopsis
     "Draw implicit functions using the marching squares algorithm")
    (description
     "This package allows to draw implicit functions @samp{f(x,y) = 0} with
options for coloring the inside of the surfaces, for marking the points and
arrowing the curve at points chosen by the user.  The package uses the
marching squares algorithm.")
    (license license:lppl)))

(define-public texlive-pst-cox
  (package
    (name "texlive-pst-cox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-cox/" "dvips/pst-cox/"
                                     "tex/generic/pst-cox/" "tex/latex/pst-cox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bw2qmsc735q3ji4h7l166s37wcpd6s4fvi98ggagndm29mcbia3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-cox")
    (synopsis "Drawing regular complex polytopes with PSTricks")
    (description
     "Pst-cox is a PSTricks package for drawing 2-dimensional projections of
complex regular polytopes (after the work of Coxeter).  The package consists
of a macro library for drawing the projections.  The complex polytopes appear
in the study of the root systems and play a crucial role in many domains
related to mathematics and physics.  These polytopes have been completely
described by Coxeter in his book @emph{Regular Complex Polytopes}.  There
exist only a finite numbers of exceptional regular complex polytopes (for
example the icosahedron) and some infinite series (for example, one can
construct a multi-dimensional analogue of the hypercube in any finite
dimension).

The library contains two packages.  The first, @code{pst-coxcoor}, is devoted
to the exceptional complex regular polytopes whose coordinates have been
pre-computed.  The second, @code{pst-coxeterp}, is devoted to the infinite
series.")
    (license license:lgpl3+)))

(define-public texlive-pst-dart
  (package
    (name "texlive-pst-dart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-dart/"
                                     "tex/generic/pst-dart/"
                                     "tex/latex/pst-dart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1834hxlg4hfqmrl6k5i2c1jimzd0lcdi6x82b8lfj8dhnddlbgzr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-dart")
    (synopsis "Plotting dart boards")
    (description
     "@code{pst-dart} is a PSTricks related package and draws dart boards.
Optional arguments are the unit and the fontsize.")
    (license license:lppl)))

(define-public texlive-pst-dbicons
  (package
    (name "texlive-pst-dbicons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-dbicons/"
                                     "source/generic/pst-dbicons/"
                                     "tex/latex/pst-dbicons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pzfahir5vvxw28095myqppfpyik7agzncm9vm42gvldw45byr4q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-dbicons")
    (synopsis "Support for drawing ER diagrams")
    (description
     "The package provides some useful macros in the database area.  The
package focusses on typesetting ER-Diagrams in a declarative style, i.e., by
positioning some nodes and defining the position of all other nodes relative
to them by using the standard database terminology.")
    (license license:lppl)))

(define-public texlive-pst-diffraction
  (package
    (name "texlive-pst-diffraction")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-diffraction/"
                                     "source/generic/pst-diffraction/"
                                     "tex/generic/pst-diffraction/"
                                     "tex/latex/pst-diffraction/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wi67md3046nj0arqi1wmbgdhdrsnfqgmmb0ayk2iswfhvx32myr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-diffraction")
    (synopsis "Print diffraction patterns from various apertures")
    (description
     "The package enables the user to draw (using PSTricks) the diffraction
patterns for different geometric forms of apertures for monochromatic light.
The aperture stops can have rectangular, circular or triangular openings.  The
view of the diffraction may be planar, or three-dimensional.  Options
available are the dimensions of the aperture under consideration and of the
particular optical setting, e.g., the radius in case of an circular opening.
Moreover one can choose the wavelength of the light (the associated color will
be calculated by the package).")
    (license license:lppl)))

(define-public texlive-pst-electricfield
  (package
    (name "texlive-pst-electricfield")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-electricfield/"
                                     "dvips/pst-electricfield/"
                                     "source/generic/pst-electricfield/"
                                     "tex/generic/pst-electricfield/"
                                     "tex/latex/pst-electricfield/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1awc5nqp7giqmczx1xd1y78j5vgsw7y8m767mbhgs5j12j3yl4yd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-electricfield")
    (synopsis "Draw electric field and equipotential lines with PSTricks")
    (description
     "The package provides macros to plot electric field and equipotential
lines using PStricks.  There may be any number of charges which can be placed
in a cartesian coordinate system.")
    (license license:lppl)))

(define-public texlive-pst-eps
  (package
    (name "texlive-pst-eps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-eps/"
                                     "source/generic/pst-eps/"
                                     "tex/generic/pst-eps/" "tex/latex/pst-eps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lf106rw3w6gicn6021jpj4bgbpgjyixp64l9aqqxn6ip6vm4yh3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-eps")
    (synopsis "Create EPS files from PSTricks figures")
    (description
     "Pst-eps is a PSTricks-based package for exporting PSTricks images on the
fly to encapsulated PostScript (EPS) image files, which can then be read into
a document in the usual way.")
    (license license:lppl)))

(define-public texlive-pst-eucl
  (package
    (name "texlive-pst-eucl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-eucl/" "dvips/pst-eucl/"
                                     "tex/generic/pst-eucl/"
                                     "tex/latex/pst-eucl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "170n1llp9wblzq1fmdnxzh6bw540i455lgpwm353k8jm4skrqm50"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-eucl")
    (synopsis "Euclidian geometry with PSTricks")
    (description
     "The package allows the drawing of Euclidean geometric figures using TeX
PSTricks macros for specifying mathematical constraints.  It is thus possible
to build point using common transformations or intersections.  The use of
coordinates is limited to points which controlled the figure.")
    (license license:lppl)))

(define-public texlive-pst-eucl-translation-bg
  (package
    (name "texlive-pst-eucl-translation-bg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-eucl-translation-bg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06c9ajnfl01sl81z5r8a5lzmaygq9rdmgym2v40y7xp7z033gwwv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-eucl-translation-bg")
    (synopsis "Bulgarian translation of the @code{pst-eucl} documentation")
    (description
     "The package provides the @code{pst-eucl} package documentation in
Bulgarian language.")
    (license license:lppl)))

(define-public texlive-pst-exa
  (package
    (name "texlive-pst-exa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-exa/" "tex/latex/pst-exa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jbkk5nircdv0mas1vbydqhca1r5vcmrxyyi5xwzi1qhfbw3xa8g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-exa")
    (synopsis "Typeset PSTricks examples, with code")
    (description
     "The (PSTricks-related) package provides an environment @code{PSTexample}
to put code and output side by side or one above the other.")
    (license license:lppl)))

(define-public texlive-pst-feyn
  (package
    (name "texlive-pst-feyn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-feyn/" "dvips/pst-feyn/"
                                     "tex/generic/pst-feyn/"
                                     "tex/latex/pst-feyn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08m8pwl5kk2rs835pnksap8ld6ir0chlbswchgpvks229i6gkrj0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-feyn")
    (synopsis "Draw graphical elements for Feynman diagrams")
    (description
     "@code{pst-feyn} is a set of drawing graphical elements which are used
for Feynman diagrams.")
    (license license:lppl)))

(define-public texlive-pst-fill
  (package
    (name "texlive-pst-fill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-fill/"
                                     "tex/generic/pst-fill/"
                                     "tex/latex/pst-fill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0anzq671nsprckhy92ybp2y93g5f2z1s0qja9wx2mrjpb4xq8ng0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-fill")
    (synopsis "Fill or tile areas with PSTricks")
    (description
     "Pst-fill is a PSTricks-based package for filling and tiling areas or
characters.")
    (license license:lppl)))

(define-public texlive-pst-fit
  (package
    (name "texlive-pst-fit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-fit/"
                                     "tex/generic/pst-fit/" "tex/latex/pst-fit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w2vnd6zb9vdrqbk256ynr7lg7p9ps53rrdq9l999bw8f8vip1as"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-fit")
    (synopsis "Macros for curve fitting")
    (description
     "The package uses PSTricks to fit curves to: linear functions; power
functions; exp function; logarithm functions; Recip; Kings Law data; Gaussian;
and fourth order polynomials.")
    (license license:lppl)))

(define-public texlive-pst-flags
  (package
    (name "texlive-pst-flags")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-flags/"
                                     "tex/latex/pst-flags/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13078q4mg1r8hg5zvywfasfz26phcr9dvsw4s05spc116b8fz9gn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-flags")
    (synopsis "Draw flags of countries using PSTricks")
    (description
     "This package provides a number of macros for rendering flags of
countries and their associated artefacts using PSTricks.  Formatting of the
resulting drawings is entirely controlled by TeX macros.  A good working
knowledge of LaTeX should be sufficient to design flags of sovereign countries
and adapt them to create new designs.  Features such as color or shape
customisation and dynamic modifications are possible by cleverly adjusting the
options supplied to the TeX macros.")
    (license license:lppl1.3c)))

(define-public texlive-pst-fr3d
  (package
    (name "texlive-pst-fr3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-fr3d/"
                                     "source/generic/pst-fr3d/"
                                     "tex/generic/pst-fr3d/"
                                     "tex/latex/pst-fr3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y8xsq6wklpygzf0lfdy683vkdrglw5jl00qyfwk6rl08wb4l17y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-fr3d")
    (synopsis "Draw 3-dimensional framed boxes using PSTricks")
    (description
     "This package provides a package using PSTricks to draw three dimensional
framed boxes using a macro @code{\\PstFrameBoxThreeD}.  The macro is
especially useful for drawing 3D-seeming buttons.")
    (license license:lppl)))

(define-public texlive-pst-fractal
  (package
    (name "texlive-pst-fractal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-fractal/"
                                     "dvips/pst-fractal/"
                                     "tex/generic/pst-fractal/"
                                     "tex/latex/pst-fractal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jc9zwjp23l6njr7y63jh0xv4a6qy2610bb88fdiwdsqnh70gs72"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-fractal")
    (synopsis "Draw fractal sets using PSTricks")
    (description
     "The package uses PSTricks to draw the Julia and Mandelbrot sets, the
Sierpinski triangle, Koch flake, and Apollonius Circle as well as fractal
trees (which need not be balanced) with a variety of different
parameters (including varying numbers of iterations).")
    (license license:lppl)))

(define-public texlive-pst-fun
  (package
    (name "texlive-pst-fun")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-fun/" "dvips/pst-fun/"
                                     "source/generic/pst-fun/"
                                     "tex/generic/pst-fun/" "tex/latex/pst-fun/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "070nv0yv0rcfvx36xmya953pk89whrr26irvy0ccb41k66fvw5j1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-fun")
    (synopsis "Draw funny objects with PSTricks")
    (description
     "This is a PSTricks related package for drawing funny objects, like ant, bird,
fish, kangaroo, etc.  Such objects may be useful for testing other PSTricks
macros and/or packages. (Or they can be used for fun...)")
    (license license:lppl)))

(define-public texlive-pst-func
  (package
    (name "texlive-pst-func")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-func/" "dvips/pst-func/"
                                     "tex/generic/pst-func/"
                                     "tex/latex/pst-func/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xqqnmnhrni9lwgxpr84hg0ji72sn89zkb7hm3n36ygmpr37v97k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-func")
    (synopsis "PSTricks package for plotting mathematical functions")
    (description
     "The package is built for use with PSTricks.  It provides macros for
plotting and manipulating various mathematical functions:

@itemize
@item polynomials and their derivatives,
@item Fourier sums,
@item the Bessel function defined by its order;
@item the Gauss function defined by sigma and mu,
@item Bezier curves from order 1 (two control points) to order 9 (10 control
points),
@item the superellipse function (the Lame curve),
@item Chebyshev polynomials of the first and second kind,
@item the Thomae (or popcorn) function,
@item the Weierstrass function,
@item various integration-derived functions: normal, binomial, poisson, gamma,
chi-squared, student's t, F, beta, Cauchy and Weibull distribution functions
and the Lorenz curve,
@item the zeroes of a function, or the intermediate point of two functions,
@item the Vasicek function for describing the evolution of interest rates,
@item implicit functions.
@end itemize

The plots may be generated as volumes of rotation about the X-axis, as well.")
    (license license:lppl)))

(define-public texlive-pst-gantt
  (package
    (name "texlive-pst-gantt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-gantt/"
                                     "tex/generic/pst-gantt/"
                                     "tex/latex/pst-gantt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ziahdc0r8pkxxn6p6ijrx1diihkbbrmwbbc1pzi1sddqg05l5sc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-gantt")
    (synopsis "Draw GANTT charts with PSTricks")
    (description
     "The package uses PSTricks to draw GANTT charts, which are a kind of bar
chart that displays a project schedule.")
    (license license:lppl)))

(define-public texlive-pst-geo
  (package
    (name "texlive-pst-geo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-geo/" "dvips/pst-geo/"
                                     "tex/generic/pst-geo/" "tex/latex/pst-geo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zqmjjg9zmmzjqmhx2jwcc761f1rrxcchsnrd5s686f9p6z4w7c6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-geo")
    (synopsis "Geographical projections")
    (description
     "The package offers a set of PSTricks related packages for various
cartographic projections of the terrestrial sphere.  The package
@code{pst-map2d} provides conventional projections such as Mercator, Lambert,
cylindrical, etc.  The package @code{pst-map3d} treats representation in three
dimensions of the terrestrial sphere.  Packages @code{pst-map2dII} and
@code{pst-map3dII} allow use of the CIA World DataBank II. Various parameters
of the packages allow for choice of the level of the detail and the layouts
possible (cities, borders, rivers etc).  Substantial data files are provided,
in an (internally) compressed format.  Decompression happens on-the-fly as
a document using the data is displayed, printed or converted to PDF format.
A Perl script is provided for the user to do the decompression, if the need
should arise.")
    (license license:lppl)))

(define-public texlive-pst-geometrictools
  (package
    (name "texlive-pst-geometrictools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-geometrictools/"
                                     "tex/generic/pst-geometrictools/"
                                     "tex/latex/pst-geometrictools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14mhyjq8w3llkyjij274n5sdwbp3ak2xi6q6ggqdakgn032a7yhn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-geometrictools")
    (synopsis "PSTricks package to draw geometric tools")
    (description
     "This PSTricks package facilitates the drawing of protractors, rulers,
compasses and pencils.")
    (license license:lppl1.3c)))

(define-public texlive-pst-gr3d
  (package
    (name "texlive-pst-gr3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-gr3d/"
                                     "source/latex/pst-gr3d/"
                                     "tex/generic/pst-gr3d/"
                                     "tex/latex/pst-gr3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pppd4l4yrdgy0vss8l2kndd0cg9nxip7d7vcyrfr0cz9kw0z45n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-gr3d")
    (synopsis "Three dimensional grids with PSTricks")
    (description
     "This PSTricks package provides a command @code{\\PstGridThreeD} that
will draw a three dimensional grid, offering a number of options for its
appearance.")
    (license license:lppl)))

(define-public texlive-pst-grad
  (package
    (name "texlive-pst-grad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-grad/" "dvips/pst-grad/"
                                     "tex/generic/pst-grad/"
                                     "tex/latex/pst-grad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10b8b7mb6c1kkwvwrq31zwmn184qprd69ckypp0gs5s1nz9klc4l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-grad")
    (synopsis "Filling with colour gradients, using PSTricks")
    (description
     "The package fills with colour gradients, using PSTricks.  The RGB, CMYK
and HSB models are supported.  Other colour gradient mechanisms are to be
found in package @code{pst-slpe}.")
    (license license:lppl)))

(define-public texlive-pst-graphicx
  (package
    (name "texlive-pst-graphicx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-graphicx/"
                                     "tex/generic/pst-graphicx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x1053a92hi1msbmw7s0222k0vfg28172qrinz3hdv94igaxi38q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-graphicx")
    (synopsis "PSTricks-compatible @code{graphicx} for use with Plain TeX")
    (description
     "The package provides a version of @code{graphicx} that avoids loading
the graphics bundle's (original) @code{keyval} package, which clashes with
PSTricks use of @code{xkeyval}.")
    (license license:lppl)))

(define-public texlive-pst-hsb
  (package
    (name "texlive-pst-hsb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-hsb/"
                                     "tex/generic/pst-hsb/" "tex/latex/pst-hsb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nhhsk5hfh1v7d9vr0g0lkvcv12bwlyasx9s2sa916p7px0ddz0s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-hsb")
    (synopsis "Curves with continuous colours")
    (description
     "This is a PSTricks-related package.  It can plot lines and/or curves
with continuous colours.  Only colours defined in the HSB model are
supported.")
    (license license:lppl)))

(define-public texlive-pst-infixplot
  (package
    (name "texlive-pst-infixplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-infixplot/"
                                     "tex/generic/pst-infixplot/"
                                     "tex/latex/pst-infixplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07yqjzznayk3pjbsaxjz5b63hiabmkdywv2h6kshpjqmh2q1zi6w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-infixplot")
    (synopsis "Use PSTricks plotting capacities with infix expressions")
    (description
     "Plotting functions with pst-plot is very powerful but sometimes
difficult to learn since the syntax of @code{\\psplot} and
@code{\\parametricplot} requires some PostScript knowledge.  The infix-RPN and
@code{pst-infixplot} styles simplify the usage of @code{pst-plot} for the
beginner, providing macro commands that convert natural mathematical
expressions to PostScript syntax.")
    (license license:lppl)))

(define-public texlive-pst-intersect
  (package
    (name "texlive-pst-intersect")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-intersect/"
                                     "dvips/pst-intersect/"
                                     "source/latex/pst-intersect/"
                                     "tex/generic/pst-intersect/"
                                     "tex/latex/pst-intersect/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "157yqj923kikm8abiv3giyf9rrr6cw0jwqj37ri5ya5iyxlfvmmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-intersect")
    (synopsis "Compute intersections of arbitrary curves")
    (description
     "The package computes the intersections between arbitrary PostScript
paths or Bezier curves, using the Bezier clipping algorithm.")
    (license license:lppl)))

(define-public texlive-pst-jtree
  (package
    (name "texlive-pst-jtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-jtree/"
                                     "tex/generic/pst-jtree/"
                                     "tex/latex/pst-jtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07vzx418syv1v04z1552k9iwjz4b4kmw7g2m1i4nqdfg2lvina8s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-jtree")
    (synopsis "Typeset complex trees for linguists")
    (description
     "jTree uses PSTricks to enable linguists to typeset complex trees.")
    (license license:lppl1.3+)))

(define-public texlive-pst-knot
  (package
    (name "texlive-pst-knot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-knot/" "dvips/pst-knot/"
                                     "tex/generic/pst-knot/"
                                     "tex/latex/pst-knot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b69m4qwd37vd3x734r4hp4wzsirsp6k5m87yqmxlhlkrf0wmrwc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-knot")
    (synopsis "PSTricks package for displaying knots")
    (description
     "The package can produce a fair range of knot shapes, with all the
standard graphics controls one expects.")
    (license license:lppl)))

(define-public texlive-pst-labo
  (package
    (name "texlive-pst-labo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-labo/"
                                     "tex/generic/pst-labo/"
                                     "tex/latex/pst-labo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nzpqgi7g6n2hzajh4ph9idf2imrfniar7sc3gr7kc8r9sc4b5ij"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-labo")
    (synopsis "Draw objects for Chemistry laboratories")
    (description
     "Pst-labo is a PSTricks related package for drawing basic and complex
chemical objects.  The documentation of the package is illuminated with plenty
of illustrations together with their source code, making it an easy read.")
    (license license:lppl)))

(define-public texlive-pst-layout
  (package
    (name "texlive-pst-layout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-layout/"
                                     "tex/latex/pst-layout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f07j551kiajqyrfjlsj7xk40zv18ik2b3fih5iyzkf4zk4f650r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-layout")
    (synopsis "Page layout macros based on PSTricks packages")
    (description
     "The package provides a means of creating elaborate (``pseudo-tabular'')
layouts of material, typically to be overlaid on an included graphic.")
    (license license:lppl)))

(define-public texlive-pst-lens
  (package
    (name "texlive-pst-lens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-lens/"
                                     "source/generic/pst-lens/"
                                     "tex/generic/pst-lens/"
                                     "tex/latex/pst-lens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h2930i4izgfjk96445yiwsk6x8cg5cl4zlqrg5rsv7nr2k8njy3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-lens")
    (synopsis "Lenses with PSTricks")
    (description
     "This PSTricks package provides a really rather simple command
@code{\\PstLens} that will draw a lens.  Command parameters provide
a remarkable range of effects.")
    (license license:lppl)))

(define-public texlive-pst-light3d
  (package
    (name "texlive-pst-light3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-light3d/"
                                     "dvips/pst-light3d/"
                                     "source/generic/pst-light3d/"
                                     "tex/generic/pst-light3d/"
                                     "tex/latex/pst-light3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kwdbf64m2kmplk4r7ifxckajh3d5sgjini70fmababnrp1g8nzf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-light3d")
    (synopsis "Three dimensional lighting effects (PSTricks)")
    (description
     "This package provides a PSTricks package for three dimensional lighting
effects on characters and PSTricks graphics, like lines, curves, plots, ...")
    (license license:lppl)))

(define-public texlive-pst-lsystem
  (package
    (name "texlive-pst-lsystem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-lsystem/"
                                     "dvips/pst-lsystem/"
                                     "tex/generic/pst-lsystem/"
                                     "tex/latex/pst-lsystem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k3krdcfqa5cyzaq0jp8dzil6arfvs5ah2mp87460pl2wvfza0lr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-lsystem")
    (synopsis "Create images based on a L-system")
    (description
     "@code{pst-lsystem} is a PSTricks based package for creating images based
on a L-system.  A L-system (Lindenmayer system) is a set of rules which can be
used to model the morphology of a variety of organisms or fractals like the
Kochflake or Hilbert curve.")
    (license license:lppl)))

(define-public texlive-pst-magneticfield
  (package
    (name "texlive-pst-magneticfield")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-magneticfield/"
                                     "dvips/pst-magneticfield/"
                                     "tex/generic/pst-magneticfield/"
                                     "tex/latex/pst-magneticfield/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qxlmj4v1m3mb5rb6ls9zz664ymcac05skyk2xxjnjjn23s6zjzi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-magneticfield")
    (synopsis "Plotting a magnetic field with PSTricks")
    (description
     "@code{pst-magneticfield} is a PSTricks related package to draw the
magnetic field lines of Helmholtz coils in a two or three dimensional view.
There are several parameters to create a different output.")
    (license license:lppl)))

(define-public texlive-pst-marble
  (package
    (name "texlive-pst-marble")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-marble/"
                                     "dvips/pst-marble/"
                                     "tex/generic/pst-marble/"
                                     "tex/latex/pst-marble/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j5jags1m4wwwfkd25n57q49ggdwc7b9qjp8da4q255yf0i54w91"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-marble")
    (synopsis "PSTricks package to draw marble-like patterns")
    (description "This is a PSTricks package to draw marble-like patterns.")
    (license license:lppl1.3c)))

(define-public texlive-pst-math
  (package
    (name "texlive-pst-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-math/" "dvips/pst-math/"
                                     "tex/generic/pst-math/"
                                     "tex/latex/pst-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10y55bgazy49p2l1d8qrsbdzwds4zjl5gdlwyhssh55szyc1p67n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-math")
    (synopsis "Enhancement of PostScript math operators to use with PSTricks")
    (description
     "PostScript lacks a lot of basic operators such as tan, acos, asin, cosh,
sinh, tanh, acosh, asinh, atanh, exp (with e base).  Also (oddly) cos and sin
use arguments in degrees.  Pst-math provides all those operators in a header
file @file{pst-math.pro} with wrappers @file{pst-math.sty} and
@file{pst-math.tex}.  In addition, sinc, gauss, gammaln and bessel are
implemented (only partially for the latter).  The package is designed
essentially to work with @code{pst-plot} but can be used in whatever PS code.
The package also provides a routine SIMPSON for numerical integration and
a solver of linear equation systems.")
    (license license:lppl)))

(define-public texlive-pst-mirror
  (package
    (name "texlive-pst-mirror")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-mirror/"
                                     "dvips/pst-mirror/"
                                     "tex/generic/pst-mirror/"
                                     "tex/latex/pst-mirror/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b2q1islf9mwphzcs6g04vq69hlmyisx4rb5fb77yiw3na5xlnq0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-mirror")
    (synopsis "Images on a spherical mirror")
    (description
     "The package provides commands and supporting PostScript material for
drawing images as if reflected by a spherical mirror.")
    (license license:lppl)))

(define-public texlive-pst-moire
  (package
    (name "texlive-pst-moire")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-moire/" "dvips/pst-moire/"
                                     "tex/generic/pst-moire/"
                                     "tex/latex/pst-moire/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i2p5b2cfhnbmszcs5ydlk4nfxhwgl84kq148kpg6cx07gg8rr6l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-moire")
    (synopsis "PSTricks package to draw moiré patterns")
    (description "This is a PSTricks package to draw moiré patterns.")
    (license license:lppl1.3c)))

(define-public texlive-pst-node
  (package
    (name "texlive-pst-node")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-node/" "dvips/pst-node/"
                                     "tex/generic/pst-node/"
                                     "tex/latex/pst-node/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w9j1l5hlid98sp6hm7ny0z3nh6jcccvxglprq0wr08w89zb7dmz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-node")
    (synopsis "Nodes and node connections in PSTricks")
    (description
     "The package enables the user to connect information, and to place labels,
without knowing (in advance) the actual positions of the items to be
connected, or where the connecting line should go.  The macros are useful for
making graphs and trees, mathematical diagrams, linguistic syntax diagrams,
and so on.")
    (license license:lppl)))

(define-public texlive-pst-ob3d
  (package
    (name "texlive-pst-ob3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-ob3d/"
                                     "source/generic/pst-ob3d/"
                                     "tex/generic/pst-ob3d/"
                                     "tex/latex/pst-ob3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j6y3v4x5gkshzxnmklwl2hqbz7nr904v1qa1dr9l4m814p2jhcc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-ob3d")
    (synopsis "Three dimensional objects using PSTricks")
    (description
     "The package uses PSTricks to provide basic three-dimensional objects.
As yet, only cubes (which can be deformed to rectangular parallelipipeds) and
dies (which are only a special kind of cubes) are defined.")
    (license license:lppl)))

(define-public texlive-pst-ode
  (package
    (name "texlive-pst-ode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-ode/" "dvips/pst-ode/"
                                     "tex/generic/pst-ode/" "tex/latex/pst-ode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jsghzx3d0hnlm5pn3rf4maksr1s6c37n4hw6k9b5qkif1hjrksj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-ode")
    (synopsis
     "Solve initial value problems for sets of Ordinary Differential
Equations")
    (description
     "The package defines @code{\\pstODEsolve} for solving initial value
problems for sets of Ordinary Differential Equations (ODE) using the
Runge-Kutta-Fehlberg (RKF45) method with automatic step size adjustment.  The
result is stored as a PostScript object and may be plotted later using macros
from other PSTricks packages, such as @code{\\listplot} (from @code{pst-plot})
and @code{\\listplotThreeD} (from @code{pst-3dplot}), or may be further
processed by user-defined PostScript procedures.  Optionally, the computed
state vectors can be written as a table to a text file.")
    (license license:lppl)))

(define-public texlive-pst-optexp
  (package
    (name "texlive-pst-optexp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-optexp/" "dvips/pst-optexp/"
                                     "makeindex/pst-optexp/"
                                     "source/latex/pst-optexp/"
                                     "tex/latex/pst-optexp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m835c700a6bxd8r8m84injzz862j1xdxbbh8waxh97yrfwmhp45"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-optexp")
    (synopsis "Drawing optical experimental setups")
    (description
     "The package is a collection of optical components that facilitate easy
sketching of optical experimental setups.  The package uses PSTricks for its
output.  A wide range of free-ray and fibre components is provided, the
alignment, positioning and labelling of which can be achieved in very simple
and flexible ways.  The components may be connected with fibers or beams, and
realistic raytraced beam paths are also possible.")
    (license license:lppl1.3+)))

(define-public texlive-pst-optic
  (package
    (name "texlive-pst-optic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-optic/"
                                     "tex/generic/pst-optic/"
                                     "tex/latex/pst-optic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16rryf56zjk7z4532hgmgkld1mx7abh5dn525bw3h5ijin4y7921"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-optic")
    (synopsis "Drawing optics diagrams")
    (description
     "This package provides a package for drawing both reflective and
refractive optics diagrams.")
    (license license:lppl)))

(define-public texlive-pst-osci
  (package
    (name "texlive-pst-osci")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-osci/"
                                     "tex/generic/pst-osci/"
                                     "tex/latex/pst-osci/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07zhx2lzihip8vvninhnpakj72a7h8dyi75sfmm686yy20d0hxx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-osci")
    (synopsis "Oscgons with PSTricks")
    (description
     "This PSTricks package enables you to produce oscilloscope screen shots.
Three channels can be used to represent the most common signals (damped or
not): namely sinusoidal, rectangular, triangular, dog's tooth (left and right
oriented).  The third channel allows you to add, to subtract or to multiply
the two other signals.  Lissajous diagrams (XY-mode) can also be obtained.")
    (license license:lppl)))

(define-public texlive-pst-ovl
  (package
    (name "texlive-pst-ovl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-ovl/" "dvips/pst-ovl/"
                                     "tex/generic/pst-ovl/" "tex/latex/pst-ovl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v9f4k475cm922y7i2x6w6p1w3nnbaw69rniznwap9bhliv0ynfg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-ovl")
    (synopsis "Create and manage graphical overlays")
    (description
     "The package is useful when building an image from assorted material, as
in the slides of a projected presentation.")
    (license license:lppl)))

(define-public texlive-pst-pad
  (package
    (name "texlive-pst-pad")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-pad/"
                                     "source/generic/pst-pad/"
                                     "tex/generic/pst-pad/" "tex/latex/pst-pad/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vvgjf2g9dynjg1y6dm1d47v40sga4a34ngyy3h5lfmy58860jri"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-pad")
    (synopsis "Draw simple attachment systems with PSTricks")
    (description
     "The package collects a set of graphical elements based on PStricks that
can be used to facilitate display of attachment systems such as two
differently shaped surfaces with or without a fluid wedged in between.  These
macros ease the display of wet adhesion models and common friction systems
such as boundary lubrication, elastohydrodynamic lubrication and hydrodynamic
lubrication.")
    (license license:lppl)))

(define-public texlive-pst-pdf
  (package
    (name "texlive-pst-pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-pdf/" "scripts/pst-pdf/"
                                     "source/latex/pst-pdf/" "tex/latex/pst-pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1as5q9p6z9y3ps3hm8v8par18xmxmhrcxmknpl6rhjq0wbyjlj26"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "ps4pdf")))
    (home-page "https://ctan.org/pkg/pst-pdf")
    (synopsis "Make PDF versions of graphics by processing between runs")
    (description
     "The package @code{pst-pdf} simplifies the use of graphics from PSTricks
and other PostScript code in PDF documents.  As in building a bibliography
with BibTeX, additional external programmes are invoked.  In this case they
are used to create a PDF file that will contain all the graphics material.  In
the final document these contents will be inserted instead of the original
PostScript code.")
    (license license:lppl1.2+)))

(define-public texlive-pst-pdgr
  (package
    (name "texlive-pst-pdgr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-pdgr/"
                                     "source/generic/pst-pdgr/"
                                     "tex/generic/pst-pdgr/"
                                     "tex/latex/pst-pdgr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08v28601j7ygp7d8xliwhfbrl2gh93ikf6kbl4p86wfxsbxlhg0c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-pdgr")
    (synopsis "Draw medical pedigrees using PSTricks")
    (description
     "The package provides a set of macros based on PSTricks to draw medical
pedigrees according to the recommendations for standardized human pedigree
nomenclature.  The drawing commands place the symbols on a @code{pspicture}
canvas.  An interface for making trees is also provided.  The package may be
used both with LaTeX and PlainTeX.  A separate Perl program for generating TeX
files from spreadsheets is available.")
    (license license:lppl)))

(define-public texlive-pst-perspective
  (package
    (name "texlive-pst-perspective")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-perspective/"
                                     "tex/generic/pst-perspective/"
                                     "tex/latex/pst-perspective/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dm7qqar0kjnc68xwhp7vn4m8bcsmzcs6qzh61ainbls7gni5aq8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-perspective")
    (synopsis "Draw perspective views using PSTricks")
    (description
     "The package provides the means to draw an orthogonal parallel projection
with an arbitrarily chosen angle and a variable shortening factor.")
    (license license:lppl1.3+)))

(define-public texlive-pst-platon
  (package
    (name "texlive-pst-platon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-platon/"
                                     "source/generic/pst-platon/"
                                     "tex/latex/pst-platon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a4w47varc1i22h5iwd49c0clwb2k8hdlva5l6nfmc889wgwp0d7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-platon")
    (synopsis "Platonic solids in PSTricks")
    (description
     "The package adds to PSTricks the ability to draw 3-dimensional views of
the five Platonic solids.")
    (license license:lppl)))

(define-public texlive-pst-plot
  (package
    (name "texlive-pst-plot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-plot/"
                                     "tex/generic/pst-plot/"
                                     "tex/latex/pst-plot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jrn04nxfhw07y86pjkr6bbvdvwcnhfxr6aj9ni13383dxcwl7j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-plot")
    (synopsis "Plot data using PSTricks")
    (description
     "The package provides plotting of data (typically from external files),
using PSTricks.  Plots may be configured using a wide variety of parameters.")
    (license license:lppl)))

(define-public texlive-pst-poker
  (package
    (name "texlive-pst-poker")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-poker/"
                                     "tex/latex/pst-poker/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c1v75rxw717hvjgzb4i0ahk7acmqpgl9czaihvw36r9yaicsm5n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-poker")
    (synopsis "Drawing poker cards")
    (description
     "This PSTricks related package can create poker cards in various
manners.")
    (license license:lgpl3)))

(define-public texlive-pst-poly
  (package
    (name "texlive-pst-poly")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-poly/"
                                     "tex/generic/pst-poly/"
                                     "tex/latex/pst-poly/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fasd2y6vv28id1w858kq4rc3qd46rkds9z7vi8k102aqvv9as8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-poly")
    (synopsis "Polygons with PSTricks")
    (description
     "This PSTricks package provides a really rather simple command
@code{\\PstPolygon} that will draw various regular and non-regular
polygons (according to command parameters); various shortcuts to commonly-used
polygons are provided, as well as a command @code{\\pspolygonbox} that frames
text with a polygon.")
    (license license:lppl)))

(define-public texlive-pst-pulley
  (package
    (name "texlive-pst-pulley")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-pulley/"
                                     "tex/generic/pst-pulley/"
                                     "tex/latex/pst-pulley/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n1kv743vxjw8b6nqrlivb3m3pg3z9kw56bzxij438p5him3sdaa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-pulley")
    (synopsis "Plot pulleys, using PSTricks")
    (description
     "The package enables the user to draw pulley systems with up to 6 pulleys.
The pulley diagrams are labelled with the physical properties of the system.")
    (license license:lppl1.3+)))

(define-public texlive-pst-qtree
  (package
    (name "texlive-pst-qtree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-qtree/"
                                     "tex/generic/pst-qtree/"
                                     "tex/latex/pst-qtree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hdmv4lar1hdg9bh049kmsjqd14rdv2066qrcaacwmd39nh816z5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-qtree")
    (synopsis "Simple syntax for trees")
    (description "The package provides a Qtree-like front end for PSTricks.")
    (license license:gpl3+)))

(define-public texlive-pst-rputover
  (package
    (name "texlive-pst-rputover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-rputover/"
                                     "tex/generic/pst-rputover/"
                                     "tex/latex/pst-rputover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d25sdhvira5vlibgv3r51dk64jplqbpf4fdimh2l1flq5h0d9dw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-rputover")
    (synopsis "Place text over objects without obscuring background colors")
    (description
     "This is a PSTricks package which allows to place text over objects
without obscuring background colors.")
    (license license:lppl1.3c)))

(define-public texlive-pst-rubans
  (package
    (name "texlive-pst-rubans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-rubans/"
                                     "source/generic/pst-rubans/"
                                     "tex/generic/pst-rubans/"
                                     "tex/latex/pst-rubans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1izpw60jm4w8xgd5aiqc7qxhjd0js1g9k9anwbpni9sn1qma66zs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-rubans")
    (synopsis "Draw three-dimensional ribbons")
    (description
     "The package uses PStricks and @code{pst-solides3d} to draw three
dimensional ribbons on a cylinder, torus, sphere, cone or paraboloid.  The
width of the ribbon, the number of turns, the colour of the outer and the
inner surface of the ribbon may be set.  In the case of circular and conical
helices, one may also choose the number of ribbons.")
    (license license:lppl)))

(define-public texlive-pst-shell
  (package
    (name "texlive-pst-shell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-shell/" "dvips/pst-shell/"
                                     "source/generic/pst-shell/"
                                     "tex/generic/pst-shell/"
                                     "tex/latex/pst-shell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18w5csarnjv3ws554vjw2zlmpc5mcd03fc8fircv0pbxxl53l11r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-shell")
    (synopsis "Plotting sea shells")
    (description
     "@code{pst-shell} is a PSTricks related package to draw seashells in 3D
view: Argonauta, Epiteonium, Lyria, Turritella, Tonna, Achatina, Oxystele,
Conus, Ammonite, Codakia, Escalaria, Helcion, Natalina, Planorbis, and
Nautilus, all with different parameters.")
    (license license:lppl)))

(define-public texlive-pst-sigsys
  (package
    (name "texlive-pst-sigsys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-sigsys/"
                                     "tex/generic/pst-sigsys/"
                                     "tex/latex/pst-sigsys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18g1s1afh3lnkb3993k1ypkzbb4a88jw5paclwgyn59yqjq8x737"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-sigsys")
    (synopsis "Support of signal processing-related disciplines")
    (description
     "The package offers a collection of useful macros for disciplines related
to signal processing.  It defines macros for plotting a sequence of numbers,
drawing the pole-zero diagram of a system, shading the region of convergence,
creating an adder or a multiplier node, placing a framed node at a given
coordinate, creating an up-sampler or a down-sampler node, drawing the block
diagram of a system, drawing adaptive systems, sequentially connecting a list
of nodes, and connecting a list of nodes using any node-connecting macro.")
    (license license:lppl)))

(define-public texlive-pst-slpe
  (package
    (name "texlive-pst-slpe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-slpe/" "dvips/pst-slpe/"
                                     "source/generic/pst-slpe/"
                                     "tex/generic/pst-slpe/"
                                     "tex/latex/pst-slpe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12m6iss3hqsngq2dk7n3d1zz6z2rq4j2w1di9l26hpzly2mdp26n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-slpe")
    (synopsis "Sophisticated colour gradients")
    (description
     "This PStricks package covers all the colour gradient functionality of
@code{pst-grad} (part of the base PSTricks distribution), and provides the
following facilities:

@itemize
@item it permits the user to specify an arbitrary number of colours, along
with the points at which they are to be reached;
@item it converts between RGB and HSV behind the scenes;
@item it provides concentric and radial gradients;
@item it provides a command @code{\\psBall} that generates bullets with
a three-dimensional appearance.
@end itemize")
    (license license:lppl)))

(define-public texlive-pst-solarsystem
  (package
    (name "texlive-pst-solarsystem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-solarsystem/"
                                     "dvips/pst-solarsystem/"
                                     "tex/generic/pst-solarsystem/"
                                     "tex/latex/pst-solarsystem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rlkxm8ac2x2gcdc29997zz1v4j9cch1blxf3m9jramg4zbqq8n7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-solarsystem")
    (synopsis "Plot the solar system for a specific date")
    (description
     "The package uses PSTricks to produce diagrams of the visible planets,
projected on the plane of the ecliptic.  It is not possible to represent all
the planets in their real proportions, so only Mercury, Venus, Earth and Mars
have their orbits in correct proportions and their relative sizes are
observed.  Saturn and Jupiter are in the right direction, but not in the
correct size.")
    (license license:lppl)))

(define-public texlive-pst-solides3d
  (package
    (name "texlive-pst-solides3d")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-solides3d/"
                                     "dvips/pst-solides3d/"
                                     "tex/generic/pst-solides3d/"
                                     "tex/latex/pst-solides3d/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iwh7p9mapr20cyns46ihdscfcj0m6vq0nr34hwi9m1bkflm7z18"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-solides3d")
    (synopsis "Draw perspective views of 3D solids")
    (description
     "The package is designed to draw solids in 3d perspective.  Its features
include:
@itemize
@item create primitive solids;
@item create solids by including a list of its vertices and faces;
@item faces of solids and surfaces can be colored by choosing from a very
large palette of colors;
@item draw parametric surfaces in algebraic and reverse polish notation;
@item create explicit and parameterized algebraic functions drawn in 2 or
3 dimensions;
@item project text onto a plane or onto the faces of a solid;
@item support for including external database files.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-pst-soroban
  (package
    (name "texlive-pst-soroban")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-soroban/"
                                     "source/generic/pst-soroban/"
                                     "tex/latex/pst-soroban/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cpmqgaj1h2dh3acypm9xkjinmlw9wd40n1s2vdab5ascvprbr6n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-soroban")
    (synopsis "Draw a soroban using PSTricks")
    (description
     "The package uses PSTricks to draw a Japanese abacus, or soroban.  The
soroban is still used in Japan today.")
    (license license:lppl)))

(define-public texlive-pst-spectra
  (package
    (name "texlive-pst-spectra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-spectra/"
                                     "dvips/pst-spectra/"
                                     "tex/generic/pst-spectra/"
                                     "tex/latex/pst-spectra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l88wag5i1jy6pd1lx3s9cijiymzdgwvl52hkarc84d8qpn53wcw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-spectra")
    (synopsis "Draw continuum, emission and absorption spectra with PSTricks")
    (description
     "The package is a PSTricks extension, based on a NASA lines database.  It
allows you to draw continuum, emission and absorption spectra.  A Total of 16
880 visible lines from 99 elements can be displayed.")
    (license license:lppl)))

(define-public texlive-pst-spinner
  (package
    (name "texlive-pst-spinner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-spinner/"
                                     "dvips/pst-spinner/"
                                     "tex/generic/pst-spinner/"
                                     "tex/latex/pst-spinner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fm70v1kgjs32pvyvcnh2j47clqgdr4hll4j7fr935584d604g49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-spinner")
    (synopsis "Drawing a fidget spinner")
    (description
     "This package aims to propose a model of the fidget spinner gadget.  It
exists under different forms with 2, 3 poles and even more.  We chose the most
popular model: the triple fidget spinner.")
    (license license:lppl)))

(define-public texlive-pst-stru
  (package
    (name "texlive-pst-stru")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-stru/"
                                     "tex/generic/pst-stru/"
                                     "tex/latex/pst-stru/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxf0bj43picgd86bwgc38d8valpx0fn0pr3pgfv2kn42r2pampj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-stru")
    (synopsis "Civil engineering diagrams, using PSTricks")
    (description
     "This PSTricks-based package provides facilities to draw structural
schemes in civil engineering analysis, for beams, portals, arches and piles.")
    (license license:lppl)))

(define-public texlive-pst-support
  (package
    (name "texlive-pst-support")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-support/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1470n03zanpw35dnfzyjqm7d5lgddrimypz28x0zsk9nqpamnqnv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-support")
    (synopsis "Assorted support files for use with PSTricks")
    (description
     "This package provides an appropriate set of job options, together with
process scripts for use with TeXnicCenter.")
    (license license:lppl)))

(define-public texlive-pst-text
  (package
    (name "texlive-pst-text")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-text/"
                                     "dvips/pst-text/"
                                     "tex/generic/pst-text/"
                                     "tex/latex/pst-text/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "146fpzd1xlqi94q5r48z8ni8qww713yh6nwkbr9pw27mjrqdadb9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "http://www.ctan.org/pkg/pst-text")
    (synopsis "Text and character manipulation in PSTricks")
    (description "Pst-text is a PSTricks based package for plotting text along
a different path and manipulating characters.  It includes the functionality
of the old package @code{pst-char}.")
    (license license:lppl)))

(define-public texlive-pst-thick
  (package
    (name "texlive-pst-thick")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-thick/"
                                     "source/generic/pst-thick/"
                                     "tex/generic/pst-thick/"
                                     "tex/latex/pst-thick/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1clg9ahhg3zg91phlp2ni1j5m6pb68bdk74glh398r8y2gj2b5fb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-thick")
    (synopsis "Drawing very thick lines and curves")
    (description
     "The package supports drawing of very thick lines and curves in PSTricks,
with various fillings for the body of the lines.")
    (license license:lppl)))

(define-public texlive-pst-tools
  (package
    (name "texlive-pst-tools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-tools/" "dvips/pst-tools/"
                                     "tex/generic/pst-tools/"
                                     "tex/latex/pst-tools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ws149np6121mc7msw32wkc6pn528ldsd5g95w4n4vcm6r54pmgq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-tools")
    (synopsis "PSTricks support functions")
    (description
     "The package provides helper functions for other PSTricks related
packages.")
    (license license:lppl)))

(define-public texlive-pst-tree
  (package
    (name "texlive-pst-tree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-tree/"
                                     "tex/generic/pst-tree/"
                                     "tex/latex/pst-tree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vznc4qyjpnni3smdxlpqi7h3qxd13kv5pigvlly0zq676n6gw8n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-tree")
    (synopsis "Trees, using PSTricks")
    (description
     "@code{pst-tree} defines a macro \\pstree that offers a structured way of
joining nodes created using @code{pst-node} in order to draw trees.")
    (license license:lppl)))

(define-public texlive-pst-turtle
  (package
    (name "texlive-pst-turtle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-turtle/"
                                     "dvips/pst-turtle/"
                                     "tex/generic/pst-turtle/"
                                     "tex/latex/pst-turtle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mgpjs9jkgfx0hbd9l5jw60rf0vpdkv933ksjlwcjlh98y9gay4c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-turtle")
    (synopsis "Commands for Turtle operations")
    (description
     "This is a PSTricks related package for creating Turtle graphics.")
    (license license:lppl)))

(define-public texlive-pst-tvz
  (package
    (name "texlive-pst-tvz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-tvz/"
                                     "source/generic/pst-tvz/"
                                     "tex/generic/pst-tvz/" "tex/latex/pst-tvz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xpzvfgngv5r5cdnvip87wr1i0pmrc6ibwi5gzmibfzl64w7vkqr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-tvz")
    (synopsis "Draw trees with more than one root node, using PSTricks")
    (description
     "The package uses PSTricks to draw trees with more than one root node.
It is similar to @code{pst-tree}, though it uses a different placement
algorithm.")
    (license license:lppl1.3+)))

(define-public texlive-pst-uml
  (package
    (name "texlive-pst-uml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-uml/"
                                     "source/generic/pst-uml/"
                                     "tex/latex/pst-uml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sgsyg9gk4wxgz7r44h6a7f5f7gl5b522f864n0kv35cgmwnzyr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-multido))
    (home-page "https://ctan.org/pkg/pst-uml")
    (synopsis "UML diagrams with PSTricks")
    (description
     "This a PSTricks package that provides support for drawing moderately
complex UML (Universal Modelling Language) diagrams.  (The PDF documentation
is written in French.)")
    (license license:lppl)))

(define-public texlive-pst-vectorian
  (package
    (name "texlive-pst-vectorian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-vectorian/"
                                     "dvips/pst-vectorian/"
                                     "tex/latex/pst-vectorian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0knvzl4gqz79jzvb4w7a9ka1iiz5f3pjivnwvwmd1kmibykqwb67"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-vectorian")
    (synopsis "Printing ornaments")
    (description
     "The package uses PSTricks to draw ornaments (a substantial repertoire of
ornaments is provided).")
    (license license:lppl)))

(define-public texlive-pst-vehicle
  (package
    (name "texlive-pst-vehicle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-vehicle/"
                                     "tex/generic/pst-vehicle/"
                                     "tex/latex/pst-vehicle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b0s5fy4w4k2q486sdwlrh649n99k9s5hy5m2v01lh7qnjl1z4c3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-vehicle")
    (synopsis "Rolling vehicles on graphs of mathematical functions")
    (description
     "This package permits to represent vehicles rolling without slipping on
mathematical curves.  Different types of vehicles are proposed, the shape of
the curve is to be defined by its equation in algebraic notation.")
    (license license:lppl1.3c)))

(define-public texlive-pst-venn
  (package
    (name "texlive-pst-venn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pst-venn/"
                                     "tex/latex/pst-venn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gz7sxwycqd71yy8jln7h3v064mrzhh1852fc7b785v55x8kna2n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-venn")
    (synopsis "PSTricks package for drawing Venn sets")
    (description
     "This is a PSTricks related package for drawing Venn diagrams with three
circles.")
    (license license:lppl)))

(define-public texlive-pst-vowel
  (package
    (name "texlive-pst-vowel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pst-vowel/"
                                     "tex/latex/pst-vowel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p0qnfbmd1lh21nk6xq246xr6y50q0y55rdcq3i9vkg4j7kkkfy6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pst-vowel")
    (synopsis "Enable arrows showing diphthongs on vowel charts")
    (description
     "The package extends the @code{vowel} package (distributed as part of the
@code{tipa} bundle) by allowing the user to draw arrows between vowels to show
relationships such as diphthong membership.")
    (license license:lppl)))

(define-public texlive-pst2pdf
  (package
    (name "texlive-pst2pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/pst2pdf/" "scripts/pst2pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yihyrnwwpad5hf8yrjqljpwsnj6kcbb6y6cfnxwxbi1c5pf1jk9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pst2pdf.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pst2pdf")
    (synopsis "Script to compile PSTricks documents via pdfTeX")
    (description
     "The script extracts the preamble of the document and runs all
@code{\\begin@{postscript@}...\\end@{postscript@}},
@code{\\begin@{pspicture@}...\\end@{pspicture@}} and
@code{\\pspicture...\\endpspicture} separately through LaTeX with the same
preamble as the original document; thus it creates EPS, PNG and PDF files of
these snippets.  In a final pdfLaTeX run the script replaces the environments
with @code{\\includegraphics} to include the processed snippets.")
    (license license:gpl2)))

(define-public texlive-pstricks-add
  (package
    (name "texlive-pstricks-add")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/pstricks-add/"
                                     "dvips/pstricks-add/"
                                     "tex/generic/pstricks-add/"
                                     "tex/latex/pstricks-add/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r3agvd9mpdahzs8qpiplyldh4ygc5yzrchk2xmrdhkvnnvyyn6i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pstricks-add")
    (synopsis "Collection of add-ons and bugfixes for PSTricks")
    (description
     "This package collects together examples that have been posted to the
PSTricks mailing list, together with many additional features for the basic
@code{pstricks}, @code{pst-plot} and @code{pst-node}, including: bugfixes; new
options for the pspicture environment; arrows; braces as node
connection/linestyle; extended axes for plots (e.g., logarithm axes); polar
plots; plotting tangent lines of curves or functions; solving and printing
differential equations; box plots; matrix plots; and pie charts.")
    (license license:lppl)))

(define-public texlive-pstricks-calcnotes
  (package
    (name "texlive-pstricks-calcnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pstricks_calcnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00vgcdf73p4143dfjcvs4b5v4phvisv76ink3iiijl6s6f9zbmy3"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "pstricks_calcnotes")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pstricks-calcnotes")
    (synopsis "Use of PSTricks in calculus lecture notes")
    (description
     "The bundle shows the construction of PSTricks macros to draw Riemann
sums of an integral and to draw the vector field of an ordinary differential
equation.  The results are illustrated in a fragment of lecture notes.")
    (license license:lppl)))

(define-public texlive-marginnote
  (package
    (name "texlive-marginnote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/marginnote/"
                                     "source/latex/marginnote/"
                                     "tex/latex/marginnote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wsprc4gnxws3hs5sfpvcw6cdjs5mn5my5ff56hvk6mxd0m6rpwg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marginnote")
    (synopsis "Notes in the margin")
    (description "This package provides the command @code{\\marginnote} that
may be used instead of @code{\\marginpar} at almost every place where
@code{\\marginpar} cannot be used, e.g., inside floats, footnotes, or in
frames made with the @code{framed} package.")
    (license license:lppl1.3c+)))

(define-public texlive-tabu
  (package
    (name "texlive-tabu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabu/" "source/latex/tabu/"
                                     "tex/latex/tabu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mixyrqavipq4ni38z42x3579cdjbz54cp2qqb4q4yhfbl0a4pka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-varwidth))
    (home-page "https://ctan.org/macros/latex/contrib/tabu")
    (synopsis "Flexible LaTeX tabulars")
    (description
     "The package provides an environment, @code{tabu}, which will make any
sort of tabular, and an environment @code{longtabu} which provides the
facilities of @code{tabu} in a modified @code{longtable} environment.")
    (license license:lppl1.3+)))

(define-public texlive-uml
  (package
    (name "texlive-uml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uml/" "source/latex/uml/"
                                     "tex/latex/uml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "039kg3xk03cm4xfsaj33kx1j5hjqy9330zxamqyzs1jnp8xgcfdz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uml")
    (synopsis "UML diagrams in LaTeX")
    (description
     "This package provides a PSTricks related package for writing
UML (Unified Modelling Language) diagrams in LaTeX.  Currently, it implements
a subset of class diagrams, and some extra constructs as well.  The package
cannot be used together with @code{pst-uml}.")
    (license license:lppl)))

(define-public texlive-vaucanson-g
  (package
    (name "texlive-vaucanson-g")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/vaucanson-g/"
                                     "tex/generic/vaucanson-g/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18ig6kszjr2jfr3hvq18clq8ccxbv2zw280pw20mphfjh6rjwbrj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vaucanson-g")
    (synopsis "PSTricks macros for drawing automata")
    (description
     "VauCanSon-G is a package that enables the user to draw automata within
texts written using LaTeX.  The package macros make use of commands of
PSTricks.")
    (license license:lppl)))

(define-public texlive-vocaltract
  (package
    (name "texlive-vocaltract")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vocaltract/"
                                     "tex/latex/vocaltract/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "072b712bhfxq429jh4r9d786nwpdyl8rlbm6ds4nf9asxg2lg9wr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vocaltract")
    (synopsis "Visualise the vocal tract using LaTeX and PSTricks")
    (description
     "The package enables the user to visualise the vocal tract.  The vocal
tract (in the package) is manipulated by a vector of articulation parameters
according to the S. Maeda model.  Animation may be achieved by providing
a sequence of vectors over time (e.g., from Matlab).  A sequence of vectors
for certain German phonemes is embedded in the package, which allows for
animation when no other vector is available.  The package's graphics are
produced using PSTricks.")
    (license license:lppl)))

(define-public texlive-xkeyval
  (package
    (name "texlive-xkeyval")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xkeyval/" "source/latex/xkeyval/"
                                     "tex/generic/xkeyval/" "tex/latex/xkeyval/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nclsazny3hnzsi2vcixh2g1gsj5lvwxls1v569rms8ykgd9v7z8"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:build-targets #~(list "xkeyval.dtx")
      #:tex-format "latex"              ;won't build with luatex
      #:phases
      #~(modify-phases %standard-phases
          ;; This package cannot be built out of tree as it expects to find
          ;; built files in the working directory.
          (add-before 'build 'fix-build
            (lambda _
              (setenv "TEXINPUTS" (string-append (getcwd) "/build:"))
              (substitute* "source/latex/xkeyval/xkeyval.dtx"
                (("usepackage\\{xcolor\\}")
                 "usepackage[dvips]{xcolor}")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-footmisc
                  texlive-fourier
                  texlive-hypdoc
                  texlive-infwarerr
                  texlive-kvoptions
                  texlive-listings
                  texlive-lm
                  texlive-pgf
                  texlive-pst-text
                  texlive-pstricks
                  texlive-xcolor))))
    (home-page "https://ctan.org/pkg/xkeyval")
    (synopsis "Extension of the @code{keyval} package")
    (description
     "This package is an extension of the keyval package and offers additional
macros for setting keys and declaring and setting class or package options.
The package allows the programmer to specify a prefix to the name of the
macros it defines for keys, and to define families of key definitions; these
all help use in documents where several packages define their own sets of
keys.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-xkeyval texlive-xkeyval)

(define-public texlive-scikgtex
  (package
    (name "texlive-scikgtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/scikgtex/"
                                     "tex/lualatex/scikgtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xzb07i15khplwdm14irg4jzj9ayngkj05qc4yk70z0nra95mhb4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scikgtex")
    (synopsis
     "Mark research contributions in scientific documents and embed them in PDF metadata")
    (description
     "Scientific Knowledge Graph TeX (SciKgTeX) is a LuaLaTeX package which
makes it possible to annotate specific research contributions in scientific
documents.  SciKGTeX will enrich the document by adding the marked
contributions to PDF metadata in a structured XMP format which can be picked
up by search engines and knowledge graphs.")
    (license license:expat)))

(define-public texlive-selnolig
  (package
    (name "texlive-selnolig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/selnolig/"
                                     "tex/lualatex/selnolig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xx3agmd7ply84jjx1kcg4jpix7qg1y3wrd2kr7dv74jw5cffrfq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/selnolig")
    (synopsis "Selectively disable typographic ligatures")
    (description
     "The package suppresses typographic ligatures selectively, i.e., based on
predefined search patterns.  The search patterns focus on ligatures deemed
inappropriate because they span morpheme boundaries.")
    (license license:lppl1.3+)))

(define-public texlive-showhyphenation
  (package
    (name "texlive-showhyphenation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/showhyphenation/"
                                     "tex/lualatex/showhyphenation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "004ks65aac3h7zzplx10amydbhxja5llkp4kp5krs35hpyv0q11f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showhyphenation")
    (synopsis "Marking of hyphenation points")
    (description
     "The package shows the hyphenation points in the document by either
inserting small triangles below the baseline or by typesetting explicit
hyphens.  The markers are correctly placed even within ligatures and their
size adjusts to the font size.  By option the markers can be placed behind or
in front of the glyphs.  The package requires LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-showkerning
  (package
    (name "texlive-showkerning")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/showkerning/"
                                     "tex/lualatex/showkerning/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l0xc7rlxfsw8pr1w65jkfpr4q7ljybjx8rl1vpyqz8556hi683w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showkerning")
    (synopsis "Showing kerns in a document")
    (description
     "The package displays all kerning values in the form of colored bars
directly at the respective position in the document.  Positive values are
displayed in green, negative values in red.  The width of the bars corresponds
exactly to the respective kerning value.  By option the bars can be placed
behind or in front of the glyphs.  The package requires LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-spacekern
  (package
    (name "texlive-spacekern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/spacekern/"
                                     "tex/lualatex/spacekern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wlp45z7wzdnb0bp2fzfrmzc1ba2wz5qji2n3qf7rfz7kb0z1ma8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spacekern")
    (synopsis "Kerning between words and against space")
    (description
     "This package provides two shorthands for typesetting breaking and
non-breaking small spaces, where both hyphenation and kerning against space
are correctly applied.  Additionally, interword kerning can be applied.")
    (license license:lppl1.3c)))

(define-public texlive-spelling
  (package
    (name "texlive-spelling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/spelling/" "scripts/spelling/"
                                     "tex/luatex/spelling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pg4jz1rxpjc9648b53zbnwrn59id9iv8b1jfwl6nqj58q285w7q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spelling")
    (synopsis "Support for spell-checking of LuaTeX documents")
    (description
     "The package aids spell-checking of TeX documents compiled with the
LuaTeX engine.  It can give visual feedback in PDF output similar to WYSIWYG
word processors.  The package relies on an external spell-checker application
to check spelling of a text file and to output a list of bad spellings.  The
package should work with most spell-checkers, even dumb, TeX-unaware ones.")
    (license license:lppl1.3+)))

(define-public texlive-standalone
  (package
    (name "texlive-standalone")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/standalone/"
                                     "source/latex/standalone/"
                                     "tex/latex/standalone/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "055mz0r837ipb6f0v7lp2imwpy1zh0i45wkd5f1dbpjpb9gf7qny"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (propagated-inputs
     (list texlive-adjustbox
           texlive-currfile
           texlive-filemod
           texlive-gincltex
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/standalone")
    (synopsis "Compile TeX pictures stand-alone or as part of a document")
    (description
     "This package provides a class and package is provided which allows TeX
pictures or other TeX code to be compiled standalone or as part of a main
document.  Special support for pictures with @code{beamer} overlays is also
provided.  The package is used in the main document and skips extra preambles
in sub-files.  The class may be used to simplify the preamble in sub-files.
By default the @code{preview} package is used to display the typeset code
without margins.")
    (license license:lppl1.3+)))

(define-public texlive-stricttex
  (package
    (name "texlive-stricttex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/stricttex/"
                                     "tex/lualatex/stricttex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ddlcwj1bnj6zrkljkz3jywgri34f4g9gshbwd0lzz4nz03v82rv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stricttex")
    (synopsis "Strictly balanced brackets and numbers in command names")
    (description
     "This is a small, LuaLaTeX-only package providing you with three,
sometimes useful features.  It allows you to make brackets @samp{[...]}
strict, meaning that each @samp{[} must be balanced by a @samp{]}.  It also
allows you to use numbers and primes in command names.")
    (license license:lppl1.3c)))

(define-public texlive-siunitx
  (package
    (name "texlive-siunitx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/siunitx/" "source/latex/siunitx/"
                                     "tex/latex/siunitx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00a4iv5460p6i8r7q6gsqvh9g0jwa25gcja42k5895rpxb31lly3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://www.ctan.org/pkg/siunitx")
    (synopsis "Comprehensive SI units package")
    (description
     "Typesetting values with units requires care to ensure that the combined
mathematical meaning of the value plus unit combination is clear.  In
particular, the SI units system lays down a consistent set of units with rules
on how they are to be used.  However, different countries and publishers have
differing conventions on the exact appearance of numbers (and units).  A
number of LaTeX packages have been developed to provide consistent application
of the various rules.  The @code{siunitx} package takes the best from the
existing packages, and adds new features and a consistent interface.  A number
of new ideas have been incorporated, to fill gaps in the existing provision.
The package also provides backward-compatibility with @code{SIunits},
@code{sistyle}, @code{unitsdef} and @code{units}.  The aim is to have one
package to handle all of the possible unit-related needs of LaTeX users.")
    (license license:lppl1.3c)))

(define-public texlive-booktabs
  (package
    (name "texlive-booktabs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/booktabs/" "source/latex/booktabs/"
                                     "tex/latex/booktabs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pv2kv4hgayqfcij2sz1jmk6kbxqccyaksz8xlw5kvqrbag9vxm3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/booktabs")
    (synopsis "Publication quality tables in LaTeX")
    (description
     "This package enhances the quality of tables in LaTeX, providing extra
commands as well as behind-the-scenes optimisation.  Guidelines are given as
to what constitutes a good table in this context.  The package offers
@code{longtable} compatibility.")
    (license license:lppl1.3+)))

(define-public texlive-csquotes
  (package
    (name "texlive-csquotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csquotes/" "tex/latex/csquotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0657rvaciq5h4qp2hg9d2w2i663p5cnxygi6dj9w61463m4nkpy6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-etoolbox))
    (home-page "https://www.ctan.org/pkg/csquotes")
    (synopsis "Context sensitive quotation facilities")
    (description
     "This package provides advanced facilities for inline and display
quotations.  It is designed for a wide range of tasks ranging from the most
simple applications to the more complex demands of formal quotations.  The
facilities include commands, environments, and user-definable smart quotes
which dynamically adjust to their context.  Quotation marks are switched
automatically if quotations are nested and they can be adjusted to the current
language if the babel package is available.  There are additional facilities
designed to cope with the more specific demands of academic writing,
especially in the humanities and the social sciences.  All quote styles as
well as the optional active quotes are freely configurable.")
    (license license:lppl1.3c+)))

(define-public texlive-csquotes-de
  (package
    (name "texlive-csquotes-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csquotes-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "087c08c44811vd8p00l1xrkg5w6fsl8as64jq83m6gf1hfan9w4c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csquotes-de")
    (synopsis "German translation of @code{csquotes} documentation")
    (description
     "This is a German translation of the documentation of @code{csquotes}.")
    (license license:lppl)))

(define-public texlive-dhua
  (package
    (name "texlive-dhua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dhua/" "source/latex/dhua/"
                                     "tex/latex/dhua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0npf0bz5cdl6a98gc4l66v0hxwgg94af31bdrz8xai6r4vwjbzhl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dhua")
    (synopsis "German abbreviations using thin space")
    (description
     "The package provides commands for those abbreviations of German phrases
for which the use of thin space is recommended.")
    (license license:lppl1.3+)))

(define-public texlive-dtk-bibliography
  (package
    (name "texlive-dtk-bibliography")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/dtk-bibliography/"
                                     "doc/bibtex/dtk-bibliography/"
                                     "tex/latex/dtk-bibliography/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lacfh7pg6z7fn1mnmd4xhf4b9s9shjzqilaxb5fjj5lglixbs30"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dtk-bibliography")
    (synopsis "Bibliography of @emph{Die TeXnische Komodie}")
    (description
     "This package contains the bibliography for @emph{Die TeXnische Komodie},
the journal of the German-speaking TeX User Group.")
    (license license:lppl1.3c)))

(define-public texlive-etdipa
  (package
    (name "texlive-etdipa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etdipa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jp35apalaa1lh44dbn1zayavv1n3wkm0v69hgy8vdz73yp5yvhz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etdipa")
    (synopsis "Simple, lightweight template for scientific documents")
    (description
     "This package provides a complete working directory for the scientific
documentation of arbitrary projects.  It was originally developed to provide
a template for Austrian @emph{Diplomarbeiten} or @emph{Vorwissenschaftliche
Arbeiten}, which are scientfic projects of students at a secondary school.")
    (license license:lppl1.3+)))

(define-public texlive-etoolbox-de
  (package
    (name "texlive-etoolbox-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etoolbox-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vchha7ymvj51jfnvl76rxv466lzfpxr6xcvwafxhi78w4bk9yry"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etoolbox-de")
    (synopsis "German translation of documentation of @code{etoolbox}")
    (description "This package provides the German translation of
@code{etoolbox} documentation.")
    (license license:lppl)))

(define-public texlive-fifinddo-info
  (package
    (name "texlive-fifinddo-info")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fifinddo-info/"
                                     "source/latex/fifinddo-info/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m95qyd5kbaa2x8rpjwr6f9c76ajg6l49igzw9yb0hcrwwg7cni6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fifinddo-info")
    (synopsis "German HTML beamer presentation on nicetext and morehype")
    (description
     "The bundle: exhibits the process of making an HTML beamer presentation
with the @code{blogdot} package from the @code{morehype} bundle, and HTML
generation based on the @code{fifinddo} package.")
    (license license:lppl1.3+)))

(define-public texlive-german
  (package
    (name "texlive-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/german/"
                                     "source/generic/german/"
                                     "tex/generic/german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n17j7rc69kxgs3b2cyxjb8hsh6bc9aydxf90x98rdc2ardl9idg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/german")
    (synopsis "Support for German typography")
    (description
     "This package provides supports the old German orthography (alte deutsche
Rechtschreibung).")
    (license license:lppl)))

(define-public texlive-germbib
  (package
    (name "texlive-germbib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/germbib/" "doc/bibtex/germbib/"
                                     "tex/latex/germbib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mc95h4ndzbg2q30vsq2rx9v0a8f0q0vhmjiz709lllkmj6n402p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/germbib")
    (synopsis "German variants of standard BibTeX styles")
    (description
     "This package provides a development of the (old) @file{german.sty}, this
bundle provides German packages, BibTeX styles and documentary examples, for
writing documents with bibliographies.  The author has since developed the
@code{babelbib} bundle, which (he asserts) supersedes @code{germbib}.")
    ;; The license is a variation of Knuth's.
    (license (license:fsf-free "file://doc/bibtex/germbib/apalike.tex"))))

(define-public texlive-germkorr
  (package
    (name "texlive-germkorr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/germkorr/" "tex/latex/germkorr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qgh3j97dljwh7625m577jcsvqhfkas3jn4q09m05jsjfxb7n2bx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/germkorr")
    (synopsis "Change kerning for German quotation marks")
    (description
     "The package brings some letters nearer to German single and double
quotes even when that letter wears a standard accent")
    (license license:gpl3+)))

(define-public texlive-hausarbeit-jura
  (package
    (name "texlive-hausarbeit-jura")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hausarbeit-jura/"
                                     "source/latex/hausarbeit-jura/"
                                     "tex/latex/hausarbeit-jura/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14raizfrrfnwdgwaq9irxdkg2mg280csjcirsxjq4rpdwqg2nkwh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hausarbeit-jura")
    (synopsis
     "Class for writing @emph{juristische Hausarbeiten} at German Universities")
    (description
     "The class was developed for use by students writing legal
essays (@emph{juristische Hausarbeit}) at German Universities.  It is based on
@code{jurabook} and @code{jurabib} and makes it easy for LaTeX beginners to
get a correct and nicely formatted paper.")
    (license license:lppl1.3+)))

(define-public texlive-logreq
  (package
    (name "texlive-logreq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logreq/" "tex/latex/logreq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13difccs3cxlkqlnhw286yb0c7mifrxfd402a2x5wwxv0m1kgfqd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-etoolbox))
    (home-page "https://ctan.org/pkg/logreq")
    (synopsis "Support for automation of the LaTeX workflow")
    (description
     "The package helps to automate a typical LaTeX workflow that involves
running LaTeX several times, running tools such as BibTeX or makeindex, and so
on.  It will log requests like ``please rerun LaTeX'' or ``please run BibTeX
on file X'' to an external XML file which lists all open tasks in
a machine-readable format.  Compiler scripts and integrated LaTeX editing
environments may parse this file to determine the next steps in the
workflow. In sum, the package will do two things: enable package authors to
use LaTeX commands to issue requests, collect all requests from all packages
and write them to an external XML file at the end of the document.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex
  (package
    (name "texlive-biblatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/biblatex/biblatex/"
                                     "bibtex/bst/biblatex/" "doc/latex/biblatex/"
                                     "tex/latex/biblatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08wvsdwcixj50kklv4zwjs9rpjmhwzxxd242hvyi6lzkd7r0fnq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox
           texlive-kvoptions
           texlive-logreq
           texlive-pdftexcmds
           texlive-url))
    (home-page "https://ctan.org/pkg/biblatex")
    (synopsis "Sophisticated Bibliographies in LaTeX")
    (description
     "BibLaTeX is a complete reimplementation of the bibliographic facilities
provided by LaTeX.  Formatting of the bibliography is entirely controlled by
LaTeX macros, and a working knowledge of LaTeX should be sufficient to design
new bibliography and citation styles.  BibLaTeX uses its own data backend
program called @code{biber} to read and process the bibliographic data.  With
@code{biber}, the range of features provided by BibLaTeX includes full Unicode
support, customisable bibliography labels, multiple bibliographies in the same
document, and subdivided bibliographies, such as bibliographies per chapter or
section.")
    (license license:lppl1.3+)))

(define-public texlive-biblatex-apa
  (package
    (name "texlive-biblatex-apa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biblatex-apa/"
                                     "tex/latex/biblatex-apa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q0agi722ap1ai9w6yw1q9fvwx1wgxldrq9l626fw55q5wxwl2dx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biblatex-apa")
    (synopsis "BibLaTeX citation and reference style for APA")
    (description
     "This is a fairly complete BibLaTeX style (citations and references) for
APA (American Psychological Association) publications.  It implements and
automates most of the guidelines in the APA 7th edition style guide for
citations and references.")
    (license license:lppl1.3c)))

(define-public texlive-truthtable
  (package
    (name "texlive-truthtable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/truthtable/"
                                     "tex/lualatex/truthtable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z148ga6a3apalf8wvl6y7rghwz80f1a3rpds3gsf6apzjzkxjfy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/truthtable")
    (synopsis
     "Automatically generate truth tables for given variables and statements")
    (description
     "This LuaLaTeX package permits to automatically generate truth tables
given a table header.  It supports a number of logical operations which can be
combined as needed.")
    (license license:lppl1.3c)))

(define-public texlive-todonotes
  (package
    (name "texlive-todonotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/todonotes/"
                                     "source/latex/todonotes/"
                                     "tex/latex/todonotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a7z4za1c67cjp2g4v4mh0ql3l8n6m2clqyzlkxbkmpr1pa70has"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-pgf texlive-tools texlive-xcolor texlive-xkeyval))
    (home-page "https://ctan.org/pkg/todonotes")
    (synopsis "Marking things to do in a LaTeX document")
    (description
     "The @code{todonotes} package lets the user mark things to do later, in
a simple and visually appealing way.  The package takes several options to
enable customization and finetuning of the visual appearance.")
    (license license:lppl1.3+)))

(define-public texlive-tsvtemplate
  (package
    (name "texlive-tsvtemplate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/tsvtemplate/"
                                     "tex/luatex/tsvtemplate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05q1vfsy9w0pmc489dl995iqr9srdv107mj89nlc269m3wjnwn7a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tsvtemplate")
    (synopsis "Apply a template to a TSV file")
    (description
     "This is a simple TSV (tab-separated values) reader for LuaLaTeX and
plain LuaTeX.  It also supports (non-quoted) comma-separated values, or indeed
values separated by any character.")
    (license license:eupl1.2)))

(define-public texlive-typewriter
  (package
    (name "texlive-typewriter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/typewriter/"
                                     "tex/lualatex/typewriter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00c53vbm8fchjggi3h1w49y07ma4cmmliqx2bhkvis6qsqgddw5f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typewriter")
    (synopsis "Typeset with a randomly variable monospace font")
    (description
     "The typewriter package uses the OpenType Computer Modern Unicode
Typewriter font, together with a LuaTeX virtual font setup that introduces
random variability in grey level and angle of each character.")
    (license license:lppl)))

(define-public texlive-uninormalize
  (package
    (name "texlive-uninormalize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/uninormalize/"
                                     "tex/lualatex/uninormalize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c4pki1yw5599s9nyj1ir7j26mgbhf1iw7m44685d8la9vbzv8dm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uninormalize")
    (synopsis "Unicode normalization support")
    (description
     "This package provides Unicode normalization (useful for composed
characters) for LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-units
  (package
    (name "texlive-units")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/units/" "source/latex/units/"
                                     "tex/latex/units/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mrdsg55f40cvarrx84gbhrnsk8mlv915nll17lnfzfapgmvjsbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/units")
    (synopsis "Typeset physical units and fractions")
    (description "@code{units} is a package for typesetting physical units in
a standard-looking way.  The package is based upon @code{nicefrac}, a package
for typing fractions.  @code{nicefrac} is included in the @code{units}
bundle.")
    (license license:gpl3+)))

(define-public texlive-microtype
  (package
    (name "texlive-microtype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/microtype/"
                                     "source/latex/microtype/"
                                     "tex/latex/microtype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "039v1dw3n4lnd8ipazlkb7p5abqcrigjayx797ggh3ak8dcqwlli"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/microtype")
    (synopsis "Subliminal refinements towards typographical perfection")
    (description
     "The package provides a LaTeX interface to the micro-typographic
extensions that were introduced by pdfTeX and have since also propagated to
XeTeX and LuaTeX: most prominently, character protrusion and font expansion,
furthermore the adjustment of interword spacing and additional kerning, as
well as hyphenatable letterspacing (tracking) and the possibility to disable
all or selected ligatures.  These features may be applied to customisable sets
of fonts, and all micro-typographic aspects of the fonts can be configured in
a straight-forward and flexible way.  An alternative package
@code{letterspace}, which also works with plain TeX, is included in the
bundle.")
    (license license:lppl1.3c)))

(define-public texlive-microtype-de
  (package
    (name "texlive-microtype-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/microtype-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "069d2f0jcg9m4fv8dli2dr9ags9gz6mkwy6fzz37ns4jzrqfsvwi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/microtype-de")
    (synopsis "Translation into German of the documentation of @code{microtype}")
    (description
     "This package provides the translation into German of the documentation
of @code{microtype}.")
    (license license:lppl1.3+)))

(define-public texlive-minitoc
  (package
    (name "texlive-minitoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minitoc/"
                                     "tex/latex/minitoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yd1na5b9m7z1j87a5fjwjqddfpiblfbpzcv0vlvql6lwh38mii7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minitoc")
    (synopsis "Produce a table of contents for each chapter, part or section")
    (description
     "The @code{minitoc} package allows you to add
mini-tables-of-contents (minitocs) at the beginning of every chapter, part or
section.  There is also provision for mini-lists of figures and of tables.  At
the part level, they are parttocs, partlofs and partlots.  If the type of
document does not use chapters, the basic provision is section level secttocs,
sectlofs and sectlots.  The package has provision for language-specific
configuration of its own fixed names, using @file{.mld} files.")
    (license license:lppl1.3+)))

(define-public texlive-minted
  (package
    (name "texlive-minted")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minted/" "source/latex/minted/"
                                     "tex/latex/minted/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dybmrnhbmfba4lm02g8xg2rncqdm651fbds74l94c0l47vmw33x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-catchfile
           texlive-etoolbox
           texlive-float
           texlive-framed
           texlive-fvextra
           texlive-graphics
           texlive-ifplatform
           texlive-kvoptions
           texlive-lineno
           texlive-newfloat
           texlive-pdftexcmds
           texlive-tools
           texlive-xcolor
           texlive-xstring))
    (home-page "https://ctan.org/pkg/minted")
    (synopsis "Highlighted source code for LaTeX")
    (description
     "The package that facilitates expressive syntax highlighting in LaTeX
using the powerful Pygments library.  The package also provides options to
customize the highlighted source code output using @code{fancyvrb}.")
    (license license:lppl1.3+)))

(define-public texlive-caption
  (package
    (name "texlive-caption")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/caption/" "source/latex/caption/"
                                     "tex/latex/caption/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lqdhi8z1dk46z8yf3qpplxj2vlqlym3rlprdci9239838yfcdbq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/caption")
    (synopsis "Customising captions in floating environments")
    (description
     "The @code{caption} package provides many ways to customise the captions
in floating environments like figure and table, and cooperates with many other
packages.  Facilities include rotating captions, sideways captions, continued
captions (for tables or figures that come in several parts).  A list of
compatibility notes, for other packages, is provided in the documentation.
The package also provides the caption outside float facility, in the same way
that simpler packages like capt-of do.")
    (license license:lppl1.3+)))

(define-public texlive-symbol
  (package
    (name "texlive-symbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "dvips/symbol/"
                                     "fonts/afm/adobe/symbol/"
                                     "fonts/afm/urw/symbol/"
                                     "fonts/map/dvips/symbol/"
                                     "fonts/tfm/adobe/symbol/"
                                     "fonts/tfm/monotype/symbol/"
                                     "fonts/tfm/urw35vf/symbol/"
                                     "fonts/type1/urw/symbol/"
                                     "tex/latex/symbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pdkpr86bhia5hcmf7q3nhvklnsga4mqqrrirgl8a7al7x6q3ivs"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/urw-base35")
    (synopsis "Replacement for Adobe's Symbol font")
    (description
     "This package provides a drop-in replacement for the Symbol font from
Adobe's basic set.")
    (license license:gpl3+)))

(define-public texlive-mathpazo
  (package
    (name "texlive-mathpazo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathpazo/"
                                     "fonts/afm/public/mathpazo/"
                                     "fonts/tfm/public/mathpazo/"
                                     "fonts/type1/public/mathpazo/"
                                     "fonts/vf/public/mathpazo/"
                                     "source/latex/mathpazo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g10rjgg1kb78lgyxmwjrkgpy24yq3v0m47h6zhbc68rrmmawvwp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fpl texlive-palatino))
    (home-page "https://ctan.org/pkg/mathpazo")
    (synopsis "Fonts to typeset mathematics to match Palatino")
    (description "The Pazo Math fonts are a family of PostScript fonts
suitable for typesetting mathematics in combination with the Palatino family
of text fonts.  The Pazo Math family is made up of five fonts provided in
Adobe Type 1 format.  These contain glyphs that are usually not available in
Palatino and for which Computer Modern looks odd when combined with Palatino.
These glyphs include the uppercase Greek alphabet in upright and slanted
shapes, the lowercase Greek alphabet in slanted shape, several mathematical
glyphs and the uppercase letters commonly used to represent various number
sets.  LaTeX macro support is provided in package @code{psnfss}.")
    (license license:gpl3+)))

(define-public texlive-mathspec
  (package
    (name "texlive-mathspec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/mathspec/"
                                     "tex/xelatex/mathspec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bfdzlim2kkvfzs8p7brwlc46qy41hvxb72xr53ijg2kplsqmkh8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathspec")
    (synopsis "Specify arbitrary fonts for mathematics in XeTeX")
    (description
     "The mathspec package provides an interface to typeset mathematics in
XeLaTeX with arbitrary text fonts using @code{fontspec} as a backend.")
    (license license:lppl)))

(define-public texlive-mathtools
  (package
    (name "texlive-mathtools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathtools/"
                                     "source/latex/mathtools/"
                                     "tex/latex/mathtools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "196mz0y26000mls7ca127aw99kaqqamvkki7mlfr6rshgyyfibhn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathtools")
    (synopsis "Mathematical tools to use with @code{amsmath}")
    (description
     "Mathtools provides a series of packages designed to enhance the
appearance of documents containing a lot of mathematics.  It is based on
@code{amsmath} and fixes various deficiencies of it and standard LaTeX.  It
provides:
@itemize
@item Extensible symbols, such as brackets, arrows, harpoons, etc.;
@item Various symbols such as \\coloneqq (:=);
@item Easy creation of new tag forms;
@item Showing equation numbers only for referenced equations;
@item Extensible arrows, harpoons and hookarrows;
@item Starred versions of the @code{matrix} environments for specifying the
column alignment;
@item More building blocks: multlined, cases-like environments, new gathered
environments;
@item Maths versions of @code{\\makebox}, @code{\\llap}, @code{\\rlap} etc.;
@item Cramped math styles; and more...
@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-memoir
  (package
    (name "texlive-memoir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/memoir/" "makeindex/memoir/"
                                     "source/latex/memoir/" "tex/latex/memoir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ry8glac6mah9dz7x2qq02mc5kmnfpbnnzwf01bz12jrdgi6cnn0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memoir")
    (synopsis "Typeset fiction, non-fiction and mathematical books")
    (description
     "The @code{memoir} class is for typesetting poetry, fiction,
non-fiction, and mathematical works.  Permissible document base font sizes
range from 9 to 60pt.  There is a range of page-styles and well over a dozen
chapter-styles to choose from, as well as methods for specifying your own
layouts and designs.  The class also provides the functionality of over thirty
of the more popular packages, thus simplifying document sources.")
    (license license:lppl1.3+)))

(define-public texlive-milog
  (package
    (name "texlive-milog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/milog/" "tex/latex/milog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1114i8hgs84nnvmkiy8azbh6rgk0gjzp387idvvkx651vcyc82kf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/milog")
    (synopsis
     "LaTeX class for documentation duties according to the German minimum wage law
MiLoG")
    (description
     "The @file{milog.cls} class provides means to fulfill the documentation
duties by the German minimum wage law MiLoG.  The recording of working hours
is carried out in a simple CSV file from which the class will automatically
create a time sheet.  Alternatively, data can also be collected by a CSV
export of a suitable app.")
    (license license:lppl)))

(define-public texlive-fp
  (package
    (name "texlive-fp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fp/" "tex/latex/fp/"
                                     "tex/plain/fp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q555fx71cf88sn3npzb0j2i10ak920k0qc9ccdygz99vqg10dad"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fp")
    (synopsis "Fixed point arithmetic")
    (description
     "This package provides an extensive collection of arithmetic operations
for fixed point real numbers of high precision.")
    (license license:lppl)))

(define-public texlive-fpl
  (package
    (name "texlive-fpl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fpl/" "fonts/afm/public/fpl/"
                                     "fonts/type1/public/fpl/" "source/fonts/fpl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02gkl516z9kn8xqs269pdkqn37sxm8ib0pcs43s4rs2rhyyl5z68"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fpl")
    (synopsis "SC and OsF fonts for URW Palladio L")
    (description "The FPL Fonts provide a set of SC/OsF fonts for URW
Palladio L which are compatible with the Palatino SC/OsF fonts from
Adobe.  LaTeX use is enabled by the mathpazo package, which is part of
the @code{psnfss} distribution.")
    ;; Either LPPL version 1.0 or later, or GPL version 2
    (license (list license:lppl1.0+ license:gpl2))))

(define-public texlive-arabxetex
  (package
    (name "texlive-arabxetex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/arabxetex/"
                                     "fonts/misc/xetex/fontmapping/arabxetex/"
                                     "source/xelatex/arabxetex/"
                                     "tex/xelatex/arabxetex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "097lh7ksw9rg93f1c7a4fqglgfpydf1qp3sbgy9xfgszcdpknmrk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "xelatex"
      #:phases
      #~(modify-phases %standard-phases
          ;; Use dummy fonts to avoid pulling in needless dependencies.
          ;; We're only interested in building the package, not the
          ;; documentation.
          (add-after 'unpack 'change-fonts
            (lambda _
              (substitute* "source/xelatex/arabxetex/arabxetex.dtx"
                (("(newfontfamily.*?\\{)[^}]+}" _ prefix)
                 (string-append prefix "FreeSans}"))
                (("(set(main|mono|sans)font(\\[.*?])?\\{)[^}]+}" _ prefix)
                 (string-append prefix "FreeSans}"))))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list fontconfig
                  font-gnu-freefont
                  texlive-amsmath
                  texlive-amsfonts
                  texlive-bidi
                  texlive-etoolbox
                  texlive-fancyvrb
                  texlive-fontspec
                  texlive-hologo
                  texlive-hypdoc
                  texlive-hyperref
                  texlive-infwarerr
                  texlive-kvdefinekeys
                  texlive-kvoptions
                  texlive-kvsetkeys
                  texlive-ltxcmds
                  texlive-paralist
                  texlive-pdftexcmds
                  texlive-supertabular
                  texlive-tools
                  texlive-xetex
                  texlive-xkeyval
                  texlive-zref))))
    (home-page "https://ctan.org/pkg/arabxetex")
    (synopsis "ArabTeX-like interface for XeLaTeX")
    (description
     "ArabXeTeX provides a convenient ArabTeX-like user-interface for
typesetting languages using the Arabic script in XeLaTeX, with flexible access
to font features.  Input in ArabTeX notation can be set in three different
vocalization modes or in roman transliteration.  Direct UTF-8 input is also
supported.")
    (license license:lppl1.3c)))

(define-public texlive-arev
  (package
    (name "texlive-arev")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/arev/"
                                     "fonts/afm/public/arev/"
                                     "fonts/enc/dvips/arev/"
                                     "fonts/map/dvips/arev/"
                                     "fonts/tfm/public/arev/"
                                     "fonts/type1/public/arev/"
                                     "fonts/vf/public/arev/"
                                     "source/fonts/arev/"
                                     "tex/latex/arev/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a0zw9vc6z0shxvb4kdhfqdhwpzph5hm9v7klpchlisabvk421y1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arev")
    (synopsis "Fonts and LaTeX support files for Arev Sans")
    (description
     "The @code{arev} package provides type 1 fonts, virtual fonts and LaTeX
packages for using Arev Sans in both text and mathematics.  Arev Sans is
a derivative of Bitstream Vera Sans, adding support for Greek and Cyrillic
characters and a few variant letters appropriate for mathematics.  The font is
primarily used in LaTeX for presentations, particularly when using a computer
projector.  Arev Sans has large x-height, open letters, wide spacing and thick
stems.  The style is very similar to the SliTeX font @code{lcmss} but heavier.
Arev is one of a very small number of sans-font mathematics support
packages.")
    (license (list license:silofl1.1    ;for Arev Sans
                   license:lppl1.3a     ;for TeX support files
                   license:gpl2))))     ;for ams-mdbch.sty

(define-public texlive-awesomebox
  (package
    (name "texlive-awesomebox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/awesomebox/"
                                     "tex/latex/awesomebox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jmxhas12fs30x2csv1rbsjr71a60fv2r3i5q7xd5n9zmmrnh32f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/awesomebox")
    (synopsis "Draw admonition blocks in your documents")
    (description
     "Awesome Box is all about drawing admonition blocks around text to inform
or alert readers about something particular.  The specific aim of this package
is to use FontAwesome icons to ease the illustration of these blocks.")
    (license license:wtfpl2)))

(define-public texlive-mathdesign
  (package
    (name "texlive-mathdesign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/mathdesign/"
                                     "dvips/mathdesign/"
                                     "fonts/enc/dvips/mathdesign/"
                                     "fonts/map/dvips/mathdesign/"
                                     "fonts/tfm/public/mathdesign/mdbch/"
                                     "fonts/tfm/public/mathdesign/mdgreek/"
                                     "fonts/tfm/public/mathdesign/mdici/"
                                     "fonts/tfm/public/mathdesign/mdpgd/"
                                     "fonts/tfm/public/mathdesign/mdpus/"
                                     "fonts/tfm/public/mathdesign/mdput/"
                                     "fonts/tfm/public/mathdesign/mdugm/"
                                     "fonts/type1/public/mathdesign/mdbch/"
                                     "fonts/type1/public/mathdesign/mdici/"
                                     "fonts/type1/public/mathdesign/mdpgd/"
                                     "fonts/type1/public/mathdesign/mdpus/"
                                     "fonts/type1/public/mathdesign/mdput/"
                                     "fonts/type1/public/mathdesign/mdugm/"
                                     "fonts/vf/public/mathdesign/mdbch/"
                                     "fonts/vf/public/mathdesign/mdgreek/"
                                     "fonts/vf/public/mathdesign/mdici/"
                                     "fonts/vf/public/mathdesign/mdpgd/"
                                     "fonts/vf/public/mathdesign/mdpus/"
                                     "fonts/vf/public/mathdesign/mdput/"
                                     "fonts/vf/public/mathdesign/mdugm/"
                                     "tex/latex/mathdesign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jcby2sd0l3ank2drxc0qcf5d1cwa8idzh4g91h4nxk8zrzxj8nr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathdesign")
    (synopsis "Mathematical fonts to fit with particular text fonts")
    (description
     "The Math Design project offers mathematical fonts that match with
existing text fonts.  To date, three free font families are available: Adobe
Utopia, URW Garamond and Bitstream Charter.  Mathdesign covers the whole LaTeX
glyph set including AMS symbols.  Both roman and bold versions of these
symbols can be used.  Moreover, there is a choice between three greek
fonts (two of them created by the Greek Font Society).")
    (license license:gpl3+)))

(define-public texlive-bera
  (package
    (name "texlive-bera")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/bera/"
                                     "fonts/afm/public/bera/"
                                     "fonts/map/dvips/bera/"
                                     "fonts/tfm/public/bera/"
                                     "fonts/type1/public/bera/"
                                     "fonts/vf/public/bera/"
                                     "tex/latex/bera/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pkmhhr6ah44xhipjr7nianv03hr4w4bn45xcvp264yw6ymqzqwr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bera")
    (synopsis "Bera fonts")
    (description "The @code{bera} package contains the Bera Type 1 fonts and
files to use the fonts with LaTeX.  Bera is a set of three font families: Bera
Serif (a slab-serif Roman), Bera Sans (a Frutiger descendant) and Bera
Mono (monospaced/typewriter).  The Bera family is a repackaging, for use with
TeX, of the Bitstream Vera family.")
    (license license:silofl1.1)))

(define-public texlive-fourier
  (package
    (name "texlive-fourier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/fourier/"
                                     "fonts/afm/public/fourier/"
                                     "fonts/map/dvips/fourier/"
                                     "fonts/opentype/public/fourier/"
                                     "fonts/tfm/public/fourier/"
                                     "fonts/type1/public/fourier/"
                                     "fonts/vf/public/fourier/"
                                     "tex/latex/fourier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10nw0s3820mf4nv4b655cfvm8asjb1q71yd21cnm8zjxj0xpcrpx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fourier")
    (synopsis "Using Utopia fonts for LaTeX documents")
    (description
     "Fourier-GUTenberg is a LaTeX typesetting system which uses Adobe Utopia
as its standard base font.  Fourier-GUTenberg provides all complementary
typefaces needed to allow Utopia based TeX typesetting, including an extensive
mathematics set and several other symbols.  The system is absolutely
stand-alone: apart from Utopia and Fourier, no other typefaces are required.
Utopia is a registered trademark of Adobe Systems Incorporated")
    (license license:lppl)))

(define-public texlive-utopia
  (package
    (name "texlive-utopia")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/utopia/" "fonts/afm/adobe/utopia/"
                                     "fonts/tfm/adobe/utopia/"
                                     "fonts/type1/adobe/utopia/"
                                     "fonts/vf/adobe/utopia/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "113wgkfz4z0ls2grxxfj17l42a1yv9r5ipcd0156xnfsrqvqzxfc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utopia")
    (synopsis "Adobe Utopia fonts")
    (description
     "The Adobe Standard Encoding set of the Utopia font family, as
contributed by the X Consortium.  The set comprises upright and italic shapes
in medium and bold weights.  Macro support and matching maths fonts are
provided by the @code{fourier} and the @code{mathdesign} font packages.")
    (license (license:fsf-free
              "http://mirrors.ctan.org/fonts/utopia/README"))))

(define-public texlive-fontaxes
  (package
    (name "texlive-fontaxes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fontaxes/" "source/latex/fontaxes/"
                                     "tex/latex/fontaxes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d9ji2qvjf1ky8l6rfqbag2hw61r0hyjxkzsp18s4pckyq4dqwdm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontaxes")
    (synopsis "Additional font axes for LaTeX")
    (description "The @code{fontaxes} package adds several new font axes on
top of LaTeX's New Font Selection Scheme (NFSS).  In particular, it splits the
shape axis into a primary and a secondary shape axis and it adds three new
axes to deal with the different figure versions offered by many professional
fonts.")
    (license license:lppl1.3+)))

(define-public texlive-preprint
  (package
    (name "texlive-preprint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/preprint/" "source/latex/preprint/"
                                     "tex/latex/preprint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "198xwg6mll3yndc1kf79l6zgnq3nsk7fsh3rlj28nipd26ysw6lq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/preprint")
    (synopsis "Bundle of modules for preprints")
    (description "The bundle comprises: @code{authblk}, which permits
footnote style author/affiliation input in the @command{\\author} command,
@code{balance}, to balance the end of @command{\\twocolumn} pages,
@code{figcaps}, to send figure captions, etc., to end document,
@code{fullpage}, to set narrow page margins and set a fixed page style, and
@code{sublabel}, which permits counters to be subnumbered.")
    (license license:lppl1.3+)))

(define-public texlive-mweights
  (package
    (name "texlive-mweights")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mweights/" "tex/latex/mweights/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12493g3yz06mhiybnphqbp49fjzy36clzw63b74mkfhsg1pq7h1b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mweights")
    (synopsis "Support for multiple-weight font packages")
    (description
     "Many font families available for use with LaTeX are available at
multiple weights.  Many Type 1-oriented support packages for such fonts
re-define the standard @code{\\mddefault} or @code{\\bfdefault} macros.  This
can create difficulties if the weight desired for one font family isn't
available for another font family, or if it differs from the weight desired
for another font family.  The package provides a solution to these
difficulties.")
    (license license:lppl)))

(define-public texlive-cabin
  (package
    (name "texlive-cabin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cabin/"
                                     "fonts/enc/dvips/cabin/"
                                     "fonts/map/dvips/cabin/"
                                     "fonts/opentype/impallari/cabin/"
                                     "fonts/tfm/impallari/cabin/"
                                     "fonts/type1/impallari/cabin/"
                                     "fonts/vf/impallari/cabin/"
                                     "tex/latex/cabin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dy1a6xfnwlmlv8rb0gdfa70dz14rrg78b43bclx0lc7ghs3fm4c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cabin")
    (synopsis "Humanist Sans Serif font with LaTeX support")
    (description
     "Cabin is a humanist sans with four weights and true italics and small
capitals.  According to the designer, Pablo Impallari, Cabin was inspired by
Edward Johnston's and Eric Gill's typefaces, with a touch of modernism.  Cabin
incorporates modern proportions, optical adjustments, and some elements of the
geometric sans.  @file{cabin.sty} supports use of the font under LaTeX,
pdfLaTeX, XeLaTeX and LuaLaTeX; it uses the @code{mweights}, to manage the
user's view of all those font weights.  An option is provided to enable Cabin
as the default text font.")
    (license (list license:silofl1.1    ;for Cabin
                   license:lppl))))     ;for support files

(define-public texlive-newtx
  (package
    (name "texlive-newtx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/newtx/"
                                     "fonts/afm/public/newtx/"
                                     "fonts/enc/dvips/newtx/"
                                     "fonts/map/dvips/newtx/"
                                     "fonts/opentype/public/newtx/"
                                     "fonts/tfm/public/newtx/"
                                     "fonts/type1/public/newtx/"
                                     "fonts/vf/public/newtx/"
                                     "tex/latex/newtx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12ygizxrkscqn2hyrdmgpyz6d65nnm1qhhq0hy4nqs4mkff8md7f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-kastrup))
    (home-page "https://www.ctan.org/pkg/newtx")
    (synopsis "Repackaging of the TX fonts with improved metrics")
    (description
     "The @code{newtx} bundle splits @file{txfonts.sty} (from the TX fonts
distribution) into two independent packages, @code{newtxtext.sty} and
@code{newtxmath.sty}, each with fixes and enhancements.  @code{newtxmath}'s
metrics have been re-evaluated to provide a less tight appearance and to
provide a @code{libertine} option that substitutes Libertine italic and Greek
letters for the existing math italic and Greek glyphs, making a mathematics
package that matches Libertine text quite well.")
    (license license:lppl1.3)))

(define-public texlive-xcharter
  (package
    (name "texlive-xcharter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/xcharter/"
                                     "fonts/afm/public/xcharter/"
                                     "fonts/enc/dvips/xcharter/"
                                     "fonts/map/dvips/xcharter/"
                                     "fonts/opentype/public/xcharter/"
                                     "fonts/tfm/public/xcharter/"
                                     "fonts/type1/public/xcharter/"
                                     "fonts/vf/public/xcharter/"
                                     "tex/latex/xcharter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ci1ibmscrd4c9f5gp57f43dcd9gshrpv4afyzn7kpi3m7k5b1vb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcharter")
    (synopsis "Extension of Bitstream Charter fonts")
    (description "@code{xcharter} repackages Bitstream Charter with an
extended set of features.  The extension provides small caps, oldstyle
figures and superior figures in all four styles, accompanied by LaTeX
font support files.  The fonts themselves are provided in both Adobe
Type 1 and OTF formats, with supporting files as necessary.")
    (license (list (license:fsf-free
                    "http://mirrors.ctan.org/fonts/xcharter/README")
                   license:lppl1.3))))

(define-public texlive-ly1
  (package
    (name "texlive-ly1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ly1/"
                                     "fonts/enc/dvips/ly1/"
                                     "fonts/map/dvips/ly1/"
                                     "fonts/tfm/adobe/ly1/"
                                     "fonts/vf/adobe/ly1/"
                                     "tex/latex/ly1/"
                                     "tex/plain/ly1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mwk8bfpvpzbwjw3jd6plw0w7kykpb499fv50a9bqxh0jqcyh0j5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ly1")
    (synopsis "Support for LY1 LaTeX encoding")
    (description
     "The legacy @code{texnansi} (TeX and ANSI) encoding is known in the LaTeX
scheme of things as @emph{LY1} encoding.  The @code{ly1} bundle includes
metrics and LaTeX macros to use the three basic Adobe Type 1 fonts (Times,
Helvetica and Courier) in LaTeX using LY1 encoding.")
    (license license:lppl1.0+)))

(define-public texlive-section
  (package
    (name "texlive-section")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/section/" "tex/latex/section/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gjajhlwwgyqnmw9bzr0l7dsq12mdhgv8sdkm86m4zn107qab0p9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/section")
    (synopsis "Modifying section commands in LaTeX")
    (description
     "The package implements a pretty extensive scheme to make more manageable
the business of configuring LaTeX output.")
    (license license:lppl)))

(define-public texlive-sectsty
  (package
    (name "texlive-sectsty")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sectsty/" "source/latex/sectsty/"
                                     "tex/latex/sectsty/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h7zi622s84vqjl6bi4g6iv639jz9m2imz4g7y1qpc0zdw1mlqv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://www.ctan.org/pkg/sectsty")
    (synopsis "Control sectional headers")
    (description
     "This is a LaTeX2ε package to help change the style of any or all of
LaTeX's sectional headers in the article, book, or report classes.  Examples
include the addition of rules above or below a section title.")
    (license license:lppl1.2+)))

(define-public texlive-morefloats
  (package
    (name "texlive-morefloats")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/morefloats/"
                                     "source/latex/morefloats/"
                                     "tex/latex/morefloats/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y8rd3ys71ys9cab172wwhrmbs9b52wqrj6d3p0iy3075z93h51c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/morefloats")
    (synopsis "Increase the number of simultaneous LaTeX floats")
    (description "LaTeX can, by default, only cope with 18 outstanding floats;
any more, and you get the error “too many unprocessed floats”.  This package
releases the limit; TeX itself imposes limits (which are independent of the
help offered by e-TeX).

However, if your floats can’t be placed anywhere, extending the number of
floats merely delays the arrival of the inevitable error message.")
    (license license:lppl1.3c+)))

(define-public texlive-ifmtarg
  (package
    (name "texlive-ifmtarg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifmtarg/" "source/latex/ifmtarg/"
                                     "tex/latex/ifmtarg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19bfi12j5ra19k6vjd1q5fjsm68vipa7ida7pg9pf15l5pxwbgqz"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-filecontents")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list texlive-filecontents))
    (home-page "https://ctan.org/pkg/ifmtarg")
    (synopsis "If-then-else command for processing potentially empty arguments")
    (description
     "This package provides a command for the LaTeX programmer for testing
whether an argument is empty.")
    (license license:lppl1.3c+)))

(define-public texlive-pagenote
  (package
    (name "texlive-pagenote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pagenote/" "source/latex/pagenote/"
                                     "tex/latex/pagenote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dffh7ac13w3gs94lvfxgw1i4k6cfkrpcyikj1sfrqaivrxpmqpi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagenote")
    (synopsis "Notes at end of document")
    (description
     "The @code{pagenote} package provides tagged notes on a separate
page (also known as end notes).")
    (license license:lppl1.3c+)))

(define-public texlive-pagesel
  (package
    (name "texlive-pagesel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pagesel/" "source/latex/pagesel/"
                                     "tex/latex/pagesel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x4nb53d5gm0vrhiinaqf6ai63bgjpbw0b5kk3c2f6j6gfvp0n53"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagesel")
    (synopsis "Select pages of a document for output")
    (description
     "This package selects single pages, ranges of pages, odd pages or even
pages for output.  The package is part of the @code{oberdiek} bundle.")
    (license license:lppl1.3c)))

(define-public texlive-titling
  (package
    (name "texlive-titling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/titling/" "source/latex/titling/"
                                     "tex/latex/titling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wp5r6wwrz1nx3wrmc0hxjfapqppcb126l4wmmzh14sfb1py7mz4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/titling")
    (synopsis "Control typesetting of the @code{\\maketitle} command")
    (description
     "The @code{titling} package provides control over the typesetting of the
@code{\\maketitle} command and @code{\\thanks} commands, and makes the
@code{\\title}, @code{\\author} and @code{\\date} information permanently
available.  Multiple titles are allowed in a single document.  New titling
elements can be added and a @code{titlepage} title can be centered on
a physical page.")
    (license license:lppl)))

(define-public texlive-ifoddpage
  (package
    (name "texlive-ifoddpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifoddpage/"
                                     "source/latex/ifoddpage/"
                                     "tex/latex/ifoddpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mxi28lf97l4zg5kcv524b29n5r167yczrhgy132hql866vkdvyr"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/ifoddpage")
    (synopsis "Determine if the current page is odd or even")
    (description
     "This package provides an @code{\\ifoddpage} conditional to determine if
the current page is odd or even.  The macro @code{\\checkoddpage} must be used
directly before to check the page number using a label.  Two compiler runs are
therefore required to achieve correct results.  In addition, the conditional
@code{\\ifoddpageoronside} is provided which is also true in @code{oneside}
mode where all pages use the odd page layout.")
    (license license:lppl1.3)))

(define-public texlive-storebox
  (package
    (name "texlive-storebox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/storebox/" "source/latex/storebox/"
                                     "tex/latex/storebox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vbjq9aq2kbncq1dn4rk7jspfb6kcxk66h49z0xz1qix5yg94gmx"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/storebox")
    (synopsis "Storing information for reuse")
    (description
     "The package provides store boxes whose user interface matches that of
normal LaTeX save boxes, except that the content of a store box appears at
most once in the output PDF file, however often it is used.  The present
version of the package supports pdfLaTeX and LuaLaTeX; when DVI is output,
store boxes behave the same as save boxes.")
    (license license:lppl1.3+)))

(define-public texlive-collectbox
  (package
    (name "texlive-collectbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/collectbox/"
                                     "source/latex/collectbox/"
                                     "tex/latex/collectbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mn0hdzjhbmziqqh2k7knfz816lxbjil0zld0n30qi3ila5v3gk6"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/collectbox")
    (synopsis "Collect and process macro arguments as boxes")
    (description
     "The package provides macros to collect and process a macro
argument (i.e., something which looks like a macro argument) as a horizontal
box rather than as a real macro argument.  The \"arguments\" are stored as if
they had been saved by @code{\\savebox} or by the @code{lrbox} environment.
Grouping tokens @code{\\bgroup} and @code{\\egroup} may be used, which allows
the user to have the beginning and end of a group in different macro
invocations, or to place them in the begin and end code of an environment.
Arguments may contain verbatim material or other special use of characters.
The macros were designed for use within other macros.")
    (license license:lppl1.3)))

(define-public texlive-collection-basic
  (package
    (name "texlive-collection-basic")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
   (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-amsfonts
           texlive-bibtex
           texlive-bin                  ;for the TeX engine
           texlive-cm
           texlive-colorprofiles
           texlive-dvipdfmx
           texlive-dvips
           texlive-ec
           texlive-enctex
           texlive-etex
           texlive-etex-pkg
           texlive-glyphlist
           texlive-graphics-def
           texlive-hyphen-complete
           texlive-hyphenex
           texlive-ifplatform
           texlive-iftex
           texlive-knuth-lib
           texlive-knuth-local
           texlive-kpathsea
           texlive-lua-alt-getopt
           texlive-luahbtex
           texlive-luatex
           texlive-makeindex
           texlive-metafont
           texlive-mflogo
           texlive-mfware
           texlive-modes
           texlive-pdftex
           texlive-plain
           texlive-tex
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-xdvi))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Essential programs and files")
    (description
     "These files are regarded as basic for any TeX system, covering plain TeX
macros, Computer Modern fonts, and configuration for common drivers; no
LaTeX.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-bibtexextra
  (package
    (name "texlive-collection-bibtexextra")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-aaai-named
           texlive-aichej
           texlive-ajl
           texlive-amsrefs
           texlive-annotate
           texlive-apacite
           texlive-apalike-ejor
           texlive-apalike2
           texlive-archaeologie
           texlive-authordate
           texlive-beebe
           texlive-besjournals
           texlive-bestpapers
           texlive-bib2gls
           texlive-bibarts
           texlive-bibcop
           texlive-biber
           texlive-biber-ms
           texlive-bibexport
           texlive-bibhtml
           texlive-biblatex
           texlive-biblatex-abnt
           texlive-biblatex-ajc2020unofficial
           texlive-biblatex-anonymous
           texlive-biblatex-apa
           texlive-biblatex-apa6
           texlive-biblatex-archaeology
           texlive-biblatex-arthistory-bonn
           texlive-biblatex-bath
           texlive-biblatex-bookinarticle
           texlive-biblatex-bookinother
           texlive-biblatex-bwl
           texlive-biblatex-caspervector
           texlive-biblatex-chem
           texlive-biblatex-chicago
           texlive-biblatex-claves
           texlive-biblatex-cv
           texlive-biblatex-dw
           texlive-biblatex-enc
           texlive-biblatex-ext
           texlive-biblatex-fiwi
           texlive-biblatex-gb7714-2015
           texlive-biblatex-german-legal
           texlive-biblatex-gost
           texlive-biblatex-historian
           texlive-biblatex-ieee
           texlive-biblatex-ijsra
           texlive-biblatex-iso690
           texlive-biblatex-jura2
           texlive-biblatex-juradiss
           texlive-biblatex-license
           texlive-biblatex-lncs
           texlive-biblatex-lni
           texlive-biblatex-luh-ipw
           texlive-biblatex-manuscripts-philology
           texlive-biblatex-mla
           texlive-biblatex-morenames
           texlive-biblatex-ms
           texlive-biblatex-multiple-dm
           texlive-biblatex-musuos
           texlive-biblatex-nature
           texlive-biblatex-nejm
           texlive-biblatex-nottsclassic
           texlive-biblatex-opcit-booktitle
           texlive-biblatex-oxref
           texlive-biblatex-philosophy
           texlive-biblatex-phys
           texlive-biblatex-publist
           texlive-biblatex-readbbl
           texlive-biblatex-realauthor
           texlive-biblatex-sbl
           texlive-biblatex-science
           texlive-biblatex-shortfields
           texlive-biblatex-socialscienceshuberlin
           texlive-biblatex-software
           texlive-biblatex-source-division
           texlive-biblatex-spbasic
           texlive-biblatex-subseries
           texlive-biblatex-swiss-legal
           texlive-biblatex-trad
           texlive-biblatex-true-citepages-omit
           texlive-biblatex-unified
           texlive-biblatex-vancouver
           texlive-biblatex2bibitem
           texlive-biblist
           texlive-bibtexperllibs
           texlive-bibtopic
           texlive-bibtopicprefix
           texlive-bibunits
           texlive-biolett-bst
           texlive-bookdb
           texlive-breakcites
           texlive-cell
           texlive-chbibref
           texlive-chembst
           texlive-chicago
           texlive-chicago-annote
           texlive-chicagoa
           texlive-chscite
           texlive-citation-style-language
           texlive-citeall
           texlive-citeref
           texlive-collection-latex
           texlive-collref
           texlive-compactbib
           texlive-crossrefware
           texlive-custom-bib
           texlive-din1505
           texlive-dk-bib
           texlive-doipubmed
           texlive-ecobiblatex
           texlive-econ-bst
           texlive-economic
           texlive-fbs
           texlive-figbib
           texlive-footbib
           texlive-francais-bst
           texlive-gbt7714
           texlive-geschichtsfrkl
           texlive-harvard
           texlive-harvmac
           texlive-hep-bibliography
           texlive-historische-zeitschrift
           texlive-icite
           texlive-ietfbibs
           texlive-ijqc
           texlive-inlinebib
           texlive-iopart-num
           texlive-is-bst
           texlive-jbact
           texlive-jmb
           texlive-jneurosci
           texlive-jurabib
           texlive-ksfh-nat
           texlive-listbib
           texlive-logreq
           texlive-ltb2bib
           texlive-luabibentry
           texlive-margbib
           texlive-multibib
           texlive-multibibliography
           texlive-munich
           texlive-nar
           texlive-newcastle-bst
           texlive-nmbib
           texlive-notes2bib
           texlive-notex-bst
           texlive-oscola
           texlive-perception
           texlive-plainyr
           texlive-pnas2009
           texlive-rsc
           texlive-showtags
           texlive-sort-by-letters
           texlive-splitbib
           texlive-turabian-formatting
           texlive-uni-wtal-ger
           texlive-uni-wtal-lin
           texlive-urlbst
           texlive-usebib
           texlive-vak
           texlive-windycity
           texlive-xcite
           texlive-zootaxa-bst))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "BibTeX additional styles")
    (description
     "This collection provides additional BibTeX styles and bibliography
data(bases), notably including BibLaTeX.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-binextra
  (package
    (name "texlive-collection-binextra")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list asymptote
           texlive-a2ping
           texlive-adhocfilelist
           texlive-arara
           texlive-bibtex8
           texlive-bibtexu
           texlive-bundledoc
           texlive-checklistings
           texlive-chklref
           texlive-chktex
           texlive-clojure-pamphlet
           texlive-cluttex
           texlive-collection-basic
           texlive-ctan-o-mat
           texlive-ctan-chk
           texlive-ctanbib
           texlive-ctanify
           texlive-ctanupload
           texlive-ctie
           texlive-cweb
           texlive-de-macro
           texlive-detex
           texlive-digestif
           texlive-dtl
           texlive-dtxgen
           texlive-dvi2tty
           texlive-dviasm
           texlive-dvicopy
           texlive-dvidvi
           texlive-dviinfox
           texlive-dviljk
           texlive-dviout-util
           texlive-dvipng
           texlive-dvipos
           texlive-dvisvgm
           texlive-findhyph
           texlive-fragmaster
           texlive-git-latexdiff
           texlive-gsftopk
           texlive-hook-pre-commit-pkg
           texlive-installfont
           texlive-ketcindy
           texlive-lacheck
           texlive-latex-git-log
           texlive-latex-papersize
           texlive-latex2man
           texlive-latex2nemeth
           texlive-latexdiff
           texlive-latexfileversion
           texlive-latexindent
           texlive-latexmk
           texlive-latexpand
           texlive-light-latex-make
           texlive-listings-ext
           texlive-ltxfileinfo
           texlive-ltximg
           texlive-luajittex
           texlive-make4ht
           texlive-match-parens
           texlive-mflua
           texlive-mkjobtexmf
           texlive-optexcount
           texlive-patgen
           texlive-pdfbook2
           texlive-pdfcrop
           texlive-pdfjam
           texlive-pdflatexpicscale
           texlive-pdftex-quiet
           texlive-pdftosrc
           texlive-pdfxup
           texlive-pfarrei
           texlive-pkfix
           texlive-pkfix-helper
           texlive-purifyeps
           texlive-pythontex
           texlive-seetexk
           texlive-spix
           texlive-srcredact
           texlive-sty2dtx
           texlive-synctex
           texlive-tex4ebook
           texlive-texaccents
           texlive-texcount
           texlive-texdef
           texlive-texdiff
           texlive-texdirflatten
           texlive-texdoc
           texlive-texdoctk
           texlive-texfot
           texlive-texliveonfly
           texlive-texloganalyser
           texlive-texlogfilter
           texlive-texlogsieve
           texlive-texosquery
           texlive-texplate
           texlive-texware
           texlive-tie
           texlive-tlcockpit
           texlive-tpic2pdftex
           texlive-typeoutfileinfo
           texlive-upmendex
           texlive-web
           texlive-xindex
           texlive-xindy
           texlive-xpdfopen))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "TeX auxiliary programs")
    (description
     "This package provides a myriad of additional TeX-related support
programs.  It includes programs and macros for DVI file manipulation, literate
programming, patgen, and plenty more.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-context
  (package
    (name "texlive-collection-context")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs (list texlive-collection-basic
                             texlive-context
                             texlive-context-calendar-examples
                             texlive-context-collating-marks
                             texlive-context-cyrillicnumbers
                             texlive-context-filter
                             texlive-context-gnuplot
                             texlive-context-handlecsv
                             texlive-context-legacy
                             texlive-context-letter
                             texlive-context-mathsets
                             texlive-context-notes-zh-cn
                             texlive-context-pocketdiary
                             texlive-context-simpleslides
                             texlive-context-squares
                             texlive-context-sudoku
                             texlive-context-texlive
                             texlive-context-transliterator
                             texlive-context-typescripts
                             texlive-context-vim
                             texlive-context-visualcounter
                             texlive-jmn
                             texlive-luajittex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "ConTeXt and packages")
    (description
     "This package provides Hans Hagen's powerful ConTeXt system, along with
third-party ConTeXt packages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-fontsextra
  (package
    (name "texlive-collection-fontsextra")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-aboensis
           texlive-academicons
           texlive-accanthis
           texlive-adforn
           texlive-adfsymbols
           texlive-aesupp
           texlive-alegreya
           texlive-alfaslabone
           texlive-algolrevived
           texlive-allrunes
           texlive-almendra
           texlive-almfixed
           texlive-andika
           texlive-anonymouspro
           texlive-antiqua
           texlive-antt
           texlive-archaic
           texlive-archivo
           texlive-arev
           texlive-arimo
           texlive-arvo
           texlive-asana-math
           texlive-asapsym
           texlive-ascii-font
           texlive-aspectratio
           texlive-astro
           texlive-atkinson
           texlive-augie
           texlive-auncial-new
           texlive-aurical
           texlive-b1encoding
           texlive-barcodes
           texlive-baskervald
           texlive-baskervaldx
           texlive-baskervillef
           texlive-bbding
           texlive-bbm
           texlive-bbm-macros
           texlive-bbold
           texlive-bbold-type1
           texlive-bboldx
           texlive-belleek
           texlive-bera
           texlive-berenisadf
           texlive-beuron
           texlive-bguq
           texlive-bitter
           texlive-blacklettert1
           texlive-boisik
           texlive-bookhands
           texlive-boondox
           texlive-braille
           texlive-brushscr
           texlive-cabin
           texlive-caladea
           texlive-calligra
           texlive-calligra-type1
           texlive-cantarell
           texlive-carlito
           texlive-carolmin-ps
           texlive-cascadia-code
           texlive-ccicons
           texlive-cfr-initials
           texlive-cfr-lm
           texlive-charissil
           texlive-cherokee
           texlive-chivo
           texlive-cinzel
           texlive-clara
           texlive-clearsans
           texlive-cm-lgc
           texlive-cm-mf-extra-bold
           texlive-cm-unicode
           texlive-cmathbb
           texlive-cmbright
           texlive-cmexb
           texlive-cmll
           texlive-cmpica
           texlive-cmsrb
           texlive-cmtiup
           texlive-cmupint
           texlive-cochineal
           texlive-coelacanth
           texlive-collection-basic
           texlive-comfortaa
           texlive-comicneue
           texlive-concmath-fonts
           texlive-concmath-otf
           texlive-cookingsymbols
           texlive-cooperhewitt
           texlive-cormorantgaramond
           texlive-countriesofeurope
           texlive-courier-scaled
           texlive-courierten
           texlive-crimson
           texlive-crimsonpro
           texlive-cryst
           texlive-cuprum
           texlive-cyklop
           texlive-dancers
           texlive-dantelogo
           texlive-dejavu
           texlive-dejavu-otf
           texlive-dice
           texlive-dictsym
           texlive-dingbat
           texlive-domitian
           texlive-doublestroke
           texlive-doulossil
           texlive-dozenal
           texlive-drm
           texlive-droid
           texlive-dsserif
           texlive-duerer
           texlive-duerer-latex
           texlive-dutchcal
           texlive-ean
           texlive-ebgaramond
           texlive-ebgaramond-maths
           texlive-ecc
           texlive-eco
           texlive-eczar
           texlive-eiad
           texlive-eiad-ltx
           texlive-ektype-tanka
           texlive-electrum
           texlive-elvish
           texlive-epigrafica
           texlive-epsdice
           texlive-erewhon
           texlive-erewhon-math
           texlive-esrelation
           texlive-esstix
           texlive-esvect
           texlive-etbb
           texlive-euler-math
           texlive-eulervm
           texlive-euxm
           texlive-fbb
           texlive-fdsymbol
           texlive-fetamont
           texlive-feyn
           texlive-fge
           texlive-fira
           texlive-firamath
           texlive-firamath-otf
           texlive-foekfont
           texlive-fonetika
           texlive-fontawesome
           texlive-fontawesome5
           texlive-fontmfizz
           texlive-fonts-churchslavonic
           texlive-forum
           texlive-fourier
           texlive-fouriernc
           texlive-frcursive
           texlive-frederika2016
           texlive-frimurer
           texlive-garamond-libre
           texlive-garamond-math
           texlive-genealogy
           texlive-gentium-tug
           texlive-gfsartemisia
           texlive-gfsbodoni
           texlive-gfscomplutum
           texlive-gfsdidot
           texlive-gfsdidotclassic
           texlive-gfsneohellenic
           texlive-gfsneohellenicmath
           texlive-gfssolomos
           texlive-gillcm
           texlive-gillius
           texlive-gnu-freefont
           texlive-gofonts
           texlive-gothic
           texlive-greenpoint
           texlive-grotesq
           texlive-gudea
           texlive-hacm
           texlive-hamnosys
           texlive-hands
           texlive-hep-font
           texlive-hep-math-font
           texlive-heros-otf
           texlive-heuristica
           texlive-hfbright
           texlive-hfoldsty
           texlive-hindmadurai
           texlive-ibarra
           texlive-ifsym
           texlive-imfellenglish
           texlive-inconsolata
           texlive-initials
           texlive-inriafonts
           texlive-inter
           texlive-ipaex-type1
           texlive-iwona
           texlive-jablantile
           texlive-jamtimes
           texlive-josefin
           texlive-junicode
           texlive-kixfont
           texlive-kpfonts
           texlive-kpfonts-otf
           texlive-kurier
           texlive-lato
           texlive-lexend
           texlive-lfb
           texlive-libertine
           texlive-libertinegc
           texlive-libertinus
           texlive-libertinus-fonts
           texlive-libertinus-otf
           texlive-libertinus-type1
           texlive-libertinust1math
           texlive-librebaskerville
           texlive-librebodoni
           texlive-librecaslon
           texlive-librefranklin
           texlive-libris
           texlive-lineara
           texlive-linguisticspro
           texlive-lobster2
           texlive-logix
           texlive-lxfonts
           texlive-ly1
           texlive-magra
           texlive-marcellus
           texlive-mathabx
           texlive-mathabx-type1
           texlive-mathdesign
           texlive-mdputu
           texlive-mdsymbol
           texlive-merriweather
           texlive-miama
           texlive-mintspirit
           texlive-missaali
           texlive-mlmodern
           texlive-mnsymbol
           texlive-montserrat
           texlive-mpfonts
           texlive-mweights
           texlive-newcomputermodern
           texlive-newpx
           texlive-newtx
           texlive-newtxsf
           texlive-newtxtt
           texlive-niceframe-type1
           texlive-nimbus15
           texlive-nkarta
           texlive-noto
           texlive-noto-emoji
           texlive-notomath
           texlive-nunito
           texlive-obnov
           texlive-ocherokee
           texlive-ocr-b
           texlive-ocr-b-outline
           texlive-ogham
           texlive-oinuit
           texlive-old-arrows
           texlive-oldlatin
           texlive-oldstandard
           texlive-opensans
           texlive-orkhun
           texlive-oswald
           texlive-overlock
           texlive-pacioli
           texlive-pagella-otf
           texlive-paratype
           texlive-phaistos
           texlive-phonetic
           texlive-pigpen
           texlive-playfair
           texlive-plex
           texlive-plex-otf
           texlive-plimsoll
           texlive-poiretone
           texlive-poltawski
           texlive-prodint
           texlive-punk
           texlive-punk-latex
           texlive-punknova
           texlive-pxtxalfa
           texlive-qualitype
           texlive-quattrocento
           texlive-raleway
           texlive-recycle
           texlive-roboto
           texlive-romande
           texlive-rosario
           texlive-rsfso
           texlive-sansmathaccent
           texlive-sansmathfonts
           texlive-sauter
           texlive-sauterfonts
           texlive-schola-otf
           texlive-scholax
           texlive-schulschriften
           texlive-semaphor
           texlive-shobhika
           texlive-simpleicons
           texlive-skull
           texlive-sourcecodepro
           texlive-sourcesanspro
           texlive-sourceserifpro
           texlive-spectral
           texlive-srbtiks
           texlive-starfont
           texlive-staves
           texlive-step
           texlive-stepgreek
           texlive-stickstoo
           texlive-stix
           texlive-stix2-otf
           texlive-stix2-type1
           texlive-superiors
           texlive-svrsymbols
           texlive-symbats3
           texlive-tapir
           texlive-tempora
           texlive-tengwarscript
           texlive-termes-otf
           texlive-tfrupee
           texlive-theanodidot
           texlive-theanomodern
           texlive-theanooldstyle
           texlive-tinos
           texlive-tpslifonts
           texlive-trajan
           texlive-twemoji-colr
           texlive-txfontsb
           texlive-txuprcal
           texlive-typicons
           texlive-umtypewriter
           texlive-universa
           texlive-universalis
           texlive-uppunctlm
           texlive-urwchancal
           texlive-venturisadf
           texlive-wsuipa
           texlive-xcharter
           texlive-xcharter-math
           texlive-xits
           texlive-yfonts
           texlive-yfonts-otf
           texlive-yfonts-t1
           texlive-yinit-otf
           texlive-zlmtt))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Additional fonts")
    (description "This collection provides additional fonts.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-fontsrecommended
  (package
    (name "texlive-collection-fontsrecommended")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-avantgar
           texlive-bookman
           texlive-charter
           texlive-cm-super
           texlive-cmextra
           texlive-collection-basic
           texlive-courier
           texlive-euro
           texlive-euro-ce
           texlive-eurosym
           texlive-fpl
           texlive-helvetic
           texlive-lm
           texlive-lm-math
           texlive-manfnt-font
           texlive-marvosym
           texlive-mathpazo
           texlive-mflogo-font
           texlive-ncntrsbk
           texlive-palatino
           texlive-pxfonts
           texlive-rsfs
           texlive-symbol
           texlive-tex-gyre
           texlive-tex-gyre-math
           texlive-times
           texlive-tipa
           texlive-txfonts
           texlive-utopia
           texlive-wasy
           texlive-wasy-type1
           texlive-wasysym
           texlive-zapfchan
           texlive-zapfding))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Recommended fonts")
    (description
     "This collection provides recommended fonts, including the base 35
PostScript fonts, Latin Modern, TeX Gyre, and T1 and other encoding support
for Computer Modern, in outline form.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-fontutils
  (package
    (name "texlive-collection-fontutils")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-accfonts
           texlive-afm2pl
           texlive-albatross
           texlive-collection-basic
           texlive-dosepsbin
           texlive-dvipsconfig
           texlive-epstopdf
           texlive-fontinst
           texlive-fontools
           texlive-fontware
           texlive-lcdftypetools
           texlive-luafindfont
           texlive-metatype1
           texlive-mf2pt1
           texlive-ps2eps
           texlive-ps2pk
           texlive-psutils
           texlive-t1utils
           texlive-ttfutils))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Graphics and font utilities")
    (description
     "This collection of packages provides programs for conversion between
font formats, testing fonts, virtual fonts, @file{.gf} and @file{.pk}
manipulation, mft, fontinst, etc.  Manipulating OpenType, TrueType, Type 1,and
for manipulation of PostScript and other image formats.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-formatsextra
  (package
    (name "texlive-collection-formatsextra")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-aleph
           texlive-antomega
           texlive-collection-basic
           texlive-collection-latex
           texlive-edmac
           texlive-eplain
           texlive-hitex
           texlive-jadetex
           texlive-lambda
           texlive-lollipop
           texlive-mltex
           texlive-mxedruli
           texlive-omega
           texlive-omegaware
           texlive-otibet
           texlive-passivetex
           texlive-psizzl
           texlive-startex
           texlive-texsis
           texlive-xmltex
           texlive-xmltexconfig))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Additional TeX formats")
    (description
     "This is a collection of TeX formats, i.e., large-scale macro packages
designed to be dumped into @file{.fmt} files --- excluding the most common
ones, such as LaTeX and ConTeXt, which have their own package(s).  It also
includes the Aleph engine and related Omega formats and packages, and the
HiTeX engine and related.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-games
  (package
    (name "texlive-collection-games")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-bartel-chess-fonts
           texlive-chess
           texlive-chess-problem-diagrams
           texlive-chessboard
           texlive-chessfss
           texlive-chinesechess
           texlive-collection-latex
           texlive-crossword
           texlive-crosswrd
           texlive-customdice
           texlive-egameps
           texlive-gamebook
           texlive-gamebooklib
           texlive-go
           texlive-hanoi
           texlive-havannah
           texlive-hexboard
           texlive-hexgame
           texlive-hmtrump
           texlive-horoscop
           texlive-jeuxcartes
           texlive-jigsaw
           texlive-labyrinth
           texlive-logicpuzzle
           texlive-mahjong
           texlive-maze
           texlive-musikui
           texlive-nimsticks
           texlive-onedown
           texlive-othello
           texlive-othelloboard
           texlive-pas-crosswords
           texlive-psgo
           texlive-realtranspose
           texlive-reverxii
           texlive-rubik
           texlive-schwalbe-chess
           texlive-scrabble
           texlive-sgame
           texlive-skak
           texlive-skaknew
           texlive-soup
           texlive-sudoku
           texlive-sudokubundle
           texlive-tangramtikz
           texlive-wargame
           texlive-xq
           texlive-xskak))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Games typesetting")
    (description
     "This collection includes setups for typesetting various games,
including chess.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-humanities
  (package
    (name "texlive-collection-humanities")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-adtrees
           texlive-bibleref
           texlive-bibleref-lds
           texlive-bibleref-mouth
           texlive-bibleref-parse
           texlive-collection-latex
           texlive-covington
           texlive-diadia
           texlive-dramatist
           texlive-dvgloss
           texlive-ecltree
           texlive-edfnotes
           texlive-eledform
           texlive-eledmac
           texlive-expex
           texlive-gb4e
           texlive-gmverse
           texlive-jura
           texlive-juraabbrev
           texlive-juramisc
           texlive-jurarsp
           texlive-langnames
           texlive-ledmac
           texlive-lexikon
           texlive-lexref
           texlive-ling-macros
           texlive-linguex
           texlive-liturg
           texlive-metrix
           texlive-nnext
           texlive-parallel
           texlive-parrun
           texlive-phonrule
           texlive-plari
           texlive-play
           texlive-poemscol
           texlive-poetry
           texlive-poetrytex
           texlive-qobitree
           texlive-qtree
           texlive-reledmac
           texlive-rrgtrees
           texlive-rtklage
           texlive-screenplay
           texlive-screenplay-pkg
           texlive-sides
           texlive-stage
           texlive-textglos
           texlive-thalie
           texlive-theatre
           texlive-tree-dvips
           texlive-verse
           texlive-xyling))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Humanities packages")
    (description
     "This collection contains packages for law, linguistics, social sciences,
humanities, etc.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langarabic
  (package
    (name "texlive-collection-langarabic")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-alkalami
           texlive-alpha-persian
           texlive-amiri
           texlive-arabi
           texlive-arabi-add
           texlive-arabic-book
           texlive-arabluatex
           texlive-arabtex
           texlive-bidi
           texlive-bidihl
           texlive-collection-basic
           texlive-dad
           texlive-ghab
           texlive-hvarabic
           texlive-hyphen-complete
           texlive-imsproc
           texlive-kurdishlipsum
           texlive-lshort-persian
           texlive-luabidi
           texlive-na-box
           texlive-persian-bib
           texlive-quran
           texlive-sexam
           texlive-simurgh
           texlive-texnegar
           texlive-tram
           texlive-xepersian
           texlive-xepersian-hm
           texlive-xindy-persian))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Arabic and Persian")
    (description "This collection provides support for Arabic and Persian.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langchinese
  (package
    (name "texlive-collection-langchinese")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-arphic
           texlive-arphic-ttf
           texlive-asymptote-by-example-zh-cn
           texlive-asymptote-faq-zh-cn
           texlive-asymptote-manual-zh-cn
           texlive-cns
           texlive-collection-langcjk
           texlive-ctex
           texlive-ctex-faq
           texlive-exam-zh
           texlive-fandol
           texlive-fduthesis
           texlive-hanzibox
           texlive-hyphen-complete
           texlive-impatient-cn
           texlive-install-latex-guide-zh-cn
           texlive-latex-notes-zh-cn
           texlive-lshort-chinese
           texlive-nanicolle
           texlive-njurepo
           texlive-pgfornament-han
           texlive-qyxf-book
           texlive-texproposal
           texlive-tlmgr-intro-zh-cn
           texlive-upzhkinsoku
           texlive-xpinyin
           texlive-xtuthesis
           texlive-zhlineskip
           texlive-zhlipsum
           texlive-zhmetrics
           texlive-zhmetrics-uptex
           texlive-zhnumber
           texlive-zhspacing))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Chinese")
    (description
     "This collection provides support for Chinese, with additional packages
from @code{collection-langcjk}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langcjk
  (package
    (name "texlive-collection-langcjk")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-adobemapping
           texlive-c90
           texlive-cjk
           texlive-cjk-gs-integrate
           texlive-cjkpunct
           texlive-cjkutils
           texlive-collection-basic
           texlive-dnp
           texlive-evangelion-jfm
           texlive-fixjfm
           texlive-garuda-c90
           texlive-jfmutil
           texlive-norasi-c90
           texlive-pxtatescale
           texlive-xcjk2uni
           texlive-xecjk
           texlive-zitie
           texlive-zxjafont))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Chinese/Japanese/Korean support (base)")
    (description
     "This is a collection of packages supporting a combination of Chinese,
Japanese, Korean, including macros, fonts, documentation.  Also Thai in the
c90 encoding, since there is some overlap in those fonts; standard Thai
support is in @code{collection-langother}.  Additional packages for CJK are in
their individual language collections.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langcyrillic
  (package
    (name "texlive-collection-langcyrillic")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-belarusian
           texlive-babel-bulgarian
           texlive-babel-russian
           texlive-babel-serbian
           texlive-babel-serbianc
           texlive-babel-ukrainian
           texlive-churchslavonic
           texlive-cmcyr
           texlive-collection-basic
           texlive-collection-latex
           texlive-cyrillic
           texlive-cyrillic-bin
           texlive-cyrplain
           texlive-disser
           texlive-eskd
           texlive-eskdx
           texlive-gost
           texlive-hyphen-complete
           texlive-lcyw
           texlive-lh
           texlive-lhcyr
           texlive-lshort-bulgarian
           texlive-lshort-mongol
           texlive-lshort-russian
           texlive-lshort-ukr
           texlive-mongolian-babel
           texlive-montex
           texlive-mpman-ru
           texlive-numnameru
           texlive-pst-eucl-translation-bg
           texlive-russ
           texlive-serbian-apostrophe
           texlive-serbian-date-lat
           texlive-serbian-def-cyr
           texlive-serbian-lig
           texlive-t2
           texlive-xecyrmongolian))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Cyrillic scripts")
    (description
     "This collection provides packages supporting Cyrillic scripts (Bulgarian,
Russian, Serbian, Ukrainian), even if Latin alphabets may also be used.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langczechslovak
  (package
    (name "texlive-collection-langczechslovak")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-czech
           texlive-babel-slovak
           texlive-cnbwp
           texlive-collection-basic
           texlive-collection-latex
           texlive-cs
           texlive-csbulletin
           texlive-cslatex
           texlive-csplain
           texlive-cstex
           texlive-hyphen-complete
           texlive-lshort-czech
           texlive-lshort-slovak
           texlive-vlna))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Czech and Slovak")
    (description
     "This collection of packages provides support for Czech and Slovak.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langenglish
  (package
    (name "texlive-collection-langenglish")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-amiweb2c-guide
           texlive-amscls-doc
           texlive-amslatex-primer
           texlive-around-the-bend
           texlive-ascii-chart
           texlive-biblatex-cheatsheet
           texlive-collection-basic
           texlive-components
           texlive-comprehensive
           texlive-dickimaw
           texlive-docsurvey
           texlive-dtxtut
           texlive-first-latex-doc
           texlive-fontinstallationguide
           texlive-forest-quickstart
           texlive-gentle
           texlive-guide-to-latex
           texlive-happy4th
           texlive-hyphen-complete
           texlive-impatient
           texlive-intro-scientific
           texlive-knuth-errata
           texlive-knuth-hint
           texlive-knuth-pdf
           texlive-l2tabu-english
           texlive-latex-brochure
           texlive-latex-course
           texlive-latex-doc-ptr
           texlive-latex-for-undergraduates
           texlive-latex-graphics-companion
           texlive-latex-refsheet
           texlive-latex-veryshortguide
           texlive-latex-web-companion
           texlive-latex2e-help-texinfo
           texlive-latex4wp
           texlive-latexcheat
           texlive-latexcourse-rug
           texlive-latexfileinfo-pkgs
           texlive-lshort-english
           texlive-macros2e
           texlive-math-into-latex-4
           texlive-maths-symbols
           texlive-memdesign
           texlive-memoirchapterstyles
           texlive-metafont-beginners
           texlive-metapost-examples
           texlive-patgen2-tutorial
           texlive-pictexsum
           texlive-plain-doc
           texlive-short-math-guide
           texlive-simplified-latex
           texlive-svg-inkscape
           texlive-tamethebeast
           texlive-tds
           texlive-tex-font-errors-cheatsheet
           texlive-tex-nutshell
           texlive-tex-overview
           texlive-tex-refs
           texlive-tex-vpat
           texlive-texbytopic
           texlive-texonly
           texlive-titlepages
           texlive-tlc2
           texlive-tlc3-examples
           texlive-tlmgrbasics
           texlive-undergradmath
           texlive-visualfaq
           ;; texlive-webguide XXX: No license?
           texlive-xetexref
           texlive-yet-another-guide-latex2e))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for, and documentation in, English")
    (description
     "These packages provide support for, and documentation in, English.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langeuropean
  (package
    (name "texlive-collection-langeuropean")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-armtex
           texlive-babel-albanian
           texlive-babel-bosnian
           texlive-babel-breton
           texlive-babel-croatian
           texlive-babel-danish
           texlive-babel-dutch
           texlive-babel-estonian
           texlive-babel-finnish
           texlive-babel-friulan
           texlive-babel-hungarian
           texlive-babel-icelandic
           texlive-babel-irish
           texlive-babel-kurmanji
           texlive-babel-latin
           texlive-babel-latvian
           texlive-babel-lithuanian
           texlive-babel-macedonian
           texlive-babel-norsk
           texlive-babel-occitan
           texlive-babel-piedmontese
           texlive-babel-romanian
           texlive-babel-romansh
           texlive-babel-samin
           texlive-babel-scottish
           texlive-babel-slovenian
           texlive-babel-swedish
           texlive-babel-turkish
           texlive-babel-welsh
           texlive-collection-basic
           texlive-finbib
           texlive-gloss-occitan
           texlive-hrlatex
           texlive-huaz
           texlive-hulipsum
           texlive-hyphen-complete
           texlive-kaytannollista-latexia
           texlive-lithuanian
           texlive-lshort-dutch
           texlive-lshort-estonian
           texlive-lshort-finnish
           texlive-lshort-slovenian
           texlive-lshort-turkish
           texlive-nevelok
           texlive-rojud
           texlive-swebib
           texlive-turkmen))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for a some European languages")
    (description
     "This collection provides support for a number of European languages;
others (Greek, German, French, ...)  have their own collections, depending
simply on the size of the support.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langfrench
  (package
    (name "texlive-collection-langfrench")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-aeguill
           texlive-annee-scolaire
           texlive-apprendre-a-programmer-en-tex
           texlive-apprends-latex
           texlive-babel-basque
           texlive-babel-french
           texlive-basque-book
           texlive-basque-date
           texlive-bib-fr
           texlive-bibleref-french
           texlive-booktabs-fr
           texlive-collection-basic
           texlive-droit-fr
           texlive-e-french
           texlive-epslatex-fr
           texlive-expose-expl3-dunkerque-2019
           texlive-facture
           texlive-formation-latex-ul
           texlive-frenchmath
           texlive-frletter
           texlive-frpseudocode
           texlive-hyphen-complete
           texlive-impatient-fr
           texlive-impnattypo
           texlive-l2tabu-french
           texlive-latex2e-help-texinfo-fr
           texlive-letgut
           texlive-lshort-french
           texlive-mafr
           texlive-matapli
           texlive-profcollege
           texlive-proflabo
           texlive-proflycee
           texlive-tabvar
           texlive-tdsfrmath
           texlive-translation-array-fr
           texlive-translation-dcolumn-fr
           texlive-translation-natbib-fr
           texlive-translation-tabbing-fr
           texlive-variations
           texlive-visualfaq-fr
           texlive-visualtikz))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for French and Basque")
    (description
     "This collection provides support packages for French and Basque.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langgerman
  (package
    (name "texlive-collection-langgerman")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-apalike-german
           texlive-babel-german
           texlive-bibleref-german
           texlive-booktabs-de
           texlive-collection-basic
           texlive-csquotes-de
           texlive-dhua
           texlive-dtk-bibliography
           texlive-etdipa
           texlive-etoolbox-de
           texlive-fifinddo-info
           texlive-german
           texlive-germbib
           texlive-germkorr
           texlive-hausarbeit-jura
           texlive-hyphen-complete
           texlive-koma-script-examples
           texlive-l2picfaq
           texlive-l2tabu
           texlive-latexcheat-de
           texlive-lshort-german
           texlive-lualatex-doc-de
           texlive-microtype-de
           texlive-milog
           texlive-quran-de
           texlive-r-und-s
           texlive-schulmathematik
           texlive-templates-fenn
           texlive-templates-sommer
           texlive-termcal-de
           texlive-tipa-de
           texlive-translation-arsclassica-de
           texlive-translation-biblatex-de
           texlive-translation-chemsym-de
           texlive-translation-ecv-de
           texlive-translation-enumitem-de
           texlive-translation-europecv-de
           texlive-translation-filecontents-de
           texlive-translation-moreverb-de
           texlive-udesoftec
           texlive-uhrzeit
           texlive-umlaute
           texlive-voss-mathcol))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for German")
    (description "This collection provides support packages for German.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langgreek
  (package
    (name "texlive-collection-langgreek")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-greek
           texlive-begingreek
           texlive-betababel
           texlive-cbfonts
           texlive-cbfonts-fd
           texlive-collection-basic
           texlive-gfsbaskerville
           texlive-gfsporson
           texlive-greek-fontenc
           texlive-greek-inputenc
           texlive-greekdates
           texlive-greektex
           texlive-greektonoi
           texlive-hyphen-complete
           texlive-ibycus-babel
           texlive-ibygrk
           texlive-kerkis
           texlive-levy
           texlive-lgreek
           texlive-lgrmath
           texlive-mkgrkindex
           texlive-talos
           texlive-teubner
           texlive-xgreek
           texlive-yannisgr))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Greek")
    (description "This collection provides support for Greek.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langitalian
  (package
    (name "texlive-collection-langitalian")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-amsldoc-it
           texlive-amsmath-it
           texlive-amsthdoc-it
           texlive-antanilipsum
           texlive-babel-italian
           texlive-codicefiscaleitaliano
           texlive-collection-basic
           texlive-fancyhdr-it
           texlive-fixltxhyph
           texlive-frontespizio
           texlive-hyphen-complete
           texlive-itnumpar
           texlive-l2tabu-italian
           texlive-latex4wp-it
           texlive-layaureo
           texlive-lshort-italian
           texlive-psfrag-italian
           texlive-verifica))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Italian")
    (description "This collection provides support packages for Italian.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langjapanese
  (package
    (name "texlive-collection-langjapanese")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-ascmac
           texlive-asternote
           texlive-babel-japanese
           texlive-bxbase
           texlive-bxcjkjatype
           texlive-bxghost
           texlive-bxjaholiday
           texlive-bxjalipsum
           texlive-bxjaprnind
           texlive-bxjatoucs
           texlive-bxjscls
           texlive-bxorigcapt
           texlive-bxwareki
           texlive-collection-langcjk
           texlive-convbkmk
           texlive-endnotesj
           texlive-gckanbun
           texlive-gentombow
           texlive-haranoaji
           texlive-haranoaji-extra
           texlive-ieejtran
           texlive-ifptex
           texlive-ifxptex
           texlive-ipaex
           texlive-japanese-mathformulas
           texlive-japanese-otf
           texlive-jieeetran
           texlive-jlreq
           texlive-jlreq-deluxe
           texlive-jpneduenumerate
           texlive-jpnedumathsymbols
           texlive-jsclasses
           texlive-kanbun
           texlive-lshort-japanese
           texlive-luatexja
           texlive-mendex-doc
           texlive-morisawa
           texlive-pbibtex-base
           texlive-pbibtex-manual
           texlive-platex
           texlive-platex-tools
           texlive-platexcheat
           texlive-plautopatch
           texlive-ptex
           texlive-ptex-base
           texlive-ptex-fontmaps
           texlive-ptex-fonts
           texlive-ptex-manual
           texlive-ptex2pdf
           texlive-pxbase
           texlive-pxchfon
           texlive-pxcjkcat
           texlive-pxjahyper
           texlive-pxjodel
           texlive-pxrubrica
           texlive-pxufont
           texlive-uplatex
           texlive-uptex
           texlive-uptex-base
           texlive-uptex-fonts
           texlive-wadalab
           texlive-zxjafbfont
           texlive-zxjatype))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Japanese")
    (description
     "This collection provides support for Japanese, with additional packages
from @code{collection-langcjk}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langkorean
  (package
    (name "texlive-collection-langkorean")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-baekmuk
           texlive-cjk-ko
           texlive-collection-langcjk
           texlive-kotex-oblivoir
           texlive-kotex-plain
           texlive-kotex-utf
           texlive-kotex-utils
           texlive-lshort-korean
           texlive-nanumtype1
           texlive-pmhanguljamo
           texlive-uhc
           texlive-unfonts-core
           texlive-unfonts-extra))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Korean")
    (description
     "This collection provides support for Korean, with additional packages
from @code{collection-langcjk}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langother
  (package
    (name "texlive-collection-langother")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-aalok
           texlive-akshar
           texlive-amsldoc-vn
           texlive-aramaic-serto
           texlive-babel-azerbaijani
           texlive-babel-esperanto
           texlive-babel-georgian
           texlive-babel-hebrew
           texlive-babel-indonesian
           texlive-babel-interlingua
           texlive-babel-malay
           texlive-babel-sorbian
           texlive-babel-thai
           texlive-babel-vietnamese
           texlive-bangla
           texlive-bangtex
           texlive-bengali
           texlive-burmese
           texlive-chhaya
           texlive-cjhebrew
           texlive-collection-basic
           texlive-ctib
           texlive-ebong
           texlive-ethiop
           texlive-ethiop-t1
           texlive-fc
           texlive-fonts-tlwg
           texlive-hindawi-latex-template
           texlive-hyphen-complete
           texlive-latex-mr
           texlive-latexbangla
           texlive-latino-sine-flexione
           texlive-lshort-thai
           texlive-lshort-vietnamese
           texlive-marathi
           texlive-ntheorem-vn
           texlive-padauk
           texlive-quran-bn
           texlive-quran-ur
           texlive-sanskrit
           texlive-sanskrit-t1
           texlive-thaienum
           texlive-thaispec
           texlive-unicode-alphabets
           texlive-velthuis
           texlive-vntex
           texlive-wnri
           texlive-wnri-latex
           texlive-xetex-devanagari))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support other languages")
    (description
     "This collection provides support for languages not otherwise listed,
including Indic, Thai, Vietnamese, Hebrew, Indonesian, African languages, and
plenty more.  The split is made simply on the basis of the size of the
support, to keep both collection sizes and the number of collections
reasonable.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langpolish
  (package
    (name "texlive-collection-langpolish")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-polish
           texlive-bredzenie
           texlive-cc-pl
           texlive-collection-basic
           texlive-collection-latex
           texlive-gustlib
           texlive-gustprog
           texlive-hyphen-complete
           texlive-lshort-polish
           texlive-mex
           texlive-mwcls
           texlive-pl
           texlive-polski
           texlive-przechlewski-book
           texlive-qpxqtx
           texlive-tap
           texlive-tex-virtual-academy-pl
           texlive-utf8mex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Polish")
    (description "This collection provides support packages for Polish.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langportuguese
  (package
    (name "texlive-collection-langportuguese")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-portuges
           texlive-beamer-tut-pt
           texlive-collection-basic
           texlive-cursolatex
           texlive-feupphdteses
           texlive-hyphen-complete
           texlive-latex-via-exemplos
           texlive-latexcheat-ptbr
           texlive-lshort-portuguese
           texlive-numberpt
           texlive-ordinalpt
           texlive-xypic-tut-pt))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Portuguese")
    (description "This collection provides support packages for Portuguese.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-langspanish
  (package
    (name "texlive-collection-langspanish")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-babel-catalan
           texlive-babel-galician
           texlive-babel-spanish
           texlive-collection-basic
           texlive-es-tex-faq
           texlive-hyphen-complete
           texlive-l2tabu-spanish
           texlive-latex2e-help-texinfo-spanish
           texlive-latexcheat-esmx
           texlive-lshort-spanish))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Support for Spanish")
    (description "This collection provides support packages for Spanish.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-latex
  (package
    (name "texlive-collection-latex")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-ae
           texlive-amscls
           texlive-amsmath
           texlive-atbegshi
           texlive-atveryend
           texlive-auxhook
           texlive-babel
           texlive-babel-english
           texlive-babelbib
           texlive-bigintcalc
           texlive-bitset
           texlive-bookmark
           texlive-carlisle
           texlive-collection-basic
           texlive-colortbl
           texlive-epstopdf-pkg
           texlive-etexcmds
           texlive-fancyhdr
           texlive-firstaid
           texlive-fix2col
           texlive-geometry
           texlive-gettitlestring
           texlive-graphics
           texlive-graphics-cfg
           texlive-grfext
           texlive-hopatch
           texlive-hycolor
           texlive-hyperref
           texlive-intcalc
           texlive-kvdefinekeys
           texlive-kvoptions
           texlive-kvsetkeys
           texlive-l3backend
           texlive-l3kernel
           texlive-l3packages
           texlive-latex
           texlive-latex-bin
           texlive-latex-fonts
           texlive-latexconfig
           texlive-letltxmacro
           texlive-ltxcmds
           texlive-ltxmisc
           texlive-mfnfss
           texlive-mptopdf
           texlive-natbib
           texlive-oberdiek
           texlive-pagesel
           texlive-pdfescape
           texlive-pslatex
           texlive-psnfss
           texlive-pspicture
           texlive-refcount
           texlive-rerunfilecheck
           texlive-stringenc
           texlive-tools
           texlive-uniquecounter
           texlive-url))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "LaTeX fundamental packages")
    (description
     "These packages are either mandated by the core LaTeX team, or very widely
used and strongly recommended in practice.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-latexextra
  (package
    (name "texlive-collection-latexextra")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-2up
           texlive-a0poster
           texlive-a4wide
           texlive-a5comb
           texlive-abraces
           texlive-abspos
           texlive-abstract
           texlive-accessibility
           texlive-accsupp
           texlive-achemso
           texlive-acro
           texlive-acronym
           texlive-acroterm
           texlive-actuarialangle
           texlive-actuarialsymbol
           texlive-addfont
           texlive-addlines
           texlive-adjmulticol
           texlive-adjustbox
           texlive-adrconv
           texlive-advdate
           texlive-akktex
           texlive-akletter
           texlive-alchemist
           texlive-alertmessage
           texlive-alnumsec
           texlive-alphalph
           texlive-alterqcm
           texlive-altfont
           texlive-altsubsup
           texlive-amsaddr
           texlive-animate
           texlive-anonchap
           texlive-answers
           texlive-anyfontsize
           texlive-appendix
           texlive-appendixnumberbeamer
           texlive-apptools
           texlive-arabicfront
           texlive-arcs
           texlive-arraycols
           texlive-arrayjobx
           texlive-arraysort
           texlive-arydshln
           texlive-asciilist
           texlive-askinclude
           texlive-assignment
           texlive-assoccnt
           texlive-association-matrix
           texlive-atenddvi
           texlive-atendofenv
           texlive-attachfile
           texlive-aurl
           texlive-authoraftertitle
           texlive-authorarchive
           texlive-authorindex
           texlive-autofancyhdr
           texlive-autonum
           texlive-autopdf
           texlive-autopuncitems
           texlive-avremu
           texlive-axessibility
           texlive-background
           texlive-bankstatement
           texlive-bashful
           texlive-basicarith
           texlive-bchart
           texlive-beamer-rl
           texlive-beamer2thesis
           texlive-beamerappendixnote
           texlive-beameraudience
           texlive-beamerauxtheme
           texlive-beamercolorthemeowl
           texlive-beamerdarkthemes
           texlive-beamerposter
           texlive-beamersubframe
           texlive-beamertheme-arguelles
           texlive-beamertheme-cuerna
           texlive-beamertheme-detlevcm
           texlive-beamertheme-epyt
           texlive-beamertheme-focus
           texlive-beamertheme-light
           texlive-beamertheme-metropolis
           texlive-beamertheme-npbt
           texlive-beamertheme-phnompenh
           texlive-beamertheme-pure-minimalistic
           texlive-beamertheme-saintpetersburg
           texlive-beamertheme-simpledarkblue
           texlive-beamertheme-simpleplus
           texlive-beamertheme-tcolorbox
           texlive-beamertheme-trigon
           texlive-beamertheme-upenn-bc
           texlive-beamerthemeamurmaple
           texlive-beamerthemejltree
           texlive-beamerthemelalic
           texlive-beamerthemenirma
           texlive-beamerthemenord
           texlive-bearwear
           texlive-beaulivre
           texlive-beton
           texlive-bewerbung
           texlive-bez123
           texlive-bhcexam
           texlive-bibletext
           texlive-bigfoot
           texlive-bigints
           texlive-bilingualpages
           texlive-biochemistry-colors
           texlive-bithesis
           texlive-bizcard
           texlive-blindtext
           texlive-blkarray
           texlive-block
           texlive-blowup
           texlive-bnumexpr
           texlive-boites
           texlive-bold-extra
           texlive-book-of-common-prayer
           texlive-bookcover
           texlive-bookest
           texlive-booklet
           texlive-bookshelf
           texlive-boolexpr
           texlive-bophook
           texlive-boxedminipage
           texlive-boxhandler
           texlive-bracketkey
           texlive-braket
           texlive-breakurl
           texlive-bubblesort
           texlive-bullcntr
           texlive-bxcalc
           texlive-bxdpx-beamer
           texlive-bxdvidriver
           texlive-bxenclose
           texlive-bxnewfont
           texlive-bxpapersize
           texlive-bxpdfver
           texlive-bxtexlogo
           texlive-calcage
           texlive-calctab
           texlive-calculator
           texlive-calrsfs
           texlive-cals
           texlive-calxxxx-yyyy
           texlive-cancel
           texlive-canoniclayout
           texlive-capt-of
           texlive-captcont
           texlive-captdef
           texlive-carbohydrates
           texlive-cases
           texlive-casyl
           texlive-catchfile
           texlive-catchfilebetweentags
           texlive-catechis
           texlive-catoptions
           texlive-cbcoptic
           texlive-ccaption
           texlive-cclicenses
           texlive-cd
           texlive-cd-cover
           texlive-cdcmd
           texlive-cdpbundl
           texlive-cellprops
           texlive-cellspace
           texlive-censor
           texlive-centeredline
           texlive-centerlastline
           texlive-changebar
           texlive-changelayout
           texlive-changelog
           texlive-changepage
           texlive-changes
           texlive-chappg
           texlive-chapterfolder
           texlive-cheatsheet
           texlive-checkend
           texlive-chet
           texlive-chextras
           texlive-childdoc
           texlive-chkfloat
           texlive-chletter
           texlive-chngcntr
           texlive-chronology
           texlive-circ
           texlive-circledsteps
           texlive-circledtext
           texlive-classics
           texlive-classpack
           texlive-clefval
           texlive-cleveref
           texlive-clicks
           texlive-clipboard
           texlive-clistmap
           texlive-clock
           texlive-clrdblpg
           texlive-clrstrip
           texlive-cmdstring
           texlive-cmdtrack
           texlive-cmsd
           texlive-cnltx
           texlive-cntformats
           texlive-cntperchap
           texlive-codebox
           texlive-codedoc
           texlive-codehigh
           texlive-codepage
           texlive-codesection
           texlive-collcell
           texlive-collectbox
           texlive-collection-latexrecommended
           texlive-collection-pictures
           texlive-colophon
           texlive-color-edits
           texlive-colordoc
           texlive-colorframed
           texlive-colorinfo
           texlive-coloring
           texlive-colorist
           texlive-colorspace
           texlive-colortab
           texlive-colorwav
           texlive-colorweb
           texlive-colourchange
           texlive-combelow
           texlive-combine
           texlive-comma
           texlive-commado
           texlive-commedit
           texlive-comment
           texlive-commonunicode
           texlive-competences
           texlive-concepts
           texlive-concprog
           texlive-conditext
           texlive-constants
           texlive-continue
           texlive-contour
           texlive-contracard
           texlive-conv-xkv
           texlive-cooking
           texlive-cooking-units
           texlive-cool
           texlive-coolfn
           texlive-coollist
           texlive-coolstr
           texlive-coolthms
           texlive-cooltooltips
           texlive-coop-writing
           texlive-coordsys
           texlive-copyedit
           texlive-copyrightbox
           texlive-coseoul
           texlive-counttexruns
           texlive-courseoutline
           texlive-coursepaper
           texlive-coverpage
           texlive-cprotect
           texlive-cprotectinside
           texlive-crbox
           texlive-create-theorem
           texlive-crefthe
           texlive-crossreference
           texlive-crossreftools
           texlive-crumbs
           texlive-csquotes
           texlive-css-colors
           texlive-csvmerge
           texlive-csvsimple
           texlive-cuisine
           texlive-currency
           texlive-currfile
           texlive-currvita
           texlive-cutwin
           texlive-cv
           texlive-cv4tw
           texlive-cweb-latex
           texlive-cyber
           texlive-cybercic
           texlive-darkmode
           texlive-dashbox
           texlive-dashrule
           texlive-dashundergaps
           texlive-dataref
           texlive-datatool
           texlive-datax
           texlive-dateiliste
           texlive-datenumber
           texlive-datestamp
           texlive-datetime
           texlive-datetime2
           texlive-datetime2-bahasai
           texlive-datetime2-basque
           texlive-datetime2-breton
           texlive-datetime2-bulgarian
           texlive-datetime2-catalan
           texlive-datetime2-croatian
           texlive-datetime2-czech
           texlive-datetime2-danish
           texlive-datetime2-dutch
           texlive-datetime2-en-fulltext
           texlive-datetime2-english
           texlive-datetime2-esperanto
           texlive-datetime2-estonian
           texlive-datetime2-finnish
           texlive-datetime2-french
           texlive-datetime2-galician
           texlive-datetime2-german
           texlive-datetime2-greek
           texlive-datetime2-hebrew
           texlive-datetime2-icelandic
           texlive-datetime2-irish
           texlive-datetime2-it-fulltext
           texlive-datetime2-italian
           texlive-datetime2-latin
           texlive-datetime2-lsorbian
           texlive-datetime2-magyar
           texlive-datetime2-norsk
           texlive-datetime2-polish
           texlive-datetime2-portuges
           texlive-datetime2-romanian
           texlive-datetime2-russian
           texlive-datetime2-samin
           texlive-datetime2-scottish
           texlive-datetime2-serbian
           texlive-datetime2-slovak
           texlive-datetime2-slovene
           texlive-datetime2-spanish
           texlive-datetime2-swedish
           texlive-datetime2-turkish
           texlive-datetime2-ukrainian
           texlive-datetime2-usorbian
           texlive-datetime2-welsh
           texlive-dblfloatfix
           texlive-dbshow
           texlive-debate
           texlive-decimal
           texlive-decorule
           texlive-delimtxt
           texlive-democodetools
           texlive-denisbdoc
           texlive-diabetes-logbook
           texlive-diagbox
           texlive-diagnose
           texlive-dialogl
           texlive-dichokey
           texlive-dimnum
           texlive-dinbrief
           texlive-directory
           texlive-dirtytalk
           texlive-dlfltxb
           texlive-dnaseq
           texlive-doclicense
           texlive-docmfp
           texlive-docmute
           texlive-docshots
           texlive-doctools
           texlive-documentation
           texlive-docutils
           texlive-doi
           texlive-dotarrow
           texlive-dotlessi
           texlive-dotseqn
           texlive-download
           texlive-dox
           texlive-dpfloat
           texlive-dprogress
           texlive-drac
           texlive-draftcopy
           texlive-draftfigure
           texlive-draftwatermark
           texlive-dtk
           texlive-dtxdescribe
           texlive-dtxgallery
           texlive-ducksay
           texlive-duckuments
           texlive-dvdcoll
           texlive-dynamicnumber
           texlive-dynblocks
           texlive-ean13isbn
           texlive-easy
           texlive-easy-todo
           texlive-easybook
           texlive-easyfig
           texlive-easyfloats
           texlive-easyformat
           texlive-easylist
           texlive-easyreview
           texlive-ebezier
           texlive-ecclesiastic
           texlive-econlipsum
           texlive-ecv
           texlive-ed
           texlive-edichokey
           texlive-edmargin
           texlive-eemeir
           texlive-efbox
           texlive-egplot
           texlive-ehhline
           texlive-einfart
           texlive-elements
           texlive-ellipsis
           texlive-elmath
           texlive-elocalloc
           texlive-elpres
           texlive-elzcards
           texlive-emarks
           texlive-embedall
           texlive-embedfile
           texlive-embrac
           texlive-emptypage
           texlive-emulateapj
           texlive-endfloat
           texlive-endheads
           texlive-endnotes
           texlive-endnotes-hy
           texlive-engpron
           texlive-engrec
           texlive-enotez
           texlive-enumitem
           texlive-enumitem-zref
           texlive-envbig
           texlive-environ
           texlive-envlab
           texlive-epigraph
           texlive-epigraph-keys
           texlive-epiolmec
           texlive-eq-pin2corr
           texlive-eqell
           texlive-eqlist
           texlive-eqnalign
           texlive-eqname
           texlive-eqparbox
           texlive-errata
           texlive-erw-l3
           texlive-esami
           texlive-esdiff
           texlive-esieecv
           texlive-esindex
           texlive-esint
           texlive-esint-type1
           texlive-etaremune
           texlive-etextools
           texlive-etl
           texlive-etoc
           texlive-eukdate
           texlive-eulerpx
           texlive-europasscv
           texlive-europecv
           texlive-everyhook
           texlive-everypage
           texlive-exam
           texlive-exam-lite
           texlive-exam-n
           texlive-exam-randomizechoices
           texlive-examdesign
           texlive-example
           texlive-examplep
           texlive-exceltex
           texlive-excludeonly
           texlive-exercise
           texlive-exercisebank
           texlive-exercisepoints
           texlive-exercises
           texlive-exesheet
           texlive-exframe
           texlive-exp-testopt
           texlive-expdlist
           texlive-export
           texlive-exsheets
           texlive-exsol
           texlive-extract
           texlive-facsimile
           texlive-factura
           texlive-familytree
           texlive-fancyhandout
           texlive-fancylabel
           texlive-fancynum
           texlive-fancypar
           texlive-fancyqr
           texlive-fancyslides
           texlive-fancytabs
           texlive-fancytooltips
           texlive-fbox
           texlive-fcolumn
           texlive-fetchcls
           texlive-fewerfloatpages
           texlive-ffcode
           texlive-ffslides
           texlive-fgruler
           texlive-fifo-stack
           texlive-figsize
           texlive-filecontents
           texlive-filecontentsdef
           texlive-filedate
           texlive-fileinfo
           texlive-filemod
           texlive-fink
           texlive-finstrut
           texlive-fistrum
           texlive-fithesis
           texlive-fixcmex
           texlive-fixfoot
           texlive-fixme
           texlive-fixmetodonotes
           texlive-fjodor
           texlive-flabels
           texlive-flacards
           texlive-flagderiv
           texlive-flashcards
           texlive-flashmovie
           texlive-flexipage
           texlive-flipbook
           texlive-flippdf
           texlive-floatflt
           texlive-floatrow
           texlive-flowfram
           texlive-fmp
           texlive-fmtcount
           texlive-fn2end
           texlive-fnbreak
           texlive-fncychap
           texlive-fncylab
           texlive-fnpara
           texlive-fnpct
           texlive-fnumprint
           texlive-foilhtml
           texlive-foliono
           texlive-fontaxes
           texlive-fontsetup
           texlive-fontsize
           texlive-fonttable
           texlive-footmisc
           texlive-footmisx
           texlive-footnotebackref
           texlive-footnoterange
           texlive-footnpag
           texlive-forarray
           texlive-foreign
           texlive-forloop
           texlive-formlett
           texlive-forms16be
           texlive-formular
           texlive-fragments
           texlive-frame
           texlive-framed
           texlive-frankenstein
           texlive-frege
           texlive-froufrou
           texlive-ftcap
           texlive-ftnxtra
           texlive-fullblck
           texlive-fullminipage
           texlive-fullwidth
           texlive-functional
           texlive-fundus-calligra
           texlive-fundus-cyr
           texlive-fundus-sueterlin
           texlive-fvextra
           texlive-fwlw
           texlive-g-brief
           texlive-gatherenum
           texlive-gauss
           texlive-gcard
           texlive-gcite
           texlive-gender
           texlive-genmpage
           texlive-gensymb
           texlive-getfiledate
           texlive-getitems
           texlive-gindex
           texlive-ginpenc
           texlive-gitfile-info
           texlive-gitinfo
           texlive-gitinfo2
           texlive-gitlog
           texlive-gitstatus
           texlive-gitver
           texlive-globalvals
           texlive-gloss
           texlive-glossaries
           texlive-glossaries-danish
           texlive-glossaries-dutch
           texlive-glossaries-english
           texlive-glossaries-estonian
           texlive-glossaries-extra
           texlive-glossaries-finnish
           texlive-glossaries-french
           texlive-glossaries-german
           texlive-glossaries-irish
           texlive-glossaries-italian
           texlive-glossaries-magyar
           texlive-glossaries-nynorsk
           texlive-glossaries-polish
           texlive-glossaries-portuges
           texlive-glossaries-serbian
           texlive-glossaries-slovene
           texlive-glossaries-spanish
           texlive-gmdoc
           texlive-gmdoc-enhance
           texlive-gmiflink
           texlive-gmutils
           texlive-gmverb
           texlive-grabbox
           texlive-gradient-text
           texlive-grading-scheme
           texlive-graphbox
           texlive-graphicscache
           texlive-graphicx-psmin
           texlive-graphicxbox
           texlive-graphpaper
           texlive-grayhints
           texlive-grfpaste
           texlive-grid
           texlive-grid-system
           texlive-gridpapers
           texlive-gridset
           texlive-gridslides
           texlive-gs1
           texlive-guitlogo
           texlive-ha-prosper
           texlive-hackthefootline
           texlive-halloweenmath
           texlive-handin
           texlive-handout
           texlive-handoutwithnotes
           texlive-hang
           texlive-hanging
           texlive-hardwrap
           texlive-harnon-cv
           texlive-harpoon
           texlive-hc
           texlive-he-she
           texlive-hep-acronym
           texlive-hep-float
           texlive-hep-math
           texlive-hep-text
           texlive-hep-title
           texlive-hereapplies
           texlive-hhtensor
           texlive-hideanswer
           texlive-highlightlatex
           texlive-histogr
           texlive-hitec
           texlive-hitreport
           texlive-hletter
           texlive-hobsub
           texlive-hpsdiss
           texlive-href-ul
           texlive-hrefhide
           texlive-huawei
           texlive-hvextern
           texlive-hvindex
           texlive-hvlogos
           texlive-hvpygmentex
           texlive-hvqrurl
           texlive-hwemoji
           texlive-hypdestopt
           texlive-hypdoc
           texlive-hypdvips
           texlive-hyper
           texlive-hyperbar
           texlive-hypernat
           texlive-hyperxmp
           texlive-hyphenat
           texlive-identkey
           texlive-idxcmds
           texlive-idxlayout
           texlive-iexec
           texlive-ifallfalse
           texlive-iffont
           texlive-ifmslide
           texlive-ifmtarg
           texlive-ifnextok
           texlive-ifoddpage
           texlive-ifthenx
           texlive-iitem
           texlive-image-gallery
           texlive-imakeidx
           texlive-import
           texlive-incgraph
           texlive-indextools
           texlive-inline-images
           texlive-inlinedef
           texlive-inlinelabel
           texlive-inputenx
           texlive-inputtrc
           texlive-interactiveworkbook
           texlive-interfaces
           texlive-intopdf
           texlive-inversepath
           texlive-invoice
           texlive-invoice-class
           texlive-invoice2
           texlive-iso
           texlive-iso10303
           texlive-isodate
           texlive-isodoc
           texlive-isonums
           texlive-isopt
           texlive-isorot
           texlive-isotope
           texlive-issuulinks
           texlive-jlabels
           texlive-jmsdelim
           texlive-jobname-suffix
           texlive-jslectureplanner
           texlive-jumplines
           texlive-jvlisting
           texlive-kalendarium
           texlive-kantlipsum
           texlive-kerntest
           texlive-keycommand
           texlive-keyfloat
           texlive-keyindex
           texlive-keyparse
           texlive-keyreader
           texlive-keystroke
           texlive-keyval2e
           texlive-keyvaltable
           texlive-kix
           texlive-knowledge
           texlive-koma-moderncvclassic
           texlive-koma-script-sfs
           texlive-komacv
           texlive-komacv-rg
           texlive-ktv-texdata
           texlive-l3build
           texlive-labbook
           texlive-labels
           texlive-labels4easylist
           texlive-labelschanged
           texlive-lambdax
           texlive-lastpackage
           texlive-lastpage
           texlive-latex-uni8
           texlive-latexcolors
           texlive-latexdemo
           texlive-latexgit
           texlive-layouts
           texlive-lazylist
           texlive-lccaps
           texlive-lcd
           texlive-lcg
           texlive-leading
           texlive-leaflet
           texlive-lebhart
           texlive-lectures
           texlive-lectureslides
           texlive-leftidx
           texlive-leftindex
           texlive-leipzig
           texlive-lengthconvert
           texlive-lettre
           texlive-lettrine
           texlive-lewis
           texlive-lhelp
           texlive-libgreek
           texlive-limap
           texlive-linegoal
           texlive-linop
           texlive-lipsum
           texlive-lisp-on-tex
           texlive-listing
           texlive-listingsutf8
           texlive-listlbls
           texlive-listliketab
           texlive-listofsymbols
           texlive-lkproof
           texlive-lmake
           texlive-locality
           texlive-logbox
           texlive-logical-markup-utils
           texlive-logpap
           texlive-longfbox
           texlive-longfigure
           texlive-longnamefilelist
           texlive-loops
           texlive-lsc
           texlive-lstaddons
           texlive-lstfiracode
           texlive-lt3graph
           texlive-lt3rawobjects
           texlive-ltablex
           texlive-ltabptch
           texlive-ltxdockit
           texlive-ltxguidex
           texlive-ltxkeys
           texlive-ltxnew
           texlive-ltxtools
           texlive-lua-check-hyphen
           texlive-lua-physical
           texlive-luatodonotes
           texlive-macrolist
           texlive-macroswap
           texlive-magaz
           texlive-magicnum
           texlive-magicwatermark
           texlive-mailing
           texlive-mailmerge
           texlive-makebarcode
           texlive-makebase
           texlive-makebox
           texlive-makecell
           texlive-makecirc
           texlive-makecmds
           texlive-makecookbook
           texlive-makedtx
           texlive-makeglos
           texlive-makelabels
           texlive-makerobust
           texlive-mandi
           texlive-manfnt
           texlive-manuscript
           texlive-manyind
           texlive-marginfit
           texlive-marginfix
           texlive-marginnote
           texlive-markdown
           texlive-mathalpha
           texlive-mathastext
           texlive-mathexam
           texlive-mathfam256
           texlive-mathfont
           texlive-maybemath
           texlive-mcaption
           texlive-mceinleger
           texlive-mcexam
           texlive-mcite
           texlive-mciteplus
           texlive-mdframed
           texlive-media4svg
           texlive-media9
           texlive-medstarbeamer
           texlive-meetingmins
           texlive-memexsupp
           texlive-memory
           texlive-mensa-tex
           texlive-menu
           texlive-menucard
           texlive-menukeys
           texlive-metalogox
           texlive-metanorma
           texlive-metastr
           texlive-method
           texlive-metre
           texlive-mfirstuc
           texlive-mftinc
           texlive-mi-solns
           texlive-midpage
           texlive-mindflow
           texlive-minibox
           texlive-minidocument
           texlive-minifp
           texlive-minimalist
           texlive-minipage-marginpar
           texlive-minitoc
           texlive-minorrevision
           texlive-minted
           texlive-minutes
           texlive-mla-paper
           texlive-mleftright
           texlive-mlist
           texlive-mmap
           texlive-mnotes
           texlive-moderncv
           texlive-modernposter
           texlive-moderntimeline
           texlive-modref
           texlive-modroman
           texlive-modular
           texlive-monofill
           texlive-moodle
           texlive-moreenum
           texlive-morefloats
           texlive-morehype
           texlive-moresize
           texlive-moreverb
           texlive-morewrites
           texlive-movie15
           texlive-mparhack
           texlive-mpostinl
           texlive-msc
           texlive-msg
           texlive-mslapa
           texlive-mtgreek
           texlive-multenum
           texlive-multiaudience
           texlive-multibbl
           texlive-multicap
           texlive-multicolrule
           texlive-multidef
           texlive-multienv
           texlive-multiexpand
           texlive-multifootnote
           texlive-multilang
           texlive-multiple-choice
           texlive-multirow
           texlive-mversion
           texlive-mwe
           texlive-mycv
           texlive-mylatex
           texlive-mylatexformat
           texlive-nag
           texlive-nameauth
           texlive-namespc
           texlive-ncclatex
           texlive-ncctools
           texlive-needspace
           texlive-nestquot
           texlive-newcommand
           texlive-newenviron
           texlive-newfile
           texlive-newlfm
           texlive-newspaper
           texlive-newunicodechar
           texlive-newvbtm
           texlive-newverbs
           texlive-nextpage
           texlive-nfssext-cfr
           texlive-nicefilelist
           texlive-niceframe
           texlive-nicetext
           texlive-nidanfloat
           texlive-ninecolors
           texlive-nlctdoc
           texlive-noconflict
           texlive-noindentafter
           texlive-noitcrul
           texlive-nolbreaks
           texlive-nomencl
           texlive-nomentbl
           texlive-nonfloat
           texlive-nonumonpart
           texlive-nopageno
           texlive-normalcolor
           texlive-notes
           texlive-notespages
           texlive-notestex
           texlive-notoccite
           texlive-nowidow
           texlive-nox
           texlive-ntheorem
           texlive-numberedblock
           texlive-numname
           texlive-numprint
           texlive-numspell
           texlive-ocg-p
           texlive-ocgx
           texlive-ocgx2
           texlive-ocr-latex
           texlive-octavo
           texlive-oldstyle
           texlive-onlyamsmath
           texlive-opcit
           texlive-opencolor
           texlive-optidef
           texlive-optional
           texlive-options
           texlive-orcidlink
           texlive-orientation
           texlive-outline
           texlive-outliner
           texlive-outlines
           texlive-outlining
           texlive-overlays
           texlive-overpic
           texlive-padcount
           texlive-pagecolor
           texlive-pagecont
           texlive-pagegrid
           texlive-pagelayout
           texlive-pagenote
           texlive-pagerange
           texlive-pageslts
           texlive-palette
           texlive-pangram
           texlive-paper
           texlive-papercdcase
           texlive-papermas
           texlive-papertex
           texlive-paracol
           texlive-parades
           texlive-paralist
           texlive-paresse
           texlive-parnotes
           texlive-parsa
           texlive-parselines
           texlive-pas-cours
           texlive-pas-cv
           texlive-pas-tableur
           texlive-patch
           texlive-patchcmd
           texlive-pauldoc
           texlive-pawpict
           texlive-pax
           texlive-pbalance
           texlive-pbox
           texlive-pbsheet
           texlive-pdf14
           texlive-pdfcol
           texlive-pdfcolmk
           texlive-pdfcomment
           texlive-pdfcprot
           texlive-pdfmarginpar
           texlive-pdfoverlay
           texlive-pdfpagediff
           texlive-pdfpc
           texlive-pdfpc-movie
           texlive-pdfprivacy
           texlive-pdfreview
           texlive-pdfscreen
           texlive-pdfslide
           texlive-pdfsync
           texlive-pdfwin
           texlive-pdfx
           texlive-pecha
           texlive-perltex
           texlive-permute
           texlive-petiteannonce
           texlive-pgfmath-xfp
           texlive-phfcc
           texlive-phfextendedabstract
           texlive-phffullpagefigure
           texlive-phfnote
           texlive-phfparen
           texlive-phfqit
           texlive-phfquotetext
           texlive-phfsvnwatermark
           texlive-phfthm
           texlive-philex
           texlive-phonenumbers
           texlive-photo
           texlive-photobook
           texlive-picture
           texlive-piff
           texlive-pkgloader
           texlive-placeins
           texlive-plantslabels
           texlive-plates
           texlive-plweb
           texlive-pmboxdraw
           texlive-polynom
           texlive-polynomial
           texlive-polytable
           texlive-postcards
           texlive-poster-mac
           texlive-postnotes
           texlive-powerdot
           texlive-ppr-prv
           texlive-ppt-slides
           texlive-practicalreports
           texlive-precattl
           texlive-prelim2e
           texlive-preprint
           texlive-pressrelease
           texlive-prettyref
           texlive-prettytok
           texlive-preview
           texlive-printlen
           texlive-probsoln
           texlive-program
           texlive-progress
           texlive-progressbar
           texlive-projlib
           texlive-proofread
           texlive-properties
           texlive-prosper
           texlive-protex
           texlive-protocol
           texlive-psfragx
           texlive-pstool
           texlive-pstring
           texlive-pxgreeks
           texlive-pygmentex
           texlive-python
           texlive-pythonimmediate
           texlive-qcm
           texlive-qstest
           texlive-qsymbols
           texlive-quicktype
           texlive-quiz2socrative
           texlive-quotchap
           texlive-quoting
           texlive-quotmark
           texlive-ran-toks
           texlive-randtext
           texlive-rccol
           texlive-rcs-multi
           texlive-rcsinfo
           texlive-readablecv
           texlive-readarray
           texlive-realboxes
           texlive-recipe
           texlive-recipebook
           texlive-recipecard
           texlive-rectopma
           texlive-refcheck
           texlive-refenums
           texlive-reflectgraphics
           texlive-refman
           texlive-refstyle
           texlive-regcount
           texlive-regexpatch
           texlive-register
           texlive-regstats
           texlive-relenc
           texlive-relsize
           texlive-repeatindex
           texlive-repltext
           texlive-rescansync
           texlive-resmes
           texlive-returntogrid
           texlive-rgltxdoc
           texlive-rjlparshap
           texlive-rlepsf
           texlive-rmpage
           texlive-robustcommand
           texlive-robustindex
           texlive-romanbar
           texlive-romanbarpagenumber
           texlive-romanneg
           texlive-romannum
           texlive-rotfloat
           texlive-rotpages
           texlive-roundbox
           texlive-rterface
           texlive-rtkinenc
           texlive-rulerbox
           texlive-rulercompass
           texlive-runcode
           texlive-rvwrite
           texlive-sanitize-umlaut
           texlive-sauerj
           texlive-saveenv
           texlive-savefnmark
           texlive-savesym
           texlive-savetrees
           texlive-scale
           texlive-scalebar
           texlive-scalerel
           texlive-scanpages
           texlive-schedule
           texlive-schooldocs
           texlive-scontents
           texlive-scrambledenvs
           texlive-scrlayer-fancyhdr
           texlive-scrlttr2copy
           texlive-sdaps
           texlive-sdrt
           texlive-secdot
           texlive-secnum
           texlive-sectionbox
           texlive-sectionbreak
           texlive-sectsty
           texlive-seealso
           texlive-selectp
           texlive-selinput
           texlive-semantex
           texlive-semantic
           texlive-semantic-markup
           texlive-semesterplanner
           texlive-semioneside
           texlive-semproc
           texlive-semtex
           texlive-sepfootnotes
           texlive-seqsplit
           texlive-sesstime
           texlive-sf298
           texlive-sffms
           texlive-sfmath
           texlive-shadethm
           texlive-shadow
           texlive-shadowtext
           texlive-shapepar
           texlive-shdoc
           texlive-shipunov
           texlive-shorttoc
           texlive-show2e
           texlive-showcharinbox
           texlive-showdim
           texlive-showexpl
           texlive-showlabels
           texlive-sidecap
           texlive-sidenotes
           texlive-sidenotesplus
           texlive-silence
           texlive-sillypage
           texlive-simplecd
           texlive-simplecv
           texlive-simpleinvoice
           texlive-simplivre
           texlive-sitem
           texlive-skb
           texlive-skdoc
           texlive-skeldoc
           texlive-skeycommand
           texlive-skeyval
           texlive-skills
           texlive-skrapport
           texlive-slantsc
           texlive-smalltableof
           texlive-smart-eqn
           texlive-smartref
           texlive-smartunits
           texlive-snapshot
           texlive-snaptodo
           texlive-snotez
           texlive-soulpos
           texlive-spacingtricks
           texlive-spark-otf
           texlive-sparklines
           texlive-sphack
           texlive-splitindex
           texlive-spot
           texlive-spotcolor
           texlive-spreadtab
           texlive-spverbatim
           texlive-srbook-mem
           texlive-srcltx
           texlive-sseq
           texlive-sslides
           texlive-stack
           texlive-stackengine
           texlive-standalone
           texlive-stdclsdv
           texlive-stdpage
           texlive-stealcaps
           texlive-stex
           texlive-storebox
           texlive-storecmd
           texlive-stringstrings
           texlive-sttools
           texlive-stubs
           texlive-studenthandouts
           texlive-styledcmd
           texlive-subdepth
           texlive-subdocs
           texlive-subeqn
           texlive-subeqnarray
           texlive-subfigmat
           texlive-subfigure
           texlive-subfiles
           texlive-subfloat
           texlive-substr
           texlive-supertabular
           texlive-suppose
           texlive-svg
           texlive-svgcolor
           texlive-svn
           texlive-svn-multi
           texlive-svn-prov
           texlive-svninfo
           texlive-swfigure
           texlive-swungdash
           texlive-syntax
           texlive-syntrace
           texlive-synttree
           texlive-tabbing
           texlive-tabfigures
           texlive-tableaux
           texlive-tablefootnote
           texlive-tableof
           texlive-tablists
           texlive-tabls
           texlive-tablvar
           texlive-tabstackengine
           texlive-tabto-ltx
           texlive-tabu
           texlive-tabularborder
           texlive-tabularcalc
           texlive-tabularew
           texlive-tabularray
           texlive-tabulary
           texlive-tagging
           texlive-tagpair
           texlive-tagpdf
           texlive-talk
           texlive-tamefloats
           texlive-tasks
           texlive-tcldoc
           texlive-tcolorbox
           texlive-tdclock
           texlive-technics
           texlive-ted
           texlive-templatetools
           texlive-termcal
           texlive-termlist
           texlive-termsim
           texlive-testhyphens
           texlive-testidx
           texlive-tex-label
           texlive-tex-locale
           texlive-texlogos
           texlive-texmate
           texlive-texments
           texlive-texpower
           texlive-texshade
           texlive-texsurgery
           texlive-textcsc
           texlive-textfit
           texlive-textmerg
           texlive-textpos
           texlive-textualicomma
           texlive-texvc
           texlive-theoremref
           texlive-thinsp
           texlive-thmtools
           texlive-threadcol
           texlive-threeparttable
           texlive-threeparttablex
           texlive-thumb
           texlive-thumbs
           texlive-thumby
           texlive-ticket
           texlive-tipauni
           texlive-titlecaps
           texlive-titlefoot
           texlive-titlepic
           texlive-titleref
           texlive-titlesec
           texlive-titling
           texlive-to-be-determined
           texlive-tocbibind
           texlive-tocdata
           texlive-tocloft
           texlive-tocvsec2
           texlive-todo
           texlive-todonotes
           texlive-tokcycle
           texlive-tokenizer
           texlive-toolbox
           texlive-topfloat
           texlive-topiclongtable
           texlive-totalcount
           texlive-totcount
           texlive-totpages
           texlive-tramlines
           texlive-translations
           texlive-transparent
           texlive-trfsigns
           texlive-trimspaces
           texlive-trivfloat
           texlive-trsym
           texlive-truncate
           texlive-tucv
           texlive-turnthepage
           texlive-twoinone
           texlive-twoup
           texlive-txgreeks
           texlive-type1cm
           texlive-typed-checklist
           texlive-typeface
           texlive-typoaid
           texlive-typogrid
           texlive-uassign
           texlive-ucs
           texlive-uebungsblatt
           texlive-umoline
           texlive-underlin
           texlive-underoverlap
           texlive-undolabl
           texlive-uni-titlepage
           texlive-unicodefonttable
           texlive-unisc
           texlive-unitconv
           texlive-units
           texlive-unravel
           texlive-upmethodology
           texlive-upquote
           texlive-uri
           texlive-ushort
           texlive-uspace
           texlive-utf8add
           texlive-uwmslide
           texlive-variablelm
           texlive-varindex
           texlive-varsfromjobname
           texlive-varwidth
           texlive-vcell
           texlive-vdmlisting
           texlive-verbasef
           texlive-verbatimbox
           texlive-verbatimcopy
           texlive-verbdef
           texlive-verbments
           texlive-verifiche
           texlive-version
           texlive-versions
           texlive-versonotes
           texlive-vertbars
           texlive-vgrid
           texlive-vhistory
           texlive-vmargin
           texlive-volumes
           texlive-vpe
           texlive-vruler
           texlive-vtable
           texlive-vwcol
           texlive-wallcalendar
           texlive-wallpaper
           texlive-warning
           texlive-warpcol
           texlive-was
           texlive-webquiz
           texlive-widetable
           texlive-widows-and-orphans
           texlive-williams
           texlive-willowtreebook
           texlive-withargs
           texlive-wordcount
           texlive-wordlike
           texlive-worksheet
           texlive-wrapfig
           texlive-wrapfig2
           texlive-wrapstuff
           texlive-writeongrid
           texlive-wtref
           texlive-xargs
           texlive-xassoccnt
           texlive-xbmks
           texlive-xcntperchap
           texlive-xcolor-material
           texlive-xcolor-solarized
           texlive-xcomment
           texlive-xcookybooky
           texlive-xcpdftips
           texlive-xdoc
           texlive-xellipsis
           texlive-xfakebold
           texlive-xfor
           texlive-xhfill
           texlive-xifthen
           texlive-xint
           texlive-xkcdcolors
           texlive-xltabular
           texlive-xmpincl
           texlive-xnewcommand
           texlive-xoptarg
           texlive-xpatch
           texlive-xpeek
           texlive-xprintlen
           texlive-xpunctuate
           texlive-xsavebox
           texlive-xsim
           texlive-xstring
           texlive-xtab
           texlive-xurl
           texlive-xwatermark
           texlive-xytree
           texlive-yafoot
           texlive-yagusylo
           texlive-yaletter
           texlive-ycbook
           texlive-ydoc
           texlive-yplan
           texlive-zebra-goodies
           texlive-zed-csp
           texlive-zennote
           texlive-ziffer
           texlive-zref
           texlive-zref-check
           texlive-zref-clever
           texlive-zref-vario
           texlive-zwgetfdate
           texlive-zwpagelayout))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "LaTeX additional packages")
    (description
     "This package provides a very large collection of add-on packages for
LaTeX.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-latexrecommended
  (package
    (name "texlive-collection-latexrecommended")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-anysize
           texlive-attachfile2
           texlive-beamer
           texlive-booktabs
           texlive-breqn
           texlive-caption
           texlive-cite
           texlive-cmap
           texlive-collection-latex
           texlive-crop
           texlive-ctable
           texlive-eso-pic
           texlive-etoolbox
           texlive-euenc
           texlive-euler
           texlive-everysel
           texlive-everyshi
           texlive-extsizes
           texlive-fancybox
           texlive-fancyref
           texlive-fancyvrb
           texlive-filehook
           texlive-float
           texlive-fontspec
           texlive-footnotehyper
           texlive-fp
           texlive-grffile
           texlive-hologo
           texlive-index
           texlive-infwarerr
           texlive-jknapltx
           texlive-koma-script
           texlive-l3experimental
           texlive-latexbug
           texlive-lineno
           texlive-listings
           texlive-lwarp
           texlive-mathspec
           texlive-mathtools
           texlive-mdwtools
           texlive-memoir
           texlive-metalogo
           texlive-microtype
           texlive-ms
           texlive-newfloat
           texlive-ntgclass
           texlive-parskip
           texlive-pdfcolfoot
           texlive-pdflscape
           texlive-pdfmanagement-testphase
           texlive-pdfpages
           texlive-pdftexcmds
           texlive-polyglossia
           texlive-psfrag
           texlive-ragged2e
           texlive-rcs
           texlive-sansmath
           texlive-section
           texlive-seminar
           texlive-sepnum
           texlive-setspace
           texlive-subfig
           texlive-textcase
           texlive-thumbpdf
           texlive-translator
           texlive-typehtml
           texlive-ucharcat
           texlive-underscore
           texlive-unicode-math
           texlive-xcolor
           texlive-xkeyval
           texlive-xltxtra
           texlive-xunicode))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "LaTeX recommended packages")
    (description
     "This package provides a collection of recommended add-on packages for
LaTeX which have widespread use.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-luatex
  (package
    (name "texlive-collection-luatex")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-addliga
           texlive-auto-pst-pdf-lua
           texlive-barracuda
           texlive-bezierplot
           texlive-blopentype
           texlive-checkcites
           texlive-chickenize
           texlive-chinese-jfm
           texlive-cloze
           texlive-collection-basic
           texlive-combofont
           texlive-cstypo
           texlive-ctablestack
           texlive-ekdosis
           texlive-emoji
           texlive-emojicite
           texlive-enigma
           texlive-innerscript
           texlive-interpreter
           texlive-kanaparser
           texlive-ligtype
           texlive-linebreaker
           texlive-lparse
           texlive-lt3luabridge
           texlive-lua-typo
           texlive-lua-uca
           texlive-lua-ul
           texlive-lua-uni-algos
           texlive-lua-visual-debug
           texlive-lua-widow-control
           texlive-luaaddplot
           texlive-luacas
           texlive-luacensor
           texlive-luacode
           texlive-luacolor
           texlive-luacomplex
           texlive-luagcd
           texlive-luahyphenrules
           texlive-luaimageembed
           texlive-luaindex
           texlive-luainputenc
           texlive-luakeys
           texlive-lualatex-math
           texlive-lualatex-truncate
           texlive-lualibs
           texlive-lualinalg
           texlive-luamathalign
           texlive-luamaths
           texlive-luamodulartables
           texlive-luamplib
           texlive-luaoptions
           texlive-luaotfload
           texlive-luapackageloader
           texlive-luaprogtable
           texlive-luaquotes
           texlive-luarandom
           texlive-luaset
           texlive-luatex85
           texlive-luatexbase
           texlive-luatexko
           texlive-luatextra
           texlive-luatruthtable
           texlive-luavlna
           texlive-luaxml
           texlive-lutabulartools
           texlive-minim
           texlive-minim-math
           texlive-minim-mp
           texlive-minim-pdf
           texlive-minim-xmp
           texlive-newpax
           texlive-nodetree
           texlive-odsfile
           texlive-optex
           texlive-pdfarticle
           texlive-pdfextra
           texlive-penlight
           texlive-piton
           texlive-placeat
           texlive-plantuml
           texlive-pyluatex
           texlive-scikgtex
           texlive-selnolig
           texlive-showhyphenation
           texlive-showkerning
           texlive-spacekern
           texlive-spelling
           texlive-stricttex
           texlive-truthtable
           texlive-tsvtemplate
           texlive-typewriter
           texlive-uninormalize
           texlive-yamlvars))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "LuaTeX packages")
    (description
     "This is a collection of packages for LuaTeX, a TeX engine using Lua as
an embedded scripting and extension language, with native support for Unicode,
OpenType/TrueType fonts, and both PDF and DVI output.  The LuaTeX engine
itself, and plain formats, are in @code{collection-basic}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-mathscience
  (package
    (name "texlive-collection-mathscience")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-12many
           texlive-accents
           texlive-alg
           texlive-algobox
           texlive-algorithm2e
           texlive-algorithmicx
           texlive-algorithms
           texlive-algpseudocodex
           texlive-algxpar
           texlive-aligned-overset
           texlive-amscdx
           texlive-amstex
           texlive-annotate-equations
           texlive-apxproof
           texlive-autobreak
           texlive-axodraw2
           texlive-backnaur
           texlive-begriff
           texlive-binomexp
           texlive-biocon
           texlive-bitpattern
           texlive-bodeplot
           texlive-bohr
           texlive-boldtensors
           texlive-bosisio
           texlive-bpchem
           texlive-bropd
           texlive-bussproofs
           texlive-bussproofs-extra
           texlive-bytefield
           texlive-calculation
           texlive-cartonaugh
           texlive-cascade
           texlive-causets
           texlive-ccfonts
           texlive-ccool
           texlive-chemarrow
           texlive-chemcompounds
           texlive-chemcono
           texlive-chemexec
           texlive-chemformula
           texlive-chemgreek
           texlive-chemmacros
           texlive-chemnum
           texlive-chemobabel
           texlive-chemplants
           texlive-chemschemex
           texlive-chemsec
           texlive-chemstyle
           texlive-clrscode
           texlive-clrscode3e
           texlive-codeanatomy
           texlive-collection-fontsrecommended
           texlive-collection-latex
           texlive-commath
           texlive-commutative-diagrams
           texlive-complexity
           texlive-computational-complexity
           texlive-concmath
           texlive-concrete
           texlive-conteq
           texlive-correctmathalign
           texlive-cryptocode
           texlive-csassignments
           texlive-cvss
           texlive-decision-table
           texlive-delim
           texlive-delimseasy
           texlive-delimset
           texlive-derivative
           texlive-diffcoeff
           texlive-digiconfigs
           texlive-dijkstra
           texlive-drawmatrix
           texlive-drawstack
           texlive-dyntree
           texlive-easing
           texlive-ebproof
           texlive-econometrics
           texlive-eltex
           texlive-emf
           texlive-endiagram
           texlive-engtlc
           texlive-eolang
           texlive-eqexpl
           texlive-eqnarray
           texlive-eqnnumwarn
           texlive-euclideangeometry
           texlive-extarrows
           texlive-extpfeil
           texlive-faktor
           texlive-fascicules
           texlive-fixdif
           texlive-fixmath
           texlive-fnspe
           texlive-formal-grammar
           texlive-fouridx
           texlive-functan
           texlive-galois
           texlive-gastex
           texlive-gene-logic
           texlive-ghsystem
           texlive-glosmathtools
           texlive-gotoh
           texlive-grundgesetze
           texlive-gu
           texlive-helmholtz-ellis-ji-notation
           texlive-hep
           texlive-hep-reference
           texlive-hepnames
           texlive-hepparticles
           texlive-hepthesis
           texlive-hepunits
           texlive-ibrackets
           texlive-includernw
           texlive-interval
           texlive-ionumbers
           texlive-isomath
           texlive-jkmath
           texlive-jupynotex
           texlive-karnaugh
           texlive-karnaugh-map
           texlive-karnaughmap
           texlive-kvmap
           texlive-letterswitharrows
           texlive-lie-hasse
           texlive-logicproof
           texlive-longdivision
           texlive-lpform
           texlive-lplfitch
           texlive-lstbayes
           texlive-mathcommand
           texlive-mathcomp
           texlive-mathfixs
           texlive-mathlig
           texlive-mathpartir
           texlive-mathpunctspace
           texlive-mathsemantics
           texlive-matlab-prettifier
           texlive-matrix-skeleton
           texlive-mattens
           texlive-mecaso
           texlive-membranecomputing
           texlive-memorygraphs
           texlive-messagepassing
           texlive-mgltex
           texlive-mhchem
           texlive-mhequ
           texlive-miller
           texlive-mismath
           texlive-multiobjective
           texlive-naive-ebnf
           texlive-namedtensor
           texlive-natded
           texlive-nath
           texlive-nchairx
           texlive-nicematrix
           texlive-nuc
           texlive-nucleardata
           texlive-numerica
           texlive-numerica-plus
           texlive-numerica-tables
           texlive-objectz
           texlive-oplotsymbl
           texlive-ot-tableau
           texlive-oubraces
           texlive-overarrows
           texlive-pascaltriangle
           texlive-perfectcut
           texlive-pfdicons
           texlive-physconst
           texlive-physics
           texlive-physics2
           texlive-physunits
           texlive-pinoutikz
           texlive-pm-isomath
           texlive-polexpr
           texlive-prftree
           texlive-principia
           texlive-proba
           texlive-proof-at-the-end
           texlive-prooftrees
           texlive-pseudo
           texlive-pseudocode
           texlive-pythonhighlight
           texlive-qsharp
           texlive-rank-2-roots
           texlive-rbt-mathnotes
           texlive-rec-thy
           texlive-resolsysteme
           texlive-rest-api
           texlive-revquantum
           texlive-ribbonproofs
           texlive-rmathbr
           texlive-sankey
           texlive-sasnrdisplay
           texlive-sciposter
           texlive-sclang-prettifier
           texlive-scratchx
           texlive-sesamanuel
           texlive-sfg
           texlive-shuffle
           texlive-simplebnf
           texlive-simpler-wick
           texlive-simples-matrices
           texlive-simplewick
           texlive-sistyle
           texlive-siunits
           texlive-siunitx
           texlive-skmath
           texlive-spalign
           texlive-spbmark
           texlive-stanli
           texlive-statex
           texlive-statex2
           texlive-statistics
           texlive-statistik
           texlive-statmath
           texlive-steinmetz
           texlive-stmaryrd
           texlive-structmech
           texlive-struktex
           texlive-substances
           texlive-subsupscripts
           texlive-subtext
           texlive-susy
           texlive-syllogism
           texlive-sympytexpackage
           texlive-synproof
           texlive-t-angles
           texlive-tablor
           texlive-tensind
           texlive-tensor
           texlive-tex-ewd
           texlive-textgreek
           texlive-textopo
           texlive-thermodynamics
           texlive-thmbox
           texlive-tiscreen
           texlive-turnstile
           texlive-ulqda
           texlive-unitsdef
           texlive-venn
           texlive-witharrows
           texlive-xymtex
           texlive-yhmath
           texlive-youngtab
           texlive-yquant
           texlive-ytableau
           texlive-zx-calculus))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Mathematics, natural sciences, computer science packages")
    (description
     "This collection provides mathematics, natural sciences, and computer
science packages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-metapost
  (package
    (name "texlive-collection-metapost")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-automata
           texlive-bbcard
           texlive-blockdraw-mp
           texlive-bpolynomial
           texlive-cmarrows
           texlive-collection-basic
           texlive-drv
           texlive-dviincl
           texlive-emp
           texlive-epsincl
           texlive-expressg
           texlive-exteps
           texlive-featpost
           texlive-feynmf
           texlive-feynmp-auto
           texlive-fiziko
           texlive-garrigues
           texlive-gmp
           texlive-hatching
           texlive-hershey-mp
           texlive-latexmp
           texlive-mcf2graph
           texlive-metago
           texlive-metaobj
           texlive-metaplot
           texlive-metapost
           texlive-metapost-colorbrewer
           texlive-metauml
           texlive-mfpic
           texlive-mfpic4ode
           texlive-minim-hatching
           texlive-mp3d
           texlive-mparrows
           texlive-mpattern
           texlive-mpcolornames
           texlive-mpgraphics
           texlive-mptrees
           texlive-piechartmp
           texlive-repere
           texlive-roex
           texlive-roundrect
           texlive-shapes
           texlive-slideshow
           texlive-splines
           texlive-suanpan
           texlive-textpath
           texlive-threeddice))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "MetaPost and Metafont packages")
    (description
     "This collection includes all MetaPost and Metafont packages, along
with packages in @code{collection-basic}.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-music
  (package
    (name "texlive-collection-music")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-abc
           texlive-autosp
           texlive-bagpipe
           texlive-chordbars
           texlive-chordbox
           texlive-collection-latex
           texlive-ddphonism
           texlive-figbas
           texlive-gchords
           texlive-gregoriotex
           texlive-gtrcrd
           texlive-guitar
           texlive-guitarchordschemes
           texlive-guitartabs
           texlive-harmony
           texlive-latex4musicians
           texlive-leadsheets
           texlive-lilyglyphs
           texlive-lyluatex
           texlive-m-tx
           texlive-musical
           texlive-musicography
           texlive-musixguit
           texlive-musixtex
           texlive-musixtex-fonts
           texlive-musixtnt
           texlive-octave
           texlive-piano
           texlive-pmx
           texlive-pmxchords
           texlive-recorder-fingering
           texlive-songbook
           texlive-songproj
           texlive-songs
           texlive-xml2pmx
           texlive-xpiano))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Music packages")
    (description "This collection includes music-related fonts and packages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-pictures
  (package
    (name "texlive-collection-pictures")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-adigraph
           texlive-aobs-tikz
           texlive-askmaps
           texlive-asyfig
           texlive-asypictureb
           texlive-autoarea
           texlive-bardiag
           texlive-beamerswitch
           texlive-binarytree
           texlive-blochsphere
           texlive-bloques
           texlive-blox
           texlive-bodegraph
           texlive-bondgraph
           texlive-bondgraphs
           texlive-braids
           texlive-bxeepic
           texlive-byo-twemojis
           texlive-byrne
           texlive-cachepic
           texlive-callouts
           texlive-celtic
           texlive-chemfig
           texlive-circuit-macros
           texlive-circuitikz
           texlive-coffeestains
           texlive-collection-basic
           texlive-combinedgraphics
           texlive-curve
           texlive-curve2e
           texlive-curves
           texlive-dcpic
           texlive-diagmac2
           texlive-ditaa
           texlive-doc-pictex
           texlive-dot2texi
           texlive-dottex
           texlive-dpcircling
           texlive-dratex
           texlive-drs
           texlive-duotenzor
           texlive-dynkin-diagrams
           texlive-ecgdraw
           texlive-eepic
           texlive-ellipse
           texlive-endofproofwd
           texlive-epspdf
           texlive-epspdfconversion
           texlive-esk
           texlive-euflag
           texlive-fast-diagram
           texlive-fig4latex
           texlive-figchild
           texlive-figput
           texlive-fitbox
           texlive-flowchart
           texlive-forest
           texlive-genealogytree
           texlive-getmap
           texlive-gincltex
           texlive-gnuplottex
           texlive-gradientframe
           texlive-grafcet
           texlive-graph35
           texlive-graphicxpsd
           texlive-graphviz
           texlive-gtrlib-largetrees
           texlive-harveyballs
           texlive-here
           texlive-hf-tikz
           texlive-hobby
           texlive-hvfloat
           texlive-istgame
           texlive-kblocks
           texlive-kinematikz
           texlive-knitting
           texlive-knittingpattern
           texlive-ladder
           texlive-lapdf
           texlive-latex-make
           texlive-liftarm
           texlive-lpic
           texlive-lroundrect
           texlive-luamesh
           texlive-luasseq
           texlive-maker
           texlive-makeshape
           texlive-mathspic
           texlive-mercatormap
           texlive-milsymb
           texlive-miniplot
           texlive-mkpic
           texlive-modiagram
           texlive-neuralnetwork
           texlive-nl-interval
           texlive-nndraw
           texlive-numericplots
           texlive-outilsgeomtikz
           texlive-pb-diagram
           texlive-petri-nets
           texlive-pgf
           texlive-pgf-blur
           texlive-pgf-interference
           texlive-pgf-periodictable
           texlive-pgf-pie
           texlive-pgf-soroban
           texlive-pgf-spectra
           texlive-pgf-umlcd
           texlive-pgf-umlsd
           texlive-pgfgantt
           texlive-pgfkeyx
           texlive-pgfmolbio
           texlive-pgfmorepages
           texlive-pgfopts
           texlive-pgfornament
           texlive-pgfplots
           texlive-picinpar
           texlive-pict2e
           texlive-pictex
           texlive-pictex2
           texlive-pinlabel
           texlive-pixelart
           texlive-pixelarttikz
           texlive-pmgraph
           texlive-postage
           texlive-prerex
           texlive-productbox
           texlive-ptolemaicastronomy
           texlive-puyotikz
           texlive-pxpgfmark
           texlive-pxpic
           texlive-qcircuit
           texlive-qrcode
           texlive-quantikz
           texlive-randbild
           texlive-randomwalk
           texlive-realhats
           texlive-reotex
           texlive-robotarm
           texlive-rviewport
           texlive-sa-tikz
           texlive-sacsymb
           texlive-schemabloc
           texlive-scratch
           texlive-scratch3
           texlive-scsnowman
           texlive-setdeck
           texlive-signchart
           texlive-simplenodes
           texlive-simpleoptics
           texlive-smartdiagram
           texlive-spath3
           texlive-spectralsequences
           texlive-strands
           texlive-swimgraf
           texlive-syntaxdi
           texlive-table-fct
           texlive-texdraw
           texlive-ticollege
           texlive-tikz-3dplot
           texlive-tikz-among-us
           texlive-tikz-bagua
           texlive-tikz-bayesnet
           texlive-tikz-bbox
           texlive-tikz-cd
           texlive-tikz-dependency
           texlive-tikz-dimline
           texlive-tikz-ext
           texlive-tikz-feynhand
           texlive-tikz-feynman
           texlive-tikz-imagelabels
           texlive-tikz-inet
           texlive-tikz-kalender
           texlive-tikz-karnaugh
           texlive-tikz-ladder
           texlive-tikz-lake-fig
           texlive-tikz-layers
           texlive-tikz-mirror-lens
           texlive-tikz-nef
           texlive-tikz-network
           texlive-tikz-opm
           texlive-tikz-optics
           texlive-tikz-page
           texlive-tikz-palattice
           texlive-tikz-planets
           texlive-tikz-qtree
           texlive-tikz-relay
           texlive-tikz-sfc
           texlive-tikz-swigs
           texlive-tikz-timing
           texlive-tikz-trackschematic
           texlive-tikz-truchet
           texlive-tikzbricks
           texlive-tikzcodeblocks
           texlive-tikzducks
           texlive-tikzfill
           texlive-tikzinclude
           texlive-tikzlings
           texlive-tikzmark
           texlive-tikzmarmots
           texlive-tikzorbital
           texlive-tikzpackets
           texlive-tikzpagenodes
           texlive-tikzpeople
           texlive-tikzpfeile
           texlive-tikzpingus
           texlive-tikzposter
           texlive-tikzscale
           texlive-tikzsymbols
           texlive-tikztosvg
           texlive-tikzviolinplots
           texlive-tile-graphic
           texlive-timing-diagrams
           texlive-tipfr
           texlive-tkz-base
           texlive-tkz-berge
           texlive-tkz-doc
           texlive-tkz-euclide
           texlive-tkz-fct
           texlive-tkz-graph
           texlive-tkz-orm
           texlive-tkz-tab
           texlive-tkzexample
           texlive-tonevalue
           texlive-tqft
           texlive-tsemlines
           texlive-tufte-latex
           texlive-twemojis
           texlive-tzplot
           texlive-utfsym
           texlive-venndiagram
           texlive-visualpstricks
           texlive-wheelchart
           texlive-worldflags
           texlive-xistercian
           texlive-xpicture
           texlive-xypic))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Graphics, pictures, diagrams")
    (description
     "This collection provides packages related to graphics, pictures, and
diagrams.  It includes TikZ, @code{pict}, etc.  However, MetaPost and
PStricks are separate.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-plaingeneric
  (package
    (name "texlive-collection-plaingeneric")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-abbr
           texlive-abstyles
           texlive-apnum
           texlive-autoaligne
           texlive-barr
           texlive-bitelist
           texlive-borceux
           texlive-c-pascal
           texlive-catcodes
           texlive-chronosys
           texlive-collection-basic
           texlive-colorsep
           texlive-compare
           texlive-crossrefenum
           texlive-cweb-old
           texlive-dinat
           texlive-dirtree
           texlive-docbytex
           texlive-dowith
           texlive-eijkhout
           texlive-encxvlna
           texlive-epigram
           texlive-epsf
           texlive-epsf-dvipdfmx
           texlive-expex-acro
           texlive-expkv-bundle
           texlive-fenixpar
           texlive-figflow
           texlive-fixpdfmag
           texlive-fltpoint
           texlive-fntproof
           texlive-font-change
           texlive-fontch
           texlive-fontname
           texlive-gates
           texlive-getoptk
           texlive-gfnotation
           texlive-gobble
           texlive-graphics-pln
           texlive-gtl
           texlive-hlist
           texlive-hyplain
           texlive-inputnormalization
           texlive-insbox
           texlive-js-misc
           texlive-kastrup
           texlive-lambda-lists
           texlive-langcode
           texlive-lecturer
           texlive-letterspacing
           texlive-librarian
           texlive-listofitems
           texlive-localloc
           texlive-mathdots
           texlive-metatex
           texlive-midnight
           texlive-mkpattern
           texlive-modulus
           texlive-multido
           texlive-namedef
           texlive-navigator
           texlive-newsletr
           texlive-nth
           texlive-ofs
           texlive-olsak-misc
           texlive-outerhbox
           texlive-path
           texlive-pdf-trans
           texlive-pdfmsym
           texlive-pitex
           texlive-placeins-plain
           texlive-plainpkg
           texlive-plipsum
           texlive-plnfss
           texlive-plstmary
           texlive-poormanlog
           texlive-present
           texlive-pwebmac
           texlive-random
           texlive-randomlist
           texlive-resumemac
           texlive-ruler
           texlive-schemata
           texlive-shade
           texlive-simplekv
           texlive-soul
           texlive-swrule
           texlive-systeme
           texlive-tabto-generic
           texlive-termmenu
           texlive-tex-ps
           texlive-tex4ht
           texlive-texapi
           texlive-texdate
           texlive-texdimens
           texlive-texinfo
           texlive-timetable
           texlive-tracklang
           texlive-transparent-io
           texlive-treetex
           texlive-trigonometry
           texlive-ulem
           texlive-upca
           texlive-varisize
           texlive-xii
           texlive-xii-lat
           texlive-xintsession
           texlive-xlop
           texlive-yax
           texlive-zztex))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Plain (La)TeX packages")
    (description
     "This consist of add-on packages and macros that work with plain TeX,
often LaTeX, and occasionally other formats.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-pstricks
  (package
    (name "texlive-collection-pstricks")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-auto-pst-pdf
           texlive-bclogo
           texlive-collection-basic
           texlive-collection-plaingeneric
           texlive-dsptricks
           texlive-luapstricks
           texlive-makeplot
           texlive-pdftricks
           texlive-pdftricks2
           texlive-pedigree-perl
           texlive-psbao
           texlive-pst-2dplot
           texlive-pst-3d
           texlive-pst-3dplot
           texlive-pst-abspos
           texlive-pst-am
           texlive-pst-antiprism
           texlive-pst-arrow
           texlive-pst-asr
           texlive-pst-bar
           texlive-pst-barcode
           texlive-pst-bezier
           texlive-pst-blur
           texlive-pst-bspline
           texlive-pst-calculate
           texlive-pst-calendar
           texlive-pst-cie
           texlive-pst-circ
           texlive-pst-coil
           texlive-pst-contourplot
           texlive-pst-cox
           texlive-pst-dart
           texlive-pst-dbicons
           texlive-pst-diffraction
           texlive-pst-electricfield
           texlive-pst-eps
           texlive-pst-eucl
           texlive-pst-exa
           texlive-pst-feyn
           texlive-pst-fill
           texlive-pst-fit
           texlive-pst-flags
           texlive-pst-fr3d
           texlive-pst-fractal
           texlive-pst-fun
           texlive-pst-func
           texlive-pst-gantt
           texlive-pst-geo
           texlive-pst-geometrictools
           texlive-pst-gr3d
           texlive-pst-grad
           texlive-pst-graphicx
           texlive-pst-hsb
           texlive-pst-infixplot
           texlive-pst-intersect
           texlive-pst-jtree
           texlive-pst-knot
           texlive-pst-labo
           texlive-pst-layout
           texlive-pst-lens
           texlive-pst-light3d
           texlive-pst-lsystem
           texlive-pst-magneticfield
           texlive-pst-marble
           texlive-pst-math
           texlive-pst-mirror
           texlive-pst-moire
           texlive-pst-node
           texlive-pst-ob3d
           texlive-pst-ode
           texlive-pst-optexp
           texlive-pst-optic
           texlive-pst-osci
           texlive-pst-ovl
           texlive-pst-pad
           texlive-pst-pdf
           texlive-pst-pdgr
           texlive-pst-perspective
           texlive-pst-platon
           texlive-pst-plot
           texlive-pst-poker
           texlive-pst-poly
           texlive-pst-pulley
           texlive-pst-qtree
           texlive-pst-rputover
           texlive-pst-rubans
           texlive-pst-shell
           texlive-pst-sigsys
           texlive-pst-slpe
           texlive-pst-solarsystem
           texlive-pst-solides3d
           texlive-pst-soroban
           texlive-pst-spectra
           texlive-pst-spinner
           texlive-pst-stru
           texlive-pst-support
           texlive-pst-text
           texlive-pst-thick
           texlive-pst-tools
           texlive-pst-tree
           texlive-pst-turtle
           texlive-pst-tvz
           texlive-pst-uml
           texlive-pst-vectorian
           texlive-pst-vehicle
           texlive-pst-venn
           texlive-pst-vowel
           texlive-pst2pdf
           texlive-pstricks
           texlive-pstricks-add
           texlive-pstricks-calcnotes
           texlive-uml
           texlive-vaucanson-g
           texlive-vocaltract))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "PSTricks core and add-ons")
    (description
     "This collection provides PSTricks core and all add-on packages.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-publishers
  (package
    (name "texlive-collection-publishers")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-aastex
           texlive-abnt
           texlive-abntex2
           texlive-abntexto
           texlive-acmart
           texlive-acmconf
           texlive-active-conf
           texlive-adfathesis
           texlive-afparticle
           texlive-afthesis
           texlive-aguplus
           texlive-aiaa
           texlive-anonymous-acm
           texlive-anufinalexam
           texlive-aomart
           texlive-apa
           texlive-apa6
           texlive-apa6e
           texlive-apa7
           texlive-arsclassica
           texlive-articleingud
           texlive-asaetr
           texlive-ascelike
           texlive-asmeconf
           texlive-asmejour
           texlive-aucklandthesis
           texlive-bangorcsthesis
           texlive-bangorexam
           texlive-bath-bst
           texlive-beamer-fuberlin
           texlive-beamer-verona
           texlive-beilstein
           texlive-bfh-ci
           texlive-bgteubner
           texlive-bjfuthesis
           texlive-bmstu
           texlive-bmstu-iu8
           texlive-br-lex
           texlive-brandeis-dissertation
           texlive-brandeis-problemset
           texlive-brandeis-thesis
           texlive-buctthesis
           texlive-cascadilla
           texlive-cesenaexam
           texlive-chem-journal
           texlive-chifoot
           texlive-chs-physics-report
           texlive-cje
           texlive-classicthesis
           texlive-cleanthesis
           texlive-cmpj
           texlive-collection-latex
           texlive-confproc
           texlive-cquthesis
           texlive-dccpaper
           texlive-dithesis
           texlive-ebook
           texlive-ebsthesis
           texlive-ecothesis
           texlive-ejpecp
           texlive-ekaia
           texlive-elbioimp
           texlive-els-cas-templates
           texlive-elsarticle
           texlive-elteikthesis
           texlive-emisa
           texlive-erdc
           texlive-estcpmm
           texlive-etsvthor
           texlive-facture-belge-simple-sans-tva
           texlive-fbithesis
           texlive-fcavtex
           texlive-fcltxdoc
           texlive-fei
           texlive-ftc-notebook
           texlive-gaceta
           texlive-gammas
           texlive-geradwp
           texlive-gfdl
           texlive-gradstudentresume
           texlive-grant
           texlive-gsemthesis
           texlive-gzt
           texlive-h2020proposal
           texlive-hagenberg-thesis
           texlive-har2nat
           texlive-hecthese
           texlive-hep-paper
           texlive-hfutexam
           texlive-hfutthesis
           texlive-hithesis
           texlive-hitszbeamer
           texlive-hitszthesis
           texlive-hobete
           texlive-hu-berlin-bundle
           texlive-hustthesis
           texlive-icsv
           texlive-ieeeconf
           texlive-ieeepes
           texlive-ieeetran
           texlive-ijmart
           texlive-ijsra
           texlive-imac
           texlive-imtekda
           texlive-inkpaper
           texlive-iodhbwm
           texlive-iscram
           texlive-jacow
           texlive-jmlr
           texlive-jnuexam
           texlive-jourcl
           texlive-jpsj
           texlive-jwjournal
           texlive-kdgdocs
           texlive-kdpcover
           texlive-kfupm-math-exam
           texlive-kluwer
           texlive-ksp-thesis
           texlive-ku-template
           texlive-langsci
           texlive-langsci-avm
           texlive-limecv
           texlive-lion-msc
           texlive-llncs
           texlive-llncsconf
           texlive-lni
           texlive-lps
           texlive-matc3
           texlive-matc3mem
           texlive-mcmthesis
           texlive-mentis
           texlive-mlacls
           texlive-mluexercise
           texlive-mnras
           texlive-modeles-factures-belges-assocs
           texlive-msu-thesis
           texlive-mucproc
           texlive-mugsthesis
           texlive-muling
           texlive-musuos
           texlive-muthesis
           texlive-mynsfc
           texlive-nature
           texlive-navydocs
           texlive-nddiss
           texlive-ndsu-thesis
           texlive-ndsu-thesis-2022
           texlive-nih
           texlive-nihbiosketch
           texlive-njustthesis
           texlive-njuthesis
           texlive-njuvisual
           texlive-nostarch
           texlive-novel
           texlive-nrc
           texlive-nwafuthesis
           texlive-nwejm
           texlive-onrannual
           texlive-opteng
           texlive-oup-authoring-template
           texlive-philosophersimprint
           texlive-pittetd
           texlive-pkuthss
           texlive-powerdot-fuberlin
           texlive-powerdot-tuliplab
           texlive-pracjourn
           texlive-prociagssymp
           texlive-proposal
           texlive-prtec
           texlive-ptptex
           texlive-qrbill
           texlive-quantumarticle
           texlive-resphilosophica
           texlive-resumecls
           texlive-revtex
           texlive-revtex4
           texlive-revtex4-1
           texlive-rutitlepage
           texlive-ryersonsgsthesis
           texlive-ryethesis
           texlive-sageep
           texlive-sapthesis
           texlive-schule
           texlive-scientific-thesis-cover
           texlive-scripture
           texlive-scrjrnl
           texlive-sduthesis
           texlive-se2thesis
           texlive-seu-ml-assign
           texlive-seuthesis
           texlive-seuthesix
           texlive-shortmathj
           texlive-shtthesis
           texlive-smflatex
           texlive-soton
           texlive-sphdthesis
           texlive-spie
           texlive-sr-vorl
           texlive-srdp-mathematik
           texlive-stellenbosch
           texlive-suftesi
           texlive-sugconf
           texlive-tabriz-thesis
           texlive-technion-thesis-template
           texlive-texilikechaps
           texlive-texilikecover
           texlive-thesis-ekf
           texlive-thesis-gwu
           texlive-thesis-qom
           texlive-thesis-titlepage-fhac
           texlive-thuaslogos
           texlive-thubeamer
           texlive-thucoursework
           texlive-thuthesis
           texlive-tidyres
           texlive-timbreicmc
           texlive-tlc-article
           texlive-topletter
           texlive-toptesi
           texlive-tuda-ci
           texlive-tudscr
           texlive-tugboat
           texlive-tugboat-plain
           texlive-tui
           texlive-turabian
           texlive-uaclasses
           texlive-uafthesis
           texlive-uantwerpendocs
           texlive-ucalgmthesis
           texlive-ucbthesis
           texlive-ucdavisthesis
           texlive-ucsmonograph
           texlive-ucthesis
           texlive-udes-genie-these
           texlive-uestcthesis
           texlive-ufrgscca
           texlive-uhhassignment
           texlive-uiucredborder
           texlive-uiucthesis
           texlive-ukbill
           texlive-ulthese
           texlive-umbclegislation
           texlive-umich-thesis
           texlive-umthesis
           texlive-unam-thesis
           texlive-unamth-template
           texlive-unamthesis
           texlive-unbtex
           texlive-unifith
           texlive-unigrazpub
           texlive-unitn-bimrep
           texlive-univie-ling
           texlive-unizgklasa
           texlive-unswcover
           texlive-uol-physics-report
           texlive-uothesis
           texlive-uowthesis
           texlive-uowthesistitlepage
           texlive-urcls
           texlive-uspatent
           texlive-ut-thesis
           texlive-utexasthesis
           texlive-uvaletter
           texlive-uwa-colours
           texlive-uwa-letterhead
           texlive-uwa-pcf
           texlive-uwa-pif
           texlive-uwthesis
           texlive-vancouver
           texlive-wsemclassic
           texlive-xduthesis
           texlive-xduts
           texlive-xmuthesis
           texlive-yathesis
           texlive-yazd-thesis
           texlive-yb-book
           texlive-york-thesis))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "Publisher styles, theses, etc.")
    (description "This collection includes publisher styles, theses, etc.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-collection-xetex
  (package
    (name "texlive-collection-xetex")
    (version (package-version texlive-source))
    (source #f)
    (build-system trivial-build-system)
    (arguments (list #:builder #~(mkdir #$output)))
    (propagated-inputs
     (list texlive-arabxetex
           texlive-awesomebox
           texlive-bidi-atbegshi
           texlive-bidicontour
           texlive-bidipagegrid
           texlive-bidipresentation
           texlive-bidishadowtext
           texlive-businesscard-qrcode
           texlive-collection-basic
           texlive-cqubeamer
           texlive-fixlatvian
           texlive-font-change-xetex
           texlive-fontbook
           texlive-fontwrap
           texlive-interchar
           texlive-na-position
           texlive-philokalia
           texlive-ptext
           texlive-realscripts
           texlive-simple-resume-cv
           texlive-simple-thesis-dissertation
           texlive-tetragonos
           texlive-ucharclasses
           texlive-unicode-bidi
           texlive-unimath-plain-xetex
           texlive-unisugar
           texlive-xebaposter
           texlive-xechangebar
           texlive-xecolor
           texlive-xecyr
           texlive-xeindex
           texlive-xesearch
           texlive-xespotcolor
           texlive-xetex
           texlive-xetex-itrans
           texlive-xetex-pstricks
           texlive-xetex-tibetan
           texlive-xetexconfig
           texlive-xetexfontinfo
           texlive-xetexko
           texlive-xevlna
           texlive-zbmath-review-template))
    (home-page "https://www.tug.org/texlive/")
    (synopsis "XeTeX and packages")
    (description
     "This collection includes packages for XeTeX, the Unicode and
OpenType-enabled TeX by Jonathan Kew.")
    (license (license:fsf-free "https://www.tug.org/texlive/copying.html"))))

(define-public texlive-grfext
  (package
    (name "texlive-grfext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grfext/" "source/latex/grfext/"
                                     "tex/latex/grfext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x35r10mkjg8dzx7aj99y4dwyf69jgs41qwapdx523lbglywmgxp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grfext")
    (synopsis "Manipulate the @code{graphics} package's list of extensions")
    (description
     "This package provides macros for adding to, and reordering the list of
graphics file extensions recognised by package @code{graphics}.")
    (license license:lppl1.3c+)))

(define-public texlive-addliga
  (package
    (name "texlive-addliga")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/addliga/"
                                     "tex/lualatex/addliga/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gbdbwskba1rf3bmvwms3i3crj3dcqqg69wdzfdyy1a6ml05qpc7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/addliga")
    (synopsis "Access basic ligatures in legacy TrueType fonts")
    (description
     "This small and simple package allows LuaLaTeX users to access basic
ligatures (ff, fi, ffi, fl, ffl) in legacy TrueType fonts (those
lacking a liga table) accessed via @code{fontspec}.")
    (license license:public-domain)))

(define-public texlive-adigraph
  (package
    (name "texlive-adigraph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/adigraph/" "tex/latex/adigraph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jdvplrkq5qd1ad55vlsbgmxc438gp5nw54hmhs799j2k6lz6yyl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adigraph")
    (synopsis "Augmenting directed graphs")
    (description
     "This LaTeX package provides the means to easily draw augmenting oriented
graphs, as well as cuts on them, to demonstrate steps of algorithms for
solving max-flow min-cut problems.")
    (license license:expat)))

(define-public texlive-adjustbox
  (package
    (name "texlive-adjustbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/adjustbox/"
                                     "source/latex/adjustbox/"
                                     "tex/latex/adjustbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02iqc3i3n3d16xx8hgfy5s28h26fhnqf1f4kcxap6rssr165jj3h"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (propagated-inputs
     (list texlive-collectbox texlive-graphics texlive-xkeyval))
    (home-page "https://ctan.org/pkg/adjustbox")
    (synopsis "Graphics package-alike macros for general boxes")
    (description "The package provides several macros to adjust boxed
content.  One purpose is to supplement the standard @code{graphics} package,
which defines the macros @code{\\resizebox}, @code{\\scalebox} and
@code{\\rotatebox} , with the macros @code{\\trimbox} and @code{\\clipbox}.
The main feature is the general @code{\\adjustbox} macro which extends the
@code{key=value} interface of @code{\\includegraphics} from the
@code{graphics} package and applies it to general text content.  Additional
provided box macros are @code{\\lapbox}, @code{\\marginbox},
@code{\\minsizebox}, @code{\\maxsizebox} and @code{\\phantombox}.")
    (license license:lppl1.3+)))

(define-public texlive-aobs-tikz
  (package
    (name "texlive-aobs-tikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aobs-tikz/"
                                     "source/latex/aobs-tikz/"
                                     "tex/latex/aobs-tikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04p3ghywqb3nr91vh6l39f8z9gbb3r6ca6yvq3nrcsqarxypfqny"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aobs-tikz")
    (synopsis "TikZ styles for creating overlaid pictures in beamer")
    (description
     "The package defines auxiliary TikZ styles useful for overlaying pictures
elements in Beamer.")
    (license license:lppl1.3+)))

(define-public texlive-askmaps
  (package
    (name "texlive-askmaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/askmaps/" "tex/latex/askmaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l61gq2i1di9zn6s2nf5sn0pdp3z78rij17sgjywy0xka43znhlk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/askmaps")
    (synopsis "Typeset American style Karnaugh maps")
    (description
     "The package provides 1, 2, 3, 4 and 5 variable Karnaugh maps, in the
style used in numerous American textbooks on digital design.  The package
draws K-maps where the most significant input variables are placed on top of
the columns and the least significant variables are placed left of the rows.")
    (license license:lppl)))

(define-public texlive-asyfig
  (package
    (name "texlive-asyfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/asyfig/" "source/latex/asyfig/"
                                     "tex/latex/asyfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0116a920z8hq3v50gmgh3f8diq7307wx0zsh2pmznw7gkvn6rn4k"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-filecontents")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list texlive-filecontents))
    (home-page "https://ctan.org/pkg/asyfig")
    (synopsis "Commands for using Asymptote figures")
    (description
     "The package provides a means of reading Asymptote figures from separate
files, rather than within the document, as is standard in the @code{asymptote}
package, which is provided as part of the Asymptote bundle.  The Asymptote way
can prove cumbersome in a large document; the present package allows the user
to process one picture at a time, in simple test documents, and then to
migrate (with no fuss) to their use in the target document.")
    (license license:lppl)))

(define-public texlive-asypictureb
  (package
    (name "texlive-asypictureb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/asypictureb/"
                                     "source/latex/asypictureb/"
                                     "tex/latex/asypictureb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1djlphr3iz0l0x2pf8abd251q78rml6435f6ng7fa553anwgwya9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asypictureb")
    (synopsis "User-friendly integration of Asymptote into LaTeX")
    (description
     "The package is an unofficial alternative to the package provided with
the Asymptote distribution, for including pictures within a LaTeX source file.
While it does not duplicate all the features of the official package, this
package is more user-friendly in several ways.  Most notably, Asymptote errors
are repackaged as LaTeX errors, making debugging less of a pain.  It also has
a more robust mechanism for identifying unchanged pictures that need not be
recompiled.")
    (license license:lppl1.3+)))

(define-public texlive-auto-pst-pdf-lua
  (package
    (name "texlive-auto-pst-pdf-lua")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/auto-pst-pdf-lua/"
                                     "tex/latex/auto-pst-pdf-lua/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "104pyx524icnx5aczdlilgj5rkfa4jb27g5maja0fbgardz73l0g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-iftex))
    (home-page "https://ctan.org/pkg/auto-pst-pdf-lua")
    (synopsis "Using LuaLaTeX together with PostScript code")
    (description
     "This package is a slightly modified version of @code{auto-pst-pdf} by
Will Robertson, which itself is a wrapper for @code{pst-pdf} by Rolf
Niepraschk.  The package allows the use of LuaLaTeX together with PostScript
related code, e.g., PSTricks.")
    (license license:lppl1.3c)))

(define-public texlive-autoarea
  (package
    (name "texlive-autoarea")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/autoarea/" "tex/latex/autoarea/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09a9wiihb397ljasnkxrqygsi34bd9a5spq8h3njf6awra2x2m6c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pictex-autoarea")
    (synopsis "Automatic computation of bounding boxes with PiCTeX")
    (description
     "This package makes PiCTeX recognize lines and arcs in determining the
bounding box of a picture.  The bounding box is essential for proper placement
of a picture between running text and margins and for keeping the running text
away.")
    (license license:lppl)))

(define-public texlive-bardiag
  (package
    (name "texlive-bardiag")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bardiag/" "tex/latex/bardiag/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iy0cr24ki93jlnmzr1fgqa7jqg0zhxds422cz322zwr19936zz9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bardiag")
    (synopsis "LaTeX package for drawing bar diagrams")
    (description
     "The main purpose of the package is to make the drawing of bar diagrams
possible and easy in LaTeX.  The BarDiag package is inspired by and based on
PSTricks.")
    (license license:lppl)))

(define-public texlive-barracuda
  (package
    (name "texlive-barracuda")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/barracuda/" "scripts/barracuda/"
                                     "tex/luatex/barracuda/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v318nbbbp2klp0rykzb3skqqw4hhj1hbliigmp3qh34iiq3wqh0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/barracuda")
    (synopsis "Draw barcodes with Lua")
    (description
     "The Barracuda library is a modular Lua package for drawing barcode
symbols.  It provides modules for writing barcodes from a LuaTeX document.  It
is also possible to use Barracuda with a standalone Lua interpreter to draw
barcodes in different graphic formats like SVG.")
    (license license:gpl2)))

(define-public texlive-beamerswitch
  (package
    (name "texlive-beamerswitch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerswitch/"
                                     "source/latex/beamerswitch/"
                                     "tex/latex/beamerswitch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kz257kv9fdy9fvphd8sx1k0swsynrl6kxqidnh8lp70k8f24ggj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerswitch")
    (synopsis "Convenient mode selection in Beamer documents")
    (description
     "This class is a wrapper around the beamer class to make it easier to use
the same document to generate the different forms of the presentation: the
slides themselves, an abbreviated slide set for transparencies or online
reference, an n-up handout version (various layouts are provided), and
a transcript or set of notes using the article class.  The class provides
a variety of handout layouts, and allows the mode to be chosen from the
command line (without changing the document itself).")
    (license license:lppl1.3c)))

(define-public texlive-bezierplot
  (package
    (name "texlive-bezierplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/bezierplot/"
                                     "tex/lualatex/bezierplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "125gdb9d160g729v3fbsrsrw5abk34jwa4x43yil0mzjls2aq550"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bezierplot")
    (synopsis "Approximate smooth function graphs with cubic Bezier splines")
    (description
     "This package consists of a Lua program as well as a (Lua)LaTeX
@file{.sty} file.  Given a smooth function, @code{bezierplot} returns a smooth
Bezier path written in TikZ notation, which also matches MetaPost, that
approximates the graph of the function.  For polynomial functions of degree
lesser or equal to 3 and their inverses the approximation is exact (up to
numeric precision).  @code{bezierplot} also finds special points such as
extreme points and inflection points and reduces the number of used points.")
    (license license:lppl1.3c)))

(define-public texlive-binarytree
  (package
    (name "texlive-binarytree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/binarytree/"
                                     "source/latex/binarytree/"
                                     "tex/latex/binarytree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lip6npfggc6p14hhpwn1g52xmyyb5rp34znb437frks4n1bk66s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/binarytree")
    (synopsis "Drawing binary trees using TikZ")
    (description
     "This package provides an easy but flexible way to draw binary trees
using TikZ.  A path specification and the setting of various options determine
the style for each edge of the tree.  There is support for the external
library of TikZ which does not affect externalization of the rest of the TikZ
figures in the document.  There is an option to use automatic file naming:
useful if the trees are often moved around.")
    (license license:lppl1.3+)))

(define-public texlive-blochsphere
  (package
    (name "texlive-blochsphere")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/blochsphere/"
                                     "source/latex/blochsphere/"
                                     "tex/latex/blochsphere/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03gl19r0cc1ajychh6f31bdjqpmmlk0cxg1akxg3h47yrf2np245"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blochsphere")
    (synopsis "Draw pseudo-3D diagrams of Bloch spheres")
    (description
     "This package is used to draw pseudo-3D Blochsphere diagrams.  It
supports various annotations, such as great and small circles, axes, rotation
markings and state vectors.  It can be used in a standalone fashion, or nested
within a @code{tikzpicture} environment by setting the environment option
@code{nested} to @code{true}.")
    (license license:lppl1.3+)))

(define-public texlive-bloques
  (package
    (name "texlive-bloques")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bloques/" "tex/latex/bloques/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10mxqjfljcphg4nifg8xy3s6k49vxvxhs5s805640npc8jgmbf64"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bloques")
    (synopsis "Generate control diagrams")
    (description
     "The package uses TikZ to provide commands for generating control
diagrams (specially in power electronics).")
    (license license:lppl1.3+)))

(define-public texlive-blox
  (package
    (name "texlive-blox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/blox/" "source/latex/blox/"
                                     "tex/latex/blox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xkv6rvkbchkwgfam5kiymng0xnc4vja5xb3b5d89rngdr041xwk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-fancyvrb
                  texlive-hypdoc
                  texlive-hyperref
                  texlive-infwarerr
                  texlive-kvoptions
                  texlive-pgf
                  texlive-tools))))
    (home-page "https://ctan.org/pkg/blox")
    (synopsis "Draw block diagrams, using TikZ")
    (description
     "This package, along with TikZ, will typeset block diagrams for use with
programming and control theory.  It is an English translation of the
@code{schemabloc} package.")
    (license license:lppl1.3+)))

(define-public texlive-bodegraph
  (package
    (name "texlive-bodegraph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bodegraph/"
                                     "tex/latex/bodegraph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p1gap8nc2l8fg14fn5xx5vnnwdnmc0whi2c37kcavgxnkji43f4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bodegraph")
    (synopsis "Draw Bode, Nyquist and Black plots with gnuplot and TikZ")
    (description
     "The package provides facilities to draw Bode, Nyquist and Black plots
using Gnuplot and Tikz.  Elementary Transfer Functions and basic correctors
are preprogrammed for use.")
    (license license:lppl)))

(define-public texlive-bondgraph
  (package
    (name "texlive-bondgraph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bondgraph/"
                                     "tex/latex/bondgraph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "165fgkcybazd2jqgcfqc8hh8askl1hdv86d8bz5b1s4aff95hv24"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bondgraph")
    (synopsis "Create bond graph figures in LaTeX documents")
    (description "The package draws bond graphs using PGF and TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-bondgraphs
  (package
    (name "texlive-bondgraphs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bondgraphs/"
                                     "source/latex/bondgraphs/"
                                     "tex/latex/bondgraphs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gisr9f2n3mwf2qaqdj9sjmxscrpa9zrb9jm7v5l96ba8kqqw6hx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bondgraphs")
    (synopsis "Draws bond graphs in LaTeX, using PGF/TikZ")
    (description
     "The package is used to draw bond graphs in LaTeX.  Compared to the
@code{bondgraph} package this package relies more on TikZ styles and less on
macros, to generate the drawings.  As such it can be more flexible than his,
but requires more TikZ knowledge of the user.")
    (license license:lppl1.3+)))

(define-public texlive-braids
  (package
    (name "texlive-braids")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/braids/" "source/latex/braids/"
                                     "tex/latex/braids/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dn9cgnr9b7k4l3pqfkmjfpv9hq65zpnj2swbpjkjngz0f8f89yi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/braids")
    (synopsis "Draw Braid diagrams with PGF/TikZ")
    (description
     "The package enables drawing of Braid diagrams with PGF/TikZ using
a simple syntax.  The Braid itself is specified by giving a word in the Braid
group, and there are many options for styling the strands and for drawing
floors.")
    (license license:lppl1.3c)))

(define-public texlive-bxeepic
  (package
    (name "texlive-bxeepic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxeepic/" "tex/latex/bxeepic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxmysbnv4s47qx0yajr9h62x8azjh660811yd4qcv0ih9mcdyy7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxeepic")
    (synopsis "Eepic facilities using @code{pict2e}")
    (description
     "The package provides an Eepic driver to use @code{pict2e} facilities.")
    (license license:expat)))

(define-public texlive-byo-twemojis
  (package
    (name "texlive-byo-twemojis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/byo-twemojis/"
                                     "source/latex/byo-twemojis/"
                                     "tex/latex/byo-twemojis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wnl6jcwrkxvzfsq04kabxanraa8zi08fjg4a1b7cqpawiphf8jp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/byo-twemojis")
    (synopsis "Build Your Own Twemojis with TikZ")
    (description
     "This package provides the means to create your own emojis (the simple,
round, and mostly yellow ones) from elements of existing emojis.  The provided
command creates a TikZ picture from the stated elements with multiple
possibilities to modify the result in color and position.")
    (license (list license:cc-by4.0 license:lppl1.3+))))

(define-public texlive-byrne
  (package
    (name "texlive-byrne")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/byrne/" "metapost/byrne/"
                                     "tex/latex/byrne/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h4543pimjsv30phinbhs8070ymqaf43vd2wx1yhjmwsqj4fcjmc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/byrne")
    (synopsis
     "Typeset geometric proofs in the style of Euclid's @emph{Elements}")
    (description
     "This package is a LaTeX adaptation of a set of tools developed for
ConTeXt reproduction of Oliver Byrne's 1847 edition of the first six books of
Euclid's @emph{Elements}; see
@url{https://github.com/jemmybutton/byrne-euclid}.  It consists of a MetaPost
library, responsible for all the drawing and a set of LaTeX macros to
conveniently use them.")
    (license license:gpl3+)))

(define-public texlive-cachepic
  (package
    (name "texlive-cachepic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cachepic/" "scripts/cachepic/"
                                     "tex/latex/cachepic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kc713pig67igi0h294k692lmm12mx611z3v73awsf5xv14ms3yx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "cachepic.tlu")))
    (home-page "https://ctan.org/pkg/cachepic")
    (synopsis "Convert document fragments into graphics")
    (description
     "The bundle simplifies and automates conversion of document fragments
into external EPS or PDF files.  The bundle consists of two parts: a LaTeX
package that implements a document level interface, and a command line tool
that generates the external graphics.")
    (license license:lppl1.3+)))

(define-public texlive-callouts
  (package
    (name "texlive-callouts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/callouts/" "tex/latex/callouts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yb2vc1wiffap0dbq0jw40ax9kmk6np269ayij67vcmg0iqnmb11"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/callouts")
    (synopsis "Put simple annotations and notes inside a picture")
    (description
     "The package defines the @code{annotation} environment in which callouts,
notes, arrows, and the like can be placed to describe certain parts of
a picture.")
    (license license:lppl)))

(define-public texlive-celtic
  (package
    (name "texlive-celtic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/celtic/" "source/latex/celtic/"
                                     "tex/latex/celtic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zqz87y0wx5v50qnzvz6gqsz1z81ikcj4ma8mwgclrfyazpll9d0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/celtic")
    (synopsis "TikZ library for drawing celtic knots")
    (description
     "The package provides a TikZ library for drawing celtic knots.")
    (license license:lppl1.3+)))

(define-public texlive-chemfig
  (package
    (name "texlive-chemfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/chemfig/"
                                     "tex/generic/chemfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q1kqkfw4ik89q9v2a25a644pg4h86fam9sijjb8wnxclmwlia96"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chemfig")
    (synopsis "Draw molecules with easy syntax")
    (description
     "The package provides the command @code{\\chemfig}, which draws molecules
using the TikZ package.  While the diagrams produced are essentially
2-dimensional, the package supports many of the conventional notations for
illustrating the 3-dimensional layout of a molecule.")
    (license license:lppl1.3c)))

(define-public texlive-circuit-macros
  (package
    (name "texlive-circuit-macros")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/circuit-macros/"
                                     "tex/latex/circuit-macros/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10m2zqgd7ba3gf3ix361ylxq28r904nj4zmnhp6fbz5mamqg27jz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/circuit-macros")
    (synopsis "M4 macros for electric circuit diagrams")
    (description
     "This package provides a set of m4 macros for drawing high-quality
electric circuits containing fundamental elements, amplifiers, transistors,
and basic logic gates to include in TeX, LaTeX, or similar documents.  Some
tools and examples for other types of diagrams are also included.  The macros
can be evaluated to drawing commands in the @code{pic} language, which
contains elements of a simple programming language, and is well-suited to line
drawings requiring parametric or conditional components, fine tuning,
significant geometric calculations or repetition, or that are naturally block
structured or tree structured.  Alternative output macros can create TeX
output to be read by PSTricks, TikZ commands for use by the PGF bundle, or
SVG.")
    (license license:lppl1.3c)))

(define-public texlive-circuitikz
  (package
    (name "texlive-circuitikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/context/third/circuitikz/"
                                     "doc/generic/circuitikz/"
                                     "doc/latex/circuitikz/"
                                     "tex/context/third/circuitikz/"
                                     "tex/generic/circuitikz/"
                                     "tex/latex/circuitikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ixccij17412z7bfhrf6p916a7pvlj051hxxah2zdq4b3j8asmz0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/circuitikz")
    (synopsis "Draw electrical networks with TikZ")
    (description
     "The package provides a set of macros for naturally typesetting
electrical and electronic networks.  It is designed as a tool that is native
to LaTeX, and directly supporting PDF output format.  It has therefore been
based on the PGF/TikZ package.")
    (license (list license:lppl license:gpl3+))))

(define-public texlive-coffeestains
  (package
    (name "texlive-coffeestains")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coffeestains/"
                                     "tex/latex/coffeestains/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nc2nmxg378gg16q6gxj68w94fl3nd5lcgk2fq9hp17mg6q27gsc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coffeestains")
    (synopsis "Add coffee stains to documents")
    (description
     "This package provides an essential feature that LaTeX has been missing
for too long: It adds coffee stains to your documents.  A lot of time can be
saved by printing stains directly on the page rather than adding them
manually.")
    (license license:public-domain)))

(define-public texlive-combinedgraphics
  (package
    (name "texlive-combinedgraphics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/combinedgraphics/"
                                     "source/latex/combinedgraphics/"
                                     "tex/latex/combinedgraphics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jb0bc5s8kn5aplgmry94laj92c2h16xv77km6fz0pcd4wvpng6i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/combinedgraphics")
    (synopsis "Include graphic (EPS or PDF)/LaTeX combinations")
    (description
     "This package provides the @code{\\includecombinedgraphics} macro for the
inclusion of combined EPS/LaTeX and PDF/LaTeX graphics.  Instead of including
the graphics with a simple @code{\\input}, the
@code{\\includecombinedgraphics} macro has some comforts: changing the font
and color of the text of the LaTeX part; rescaling the graphics without
affecting the font of the LaTeX part; automatic inclusion of the vector
graphics part, as far as LaTeX part does not do it; and rescaling and rotating
of complete graphics.")
    (license license:gpl3+)))

(define-public texlive-curve
  (package
    (name "texlive-curve")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/curve/" "source/latex/curve/"
                                     "tex/latex/curve/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0780i6zr24v30ixn6zcalqr2pdp5jkxk8ksfw090aaq03wpxmggg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/curve")
    (synopsis "Class for making curriculum vitae")
    (description
     "CurVe is a class for writing a CV, with configuration for the language
in which you write.  The class provides a set of commands to create rubrics,
entries in these rubrics etc.  CurVe then format the CV (possibly splitting it
onto multiple pages, repeating the titles etc), which is usually the most
painful part of CV writing.  Another nice feature of CurVe is its ability to
manage different CV flavours simultaneously.  It is often the case that you
want to maintain slightly divergent versions of your CV at the same time, in
order to emphasize on different aspects of your background.  CurVe also comes
with support for use with AUC-TeX.")
    (license license:lppl)))

(define-public texlive-curve2e
  (package
    (name "texlive-curve2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/curve2e/" "source/latex/curve2e/"
                                     "tex/latex/curve2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b7m3592qfrx6za3iz0iagbf5dw4x9d7d14nk89myjjx9wfkd6qk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/curve2e")
    (synopsis "Extensions for package @code{pict2e}")
    (description
     "The package extends the drawing capacities of the @code{pict2e} package
that serves as a LaTeX2e replacement for @code{picture} mode.  In particular,
@code{curve2e} introduces new macros for lines and vectors, new specifications
for line terminations and joins, arcs with any angular aperture, arcs with
arrows at one or both ends, generic curves specified with their nodes and the
tangent direction at these nodes.")
    (license license:lppl1.3c)))

(define-public texlive-curves
  (package
    (name "texlive-curves")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/curves/" "source/latex/curves/"
                                     "tex/latex/curves/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1diwxq6maizcnmwr6shnl044cvhnd7c2f55avgsyap6ds5wv86wn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/curves")
    (synopsis "Curves for LaTeX picture environment")
    (description
     "This package draws curves in the standard LaTeX picture environment
using parabolas between data points with continuous slope at joins; for
circles and arcs, it uses up to 16 parabolas.  The package can also draw
symbols or dash patterns along curves.  It provides facilities equivalent to
technical pens with compasses and French curves.")
    (license license:lppl1.3+)))

(define-public texlive-dcpic
  (package
    (name "texlive-dcpic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dcpic/" "tex/generic/dcpic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s4292g12r2vrnsdj4qsa9jgj9ndgdg7h27n2ig3mf305h5h5hfr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dcpic")
    (synopsis "Commutative diagrams in a LaTeX and TeX documents")
    (description
     "DCpic is a package for typesetting commutative diagrams within a LaTeX
and TeX documents.  Its distinguishing features are: a powerful graphical
engine, the PiCTeX package; an easy specification syntax in which
a commutative diagram is described in terms of its objects and its
arrows (morphism), positioned in a Cartesian coordinate system.")
    (license license:lppl1.3+)))

(define-public texlive-diagmac2
  (package
    (name "texlive-diagmac2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diagmac2/" "tex/latex/diagmac2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "002p9qmrbbkqc72iippnjhxmb7yybx06xr6bs76hg04pzvh5a49f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diagmac2")
    (synopsis "Diagram macros, using @code{pict2e}")
    (description
     "This is a development of the long-established @code{diagmac} package,
using @code{pict2e} so that the restrictions on line direction are removed.")
    (license license:lppl)))

(define-public texlive-ditaa
  (package
    (name "texlive-ditaa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ditaa/" "tex/latex/ditaa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dk915p169hnpy9888kpslawhkmlipbkdrsnk1pajypcl7jyrniw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ditaa")
    (synopsis "Use ditaa diagrams within LaTeX documents")
    (description
     "With this package, @acronym{DITAA, DIagrams Through Ascii Art} diagrams
can be embedded directly into LaTeX files.")
    (license license:lppl)))

(define-public texlive-doc-pictex
  (package
    (name "texlive-doc-pictex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/doc-pictex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fdvqhkgi5j33rx0r4fifj69f4smn5w0n99vx90a3fw15qzxsg5y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/doc-pictex")
    (synopsis "Summary list of PicTeX documentation")
    (description
     "This package provides a summary of available resources providing
documentation of PicTeX.")
    (license
     (list
      (license:fsf-free "share/texmf-dist/doc/generic/doc-pictex/Doc-PiCTeX.txt")))))

(define-public texlive-dot2texi
  (package
    (name "texlive-dot2texi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dot2texi/" "tex/latex/dot2texi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m8774ds3hsky4nk0krj4a582fyznrxdfbfma5z8hp083nrlm469"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dot2texi")
    (synopsis "Create graphs within LaTeX using the @code{dot2tex} tool")
    (description
     "The @code{dot2texi} package allows you to embed graphs in the DOT graph
description language in your LaTeX documents.  The @code{dot2tex} tool is used
to invoke Graphviz for graph layout, and to transform the output from Graphviz
to LaTeX code.  The generated code relies on the TikZ and PGF package or the
PSTricks package.")
    (license license:gpl3+)))

(define-public texlive-dottex
  (package
    (name "texlive-dottex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dottex/" "source/latex/dottex/"
                                     "tex/latex/dottex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lk3ylbbgq2glni6qp6spmn8mr2qv4q1b06raadsb7hh75p1r218"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dottex")
    (synopsis "Use DOT code in LaTeX")
    (description
     "The @code{dottex} package allows you to encapsulate DOT and Neato files
in your document (DOT and Neato are both part of @code{graphviz}; DOT creates
directed graphs, Neato undirected graphs).")
    (license license:gpl3+)))

(define-public texlive-doulossil
  (package
    (name "texlive-doulossil")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/doulossil/"
                                     "fonts/truetype/public/doulossil/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0frhwpm7xzhhz83wpmlrwgz3c3bpvhm8pa0b6vkdgm8qj799irrb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/doulossil")
    (synopsis "Font for typesetting the International Phonetic Alphabet (IPA)")
    (description
     "This package provides the IPA font Doulos SIL in TrueType format.")
    (license license:silofl1.1)))

(define-public texlive-dpcircling
  (package
    (name "texlive-dpcircling")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dpcircling/"
                                     "tex/latex/dpcircling/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wpskh9rixgjvn4h5kand9ggiqa2mqca5fc0l565pxq8a9sq2bm0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dpcircling")
    (synopsis "Decorated text boxes using TikZ")
    (description
     "This simple package provides four types of text decorations using TikZ.
You can frame your text with circles, rectangles, jagged rectangles, and
fan-shapes.  The baseline will be adjusted properly according to the
surroundings.  You can use these decorations both in text mode and in math
mode.  You can specify line color, line width, width, and height using option
keys.")
    (license license:expat)))

(define-public texlive-dratex
  (package
    (name "texlive-dratex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/dratex/" "tex/generic/dratex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02qpchj2ws1d9d80284k7akzafbgdm358qxd41ms21rszyzdj11c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dratex")
    (synopsis "General drawing macros")
    (description
     "This package provides a low level (@file{DraTex.sty}) and
a high-level (@file{AlDraTex.sty}) drawing package written entirely in TeX.")
    (license license:lppl)))

(define-public texlive-drs
  (package
    (name "texlive-drs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/drs/" "tex/latex/drs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vvwbn1qxxh42v1jjvk3nra79zv0lz0fyrj5c6q8yjppn2rj10h0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drs")
    (synopsis "Typeset Discourse Representation Structures (DRS)")
    (description
     "The package draws Discourse Representation Structures (DRSs).  It can
draw embedded DRSs, if-then conditions and quantificational duplex
conditions (with a properly scaled connecting diamond).  Formatting parameters
allow the user to control the appearance and placement of DRSs, and of DRS
variables and conditions.  The package is based on DRS macros in the
@code{covington} package.")
    (license license:lppl1.3+)))

(define-public texlive-duotenzor
  (package
    (name "texlive-duotenzor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/duotenzor/"
                                     "tex/latex/duotenzor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l99ah5p2cp1qikk3jrbn1xrs6fz23c9h7wqc228jnrkmni7kn98"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/duotenzor")
    (synopsis "Drawing package for circuit and duotensor diagrams")
    (description
     "This is a drawing package for circuit and duotensor diagrams within
LaTeX documents.  It consists of about eighty commands, calling on TikZ for
support.")
    (license license:lppl1.3+)))

(define-public texlive-dynkin-diagrams
  (package
    (name "texlive-dynkin-diagrams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dynkin-diagrams/"
                                     "tex/latex/dynkin-diagrams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pymcm77bznsmkxfaq6c1rhcmxn7b1jwkyc0gwhdgfk6xhqzsbi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dynkin-diagrams")
    (synopsis "Draw Dynkin, Coxeter, and Satake diagrams using TikZ")
    (description
     "This is a drawing package for Dynkin, Coxeter, and Satake diagrams in
LaTeX documents, using the TikZ package.")
    (license license:lppl1.3c)))

(define-public texlive-ecgdraw
  (package
    (name "texlive-ecgdraw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecgdraw/" "source/latex/ecgdraw/"
                                     "tex/latex/ecgdraw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16kbmf9fckms0vhi41h2p6k8znv6plzwn4f2j374zmpqphq1m3il"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-hypdoc
                  texlive-layaureo
                  texlive-listings
                  texlive-pgf
                  texlive-tools))))
    (home-page "https://ctan.org/pkg/ecgdraw")
    (synopsis "Draws electrocardiograms (ECG)")
    (description
     "This package provides the @code{\\ECG} command, which draws
electrocardiograms (ECG).  It can generate different types of wave.")
    (license license:lppl1.3+)))

(define-public texlive-ellipse
  (package
    (name "texlive-ellipse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ellipse/" "source/latex/ellipse/"
                                     "tex/latex/ellipse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0biya15r55hr41vnqsviqqsqlb7p47i2n814dahfs0r65vlfnz23"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ellipse")
    (synopsis
     "Draw ellipses and elliptical arcs using @code{picture} environment")
    (description
     "This package provides commands to draw ellipses and elliptical arcs
using the standard LaTeX2e @code{picture} environment.")
    (license license:lppl1.3+)))

(define-public texlive-elocalloc
  (package
    (name "texlive-elocalloc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elocalloc/"
                                     "source/latex/elocalloc/"
                                     "tex/latex/elocalloc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "121hpnka88y6laayjbhgiphbqn8qv42024bjda21qcc076s4b632"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elocalloc")
    (synopsis "Local allocation macros for LaTeX 2015")
    (description
     "This package provides local allocation macros, with names taken from
@file{etex.sty} but with implementation based on the LaTeX 2015 allocation
macros.")
    (license license:lppl)))

(define-public texlive-endofproofwd
  (package
    (name "texlive-endofproofwd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endofproofwd/"
                                     "tex/latex/endofproofwd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a88q6h266c1cbxp5gdjz0d56gwdmshavvr4b2bn3xikzlvf7yij"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endofproofwd")
    (synopsis "End of proof sign")
    (description
     "This package provides an additional end of proof sign.  The command's
name is @code{\\wasserdicht}.")
    (license license:lppl1.3+)))

(define-public texlive-epspdfconversion
  (package
    (name "texlive-epspdfconversion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epspdfconversion/"
                                     "tex/latex/epspdfconversion/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1czh9ppkgk9lxw4imagnwm4b88vylr4vwhzb1k63ik749h047kg2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epspdfconversion")
    (synopsis "On-the-fly conversion of EPS to PDF")
    (description
     "The package calls the @code{epstopdf} package to convert EPS graphics to
PDF, on the fly.  It serves as a vehicle for passing conversion options (such
as grayscale, prepress or pdfversion) to the @code{epspdf} converter.")
    (license license:lppl)))

(define-public texlive-esk
  (package
    (name "texlive-esk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esk/" "source/latex/esk/"
                                     "tex/latex/esk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hx58ajinbfc6axd4xbj395vyhr7mj247fvlzfjx71hcg9jnwkp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/esk")
    (synopsis "Package to encapsulate Sketch files in LaTeX sources")
    (description
     "The ESK package allows to encapsulate Sketch files in LaTeX sources.
This is very useful for keeping illustrations synchronized with the text.  It
also frees the user from inventing descriptive names for new files that fit
into the confines of file system conventions.  Sketch is a 3D scene
description language by Eugene K. Ressler and can generate TikZ and PSTricks
code.  ESK behaves in a similar fashion to EMP (which encapsulates MetaPost
files), and was in fact developed from it.")
    (license license:gpl3+)))

(define-public texlive-euflag
  (package
    (name "texlive-euflag")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/euflag/" "source/latex/euflag/"
                                     "tex/latex/euflag/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dhbz79grhdls4cl7idk0hvr6vddniwgn1h21f5bvxqcv1xj0d8v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/euflag")
    (synopsis "Command to reproduce the flag of the European Union")
    (description
     "This LaTeX package implements a command to reproduce the official flag
of the European Union (EU).  The flag is reproduced at 1em high based on the
current font size, so it can be scaled arbitrarily by changing the font
size.")
    (license license:lppl1.3c)))

(define-public texlive-fast-diagram
  (package
    (name "texlive-fast-diagram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fast-diagram/"
                                     "tex/latex/fast-diagram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03ygmgh6gnlkn7dwnwyifv946ja6yswm3gdgv7ad39h5s0ay99hy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fast-diagram")
    (synopsis "Easy generation of FAST diagrams")
    (description
     "The package provides simple means of producing FAST diagrams, using
TikZ/PGF tools.  FAST diagrams are useful for functional analysis techniques
in design methods.")
    (license license:lppl1.3+)))

(define-public texlive-fig4latex
  (package
    (name "texlive-fig4latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/fig4latex/"
                                     "scripts/fig4latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z4dnd369q1ynpb3xd4pwyhmysn78zx8izq7va1s5kpwdr2hdj99"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "fig4latex")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/fig4latex")
    (synopsis "Management of figures for large LaTeX documents")
    (description
     "Fig4LaTeX simplifies management of the figures in a large LaTeX document.
Fig4LaTeX is appropriate for projects that include figures with graphics
created by XFig --- in particular, graphics which use the combined
PS/LaTeX (or PDF/LaTeX) export method.")
    (license license:gpl3)))

(define-public texlive-figchild
  (package
    (name "texlive-figchild")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/figchild/" "tex/latex/figchild/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q02q8cpkjwjqlykjq64vm65shqm6bn281j2jsv7qnay19lqmd3n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figchild")
    (synopsis "Pictures for creating children's activities")
    (description
     "This package was created with the aim of facilitating the work of
Elementary School teachers who need to create colorful and attractive
activities for their students.  It is a product of the Computational
Mathematics discipline offered at the Federal University of Vicosa --- Campus
UFV --- Florestal by professor Fernando de Souza Bastos.  It makes use of the
TikZ and @code{xcolor} packages.")
    (license license:lppl1.3c)))

(define-public texlive-figput
  (package
    (name "texlive-figput")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/figput/" "tex/latex/figput/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ckwbrsl5075902pmmjp1r3n31pdpbqvydh69vq6mkfwk3ipp4gj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figput")
    (synopsis "Create interactive figures in LaTeX")
    (description
     "FigPut allows figures to be specified using JavaScript.  The resulting
document can be viewed as a static PDF, as usual, or the document can be
viewed in a web-browser, in which case the figures are interactive.  A variety
of interactive widgets are included.")
    (license license:cc-by-sa4.0)))

(define-public texlive-fitbox
  (package
    (name "texlive-fitbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fitbox/" "source/latex/fitbox/"
                                     "tex/latex/fitbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0li1nvwv8ifw1dkfsqgnhapkagndibs75lp03byxnwrmc99r7a2y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fitbox")
    (synopsis "Fit graphics on a page")
    (description
     "The package allows a box (usually an @code{\\includegraphics} box) to
fit on the page.  It scales the box to the maximal allowed size within the
user-set limits.  If there is not enough space on the page, the box is moved
to the next one.")
    (license license:lppl1.3+)))

(define-public texlive-flowchart
  (package
    (name "texlive-flowchart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flowchart/"
                                     "source/latex/flowchart/"
                                     "tex/latex/flowchart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r0n7wr7ljhlvyhmm7f85h1c5imj9iqy7afv4mjy1ychcaws233w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flowchart")
    (synopsis "Shapes for drawing flowcharts, using TikZ")
    (description
     "The package provides a set of traditional flowchart element shapes; the
documentation shows how to build a flowchart from these elements, using
PGF/TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-forest
  (package
    (name "texlive-forest")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/forest/" "makeindex/forest/"
                                     "source/latex/forest/" "tex/latex/forest/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00zyxfi59kglnby7l24l1bz08afv7r9qc1wifcxrb6s5xygj42zs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-elocalloc
           texlive-environ
           texlive-etoolbox
           texlive-inlinedef
           texlive-l3packages
           texlive-pgf
           texlive-pgfopts))
    (home-page "https://ctan.org/pkg/forest")
    (synopsis "Drawing (linguistic) trees")
    (description
     "The package provides a PGF/TikZ-based mechanism for drawing
linguistic (and other kinds of) trees.  Its main features are: a packing
algorithm which can produce very compact trees; a user-friendly interface
consisting of the familiar bracket encoding of trees plus the key-value
interface to option-setting; many tree-formatting options, with control over
option values of individual nodes and mechanisms for their manipulation; the
possibility to decorate the tree using the full power of PGF/TikZ; and an
externalization mechanism sensitive to code-changes.")
    (license license:lppl1.3+)))

(define-public texlive-gates
  (package
    (name "texlive-gates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/gates/" "tex/generic/gates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0brcms8qbnsyiqnnqxyzqp12z1xpvfzb5hgh6kqm28904lr84i4g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gates")
    (synopsis "Support for writing modular and customisable code")
    (description
     "The package provides the means of writing code in a modular fashion: big
macros or functions are divided into small chunks (called gates) with names,
which can be externally controlled (e.g., they can be disabled, subjected to
conditionals, loops...) and/or augmented with new chunks.  Thus complex code
may easily be customised without having to rewrite it, or even understand its
implementation: the behavior of existing gates can be modified, and new ones
can be added, without endangering the whole design.  This allows code to be
hacked in ways the original authors might have never envisioned.  The
@code{gates} package is implemented independently for both TeX and Lua.  The
TeX implementation, running in any current environment, requires the
@code{texapi} package, whereas the Lua version can be run with any Lua
interpreter, not just LuaTeX.")
    (license license:lppl)))

(define-public texlive-genealogytree
  (package
    (name "texlive-genealogytree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/genealogytree/"
                                     "tex/latex/genealogytree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10h12qgjrh37ax1grpkyas5blf3s4g6bfp6g5d9x7y1ddfpxjmix"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/genealogytree")
    (synopsis "Pedigree and genealogical tree diagrams")
    (description
     "Pedigree and genealogical tree diagrams are proven tools to visualize
genetic and relational connections between individuals.  The package provides
a set of tools to typeset genealogical trees, i.e., to typeset a set of
special graphs for the description of family-like structures.  The package
uses an autolayout algorithm which can be customized, e.g., to prioritize
certain paths.")
    (license license:lppl1.3+)))


(define-public texlive-getmap
  (package
    (name "texlive-getmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/getmap/" "scripts/getmap/"
                                     "tex/latex/getmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12pip7a1pibjlbllkrbz0fss0i5zdd8x1pbvzzbwn6rb3ragqwl9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "getmapdl.lua")))
    (home-page "https://ctan.org/pkg/getmap")
    (synopsis "Download OpenStreetMap maps for use in documents")
    (description
     "The package provides a simple interface to OpenStreetMap, and to Google
Maps, map images.  In the simplest case, it is sufficient to specify the
address you need.  The package loads the map image using an external Lua
script (LaTeX must be running with @samp{\\write 18} enabled).  The Lua script
may be used from the command line; a Bash version is provided.")
    (license license:lppl)))

(define-public texlive-gnuplottex
  (package
    (name "texlive-gnuplottex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gnuplottex/"
                                     "source/latex/gnuplottex/"
                                     "tex/latex/gnuplottex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c99xc24bqp0j1xy31ayna4xmdsyshs9fjarb8cmn4m3ffwvlrmw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gnuplottex")
    (synopsis "Embed Gnuplot commands in LaTeX documents")
    (description
     "This package allows you to include Gnuplot graphs in your LaTeX
documents.  The Gnuplot code is extracted from the document and written to
@file{.gnuplot} files.  Then, if shell escape is used, the graph files are
automatically processed to graphics or LaTeX code files which will then be
included in the document.  If shell escape isn't used, the user will have to
manually convert the files by running Gnuplot on the extracted @file{.gnuplot}
files.")
    (license license:gpl2)))

(define-public texlive-gradientframe
  (package
    (name "texlive-gradientframe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gradientframe/"
                                     "source/latex/gradientframe/"
                                     "tex/latex/gradientframe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qy3ri6fdgzdslaaa7gakswvpc299xyarm8ng4cs8w64q14675r1"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-charter
                  texlive-emp
                  texlive-etoolbox
                  texlive-hypdoc
                  texlive-listings
                  texlive-tools))))
    (home-page "https://ctan.org/pkg/gradientframe")
    (synopsis "Simple gradient frames around objects")
    (description
     "The package provides a means of drawing graded frames around objects.
The gradients of the frames are drawn using the @code{color} package.")
    (license license:lppl1.3+)))

(define-public texlive-grafcet
  (package
    (name "texlive-grafcet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grafcet/" "tex/latex/grafcet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1swrap90i4l3a6azvy40b991zkqvyfw2z3mk6cq727yplmr1hkwk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grafcet")
    (synopsis "Draw Grafcet/SFC with TikZ")
    (description
     "The package provides a library (GRAFCET) that can draw Grafcet
Sequential Function Chart (SFC) diagrams, in accordance with EN 60848, using
PGF/TikZ.")
    (license license:lppl1.0+)))

(define-public texlive-graph35
  (package
    (name "texlive-graph35")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graph35/" "source/latex/graph35/"
                                     "tex/latex/graph35/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "048ywdw2d1mif2m4vjyjma5b8zz4w4kq71q4x2adwckqnqkcxn5a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graph35")
    (synopsis "Draw keys and screen items of several Casio calculators")
    (description
     "This package defines commands to draw the Casio Graph 35 / Fx-9750GII
calculator (and other models).  It can draw the whole calculator, or parts of
it.")
    (license license:lppl1.3+)))

(define-public texlive-graphicxpsd
  (package
    (name "texlive-graphicxpsd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphicxpsd/"
                                     "tex/latex/graphicxpsd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04fll1h90rl75bqbkhjp2yp8bragfkv5rj2kwrbbi6p7zq9nfrpn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphicxpsd")
    (synopsis
     "Adobe Photoshop Data format (PSD) support for @code{graphicx} package")
    (description
     "This package provides Adobe Photoshop Data format (PSD) support for the
@code{graphicx} package with the @command{convert} command from ImageMagick.")
    (license license:expat)))

(define-public texlive-graphviz
  (package
    (name "texlive-graphviz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphviz/"
                                     "source/latex/graphviz/"
                                     "tex/latex/graphviz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0abg1cmzr449gd5pbg3ppgf35xixjyszy3jxnrg37kqly7c26l6s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphviz")
    (synopsis "Write Graphviz inline in LaTeX documents")
    (description
     "The package allows inline use of Graphviz code, in a LaTeX document.")
    (license license:lppl1.3+)))

(define-public texlive-gtrlib-largetrees
  (package
    (name "texlive-gtrlib-largetrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gtrlib-largetrees/"
                                     "source/latex/gtrlib-largetrees/"
                                     "tex/latex/gtrlib-largetrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yfc18v919brdj6psah8q9hsjpqs8zalnz3ridrhgir98x0l8wq9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gtrlib-largetrees")
    (synopsis "Library for genealogytree aiming at large trees")
    (description
     "The main goal of this package is to offer additional database fields and
formats for the @code{genealogytree} package, particularly for typesetting
large trees.")
    (license license:lppl1.2+)))

(define-public texlive-harveyballs
  (package
    (name "texlive-harveyballs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/harveyballs/"
                                     "tex/latex/harveyballs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15zng922zyc0jiq8yrdgl3gwj1gvdqk71zc1bcc8gl08j4y0cxgi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harveyballs")
    (synopsis "Create Harvey Balls using TikZ")
    (description
     "The package provides five commands to create Harvey Balls in
a document.")
    (license license:gpl3+)))

(define-public texlive-here
  (package
    (name "texlive-here")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/here/" "tex/latex/here/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pmjh9xvwmv6cf775lzfagf9wziwrgx6fri4jjhl4mzkxmxhsnpp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/here")
    (synopsis "Emulation of obsolete package for @code{here} floats")
    (description
     "This package provides the @samp{H} option for floats in LaTeX to signify
that the environment is not really a float, and should therefore be placed
@emph{here} and not float at all.  The package emulates an older package of
the same name, which has long been suppressed by its author.  The job is done
by nothing more than loading the @code{float} package, which has long provided
the option in an acceptable framework.")
    (license license:public-domain)))

(define-public texlive-hf-tikz
  (package
    (name "texlive-hf-tikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hf-tikz/" "source/latex/hf-tikz/"
                                     "tex/latex/hf-tikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02zkax3k50rb080yn5bwy12680y0mdzddv9an3wgsycl9ycxrmi8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hf-tikz")
    (synopsis "Highlight formulas and formula parts")
    (description
     "The package provides a way to highlight formulas and formula parts in
both documents and presentations, us TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-hobby
  (package
    (name "texlive-hobby")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hobby/" "source/latex/hobby/"
                                     "tex/latex/hobby/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1czyi3wiypzr6j564zn36g8svwvx74fq4jrri6qxhh92k4dvdxjl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hobby")
    (synopsis "Implementation of Hobby's algorithm for PGF/TikZ")
    (description
     "This package defines a path generation function for PGF/TikZ which
implements Hobby's algorithm for a path built out of Bezier curves which
passes through a given set of points.")
    (license license:lppl1.3+)))

(define-public texlive-hvfloat
  (package
    (name "texlive-hvfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvfloat/" "tex/latex/hvfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vh9hj03hg9rddbv3p2yp9pcmz72zf40m3nm97zhnki9rs4rwy3i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvfloat")
    (synopsis "Controlling captions, fullpage and doublepage floats")
    (description
     "This package defines a macro to place objects (tables and figures) and
their captions in different positions with different rotating angles within
a float.  All objects and captions can be framed.")
    (license license:lppl)))

(define-public texlive-inlinedef
  (package
    (name "texlive-inlinedef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inlinedef/"
                                     "source/latex/inlinedef/"
                                     "tex/latex/inlinedef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ys2pb8dmgg41nwh9r9qhmxlfw5wxrfwryvdx1ppab4ndi138baw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inlinedef")
    (synopsis "Inline expansions within definitions")
    (description
     "The package provides a macro @code{\\Inline} that precedes
a @code{\\def} or @code{\\gdef}.  Within the definition text of an inlined
definition, keywords such as @code{\\Expand} may be used to selectively inline
certain expansions at definition-time.  This eases the process of redefining
macros in terms of the original definition, as well as definitions in which
the token that must be expanded is deep within, where @code{\\expandafter}
would be difficult and @code{\\edef} is not suitable.  Another application is
as an easier version of @code{\\aftergroup}, by defining a macro in terms of
expanded local variables, then ending the group with
@code{\\expandafter\\endgroup\\macro}.")
    (license license:lppl)))

(define-public texlive-istgame
  (package
    (name "texlive-istgame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/istgame/" "tex/latex/istgame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00hpr45s31bhvhhzmgm49knjb8jb3v53gd0w87rlx9ghll38lg0m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/istgame")
    (synopsis "Draw game trees with TikZ")
    (description
     "This LaTeX package provides macros based on TikZ to draw a game tree.
The main idea underlying its core macros is the completion of a whole tree by
using a sequence of simple parent-child tree structures, with no longer nested
relations involved (like the use of grandchildren or great-grandchildren).
Using this package you can draw a game tree as easily as drawing a game tree
with pen and paper.")
    (license license:lppl1.3c)))

(define-public texlive-kblocks
  (package
    (name "texlive-kblocks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kblocks/" "tex/latex/kblocks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x85k295bxn4b3i083qmfvjvz2nqrh1r4r6njn491lgsfymyc0pq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kblocks")
    (synopsis "Easily typeset control block diagrams and signal flow graphs")
    (description
     "Kblocks defines a number of commands to make drawing control block
diagrams using TikZ/PGF more structured and easier.  It reduces the learning
curve for TikZ/PGF and serves as a frontend, by focusing on the block or flow
diagrams only.")
    (license license:expat)))

(define-public texlive-kinematikz
  (package
    (name "texlive-kinematikz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kinematikz/"
                                     "tex/latex/kinematikz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cg1s59xq8dkfzhnf9mh2lgyrwnlwgpqf1wjwqqnscvds85s52l2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kinematikz")
    (synopsis "Design kinematic chains and mechanisms")
    (description
     "This package provides functionalities to draw kinematic diagrams for
mechanisms using dedicate symbols (some from the ISO standard and others).
The intention is not to represent CAD mechanical drawings of mechanisms and
robots, but only to represent 2D and 3D kinematic chains.  The package
provides links, joints and other symbols, mostly in the form of TikZ pic
objects.  These pictures can be placed in the canvas either by a central point
for joints, and start and end points for some links.")
    (license (list license:lppl1.3+ license:gpl3+))))

(define-public texlive-knitting
  (package
    (name "texlive-knitting")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/knitting/"
                                     "fonts/afm/public/knitting/"
                                     "fonts/map/dvips/knitting/"
                                     "fonts/source/public/knitting/"
                                     "fonts/tfm/public/knitting/"
                                     "fonts/type1/public/knitting/"
                                     "tex/latex/knitting/"
                                     "tex/plain/knitting/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "106p9wx4zdkz609kxsyk4zjdb0zvhnwihlnrqd1wh2p5ij7mv7vx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/knitting")
    (synopsis "Produce knitting charts, in Plain TeX or LaTeX")
    (description
     "The package provides symbol fonts and commands to write charted
instructions for cable and lace knitting patterns, using either plain TeX or
LaTeX.  The fonts are available both as Metafont source and in Adobe Type
1 format.")
    (license license:lppl1.3+)))

(define-public texlive-knittingpattern
  (package
    (name "texlive-knittingpattern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/knittingpattern/"
                                     "tex/latex/knittingpattern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q52213yj08bhhgwr622ss3gwhx3l1yvgv0a2g3arhp3a8iq2g9a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knittingpattern")
    (synopsis "Create knitting patterns")
    (description
     "The class provides a simple, effective method for knitters to produce
high-quality, attractive patterns using LaTeX.  It does this by providing
commands to handle as much of the layout of the document as possible, leaving
the author free to concentrate on the pattern.")
    (license license:lppl1.3+)))

(define-public texlive-ladder
  (package
    (name "texlive-ladder")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ladder/" "tex/latex/ladder/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wm0c75g6k8pb9kqdbw7rmbhs9sjdq8pn01nsaxfv2zqxnbc1znz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ladder")
    (synopsis "Draw simple ladder diagrams using TikZ")
    (description
     "This package permits the creation of simple ladder diagrams within LaTeX
documents.")
    (license license:expat)))

(define-public texlive-qrcode
  (package
    (name "texlive-qrcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qrcode/" "source/latex/qrcode/"
                                     "tex/latex/qrcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "197v18lsvb90i07gxvc6mrmn1z63q8v0wvcnbk8dnn3hhabpn16y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qrcode")
    (synopsis "QR codes without external tools")
    (description
     "The package generates QR (Quick Response) codes in LaTeX, without the
need for PSTricks or any other graphical package.")
    (license license:lppl1.3c+)))

(define-public texlive-tcolorbox
  (package
    (name "texlive-tcolorbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tcolorbox/" "tex/latex/tcolorbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nzhi7nw1lmck5l6iwgr6iaqk36ivqpw1dwgjlv1zg7ywhza9a0c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tcolorbox")
    (synopsis "Coloured boxes, for LaTeX examples and theorems, etc")
    (description
     "This package provides an environment for coloured and framed text boxes
with a heading line.  Optionally, such a box may be split in an upper and
a lower part; thus the package may be used for the setting of LaTeX examples
where one part of the box displays the source code and the other part shows
the output.  Another common use case is the setting of theorems.  The package
supports saving and reuse of source code and text parts.")
    (license license:lppl1.3c+)))

(define-public texlive-ebproof
  (package
    (name "texlive-ebproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebproof/" "source/latex/ebproof/"
                                     "tex/latex/ebproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a3203jgxsgihfgb6wwm0gfpaxbf1lg5axcakan9rj316xrrj4lc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebproof")
    (synopsis "Formal proofs in the style of sequent calculus")
    (description
     "This package provides commands to typeset proof trees in the style of
sequent calculus and related systems.  The commands allow for writing
inferences with any number of premises and alignment of successive formulas on
an arbitrary point.  Various options allow complete control over spacing,
styles of inference rules, placement of labels, etc.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-ebproof texlive-ebproof)

(define-public texlive-bussproofs
  (package
    (name "texlive-bussproofs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bussproofs/"
                                     "tex/latex/bussproofs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gb8y9g89fqw1kix4d2vb7mj440vlb8hnpsa3jqpk9yicndwcyk6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bussproofs")
    (synopsis "Proof trees in the style of the sequent calculus")
    (description
     "This package provides commands to typeset proof trees in the style of
sequent calculus and related systems.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-bussproofs texlive-bussproofs)

(define-public texlive-euenc
  (package
    (name "texlive-euenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/euenc/" "source/latex/euenc/"
                                     "tex/latex/euenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vhqxhj1v68rhi08xivps8icxmlcq9mv8slqmsmf2qhvzj6x6qx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     ;; Sole ".dtx" file bundled only generates documentation.
     (list #:build-targets #~(list)))
    (home-page "https://ctan.org/pkg/euenc")
    (synopsis "Unicode font encoding definitions for XeTeX")
    (description
     "The package provides font encoding definitions for unicode fonts loaded
by LaTeX in XeTeX or LuaTeX.  The package provides two encodings: EU1,
designed for use with XeTeX, which the fontspec uses for unicode fonts which
require no macro-level processing for accents, and EU2, which provides the
same facilities for use with LuaTeX.  Neither encoding places any restriction
on the glyphs provided by a font; use of EU2 causes the package
@code{euxunicode} to be loaded (the package is part of this distribution).
The package includes font definition files for use with the Latin Modern
OpenType fonts.")
    (license license:lppl1.3+)))

(define-public texlive-euro
  (package
    (name "texlive-euro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/euro/" "source/latex/euro/"
                                     "tex/latex/euro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bmswsw4clzrrgxmk473ghsdbnw6zwa2rgbjs32i1i5c37026yfi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/euro")
    (synopsis "Provide Euro values for national currency amounts")
    (description
     "This package converts arbitrary national currency amounts using the Euro
as base unit, and typesets monetary amounts in almost any desired way.
Conversion rates for the initial Euro-zone countries are already built-in.
Further rates can be added easily.")
    (license license:lppl)))

(define-public texlive-euro-ce
  (package
    (name "texlive-euro-ce")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/euro-ce/"
                                     "fonts/source/public/euro-ce/"
                                     "fonts/tfm/public/euro-ce/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vyh6ln2wdn42g5r1rg0gqf6q39ny7ldv2b6ikw8b029bdg5079p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/euro-ce")
    (synopsis "Euro and CE sign font")
    (description
     "This package provides Metafont source for the Euro and CE symbols in
several variants, designed to fit with the Computer Modern-set text.")
    (license license:bsd-3)))           ;from "euro-ce.doc"

(define-public texlive-eurosym
  (package
    (name "texlive-eurosym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eurosym/"
                                     "fonts/map/dvips/eurosym/"
                                     "fonts/source/public/eurosym/"
                                     "fonts/tfm/public/eurosym/"
                                     "fonts/type1/public/eurosym/"
                                     "tex/latex/eurosym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ml24rxbl1yir4s3fjjxm0z7axklc3p33syg41b76zc7hck9mk8s"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-cm")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-cm texlive-metafont))
    (home-page "https://ctan.org/pkg/eurosym")
    (synopsis "Metafont and macros for Euro sign")
    (description
     "The European currency symbol for the Euro implemented in Metafont, using
the official European Commission dimensions, and providing several
shapes (normal, slanted, bold, outline).  The package also includes a LaTeX
package which defines the macro, pre-compiled @file{tfm} files, and
documentation.")
    (license (license:non-copyleft "file:///doc/fonts/eurosym/COPYING"))))

(define-public texlive-kanaparser
  (package
    (name "texlive-kanaparser")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/kanaparser/"
                                     "tex/luatex/kanaparser/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bcvxkdb2y60w7c0swi3f8yncli0yswalrdzxjv7h0xp21c202hp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kanaparser")
    (synopsis "Kana parser for LuaTeX")
    (description
     "The package provides a kana parser for LuaTeX.  It is a set of four
macros that handle transliteration of text: from hiragana and katakana to
Latin from Latin and katakana to hiragana from Latin and hiragana to katakana
It can be used to write kana directly using only the ASCII character set or
for education purposes.  The package has support for obsolete and rarely used
syllables, some only accessible via the provided toggle macro.")
    ;; License is BSD.  Assuming original BSD-4.
    (license license:bsd-4)))

(define-public texlive-kastrup
  (package
    (name "texlive-kastrup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/kastrup/"
                                     "source/generic/kastrup/"
                                     "tex/generic/kastrup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sbf4xw1jsh9pbjhqw3f0bg067f0rhf936wfnqpzj9kp2167n41j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/binhex")
    (synopsis "Convert numbers into binary, octal and hexadecimal")
    (description
     "The @code{kastrup} package provides the @emph{binhex.tex} file.  This
file provides expandable macros for both fixed-width and minimum-width numbers
to bases 2, 4, 8 and 16.  All constructs TeX accepts as arguments to its
@code{\\number} primitive are valid as arguments for the macros.  The package
may be used under LaTeX and plain TeX.")
    (license (license:fsf-free "file:/binhex.dtx"))))

(define-public texlive-translation-arsclassica-de
  (package
    (name "texlive-translation-arsclassica-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-arsclassica-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ix5lafy3ay2bc9zkkbqw2rrw6ng3izb8d9p6rki6h2j7n0qj47s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-arsclassica-de")
    (synopsis "German version of @code{arsclassica}")
    (description
     "This is a German translation of the @code{arsclassica} documentation.")
    (license license:lppl)))

(define-public texlive-translation-biblatex-de
  (package
    (name "texlive-translation-biblatex-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-biblatex-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ygbz7prjg6pdiqm7lknnk8a9ar05xvpdam38piivif3d3yk5bg1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-biblatex-de")
    (synopsis "German translation of the User Guide for BibLaTeX")
    (description
     "This package provides a German translation of the User Guide for
BibLaTeX.")
    (license license:lppl)))

(define-public texlive-translation-chemsym-de
  (package
    (name "texlive-translation-chemsym-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-chemsym-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01liazqafs3lh9ppipw6i6sljcjzr31nq70r83qgknqmb9j0yfl0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-chemsym-de")
    (synopsis "German version of @code{chemsym}")
    (description
     "This is a German translation of the @code{chemsym} documentation.")
    (license license:lppl)))

(define-public texlive-translation-ecv-de
  (package
    (name "texlive-translation-ecv-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-ecv-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06b4vhsgdphi6kdh5x4a2kl74b64z3y5qzxcpkn0hj40038z1av7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-ecv-de")
    (synopsis "@code{ecv} documentation, in German")
    (description "This is a German translation of the @code{ecv} documentation.")
    (license license:lppl)))

(define-public texlive-translation-enumitem-de
  (package
    (name "texlive-translation-enumitem-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-enumitem-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "121raikamd33gabvbgwygrc8hyi3qhvx4hhv4h8wq2chrglj37dq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-enumitem-de")
    (synopsis "@code{enumitem} documentation, in German")
    (description
     "This is a German translation of the manual for @code{enumitem}.")
    (license license:lppl)))

(define-public texlive-translation-europecv-de
  (package
    (name "texlive-translation-europecv-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-europecv-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n3x8g6k3qq3f4drkhzygz4khxyw6isgxmz963xqp91s0y667gws"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-europecv-de")
    (synopsis "German version of @code{europecv}")
    (description
     "This is a German translation of the @code{europecv} documentation.")
    (license license:lppl)))

(define-public texlive-translation-filecontents-de
  (package
    (name "texlive-translation-filecontents-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-filecontents-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d2ds8kc98yd1can0gzcngm7gsn2gwhriaxnnds5kz3z3al71gkc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-filecontents-de")
    (synopsis "German version of @code{filecontents}")
    (description
     "This is a German translation of the @code{filecontents} documentation.")
    (license license:lppl)))

(define-public texlive-translation-moreverb-de
  (package
    (name "texlive-translation-moreverb-de")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translation-moreverb-de/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jbpmvcm9q73kh09mhrbsb2wlycwwm4n8il342hz4jd15gwhmy8f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translation-moreverb-de")
    (synopsis "German version of @code{moreverb}")
    (description
     "This is a German translation of the @code{moreverb} documentation.")
    (license license:lppl)))

(define-public texlive-translations
  (package
    (name "texlive-translations")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translations/"
                                     "tex/latex/translations/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16jcpb6afjqcqb8hn47dip2w7l9hg7q1vspg791sp1r1dsn81yf4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translations")
    (synopsis "Internationalisation of LaTeX2e packages")
    (description
     ;; Polish not mentioned on CTAN, but there is a
     ;; translations-basic-dictionary-polish.trsl file.
     "This package (once part of the @code{exsheets} package), provides a
framework for providing multilingual features to a LaTeX package.  The package
has its own basic dictionaries for English, Brazilian, Catalan, Dutch, French,
German, Polish and Spanish.  It aims to use translation material for English,
Dutch, French, German, Italian, Spanish, Catalan, Turkish, Croatian, Hungarian,
Danish and Portuguese from babel or polyglossia if either is in use in the
document.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-translations texlive-translations)

(define-public texlive-translator
  (package
    (name "texlive-translator")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/translator/"
                                     "tex/latex/translator/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vmg4w5spl98y9r4h6p89xa43xxfqmv5qlc3sf7kjkyp58px8axs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/translator")
    (synopsis "Easy translation of strings in LaTeX")
    (description
     "This LaTeX package provides a flexible mechanism for translating
individual words into different languages.  Such a translation mechanism is
useful when the author of some package would like to localize the package such
that texts are correctly translated into the language preferred by the user.
This package is not intended to be used to automatically translate more than
a few words.")
    (license (list license:lppl license:gpl1+))))

(define-public texlive-texapi
  (package
    (name "texlive-texapi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/texapi/" "tex/generic/texapi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ivg2a2pgl6bmb2242cjjcz7n9cs514dp1r8c89mva2zlm9l323j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texapi")
    (synopsis "Macros to write format-independent packages")
    (description
     "Texapi provides utility macros to write format-independent (and -aware)
packages.  It is similar in spirit to the etoolbox, except that it isn't tied
to LaTeX.  The tools include engine and format detection, expansion control,
command definition and manipulation, various testing macros, string
operations, and highly customizable while and for loops.")
    (license license:lppl)))

(define-public texlive-textpos
  (package
    (name "texlive-textpos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textpos/" "source/latex/textpos/"
                                     "tex/latex/textpos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0spxbk9w69kcmgib33nq2x7ls8566fg214rcmkb126yyn7jqg567"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textpos")
    (synopsis "Place boxes at arbitrary positions on the LaTeX page")
    (description
     "This package provides a package to facilitate placement of boxes at
absolute positions on the LaTeX page.  There are several reasons why this
might be useful, an important one being to help the creation of large-format
conference posters.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-textpos texlive-textpos)

(define-public texlive-udesoftec
  (package
    (name "texlive-udesoftec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/udesoftec/"
                                     "doc/latex/udesoftec/"
                                     "source/latex/udesoftec/"
                                     "tex/latex/udesoftec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02ja6n570hc1521anr12lkgc5xrcfg97lxca2pylwgi5bfkbsr0b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/udesoftec")
    (synopsis "Thesis class for the University of Duisburg-Essen")
    (description
     "The class is designed for typesetting theses in the Research Group for
Business Informatics and Software Engineering.  (The class may also serve as
a template for such theses.)  The class is designed for use with pdfLaTeX;
input in UTF-8 encoding is assumed.")
    (license license:lppl1.3+)))

(define-public texlive-uhc
  (package
    (name "texlive-uhc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/uhc/umj/"
                                     "dvips/uhc/"
                                     "fonts/afm/uhc/umj/"
                                     "fonts/map/dvips/uhc/"
                                     "fonts/tfm/uhc/umj/"
                                     "fonts/tfm/uhc/uwmj/"
                                     "fonts/tfm/uhc/wmj/"
                                     "fonts/type1/uhc/umj/"
                                     "fonts/vf/uhc/uwmj/"
                                     "fonts/vf/uhc/wmj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hpqdzmz4xrcgk443lysif8yk52rbra8rh6cjjfr4kibyfpy77p3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uhc")
    (synopsis "Fonts for the Korean language")
    (description
     "This package provides support for Korean documents written in Korean
standard KSC codes for LaTeX2e.")
    (license license:lppl)))

(define-public texlive-uhrzeit
  (package
    (name "texlive-uhrzeit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uhrzeit/" "tex/latex/uhrzeit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18qms6ych9q8bras2ajkl4z3dmnrp07gpzizywz206c3i1any3rc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uhrzeit")
    (synopsis "Time printing, in German")
    (description
     "The primary goal of this package is to facilitate formats and ranges of
times as formerly used in Germany.  A variety of printing formats are
available.")
    (license license:lppl1.3+)))

(define-public texlive-umlaute
  (package
    (name "texlive-umlaute")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umlaute/" "source/latex/umlaute/"
                                     "tex/latex/umlaute/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fz2v0p8a46car0iga8m0si7ampff8hqpsmc9v2miqqzmdlqcqcj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umlaute")
    (synopsis "German input encodings in LaTeX")
    (description
     "This is an early package for using alternate input encodings.  The
author considers the package mostly obsolete, since most of its functions are
taken by the @code{inputenc} package; however, @code{inputenc} doesn't support
the @code{roman8} and @code{atari} encodings, so umlaute remains the sole
source of that support.")
    (license license:lppl)))

(define-public texlive-unicode-math
  (package
    (name "texlive-unicode-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unicode-math/"
                                     "source/latex/unicode-math/"
                                     "tex/latex/unicode-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0697k7kn6rs7c1p34589cp882ksbx4ww07dbd79ymccaf4q05jp2"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-xetex")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "xelatex"))
    (native-inputs (list texlive-xetex))
    (propagated-inputs (list texlive-fontspec texlive-lm-math))
    (home-page "https://ctan.org/pkg/unicode-math")
    (synopsis "Unicode mathematics support for XeTeX and LuaTeX")
    (description
     "This package will provide a complete implementation of unicode maths for
XeLaTeX and LuaLaTeX.  Unicode maths is currently supported by the following
fonts:
@itemize
@item Latin Modern Math,
@item TeX Gyre Bonum Math,
@item TeX Gyre Pagella Math,
@item TeX Gyre Schola Math,
@item TeX Gyre Termes Math,
@item DejaVu Math TeX Gyre,
@item Asana-Math fonts,
@item STIX,
@item XITS Math,
@item Libertinus Math,
@item Fira Math.
@end itemize")
    (license license:lppl1.3c+)))

(define-public texlive-voss-mathcol
  (package
    (name "texlive-voss-mathcol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/voss-mathcol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c7kzk2m2i8f6vqywnzfvcmv11ckanhcjxf72p4rgivw8f0lbwjm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/voss-mathcol")
    (synopsis "Typesetting mathematics in colour, in (La)TeX")
    (description
     "This is a short paper from the TeXnische Komodie, in German.  Since the
body of the paper is dominated by clear LaTeX coding examples, most LaTeX
programmers will understand how to achieve the results shown in the diagrams,
even if they don't understand German.")
    (license license:lppl)))

(define-public texlive-xifthen
  (package
    (name "texlive-xifthen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xifthen/" "tex/latex/xifthen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b33mlmnxsj5mi06v2w2zgamk51mgv1lxdr1cax8nkpn9g7n9axw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xifthen")
    (synopsis "Extended conditional commands")
    (description
     "This package extends the @code{ifthen} package by implementing new
commands to go within the first argument of @code{\\\\ifthenelse}: to test
whether a string is void or not, if a command is defined or equivalent to
another.  The package also enables use of complex expressions as introduced by
the package @code{calc}, together with the ability of defining new commands to
handle complex tests.")
    (license license:lppl)))

(define-public texlive-xindy
  (package
    (name "texlive-xindy")
    (version "2024.2")
    (source
     (origin
       (method svn-multi-fetch)
       (uri (svn-multi-reference
             (url (texlive-packages-repository version))
             (revision 70951)
             (locations (list "doc/man/man1/tex2xindy.1"
                              "doc/man/man1/tex2xindy.man1.pdf"
                              "doc/man/man1/texindy.1"
                              "doc/man/man1/texindy.man1.pdf"
                              "doc/man/man1/xindy.1"
                              "doc/man/man1/xindy.man1.pdf"
                              "doc/xindy/"
                              "scripts/xindy/"
                              "xindy/"))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "12j2bi0wwp1hyxr1427hhigqmhsd1fyg90bvghxkm1qck85r24vf"))))
    (outputs '("out" "doc"))
    (properties '((updater-ignored-inputs "perl"))) ;in "-bin" already
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-xindy-bin))
    (home-page "https://ctan.org/pkg/xindy")
    (synopsis "General-purpose index processor")
    (description
     "Xindy was developed after an impasse had been encountered in the attempt
to complete internationalisation of @command{makeindex}.  Xindy can be used to
process indexes for documents marked up using (La)TeX, Nroff family and
SGML-based languages.  Xindy is highly configurable, both in markup terms and
in terms of the collating order of the text being processed.")
    (license license:gpl2+)))

(define-public texlive-xindy-bin
  (package
    (inherit texlive-bin)
    (name "texlive-xindy-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs/" '())
            (delete-other-directories "utils/" '("xindy"))
            (delete-other-directories "texk/" '())))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-xindy" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-before 'build 'set-texmfvar
              ;; Building documentation require to generate font metrics, but
              ;; HOME and therefore TEXMFVAR are unavailable.  Use a local
              ;; TEXMFVAR instead.
              (lambda _
                (setenv "TEXMFVAR" (string-append (getcwd) "/texmf-var"))))
            (add-before 'install 'create-missing-directory
              ;; XXX: Install process does not create this directory.
              (lambda _
                (mkdir-p (string-append #$output "/bin"))))
            (add-after 'install 'patch-clisp-location
              (lambda* (#:key inputs #:allow-other-keys)
                ;; The scripts are encoded in ISO-8859-1 (or iso-latin-1).
                (with-fluids ((%default-port-encoding "ISO-8859-1"))
                  (substitute* (find-files #$output "xindy\\.pl$")
                    (("our \\$clisp = .*")
                     (format #f "our $clisp = ~s;~%"
                             (search-input-file inputs "/bin/clisp")))))))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-cbfonts-fd
                  texlive-cyrillic
                  texlive-etoolbox
                  texlive-greek-fontenc
                  texlive-lh))))
    (inputs (list clisp perl))
    (propagated-inputs '())
    (native-search-paths '())
    (home-page (package-home-page texlive-xindy))
    (synopsis "Binary for @code{texlive-xindy}")
    (description
     "This package provides the binary for @code{texlive-xindy}.")
    (license (package-license texlive-xindy))))

(define-public texlive-xindy-persian
  (package
    (name "texlive-xindy-persian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/xindy-persian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04w3h65215slnakk5w19m94xmj9cjx01izbk9xijifv5l6dqh447"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xindy-persian")
    (synopsis "Support for the Persian language in Xindy")
    (description
     "The package offers Persian language support for indexing using Xindy.")
    (license license:lppl1.3+)))

(define-public texlive-xits
  (package
    (name "texlive-xits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/xits/"
                                     "fonts/opentype/public/xits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1359zgi8r4mwjv273zmc5jghyy4i54amkrmkq80z67x4kx092724"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xits")
    (synopsis "Scientific Times-like font")
    (description
     "XITS is a Times-like font for scientific typesetting with proper
mathematical support for modern, Unicode and OpenType capable TeX engines,
namely LuaTeX and XeTeX.  For use with LuaLaTeX or XeLaTeX, support is
available from the @code{fontspec} and @code{unicode-math} packages.")
    (license license:silofl1.1)))

(define-public texlive-ntgclass
  (package
    (name "texlive-ntgclass")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ntgclass/"
                                     "source/latex/ntgclass/"
                                     "tex/latex/ntgclass/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04rvr1gldp87nqplmnqkwi3l9jclsjaawj5rym72gy6sw9snpmck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ntgclass")
    (synopsis "European versions of standard classes")
    (description
     "The bundle offers versions of the standard LaTeX @code{article} and
@code{report} classes, rewritten to reflect a more European design, and the
@code{a4} package, which is better tuned to the shape of a4 paper than is the
@code{a4paper} class option of the standard classes.  The classes include
several for @code{article} and @code{report} requirements, and a @code{letter}
class.  The elements of the bundle were designed by members of the Dutch TeX
Users Group NTG.")
    (license license:lppl1.3+)))

(define-public texlive-nth
  (package
    (name "texlive-nth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/generic/nth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0716sd99xjdkplm7jdmg4lx8lpfnnx6mxjp1l1sp2bfqcg73p4hm"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nth")
    (synopsis "Generate English ordinal numbers")
    (description
     "The command @code{\\nth{<number>}} generates English ordinal numbers of
the form 1st, 2nd, 3rd, 4th, etc.  LaTeX package options may specify that the
ordinal mark be superscripted, and that negative numbers may be treated; Plain
TeX users have no access to package options, so need to redefine macros for
these changes.")
    (license license:public-domain)))

(define-public texlive-ntheorem
  (package
    (name "texlive-ntheorem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ntheorem/" "source/latex/ntheorem/"
                                     "tex/latex/ntheorem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16xain8s0azcnhwj5xwh3m365sb9bhdvxanh19kvmnc52dggjc1y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ntheorem")
    (synopsis "Enhanced theorem environment")
    (description
     "The package offers enhancements for theorem-like environments: easier
control of layout; proper placement of endmarks even when the environment ends
with @code{\\end@{enumerate@}} or @code{\\end@{displaymath@}} (including
support for @code{amsmath} displayed-equation environments); and support for
making a list of theorems, analagous to @code{\\listoffigures}.")
    (license license:lppl)))

(define-public texlive-ntheorem-vn
  (package
    (name "texlive-ntheorem-vn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ntheorem-vn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13lkgb4qjiblbfm4jcxgkxsf08zk90lqz02bxrmim1n8gvyihwcc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ntheorem-vn")
    (synopsis "Vietnamese translation of documentation of @code{ntheorem}")
    (description
     "This is a translation of the documentation provided with
@code{ntheorem}.")
    (license license:lppl)))

(define-public texlive-fmtcount
  (package
    (name "texlive-fmtcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fmtcount/" "scripts/fmtcount/"
                                     "source/latex/fmtcount/" "tex/latex/fmtcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1biw0g6s2arq6kq52c1yfkl0vzafja2az65c3d0syq0vgjzj9763"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fmtcount")
    (synopsis "Display the value of a LaTeX counter in a variety of formats")
    (description
     "The package provides commands that display the value of a LaTeX counter
in a variety of formats (ordinal, text, hexadecimal, decimal, octal, binary
etc).  The package offers some multilingual support; configurations for use in
English (both British and American usage), French (including Belgian and Swiss
variants), German, Italian, Portuguese and Spanish documents are provided.")
    (license license:lppl1.3+)))

(define-public texlive-inriafonts
  (package
    (name "texlive-inriafonts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/inriafonts/"
                                     "fonts/enc/dvips/inriafonts/"
                                     "fonts/map/dvips/inriafonts/"
                                     "fonts/opentype/public/inriafonts/"
                                     "fonts/tfm/public/inriafonts/"
                                     "fonts/truetype/public/inriafonts/"
                                     "fonts/type1/public/inriafonts/"
                                     "fonts/vf/public/inriafonts/"
                                     "tex/latex/inriafonts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ngbpr4pl7r82jmdhiksp32qvbvggf2nawwqq0pkb7cffp95ya49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inriafonts")
    (synopsis "Inria fonts with LaTeX support")
    (description
     "Inria is a free font designed by Black[Foundry] for Inria, a French
research institute.  It comes as Serif and Sans Serif, each with three weights
and matching italics.  Using these fonts with XeLaTeX and LuaLaTeX is easy
using the @code{fontspec} package.  The present package provides a way of
using them with LaTeX and pdfLaTeX: it provides two style files,
@file{InriaSerif.sty} and @file{InriaSans.sty}, together with the PostScript
version of the fonts and their associated files.")
    (license (list license:lppl license:silofl1.1))))

(define-public texlive-floatflt
  (package
    (name "texlive-floatflt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/floatflt/" "source/latex/floatflt/"
                                     "tex/latex/floatflt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1piy8ajbbcadsjwp0mhlgxm2ggggnb5sn75arfs5fxiaqrwd572j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/floatflt")
    (synopsis "Wrap text around floats")
    (description
     "The package can float text around figures and tables which do not span
the full width of a page; it improves upon floatfig, and allows tables/figures
to be set left/right or alternating on even/odd pages.")
    (license license:lppl1.3+)))

(define-public texlive-fvextra
  (package
    (name "texlive-fvextra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fvextra/" "source/latex/fvextra/"
                                     "tex/latex/fvextra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07bjbl2q4jly3hxfcimbxa938n5dhl72h3pm7ab3g5q41fzgjfr3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fvextra")
    (synopsis "Extensions and patches for @code{fancyvrb}")
    (description
     "This package provides several extensions to fancyvrb, including
automatic line breaking and improved math mode.")
    (license license:lppl1.3+)))

(define-public bibtool
  (package
    (name "bibtool")
    (version "2.68")
    (source
     (origin
       (method git-fetch)
       (uri
        (git-reference
         (url "https://github.com/ge-ne/bibtool")
         (commit (string-append
                  "BibTool_"
                  (string-map (lambda (c) (if (char=? c #\.) #\_ c))
                              version)))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0grnmqj8w5018nd7r6drnq2yvfhf22gj9i3rj8ilhzm7zmz3zn0g"))))
    (build-system gnu-build-system)
    (arguments
     `(#:test-target "test"))
    (native-inputs
     (list perl))
    (home-page "http://www.gerd-neugebauer.de/software/TeX/BibTool/en")
    (synopsis "Tool for manipulating BibTeX databases")
    (description
     "BibTool manipulates BibTeX files.  The possibilities of BibTool include
sorting and merging of BibTeX databases, generation of uniform reference keys,
and selecting references used in a publication.")
    (license license:gpl2+)))

(define-public texlive-apa6
  (package
    (name "texlive-apa6")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apa6/" "source/latex/apa6/"
                                     "tex/latex/apa6/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l8x28ijyyj0bz6ypwp2azp296knqk2iy5qv5afnpnrd2kh37x6r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; Build process wants to generate files in the wrong directory.
            (lambda _
              (substitute* "source/latex/apa6/apa6.ins"
                (("file\\{\\./.*?/") "file{")))))))
    (home-page "https://ctan.org/pkg/apa6")
    (synopsis "Format documents in APA style (6th edition)")
    (description
     "The class formats documents in APA style (6th Edition).  It provides
a full set of facilities in three different output modes (journal-like
appearance, double-spaced manuscript, LaTeX-like document).  The class can
mask author identity for copies for use in masked peer review.")
    (license license:lppl1.3c+)))

(define-public texlive-apacite
  (package
    (name "texlive-apacite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/apacite/" "doc/bibtex/apacite/"
                                     "source/bibtex/apacite/" "tex/latex/apacite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nc86zngk71xpbinrfm8p0413xphc0v86ddhcw94gi2sl00hsmzq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apacite")
    (synopsis "Citation style following the rules of the APA")
    (description
     "Apacite provides a BibTeX style and a LaTeX package which are designed
to match the requirements of the American Psychological Association's style
for citations.  The package follows the 6th edition of the APA manual, and is
designed to work with the @code{apa6} class.")
    (license license:lppl)))

(define-public texlive-apalike-german
  (package
    (name "texlive-apalike-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/apalike-german/"
                                     "doc/bibtex/apalike-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15mr1s9622bj5vmmlw7cp0afcbrz2h4kq9cp303ijklcslfsx748"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apalike-german")
    (synopsis "Copy of @file{apalike.bst} with German localization")
    (description
     "This package provides a copy of @file{apalike.bst}, which is part of the
base BibTeX distribution, with German localization.")
    (license license:lppl1.3c)))

(define-public texlive-endfloat
  (package
    (name "texlive-endfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endfloat/" "source/latex/endfloat/"
                                     "tex/latex/endfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zslmc5g28z6adfyd8bdlbw03jawxmgafq0mgwy811hrbcppb2kg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endfloat")
    (synopsis "Move floats to the end, leaving markers where they belong")
    (description
     "The @code{endfloat} package places all floats on pages by themselves at
the end of the document, optionally leaving markers in the text near to where
the figure (or table) would normally have occurred.")
    (license license:gpl3+)))

(define-public texlive-wadalab
  (package
    (name "texlive-wadalab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/wadalab/"
                                     "fonts/afm/wadalab/dgj/"
                                     "fonts/afm/wadalab/dmj/"
                                     "fonts/afm/wadalab/mc2j/"
                                     "fonts/afm/wadalab/mcj/"
                                     "fonts/afm/wadalab/mr2j/"
                                     "fonts/afm/wadalab/mrj/"
                                     "fonts/map/dvips/wadalab/"
                                     "fonts/tfm/wadalab/dgj/"
                                     "fonts/tfm/wadalab/dmj/"
                                     "fonts/tfm/wadalab/mc2j/"
                                     "fonts/tfm/wadalab/mcj/"
                                     "fonts/tfm/wadalab/mr2j/"
                                     "fonts/tfm/wadalab/mrj/"
                                     "fonts/tfm/wadalab/udgj/"
                                     "fonts/tfm/wadalab/udmj/"
                                     "fonts/tfm/wadalab/umcj/"
                                     "fonts/tfm/wadalab/umrj/"
                                     "fonts/type1/wadalab/dgj/"
                                     "fonts/type1/wadalab/dmj/"
                                     "fonts/type1/wadalab/mc2j/"
                                     "fonts/type1/wadalab/mcj/"
                                     "fonts/type1/wadalab/mr2j/"
                                     "fonts/type1/wadalab/mrj/"
                                     "fonts/vf/wadalab/udgj/"
                                     "fonts/vf/wadalab/udmj/"
                                     "fonts/vf/wadalab/umcj/"
                                     "fonts/vf/wadalab/umrj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i72xbn28wh2rl4j1yzl1rvb5nd8bxmci9q9qjzynwq845zgjvnk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wadalab")
    (synopsis "Wadalab (Japanese) font packages")
    (description
     "These are font bundles for the Japanese Wadalab fonts which work with
the CJK package.  All subfonts now have glyph names compliant to the Adobe
Glyph List, making ToUnicode CMaps in PDF documents (created automatically by
@code{dvipdfmx}) work correctly.  All font bundles now contain virtual Unicode
subfonts.")
    (license (license:fsf-free "https://fedoraproject.org/wiki/Licensing:Wadalab"))))

(define-public texlive-was
  (package
    (name "texlive-was")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/was/" "source/latex/was/"
                                     "tex/latex/was/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c2kmfrm898c69bizw0650w82bjabp3jf57hmqfcb9y625pq0s05"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/was")
    (synopsis "Collection of small packages by Walter Schmidt")
    (description
     "This package provides a bundle of packages that arise in the author's
area of interest: compliance of maths typesetting with ISO standards; symbols
that work in both maths and text modes commas for both decimal separator and
maths; and upright Greek letters in maths.")
    (license license:lppl1.2+)))

(define-public texlive-xpatch
  (package
    (name "texlive-xpatch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpatch/" "source/latex/xpatch/"
                                     "tex/latex/xpatch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r08hadnwx9vyppzmbn1bj69b12i5fw1mhk49piw2rqbk01722zk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-etoolbox))
    (home-page "https://ctan.org/pkg/xpatch")
    (synopsis "Extending @code{etoolbox} patching commands")
    (description
     "The package generalises the macro patching commands provided by Philipp
Lehmann's @code{etoolbox}.")
    (license license:lppl1.3c+)))

(define-public texlive-threeparttablex
  (package
    (name "texlive-threeparttablex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/threeparttablex/"
                                     "tex/latex/threeparttablex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19pvw2ifswxcf8dxw0mzjmqhl592477w5hcfh97f4wpya0dv2m9p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/threeparttablex")
    (synopsis "Notes in @code{longtables}")
    (description
     "The package provides the functionality of the @code{threeparttable}
package to tables created using the @code{longtable} package.")
    (license license:lppl1.3+)))

(define-public texlive-ligtype
  (package
    (name "texlive-ligtype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/ligtype/"
                                     "tex/lualatex/ligtype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10vi607lwracjdgiv1iqbg228f0ccd0zafcyn02q0xcv5r3i7h7a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ligtype")
    (synopsis "Comprehensive ligature suppression functionalities")
    (description
     "This package suppresses inappropriate ligatures following specified
rules.  Both font and user kerning are applied correctly, and f-glyphs are
automatically replaced with their short-arm variant (if available).  Also
there is an emphasis on speed.  By default the package applies German language
ligature suppression rules.  With the help of options and macros it can be
used for other languages as well.  The package requires LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-linebreaker
  (package
    (name "texlive-linebreaker")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/linebreaker/"
                                     "tex/lualatex/linebreaker/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19nx0hjzf8fi7ryp0mw2pjyrxy5cfpj8gr82hbk0jn3y3m3lp66b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/linebreaker")
    (synopsis "Prevent overflow boxes with LuaLaTeX")
    (description
     "This package tries to prevent overflow lines in paragraphs or boxes.  It
changes LuaTeX's @code{\\linebreak} callback and re-typesets the paragraph
with increased values of @code{\\tolerance} and @code{\\emergencystretch}
until the overflow no longer happens.  If that doesn't help, it chooses the
solution with the lowest badness.")
    (license license:lppl1.3+)))

(define-public texlive-lineno
  (package
    (name "texlive-lineno")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lineno/" "tex/latex/lineno/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03gkd5iby50jmm8i2q7r30pli7fz8lsryaim24jn11f6kvn4jfil"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lineno")
    (synopsis "Line numbers on paragraphs")
    (description
     "The @code{lineno} package adds line numbers to selected paragraphs with
reference possible through the LaTeX @code{\\ref} and @code{\\pageref} cross
reference mechanism.  Line numbering may be extended to footnote lines, using
the @code{fnlineno} package.")
    (license license:lppl1.3a+)))

(define-public texlive-lparse
  (package
    (name "texlive-lparse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lparse/" "tex/luatex/lparse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m75w69qm67j82ja0lp38yckdsbn465aipzdbi2kg4y2xz34hli1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lparse")
    (synopsis "Lua module for parsing key-value options")
    (description
     "@code{lparse} is derived from @code{xparse}, but only works with LuaTeX.
Just as with xparse, it is possible to use a special syntax consisting of
single letters to express the arguments of a macro.  However, @code{lparse} is
able to read arguments regardless of the macro systemd used -- whether LaTeX,
or ConTeXt, or even plain TeX.  Of course, LuaTeX must always be used as the
engine.")
    (license license:lppl1.3c)))

(define-public texlive-lt3luabridge
  (package
    (name "texlive-lt3luabridge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/lt3luabridge/"
                                     "source/generic/lt3luabridge/"
                                     "tex/generic/lt3luabridge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nlca8b5rwcjcw9amc3lx8mr4wmlwyx7lbd517maj72n1b2x2bsn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lt3luabridge")
    (synopsis "Execute Lua code in any TeX engine that exposes the shell")
    (description
     "This is an expl3(-generic) package for plain TeX, LaTeX, and ConTeXt
that allows you to execute Lua code in LuaTeX or any other TeX engine that
exposes the shell.")
    (license license:lppl1.3c)))

(define-public texlive-lua-typo
  (package
    (name "texlive-lua-typo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lua-typo/"
                                     "source/lualatex/lua-typo/"
                                     "tex/lualatex/lua-typo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lgv4z3psgb1vlmq2lgwnqcqn07wj5af1i5xrgjxr98gigglnrvw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lua-typo")
    (synopsis "Highlighting typographical flaws with LuaLaTeX")
    (description
     "This package tracks common typographic flaws in LuaLaTeX documents,
especially widows, orphans, hyphenated words split over two pages, consecutive
lines ending with hyphens, paragraphs ending on too short lines, etc.
Customisable colours are used to highlight these flaws, and the list of pages
on which typographical flaws were found is printed.")
    (license license:lppl1.3c)))

(define-public texlive-lua-uca
  (package
    (name "texlive-lua-uca")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/lua-uca/" "scripts/lua-uca/"
                                     "source/support/lua-uca/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03wpdaz0z3zqfjs43ar65lx521qyf0c2q62b5p53kdx17xfr09jz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lua-uca")
    (synopsis "Unicode Collation Algorithm library for Lua")
    (description
     "The Lua-UCA library provides basic support for Unicode Collation
Algorithm in Lua.  It can be used to sort arrays of strings according to rules
of particular languages.  It can be used in other Lua projects that need to
sort text in a language dependent way, like indexing processors, bibliographic
generators, etc.")
    (license license:expat)))

(define-public texlive-lua-ul
  (package
    (name "texlive-lua-ul")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lua-ul/"
                                     "source/lualatex/lua-ul/"
                                     "tex/lualatex/lua-ul/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16mli85fcrhfgpjlr6bmgjiwk9s2gq6dda5dvazks32ypbqkkfrd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lua-ul")
    (synopsis "Underlining for LuaLaTeX")
    (description
     "This package provides underlining, strikethough, and highlighting using
features in LuaLaTeX which avoid the restrictions imposed by other methods.
In particular, kerning is not affected, the underlined text can use arbitrary
commands, hyphenation works etc.")
    (license license:lppl1.3c)))

(define-public texlive-lua-visual-debug
  (package
    (name "texlive-lua-visual-debug")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lua-visual-debug/"
                                     "tex/luatex/lua-visual-debug/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g4n4xfqbgcja2x3b7yi59nn76jq695yndv90610pakask2k560l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lua-visual-debug")
    (synopsis "Visual debugging with LuaLaTeX")
    (description
     "The package uses Lua code to provide visible indications of boxes,
glues, kerns and penalties in the PDF output.  The package is known to work in
LaTeX and Plain TeX documents.")
    (license license:expat)))

(define-public texlive-lua-widow-control
  (package
    (name "texlive-lua-widow-control")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lua-widow-control/"
                                     "source/luatex/lua-widow-control/"
                                     "tex/context/third/lua-widow-control/"
                                     "tex/lualatex/lua-widow-control/"
                                     "tex/luatex/lua-widow-control/"
                                     "tex/optex/lua-widow-control/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j7gdd8zp8b8xyb9namjpgc7rphjzh3im6gzk2ynp9dhg0ww24ns"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lua-widow-control")
    (synopsis "Automatically remove widows and orphans from any document")
    (description
     "Unmodified TeX has very few ways of preventing widows and orphans.  In
documents with figures, section headings, and equations, TeX can stretch the
vertical glue between items in order to prevent widows and orphans, but many
documents have no figures or headings.  TeX can also shorten the page by
1 line, but this will give each page a different length which can make
a document look uneven.  The typical solution is to strategically insert
@samp{\\looseness=1}, but this requires manual editing every time that the
document is edited.  Lua-widow-control is essentially an automation of the
@code{\\looseness} method: it uses Lua callbacks to find stretchy paragraphs,
then it lengthens them to remove widows and orphans.  Lua-widow-control is
compatible with all LuaTeX and LuaMetaTeX-based formats.")
    ;; Use either license.
    (license (list license:mpl2.0 license:cc-by-sa4.0))))

(define-public texlive-luaaddplot
  (package
    (name "texlive-luaaddplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luaaddplot/"
                                     "source/luatex/luaaddplot/"
                                     "tex/luatex/luaaddplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r7n2s8isw3rm0g2l0zljh86ysh1zyfbmypci3kgciad5smjzx15"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luaaddplot")
    (synopsis "Extension to @code{pgfplots}' @code{\\addplot} macro")
    (description
     "This package is an extension to @code{pgfplots}.  It extends the
@code{\\addplot} macro by a facility which allows modification of data files
while they are read.  With @code{luaaddplot} it is no longer necessary to
pre-process data files generated by measuring devices with external scripts.")
    (license license:lppl1.3+)))

(define-public texlive-luacas
  (package
    (name "texlive-luacas")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luacas/" "tex/lualatex/luacas/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "118qpll5l0xg2bmy5baaqzzpsnl30pysh141ry55yl5nc7hf23pi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luacas")
    (synopsis "Computer algebra system for users of LuaLaTeX")
    (description
     "This package provides a portable computer algebra system capable of
symbolic computation, written entirely in Lua, designed for use in LuaLaTeX.
Its features are: arbitrary-precision integer and rational arithmetic,
factoring of univariate polynomials over the rationals and finite fields,
number theoretic algorithms, symbolic differentiation and integration, and
more.  The target audience for this package are mathematics students,
instructors, and professionals who would like some ability to perform basic
symbolic computations within LaTeX without the need for laborious and
technical setup.")
    (license license:lppl1.3c)))

(define-public texlive-luacensor
  (package
    (name "texlive-luacensor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luacensor/"
                                     "tex/lualatex/luacensor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nw83zzpb9y4vnm4rjz786nz9fxv1vzlz3dv8fjwxqpxngqws4g8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luacensor")
    (synopsis "Securely redact sensitive information using Lua")
    (description
     "This package provides simple tools for creating redacted contents.  Its
tools are useful for lawyers, workers in sensitive industries, and others who
need to easily produce both unrestricted versions of documents (for limited,
secure release) and restricted versions of documents (for general release).
Redaction is done both by hiding all characters and by slightly varying the
length of strings to prevent jigsaw identification.  It also is friendly to
screen readers by adding alt-text indicating redacted content.")
    (license license:lppl1.3+)))

(define-public texlive-luacolor
  (package
    (name "texlive-luacolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/luacolor/"
                                     "source/latex/luacolor/"
                                     "tex/latex/luacolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19n4h0a505wr7a0q4p8l6nv6zql5xirp85qsfbv8mgnp79plrpn0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luacolor")
    (synopsis "Color support based on LuaTeX's node attributes")
    (description
     "This package implements color support based on LuaTeX's node
attributes.")
    (license license:lppl1.3+)))

(define-public texlive-luacomplex
  (package
    (name "texlive-luacomplex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luacomplex/"
                                     "tex/lualatex/luacomplex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "093hzcgw1jx71m7ah27r3xmk3pd0hj7hzs7k7n77388vgh7mpp8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luacomplex")
    (synopsis "Operations on complex numbers inside LaTeX documents using Lua")
    (description
     "The @code{luacomplex} package is developed to define complex numbers and
perform basic arithmetic on complex numbers in LaTeX.  It also loads the
@code{luamathspackage}.  It provides an easy way to define complex numbers and
perform operations on complex numbers.  There is no particular environment for
performing operations on complex numbers.  The package commands can be used in
any environment (including the mathematics environment).")
    (license license:lppl1.3c)))

(define-public texlive-luagcd
  (package
    (name "texlive-luagcd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luagcd/"
                                     "tex/lualatex/luagcd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09igp58ql95hnc7r0zbwamqij5plscs289g33plypw9i6rppcq6x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luagcd")
    (synopsis "Computation of gcd of integers inside LaTeX using Lua")
    (description
     "Using Lua, the @code{luagcd} package is developed to find the greatest
common divisor (gcd) of integers in LaTeX.  The package provides commands to
obtain step-by-step computation of gcd of two integers by using the Euclidean
algorithm.  In addition, the package has the command to express gcd of two
integers as a linear combination.  The Bezout's Identity can be verified for
any two integers using commands in the package.")
    (license license:lppl1.3c)))

(define-public texlive-luahyphenrules
  (package
    (name "texlive-luahyphenrules")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luahyphenrules/"
                                     "tex/lualatex/luahyphenrules/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a23bp4a7nix4lhi4dl6kwxp1bs6dvldxxrx143i1ps95l3clasj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luahyphenrules")
    (synopsis "Loading patterns in LuaLaTeX with @file{language.dat}")
    (description
     "Preloading hyphenation patterns (or hyphen rules) into any format based
upon LuaTeX is not required in LuaTeX and recent releases of Babel don't do it
anyway.  This package is addressed to those who just want to select the
languages and load their patterns by means of @file{language.dat} without
loading @code{babel}.")
    (license license:lppl1.3+)))

(define-public texlive-luaimageembed
  (package
    (name "texlive-luaimageembed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luaimageembed/"
                                     "tex/lualatex/luaimageembed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nn4vw7hjyjr8an04dd8xmaskf9qn3zjv29dj37pias3pjq7nqi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luaimageembed")
    (synopsis "Embed images as base64-encoded strings")
    (description
     "This package allows to embed images directly as base64-encoded strings
into a LuaLaTeX document.  This can be useful, e.g., to package a document
with images into a single TeX file, or with automatically generated
graphics.")
    (license license:expat)))

(define-public texlive-luaindex
  (package
    (name "texlive-luaindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luaindex/" "scripts/luaindex/"
                                     "source/lualatex/luaindex/"
                                     "tex/lualatex/luaindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a2xfzrc663jmd2s5vi5p38pwd16mbm5602pxc3kszza8whqlfdn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "lualatex"
           #:phases
           #~(modify-phases %standard-phases
               ;; FIXME: Building documentation requires shell-escape to be
               ;; allowed.  I couldn't find a way to generate the package
               ;; only.
               (delete 'build))))
    (home-page "https://ctan.org/pkg/luaindex")
    (synopsis "Create index using LuaLaTeX")
    (description
     "Luaindex provides (yet another) index processor, written in Lua.")
    (license license:lppl1.3+)))

(define-public texlive-luainputenc
  (package
    (name "texlive-luainputenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luainputenc/"
                                     "source/lualatex/luainputenc/"
                                     "tex/lualatex/luainputenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17xglqil5mbv47kjzklp22vvsn29vajf6q0v45af4pd6yk9kcc6w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luainputenc")
    (synopsis "Replacing @code{inputenc} for use in LuaTeX")
    (description
     "LuaTeX operates by default in UTF-8 input; thus LaTeX documents that
need 8-bit character-sets need special treatment.  The package, therefore,
replaces the LaTeX standard @code{inputenc} for use under LuaTeX.  With
a current LuaTeX,the package has the same behaviour with LuaTeX as
@code{inputenc} has under pdfTeX.")
    (license license:public-domain)))

(define-public texlive-luakeys
  (package
    (name "texlive-luakeys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luakeys/" "tex/luatex/luakeys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nsd9d2rfwbjadnfykhi0c4wj39cscpx496acjcixg1irlxii7z8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luakeys")
    (synopsis "Lua module for parsing key-value options")
    (description
     "This package provides a Lua module that can parse key-value options like
the TeX packages @code{keyval}, @code{kvsetkeys}, @code{kvoptions},
@code{xkeyval}, @code{pgfkeys}, etc.")
    (license license:lppl1.3c)))

(define-public texlive-lualatex-truncate
  (package
    (name "texlive-lualatex-truncate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lualatex-truncate/"
                                     "source/lualatex/lualatex-truncate/"
                                     "tex/lualatex/lualatex-truncate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ash4zy97qr9vl3j0gpf16srhi8ymfz3h9khlp59kyq9c921rcla"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lualatex-truncate")
    (synopsis "Wrapper for using the @code{truncate} package with LuaLaTeX")
    (description
     "This package provides a wrapper for the @code{truncate} package, thus
fixing issues related to LuaTeX's hyphenation algorithm.")
    (license license:lppl1.3c)))

(define-public texlive-lualinalg
  (package
    (name "texlive-lualinalg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lualinalg/"
                                     "tex/lualatex/lualinalg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0im1cs2ghf8ac5p7k7ii84221gj84msy3b8zqvzaz5wnmqnsljz9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lualinalg")
    (synopsis "Linear algebra package for LaTeX")
    (description
     "The @code{lualinalg} package is developed to perform operations on
vectors and matrices defined over the field of real or complex numbers inside
LaTeX documents.  It provides flexible ways for defining and displaying
vectors and matrices.  No particular environment of LaTeX is required to use
commands in the package.  The package is written in Lua, and @file{.tex} file
is to be compiled with the LuaLaTeX engine.  It may also save users efforts to
copy vectors and matrices from other software (which may not be in
LaTeX-compatible format) and to use them in a TeX file.  The vectors and
matrices of reasonable size can be handled with ease.  The package can be
modified or extended by writing custom Lua programs.")
    (license license:lppl1.3c)))

(define-public texlive-luamathalign
  (package
    (name "texlive-luamathalign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luamathalign/"
                                     "source/lualatex/luamathalign/"
                                     "tex/lualatex/luamathalign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lj5lc6s30l9k83xrwfjva0v7c9ajv22ybsaz07hadgj17fxqbdn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luamathalign")
    (synopsis "More flexible alignment in @code{amsmath} environments")
    (description
     "This package allows aligning mathematical expressions on points where
directly using @samp{&} is not possible, especially in nested macros or
environments.")
    (license license:lppl1.3c)))

(define-public texlive-luamaths
  (package
    (name "texlive-luamaths")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luamaths/"
                                     "tex/lualatex/luamaths/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f08sdd0yiwnkjj3gr5w2jismf3jmz79k585dd5qyr1303hf20a0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luamaths")
    (synopsis
     "Provide standard mathematical operations inside LaTeX documents using Lua")
    (description
     "The @code{luamaths} package is developed to perform standard
mathematical operations inside LaTeX documents using Lua.  It provides an easy
way to perform standard mathematical operations.  There is no particular
environment in the package for performing mathematical operations.  The
package commands can be used in any environment (including the mathematics
environment).")
    (license license:lppl1.3c)))

(define-public texlive-luamodulartables
  (package
    (name "texlive-luamodulartables")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luamodulartables/"
                                     "tex/lualatex/luamodulartables/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n1ymrmhkay1xwybv017n206l2ic9ygxj1ga1lm3hyl1l7v478wr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luamodulartables")
    (synopsis "Generate modular addition and multiplication tables")
    (description
     "This package is developed to generate modular addition and
multiplication tables for positive integers.  It provides an easy way to
generate modular addition and modular multiplication tables for positive
integers in LaTeX documents.  The commands in the package have optional
arguments for the formatting of tables.  These commands can be used in an
environment similar to a tabular or array environment.  The commands can also
be used with the @code{booktabs} package, which provides nice formatting of
tables in LaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-luamplib
  (package
    (name "texlive-luamplib")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luamplib/"
                                     "source/luatex/luamplib/"
                                     "tex/luatex/luamplib/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05qpjcvl4pq41hm0w9nsxbybbpc3msbl75kk16ppxkyd0gg4yfl4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luamplib")
    (synopsis "Use LuaTeX's built-in MetaPost interpreter")
    (description
     "The package enables the user to specify MetaPost diagrams (which may
include colour specifications from the color or xcolor packages) into
a document, using LuaTeX's built-in MetaPost library.  The facility is only
available in PDF mode.")
    (license license:gpl2)))

(define-public texlive-luaoptions
  (package
    (name "texlive-luaoptions")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luaoptions/"
                                     "tex/lualatex/luaoptions/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "143cjll4dkjb3bp9755c5wsq447mvw8k043mqyi01qskz5wq45yf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luaoptions")
    (synopsis "Option handling for LuaLaTeX packages")
    (description
     "This LuaLaTeX package provides extensive support for handling options,
on package level and locally.  It allows the declaration of sets of options,
along with defaults, allowed values and limited type checking.  These options
can be enforced as package options, changed at any point during a document, or
overwritten locally by optional macro arguments.  It is also possible to
instantiate an Options object as an independent Lua object, without linking it
to a package.  Luaoptions can be used to enforce and prepopulate options, or
it can be used to simply handle the parsing of optional @samp{key=value}
arguments into proper Lua tables.")
    (license license:expat)))

(define-public texlive-luapackageloader
  (package
    (name "texlive-luapackageloader")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luapackageloader/"
                                     "tex/luatex/luapackageloader/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cf2p4zhfvf7f10pbpp332chj46ajknqgb7a8i16v63ivvmgb8m3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-iftex))
    (home-page "https://ctan.org/pkg/luapackageloader")
    (synopsis "Allow LuaTeX to load external Lua packages")
    (description
     "This package allows LuaTeX to load packages from the default
@code{package.path} and @code{package.cpath} locations.  This could be useful
to load external Lua modules, including modules installed via LuaRocks.")
    (license license:lppl1.3c)))

(define-public texlive-luaprogtable
  (package
    (name "texlive-luaprogtable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luaprogtable/"
                                     "tex/lualatex/luaprogtable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vx4vsqa777hv4bdw8m7x8hrjg5p9h8d68z0l2ji60h67bziy161"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luaprogtable")
    (synopsis "Programmable table interface for LuaLaTeX")
    (description
     "This package allows you to modify a cell based on the contents of other
cells using LaTeX macros.")
    (license license:expat)))

(define-public texlive-luapstricks
  (package
    (name "texlive-luapstricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luapstricks/"
                                     "fonts/opentype/public/luapstricks/"
                                     "tex/lualatex/luapstricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m2pp4dmf8c7fyrc8w1x1ziqn0qa0qmqjadyfkkr9jgjcvmgk6mz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luapstricks")
    (synopsis "PSTricks backend for LuaLaTeX")
    (description
     "This package enables the use of PSTricks directly in LuaLaTeX documents,
without invoking external programmes, by implementing a PostScript interpreter
in Lua.  Therefore it does not require shell escape to be enabled or special
environments, and instead allows PSTricks to be used exactly like in Dvips
based documents.")
    (license license:lppl1.3+)))

(define-public texlive-luaquotes
  (package
    (name "texlive-luaquotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luaquotes/"
                                     "tex/lualatex/luaquotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lla3bd5prh5ld1p88f8c3mfck6c6jn241fq1fzz0a9vdhfsbpv0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luaquotes")
    (synopsis "Smart setting of quotation marks")
    (description
     "This package automatically generates quotation marks and punctuation
depending on the selected language.")
    (license (list license:lppl1.3c license:cc-by-sa3.0))))

(define-public texlive-luarandom
  (package
    (name "texlive-luarandom")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luarandom/"
                                     "tex/lualatex/luarandom/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wylb873xi0k808p204b8vfdp09f2i97wv8pf7wny36wkraj3rr4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luarandom")
    (synopsis "Create lists of random numbers")
    (description
     "This package can create lists of random numbers for any given interval.
It is possible to get lists with or without multiple numbers.  The random
generator will be initialized by the system time.")
    (license license:lppl1.3+)))

(define-public texlive-luaset
  (package
    (name "texlive-luaset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luaset/"
                                     "tex/lualatex/luaset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xnnir427r1wyf9w466gamz1slf1b401gj1xfcsn2747g17gjd03"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luaset")
    (synopsis "Set Operations inside LaTeX documents using Lua")
    (description
     "The @code{luaset} package is developed to define finite sets and perform
operations on them inside LaTeX documents.  There is no particular environment
in the package for performing set operations.  The package commands can be
used in any environment (including the mathematics environment).  It is
written in Lua, and the @file{.tex} file is to be compiled with the LuaLaTeX
engine.")
    (license license:lppl1.3c)))

(define-public texlive-luatexko
  (package
    (name "texlive-luatexko")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luatexko/"
                                     "tex/luatex/luatexko/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14q1zrcqnhfz0g6s6274k0zlzkl27vwn61i2388wjgxzvxd9kphv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luatexko")
    (synopsis "Typeset Korean with Lua(La)TeX")
    (description
     "This is a Lua(La)TeX macro package that supports typesetting Korean
documents including Old Hangul texts.  As LuaTeX has opened up access to
almost all the hidden routines of TeX engine, users can obtain more beautiful
outcome using this package rather than other Hangul macros operating on other
engines.")
    (license license:lppl1.3c)))

(define-public texlive-luatextra
  (package
    (name "texlive-luatextra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luatextra/"
                                     "source/lualatex/luatextra/"
                                     "tex/lualatex/luatextra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i82x51rcdll5r6x63j5qqahb277a1xdrzpck30xlggwwlns0jdc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luatextra")
    (synopsis "Additional macros for Plain TeX and LaTeX in LuaTeX")
    (description
     "The package provides a coherent extended programming environment for use
with LuaTeX.  It loads packages @code{fontspec}, @code{luatexbase} and
@code{lualibs}, and provides additional user-level features and goodies.")
    (license license:public-domain)))

(define-public texlive-luatruthtable
  (package
    (name "texlive-luatruthtable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luatruthtable/"
                                     "tex/lualatex/luatruthtable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0320891nanq3jbybv6s50ygazzdnygzwa75n5yijv4mjl5as224l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luatruthtable")
    (synopsis "Generate truth tables of boolean values in LuaLaTeX")
    (description
     "This package provides an easy way for generating truth tables of boolean
values in LuaLaTeX. The time required for operations is no issue while
compiling with LuaLaTeX. The package supports nesting of commands for multiple
operations.  It can be modified or extended by writing custom lua programs.
There is no need to install lua on users system as TeX distributions (TeX Live
or MikTeX) come bundled with LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-luavlna
  (package
    (name "texlive-luavlna")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luavlna/" "tex/luatex/luavlna/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ca1vhl7grc8rsq8fb9ky374gcrcn3mmm42945q118qn3jny99ck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luavlna")
    (synopsis
     "Prevent line breaks after single letter words, units, or academic titles")
    (description
     "In some languages, like Czech or Polish, there should be no single
letter words at the end of a line, according to typographical norms.  This
package handles such situations using LuaTeX's callback mechanism.  In doing
this, the package can detect languages used in the text and insert spaces only
in parts of the document where languages requiring this feature are used.
Another feature of this package is the inclusion of non-breakable space after
initials (like in personal names), after or before academic degrees, and
between numbers and units.  The package supports both plain LuaTeX and
LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-luaxml
  (package
    (name "texlive-luaxml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/luaxml/" "tex/luatex/luaxml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mi8ad57bxkpzakrf7b8vx23fp5fnlqf23km5rr0laqp5zk6889i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luaxml")
    (synopsis "Lua library for reading and serialising XML files")
    (description
     "LuaXML is a pure Lua library for reading and serializing XML files.  The
current release is aimed mainly at support for the @code{odsfile} package.")
    ;; It uses explicitly the same license as Lua.
    (license license:x11)))

(define-public texlive-lutabulartools
  (package
    (name "texlive-lutabulartools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/lutabulartools/"
                                     "tex/luatex/lutabulartools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jmji51n6y6pkppdryxyj8297817jvz754h6pzl9rp3qr6bcb794"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lutabulartools")
    (synopsis "Some useful LuaLaTeX-based tabular tools")
    (description
     "This package provides some useful commands for tabular matter.  It uses
LuaLaTeX and offers the ability to combine the facilities of multirow and
makecell with an easy to use syntax.  It also adds some enhanced rules for the
@code{booktabs} package.")
    (license license:expat)))

(define-public texlive-makeplot
  (package
    (name "texlive-makeplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makeplot/"
                                     "source/latex/makeplot/"
                                     "tex/latex/makeplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w34508lvb6rjhp41k78ph2p609mk03n8sp4mfgmhdpay0qxyjz5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makeplot")
    (synopsis "Easy plots from Matlab in LaTeX")
    (description
     "Makeplot is a LaTeX package that uses the PSTricks @code{pst-plot}
functions to plot data that it takes from Matlab output files.")
    (license license:lppl)))

(define-public texlive-minim
  (package
    (name "texlive-minim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/minim/" "tex/luatex/minim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13bsj3gliq3jxw13fwj6qjjr2307m86wh6a9016zyl77xpd5n1r6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minim")
    (synopsis "Modern plain format for the LuaTeX engine")
    (description
     "This is a modern plain format for the LuaTeX engine, adding improved
low-level support for many LuaTeX extensions and newer PDF features.  While it
can be used as drop-in replacement for plain TeX, it probably is most useful
as a basis for your own formats.  Most features included in the format are
provided by separate packages that can be used on their own; this package
contains only their shared lowest-level programming interface, along with
their combined format.")
    (license license:eupl1.2)))

(define-public texlive-minim-math
  (package
    (name "texlive-minim-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/minim-math/"
                                     "tex/luatex/minim-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fqmsnn8fcl98wans018mm28l1svc8z8aq5kz48lw2av8hxg40b9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minim-math")
    (synopsis "Extensive maths for LuaTeX")
    (description
     "This package provides a simple and highly configurable way to use
Unicode and OpenType mathematics with simple LuaTeX, taking advantage of most
of the engine's new capabilities in mathematical typesetting.  Also included
are the proper settings and definitions for almost all Unicode mathematical
characters.")
    (license license:eupl1.2)))

(define-public texlive-minim-mp
  (package
    (name "texlive-minim-mp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/minim-mp/" "metapost/minim-mp/"
                                     "tex/luatex/minim-mp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08i6z363fimql2g5fhdn79mz10yjfhb62jbr456ch7yf9x0zc9lh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minim-mp")
    (synopsis "Low-level mplib integration for LuaTeX")
    (description
     "This package offers low-level mplib integration for plain LuaTeX and is
designed with the purpose of being easy to extend.  The use of multiple
simultaneous MetaPost instances is supported, as well as running TeX or lua
code from within MetaPost.  With the included @code{minim-mp} format file, you
can even use LuaTeX as a stand-alone MetaPost compiler.")
    (license license:eupl1.2)))

(define-public texlive-minim-pdf
  (package
    (name "texlive-minim-pdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/minim-pdf/"
                                     "tex/luatex/minim-pdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0495gig9a96gqpcmjm54diggg9f7kzjznl39hx6j9sjlzhrmmz8m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minim-pdf")
    (synopsis "Low-level PDF integration for LuaTeX")
    (description
     "This package adds low-level support to plain LuaTeX for marking up the
structure of a PDF document.  The implementation is rather basic, but should
allow you to make your PDFs fully PDF/A-compliant.")
    (license license:eupl1.2)))

(define-public texlive-minim-xmp
  (package
    (name "texlive-minim-xmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/luatex/minim-xmp/"
                                     "tex/luatex/minim-xmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mvgmi685sfg0phw655z57gzbpizk6qjn742gabvjl44a6c3r54f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minim-xmp")
    (synopsis "Embed XMP metadata in PDF with LuaTeX")
    (description
     "This package enables the inclusion of XMP (eXtensible Metadata Platform)
data in the pdf output generated by (plain) LuaTeX.  The use of XMP is
required by PDF standards such as PDF/A.")
    (license license:eupl1.2)))

(define-public texlive-babel-czech
  (package
    (name "texlive-babel-czech")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-czech/"
                                     "source/generic/babel-czech/"
                                     "tex/generic/babel-czech/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "036817g9dv7m0m1576igwv4mjk8b41klkih44zzwjigdgdjpwbn9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-czech")
    (synopsis "Babel support for Czech")
    (description
     "This package provides the language definition file for support of Czech
in @code{babel}.  Some shortcuts are defined, as well as translations to Czech
of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-babel-dutch
  (package
    (name "texlive-babel-dutch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-dutch/"
                                     "source/generic/babel-dutch/"
                                     "tex/generic/babel-dutch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iqlhs2zh60n50r69yicxlklxx8msrb8k552j0ffmqf5kh64fpqh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-dutch")
    (synopsis "Babel contributed support for Dutch")
    (description
     "This package provides the language definition file for support of Dutch
in @code{babel}.  It provides all the necessary macros, definitions and
settings to typeset Dutch documents.")
    (license license:lppl1.3c+)))

(define-public texlive-babel-finnish
  (package
    (name "texlive-babel-finnish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-finnish/"
                                     "source/generic/babel-finnish/"
                                     "tex/generic/babel-finnish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zwrbcqjwhy31mks31vlc4kxci67d5cfm53jaikaabkd8q6grq6i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-finnish")
    (synopsis "Babel support for Finnish")
    (description
     "This package provides the language definition file for support of
Finnish in @code{babel}.  It provides all the necessary macros, definitions and
settings to typeset Finnish documents.")
    (license license:lppl1.3c+)))

(define-public texlive-babel-norsk
  (package
    (name "texlive-babel-norsk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-norsk/"
                                     "source/generic/babel-norsk/"
                                     "tex/generic/babel-norsk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19w3ys7mhm9kfkj9vf1nkiqnn30393mhzmfhq4zsw6d0mj0y94na"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-norsk")
    (synopsis "Babel support for Norwegian")
    (description
     "The package provides the language definition file for support of
Norwegian in Babel.  Some shortcuts are defined, as well as translations to
Norsk of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-generic-babel-norsk texlive-babel-norsk)

(define-public texlive-babel-danish
  (package
    (name "texlive-babel-danish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-danish/"
                                     "source/generic/babel-danish/"
                                     "tex/generic/babel-danish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11fhmj850gahjm3l3rg5pg4l8j9x6mma59vgfpmnd4fkxj5acb0r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-danish")
    (synopsis "Babel contributed support for Danish")
    (description
     "This package provides the language definition file for support of
Danish in @code{babel}.  It provides all the necessary macros, definitions and
settings to typeset Danish documents.")
    (license license:lppl1.3c+)))

(define-public texlive-babel-polish
  (package
    (name "texlive-babel-polish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/babel-polish/"
                                     "source/generic/babel-polish/"
                                     "tex/generic/babel-polish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j86l23y1rq1raq2n5azza07l7xjkpgw9nhm77pzy8xmifp3nzhb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/babel-polish")
    (synopsis "Babel support for Polish")
    (description
     "This package provides the language definition file for support of Polish
in @code{babel}.  Some shortcuts are defined, as well as translations to
Polish of standard LaTeX names.")
    (license license:lppl1.3+)))

(define-public texlive-mdframed
  (package
    (name "texlive-mdframed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mdframed/" "source/latex/mdframed/"
                                     "tex/latex/mdframed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i5rm946wg43rjckxlfhx79zfx5cgd3bxk71206hd1dqkrgpdpa8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mdframed")
    (synopsis "Framed environments that can split at page boundaries")
    (description
     "The @code{mdframed} package develops the facilities of @code{framed} in
providing breakable framed and coloured boxes.  The user may instruct the
package to perform its operations using default LaTeX commands, PStricks or
TikZ.")
    (license license:lppl)))

(define-public texlive-setspace
  (package
    (name "texlive-setspace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/setspace/" "tex/latex/setspace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bvspbka1jhpysyhh3sd1vkkm6xjj2ahj0mzv2inzqbrrbydr9gr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/setspace")
    (synopsis "Set space between lines")
    (description
     "The @code{setspace} package provides support for setting the spacing
between lines in a document.  Package options include @code{singlespacing},
@code{onehalfspacing}, and @code{doublespacing}.  Alternatively the spacing
can be changed as required with the @code{\\singlespacing},
@code{\\onehalfspacing}, and @code{\\doublespacing} commands.  Other size
spacings also available.")
    (license license:lppl1.3+)))

(define-public texlive-pgfgantt
  (package
    (name "texlive-pgfgantt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfgantt/" "source/latex/pgfgantt/"
                                     "tex/latex/pgfgantt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bm034iizk4sd7p5x7vkj7v57dc0bf2lswpsb32s4qlg4s7h6jqz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-pgf))
    (home-page "https://ctan.org/pkg/pgfgantt")
    (synopsis "Draw Gantt charts with TikZ")
    (description
     "The @code{pgfgantt} package provides an environment for drawing Gantt charts
that contain various elements (titles, bars, milestones, groups and links).
Several keys customize the appearance of the chart elements.")
    (license license:lppl1.3+)))

(define-public texlive-pdfcol
  (package
    (name "texlive-pdfcol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfcol/" "source/latex/pdfcol/"
                                     "tex/latex/pdfcol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mr09kyan59xlnxl4a97w2avp1p09w5yyv6v3p498xpjbq3dbwih"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfcol")
    (synopsis "Macros for maintaining colour stacks under pdfTeX")
    (description
     "This package is intended for package writers.  It defines macros for
setting and maintaining new colour stacks.")
    (license license:lppl1.3c)))

(define-public texlive-pdfcolfoot
  (package
    (name "texlive-pdfcolfoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfcolfoot/"
                                     "source/latex/pdfcolfoot/"
                                     "tex/latex/pdfcolfoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k3fwfyj56zb18fr4yay4bp66nbx3a0nb87i8mh8yxkm7qmnx95l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfcolfoot")
    (synopsis "Separate color stack for footnotes with pdfTeX")
    (description
     "Since version 1.40 pdfTeX supports several colour stacks.  This package
uses a separate colour stack for footnotes that can break across pages.")
    (license license:lppl1.3+)))

(define-public texlive-pdflscape
  (package
    (name "texlive-pdflscape")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdflscape/"
                                     "source/latex/pdflscape/"
                                     "tex/latex/pdflscape/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l1m97ai3w8lfdfndmcbwyd8sdwpw4wp7zn6c4iqkf8bqwrmqyk8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdflscape")
    (synopsis "Make landscape pages display as landscape")
    (description
     "The @code{pdflscape} package adds PDF support to the @code{landscape}
environment of package @code{lscape}, by setting the PDF @code{/Rotate} page
attribute.  Pages with this attribute will be displayed in landscape
orientation by conforming PDF viewers.")
    (license license:lppl1.3+)))

(define-public texlive-pdfmanagement-testphase
  (package
    (name "texlive-pdfmanagement-testphase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfmanagement-testphase/"
                                     "source/latex/pdfmanagement-testphase/"
                                     "tex/latex/pdfmanagement-testphase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xlhkn5kjyjdqs9w26iffcvks0773nslrip3i3k2xrycp2m0ka2h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfmanagement-testphase")
    (synopsis "LaTeX PDF management testphase bundle")
    (description
     "This is a temporary package, which is used during a test phase to load
the new PDF management code of LaTeX.  The new PDF management code offers
backend-independent interfaces to central PDF dictionaries, tools to create
annotations, form Xobjects, to embed files, and to handle PDF standards.  The
code is provided, during a testphase, as an independent package to allow users
and package authors to safely test the code.  At a later stage it will be
integrated into the LaTeX kernel (or in parts into permanent support
packages), and the current testphase bundle will be removed.")
    (license license:lppl1.3c)))

(define-public texlive-pdftricks
  (package
    (name "texlive-pdftricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdftricks/"
                                     "tex/latex/pdftricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07vr97rgn0n73zb2b3sb3wkwxl0p6nbnjk0cgxd05drf1k8shxnp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdftricks")
    (synopsis "Support for PSTricks in pdfTeX")
    (description
     "The PSTricks macros cannot be used (directly) with pdfTeX, since
PSTricks uses PostScript arithmetic, which isn't part of PDF.  This package
circumvents this limitation so that the extensive facilities offered by the
powerful PSTricks package can be made use of in a pdfTeX document.  This is
done using the shell escape function available in current TeX implementations.
The package may also be used in support of other PostScript-output-only
packages, such as PSfrag.")
    (license license:gpl3+)))

(define-public texlive-pdftricks2
  (package
    (name "texlive-pdftricks2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdftricks2/"
                                     "tex/latex/pdftricks2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0znq52nzknv0x16cqbpfi90gz89frzk74ww3sg7ibjacmbpfl3j0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdftricks2")
    (synopsis "Use PSTricks in pdfTeX")
    (description
     "The package provides the means of processing documents that contain
PSTricks graphics specifications.  The package is inspired by
@code{pdftricks}.")
    (license license:gpl2)))

(define-public texlive-pedigree-perl
  (package
    (name "texlive-pedigree-perl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/pedigree.1"
                                     "doc/man/man1/pedigree.man1.pdf"
                                     "doc/support/pedigree-perl/"
                                     "scripts/pedigree-perl/"
                                     "source/latex/pedigree-perl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s2186j4hx5v12g5r8admif2ysi6nnm8d0xxpwq26brfcjrbbh7r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "pedigree.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pedigree-perl")
    (synopsis "Generate TeX pedigree files from CSV files")
    (description
     "This program generates TeX commands to typeset pedigrees --- either TeX
fragments or full LaTeX files, to be processed by the @code{pst-pdgr} package.
The program has support for multilanguage pedigrees (at the present moment the
English and Russian languages are supported).")
    (license license:gpl2)))

(define-public texlive-psbao
  (package
    (name "texlive-psbao")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psbao/" "tex/latex/psbao/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11gfnjvhrgic18s45pj6hn8slj9kmrmsrh4kqn83sfdxy2mr2y32"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/psbao")
    (synopsis "Draw Bao diagrams")
    (description
     "The package draws Bao diagrams in LaTeX.  The package is a development
of @code{psgo}, and uses PSTricks to draw the diagrams.")
    (license license:lppl)))

(define-public texlive-pslatex
  (package
    (name "texlive-pslatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "fonts/map/dvips/pslatex/"
                                     "fonts/tfm/public/pslatex/"
                                     "fonts/vf/public/pslatex/"
                                     "source/latex/pslatex/fontinst/"
                                     "source/latex/pslatex/shell/"
                                     "tex/latex/pslatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06qrlh8zbwkq9vn622d04d5dqcp3f8sc1wafbhh7ws5ah4p8b87a"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pslatex")
    (synopsis "Use PostScript fonts by default")
    (description
     "This package provides a small package that makes LaTeX default to
standard PostScript fonts.  It is basically a merger of the @code{times} and
the (obsolete) @code{mathptm} packages from the @code{psnfss} suite.  You must
have installed standard LaTeX and the @code{psnfss} PostScript fonts to use
this package.  The main novel feature is that the @code{pslatex} package tries
to compensate for the visual differences between the Adobe fonts by scaling
Helvetica by 90%, and condensing Courier (i.e.  scaling horizontally) by 85%.
The package is supplied with a (unix) shell file for a @command{pslatex}
command that allows standard LaTeX documents to be processed, without needing
to edit the file.  Note that current @code{psnfss} uses a different technique
for scaling Helvetica, and treats Courier as a lost cause (there are better
free fixed-width available now, than there were when @code{pslatex} was
designed).  As a result, @code{pslatex} is widely considered obsolete.")
    (license license:lppl)))

(define-public texlive-pspicture
  (package
    (name "texlive-pspicture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pspicture/" "dvips/pspicture/"
                                     "source/latex/pspicture/"
                                     "tex/latex/pspicture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06wlnwyn45873zghnbw16lzmfj98r9il218z84p1ixw6jwkwlkh8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pspicture")
    (synopsis "PostScript picture support")
    (description
     "This package provides a replacement for LaTeX's picture macros, that
uses PostScript @code{\\special} commands.  The package is now largely
superseded by @code{pict2e}.")
    (license license:lppl)))

(define-public texlive-datetime
  (package
    (name "texlive-datetime")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime/"
                                     "source/latex/datetime/"
                                     "tex/latex/datetime/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07rx0bcr8b73669xmvl1q3qy96jfqlfs2yv2khjcaf2yfid3c2vw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime")
    (synopsis "Change format of \\today with commands for current time")
    (description
     "This package provides various different formats for the text created by
the command @code{\\today}, and also provides commands for displaying the
current time (or any given time), in 12-hour, 24-hour or text format.  It
overrides Babel's date format, having its own library of date formats in
different languages.  This package is now obsolete and has been replaced by
@code{datetime2}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2
  (package
    (name "texlive-datetime2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2/"
                                     "source/latex/datetime2/"
                                     "tex/latex/datetime2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yjkpfic1ni4j2g61rrjj5hjyd43shc9c0sg1aivbbsmqh30dn33"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox texlive-tracklang texlive-xkeyval))
    (home-page "https://ctan.org/pkg/datetime2")
    (synopsis "Formats for dates, times and time zones")
    (description
     "The @code{datetime2} package provides commands for formatting dates,
times and time zones and redefines @code{\\today} to use the same formatting
style.  In addition to @code{\\today}, you can also use
@code{\\DTMcurrenttime} (current time) or @code{\\DTMnow} (current date and
time).  Dates and times can be saved for later use.  The accompanying
@code{datetime2-calc} package can be used to convert date-times to UTC+00:00.
Language and regional support is provided by independently maintained and
installed modules.  The @code{datetime2-calc} package uses the
@code{pgfcalendar} package (part of the PGF/TikZ bundle).  This package
replaces @code{datetime.sty}, which is now obsolete.")
    (license license:lppl1.3+)))

(define-public texlive-tracklang
  (package
    (name "texlive-tracklang")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tracklang/"
                                     "source/latex/tracklang/"
                                     "tex/generic/tracklang/"
                                     "tex/latex/tracklang/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y8kdr5v033dp79fqfdc1jpp1x3lv0yjz5fjd6yk2xxw30lps1s9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tracklang")
    (synopsis "Language and dialect tracker")
    (description
     "The @code{tracklang} package is provided for package developers who want
a simple interface to find out which languages the user has requested through
packages such as @code{babel} or @code{polyglossia}.  This package does not
provide any translations!  Its purpose is simply to track which languages have
been requested by the user.  Generic TeX code is in @file{tracklang.tex} for
non-LaTeX users.")
    (license license:lppl1.3+)))

(define-public texlive-ltablex
  (package
    (name "texlive-ltablex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltablex/" "tex/latex/ltablex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14lmgj820j6zwj1xnd6ad38kzb9w132kp7sp55cv5bk9vhx3621w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltablex")
    (synopsis "Table package extensions")
    (description
     "The @code{ltablex} package modifies the @code{tabularx} environment to
combine the features of the @code{tabularx} package (auto-sized columns in
a fixed-width table) with those of the @code{longtable} package (multi-page
tables).")
    (license license:lppl)))

(define-public texlive-ragged2e
  (package
    (name "texlive-ragged2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ragged2e/" "source/latex/ragged2e/"
                                     "tex/latex/ragged2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12grx6s15rhhgw969p8hxwgmkjy3mfdirn0yglhzivyiv5fx54ip"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/ragged2e")
    (synopsis "Alternative versions of ragged-type commands")
    (description
     "The @code{ragged2e} package defines new commands @code{\\Centering},
@code{\\RaggedLeft}, and @code{\\RaggedRight} and new environments
@code{Center}, @code{FlushLeft}, and @code{FlushRight}, which set ragged text
and are easily configurable to allow hyphenation (the corresponding commands
in LaTeX, all of whose names are lower-case, prevent hyphenation
altogether).")
    (license license:lppl1.3c)))

(define-public texlive-rcs
  (package
    (name "texlive-rcs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rcs/" "source/latex/rcs/"
                                     "tex/latex/rcs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lhb5njyk5y60lgbbggy804qqc0szcybbhndmwblpxhhyxiqvmi5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rcs")
    (synopsis "Use RCS (revision control system) tags in LaTeX documents")
    (description
     "The @code{rcs} package utilizes the inclusion of RCS supplied data in
LaTeX documents.  In particular, you can easily access values of every RCS
field in your document put the checkin date on the titlepage or put RCS fields
in a footline.  You can also typeset revision logs.  You can also configure
the @code{rcs} package easily to do special things for any keyword.")
    (license license:gpl3+)))

(define-public texlive-refstyle
  (package
    (name "texlive-refstyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/refstyle/" "source/latex/refstyle/"
                                     "tex/latex/refstyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0803kza5q4nz20aw1dcnalcvizpiry8wr3yqig93a4rrpkik5qhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/refstyle")
    (synopsis "Advanced formatting of cross references")
    (description
     "The package provides a consistent way of producing references throughout
a project.  Enough flexibility is provided to make local changes to a single
reference.  The user can configure their own setup.  The package offers
a direct interface to varioref (for use, for example, in large projects such
as a series of books, or a multivolume thesis written as a series of
documents), and name references from the nameref package may be incorporated
with ease.  For large projects such as a series of books or a multi volume
thesis, written as freestanding documents, a facility is provided to interface
to the @code{xr} package for external document references.")
    (license license:lppl)))

(define-public texlive-relsize
  (package
    (name "texlive-relsize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/relsize/" "tex/latex/relsize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07g9wqxsh3a9rmfbppaqhyic82a1i1habizaf4hpdi3246w6nnby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/relsize")
    (synopsis "Set the font size relative to the current font size")
    (description
     "The basic command of the package is @code{\\relsize}, whose argument is
a number of @code{\\magsteps} to change size; from this are defined commands
@code{\\larger}, @code{\\smaller}, @code{\\textlarger}, etc.")
    (license license:public-domain)))

(define-public texlive-russ
  (package
    (name "texlive-russ")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/russ/" "tex/latex/russ/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ixvdjvgrqn5z8glvbr1i9k4yw00n260d11n034x6j67srxph3rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/russ")
    (synopsis "LaTeX in Russian, without Babel")
    (description
     "The package aims to facilitate Russian typesetting (based on input using
MicroSoft Code Page 1251).  Russian hyphenation is selected, and various
mathematical commands are set up in Russian style.  Furthermore all Cyrillic
letters catcodes are set to @samp{letter}, so that commands with Cyrillic
letters in their names may be defined.")
    (license license:lppl)))

(define-public texlive-everyhook
  (package
    (name "texlive-everyhook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/everyhook/"
                                     "source/latex/everyhook/"
                                     "tex/latex/everyhook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rcw2d5ncq8avk33nxika34q3da1v4kcmr6jqdxdg49bq4h8ljs7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-bera
                  texlive-enumitem
                  texlive-etoolbox
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-lipsum
                  texlive-listings
                  texlive-mathpazo
                  texlive-microtype
                  texlive-palatino
                  texlive-svn-prov
                  texlive-upquote
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/everyhook")
    (synopsis "Hooks for standard TeX token lists")
    (description
     "The package takes control of the six TeX token registers @code{\\everypar},
@code{\\everymath}, @code{\\everydisplay}, @code{\\everyhbox},
@code{\\everyvbox} and @code{\\everycr}.  Real hooks for each of the registers
may be installed using a stack like interface.  For backwards compatibility,
each of the @code{\\everyX} token lists can be set without interfering with
the hooks.")
    (license license:lppl1.3+)))

(define-public texlive-everypage
  (package
    (name "texlive-everypage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/everypage/"
                                     "source/latex/everypage/"
                                     "tex/latex/everypage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kw7n7az823sc8gjrd4gjkkak1780yn76zswlnwapxmvl62pv9xk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/everypage")
    (synopsis "Provide hooks to be run on every page of a document")
    (description
     "The package provides hooks to perform actions on every page, or on the
current page.  Specifically, actions are performed after the page is composed,
but before it is shipped, so they can be used to prepare the output page in
tasks like putting watermarks in the background, or in setting the next page
layout, etc.")
    (license license:lppl1.3c)))

(define-public texlive-everysel
  (package
    (name "texlive-everysel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/everysel/" "source/latex/everysel/"
                                     "tex/latex/everysel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0skzm2qsk5vpjxgslclp4pvbbcrrnm1w3df8xfvfq252dyd7w8s5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/everysel")
    (synopsis "Provides hooks into @code{\\selectfont}")
    (description
     "The @code{everysel} package provided hooks whose arguments are executed
just after LaTeX has loaded a new font by means of @code{\\selectfont}.  It
has become obsolete with LaTeX versions 2021/01/05 or newer, since LaTeX now
provides its own hooks to fulfill this task.  For newer versions of LaTeX
@code{everysel} only provides macros using LaTeX's hook management due to
compatibility reasons.")
    (license license:lppl1.3c)))

(define-public texlive-everyshi
  (package
    (name "texlive-everyshi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/everyshi/" "source/latex/everyshi/"
                                     "tex/latex/everyshi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11y6xazv1nk0m2hzsainjr8ijn5cff04xfccm6a65hzg7ipggraj"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-firstaid"
                                               "texlive-l3kernel"
                                               "texlive-l3packages"
                                               "texlive-latex"
                                               "texlive-latex-fonts"
                                               "texlive-latexconfig"
                                               "texlive-metafont"
                                               "texlive-pdftex"
                                               "texlive-tex-ini-files"
                                               "texlive-unicode-data")))
    (build-system texlive-build-system)
    ;; Building `texlive-everyshi' requires "latex" format, provided by
    ;; `texlive-latex-bin'.  However, `texlive-everyshi' is also a propagated
    ;; input from `texlive-latex-bin'.  To work around this cycle, build
    ;; a temporary "latex.fmt" format file, and use it to build the package.
    ;; At the end of the process, remove that temporary format file.
    (arguments
     (list
      #:texlive-latex-bin? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'create-latex-format
            (lambda* (#:key inputs #:allow-other-keys)
              (apply (assoc-ref %standard-phases 'create-formats)
                     (list #:inputs inputs #:create-formats '("latex")))))
          (replace 'build
            (lambda* (#:key inputs build-targets tex-engine #:allow-other-keys)
              (apply (assoc-ref %standard-phases 'build)
                     (list #:inputs inputs
                           #:build-targets build-targets
                           #:tex-engine tex-engine
                           #:tex-format (string-append (getcwd)
                                                       "/web2c/pdftex/latex")))))
          (add-after 'build 'remove-latex-format
            (lambda _
              (delete-file-recursively "web2c"))))))
    (native-inputs
     (list texlive-firstaid
           texlive-l3kernel
           texlive-l3packages
           texlive-latex
           texlive-latex-fonts
           texlive-latexconfig
           texlive-metafont
           texlive-pdftex
           texlive-tex-ini-files
           texlive-unicode-data))
    (home-page "https://ctan.org/pkg/everyshi")
    (synopsis "Take action at every @code{\\shipout}")
    (description
     "The @code{everyshi} package provides hooks into @code{\\sshipout} called
@code{\\EveryShipout} and @code{\\AtNextShipout} analogous to
@code{\\AtBeginDocument}.  With the introduction of the LaTeX hook management
this package became obsolete in 2020 and is only provided for backwards
compatibility.  For current versions of LaTeX it is only mapping the hooks to
the original @code{everyshi} macros.  In case you use an older LaTeX format,
@code{everyshi} will automatically fall back to its old implementation by
loading @code{everyshi-2001-05-15}.")
    (license license:lppl1.3c)))

(define-public texlive-abstract
  (package
    (name "texlive-abstract")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abstract/" "source/latex/abstract/"
                                     "tex/latex/abstract/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1axm78qgrpml09pkh252g1hsjx9c2w7mbdrm9rdl4yqh5ppwq4y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abstract")
    (synopsis "Control the typesetting of the @code{abstract} environment")
    (description
     "The @code{abstract} package gives you control over the typesetting of
the @code{abstract} environment, and in particular provides for a one column
abstract in a two column paper.")
    (license license:lppl)))

(define-public texlive-bredzenie
  (package
    (name "texlive-bredzenie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bredzenie/"
                                     "tex/latex/bredzenie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ixmdcg2kxnaf2wacq6imp6i159jmyy3xn16135j8ddl2kbxp4s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bredzenie")
    (synopsis
     "Polish version of ``lorem ipsum'' in the form of a LaTeX package")
    (description
     "This is a polish version of the classic pseudo-Latin ``lorem ipsum dolor
sit amet''.  It provides access to several paragraphs of pseudo-Polish
generated with Hidden Markov Models and Recurrent Neural Networks trained on
a corpus of Polish.")
    (license license:lppl1.3c)))

(define-public texlive-breqn
  (package
    (name "texlive-breqn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/breqn/" "source/latex/breqn/"
                                     "tex/latex/breqn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03iyxwcr94f2y7ar7qin5nzjcvmamhblv5lxb97dg6r79mk4wr75"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/breqn")
    (synopsis "Automatic line breaking of displayed equations")
    (description
     "This package provides solutions to a number of common difficulties in
writing displayed equations and getting high-quality output.  The single most
ambitious goal of the package is to support automatic linebreaking of
displayed equations.  The bundle also contains the @code{flexisym} and
@code{mathstyle} packages, which are both designated as support for
@code{breqn}.")
    (license license:lppl1.3+)))

(define-public texlive-breakurl
  (package
    (name "texlive-breakurl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/breakurl/" "source/latex/breakurl/"
                                     "tex/latex/breakurl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lihfrihf1i300sddz09rsn6gj30g299warn88gli9hbrfy6nvw5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/breakurl")
    (synopsis "Line-breakable links in @code{hyperref} for dvips/ps2pdf")
    (description
     "This package provides a command much like @code{hyperref}'s @code{\\url}
that typesets a URL using a typewriter-like font.  However, if the dvips
driver is being used, the original @code{\\url} doesn't allow line breaks in
the middle of the created link: the link comes in one atomic piece.  This
package allows such line breaks in the generated links.")
    (license license:lppl)))

(define-public texlive-cc-pl
  (package
    (name "texlive-cc-pl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/cc-pl/" "fonts/map/dvips/cc-pl/"
                                     "fonts/source/public/cc-pl/"
                                     "fonts/tfm/public/cc-pl/"
                                     "fonts/type1/public/cc-pl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wxpa4s2rx54z259zmg5km91ycydra4d9kn3y6mhkvjjif1yl8av"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-concrete"
                                               "texlive-pl")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-concrete texlive-metafont texlive-pl))
    (home-page "https://ctan.org/pkg/cc-pl")
    (synopsis "Polish extension of Computer Concrete fonts")
    (description
     "These Metafont sources rely on the availability of the Metafont Polish
fonts and of the Metafont sources of the original Concrete fonts.  Adobe Type
1 versions of the fonts are included.")
    (license license:public-domain)))

(define-public texlive-comment
  (package
    (name "texlive-comment")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/comment/" "tex/latex/comment/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c1mqziwxyf1bqzpw6ji65n7ypygm3lyknblxmf0c70w0ivw76pa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comment")
    (synopsis "Selectively include/exclude portions of text")
    (description "This package provides environments for selectively including
or excluding pieces of text, allowing the user to define new, separately
controlled comment versions.")
    (license license:gpl2+)))

(define-public texlive-datatool
  (package
    (name "texlive-datatool")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/datatool/" "doc/latex/datatool/"
                                     "source/latex/datatool/" "tex/latex/datatool/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13v6g3i9pch63159ibpn1r8dwl6ip4hm4cv4z0jx6nn3x8kds5ks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-fp texlive-substr texlive-xfor texlive-xkeyval))
    (home-page "https://ctan.org/pkg/datatool")
    (synopsis "Tools to load and manipulate data")
    (description
     "This package provides tools to create databases using LaTeX commands
or by importing external files.  Databases may be sorted, filtered, and
visualized using several kinds of configurable plots.  Particular support is
provided for mail merging, indexing, creating glossaries, manipulating
bibliographies, and displaying personal pronouns.")
    (license license:lppl1.3+)))

(define-public texlive-physics
  (package
    (name "texlive-physics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/physics/" "tex/latex/physics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wy58wwcv1pv18xs1n71abnm73dqnxqijxvhfxk0rcmvbc6wvwrb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/physics")
    (synopsis "Macros supporting the Mathematics of Physics")
    (description
     "The package defines simple and flexible macros for typesetting equations
in the languages of vector calculus and linear algebra, using Dirac
notation.")
    (license license:lppl)))

(define-public texlive-sourcesanspro
  (package
    (name "texlive-sourcesanspro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sourcesanspro/"
                                     "fonts/enc/dvips/sourcesanspro/"
                                     "fonts/map/dvips/sourcesanspro/"
                                     "fonts/opentype/adobe/sourcesanspro/"
                                     ;; ^ It would be tempting to use our
                                     ;; font-adobe-source-sans-pro for these, but the version in
                                     ;; texlive could differ from our version: probably the
                                     ;; difference would be small, but debugging would not be
                                     ;; fun.  If the files are really identical, Guix will
                                     ;; hard-link them anyway.
                                     "fonts/tfm/adobe/sourcesanspro/"
                                     "fonts/type1/adobe/sourcesanspro/"
                                     "fonts/vf/adobe/sourcesanspro/"
                                     "tex/latex/sourcesanspro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18z7ln8dyh0sp6v0vdvc6qqxnpg3h3ix0f5magjcjbpay54kl0i3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sourcesanspro")
    (synopsis "Use Source Sans Pro with TeX(-alike) systems")
    (description
     "This package provides the Source Sans Pro font family from Adobe in both
Adobe Type 1 and OpenType formats, plus macros supporting the use of the fonts
in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).")
    (license (list license:lppl1.3+ license:silofl1.1))))

(define-public texlive-sourceserifpro
  (package
    (name "texlive-sourceserifpro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sourceserifpro/"
                                     "fonts/enc/dvips/sourceserifpro/"
                                     "fonts/map/dvips/sourceserifpro/"
                                     "fonts/opentype/adobe/sourceserifpro/"
                                     ;; ^ See comment in `texlive-sourcesanspro'.
                                     "fonts/tfm/adobe/sourceserifpro/"
                                     "fonts/type1/adobe/sourceserifpro/"
                                     "fonts/vf/adobe/sourceserifpro/"
                                     "tex/latex/sourceserifpro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18xxncg8ybv86r46zq5mvgkrfnvlhx93n55fy8nkk8vdmminrh8w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sourceserifpro")
    (synopsis "Use Source Serif Pro with TeX(-alike) systems")
    (description
     "This package provides the Source Serif Pro font family from Adobe in
both Adobe Type 1 and OpenType formats, plus macros supporting the use of the
fonts in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).")
    (license (list license:lppl1.3+ license:silofl1.1))))

(define-public texlive-sourcecodepro
  (package
    (name "texlive-sourcecodepro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sourcecodepro/"
                                     "fonts/enc/dvips/sourcecodepro/"
                                     "fonts/map/dvips/sourcecodepro/"
                                     "fonts/opentype/adobe/sourcecodepro/"
                                     ;; ^ See comment in `texlive-sourcesanspro'.
                                     "fonts/tfm/adobe/sourcecodepro/"
                                     "fonts/type1/adobe/sourcecodepro/"
                                     "fonts/vf/adobe/sourcecodepro/"
                                     "tex/latex/sourcecodepro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "009v9y7d3vsljgq9nw5yx4kzyqavxbwrlvwhfjj83s6rmb9xcrmh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sourcecodepro")
    (synopsis "Use Source Code Pro with TeX(-alike) systems")
    (description "This package provides the Source Code Pro font family from
Adobe in both Adobe Type 1 and OpenType formats, plus macros supporting the
use of the fonts in LaTeX (Type 1) and XeLaTeX/LuaLaTeX (OTF).")
    (license (list license:lppl1.3+ license:silofl1.1))))

(define-public texlive-hyphenat
  (package
    (name "texlive-hyphenat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hyphenat/" "source/latex/hyphenat/"
                                     "tex/latex/hyphenat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gm7s7bidp9b4sfgylvwydban8jylfcskmqrf0sxlwxsqxqq5fy5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hyphenat")
    (synopsis "Disable/enable hypenation")
    (description
     "This package can disable all hyphenation or enable hyphenation of
non-alphabetics or monospaced fonts.  The package can also enable hyphenation
within words that contain non-alphabetic characters (e.g., that include
underscores), and hyphenation of text typeset in monospaced (e.g.,
@code{cmtt}) fonts.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-hyphenat texlive-hyphenat)

(define-public texlive-lastpage
  (package
    (name "texlive-lastpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lastpage/" "source/latex/lastpage/"
                                     "tex/latex/lastpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0py14m79lc5p4bpyf6kvxq6gcfp141867s5bar012w6nbzn8pvb1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lastpage")
    (synopsis "Reference last page for Page N of M type footers")
    (description
     "This package enables referencing the number of pages in a LaTeX document
through the introduction of a new label which can be referenced like
@code{\\pageref{LastPage}} to give a reference to the last page of a document.
It is particularly useful in the page footer that says: @samp{Page N of M}.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-lastpage texlive-lastpage)

(define-public texlive-layaureo
  (package
    (name "texlive-layaureo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/layaureo/" "source/latex/layaureo/"
                                     "tex/latex/layaureo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021dcqv8flqv665falbiq7ga56zpihzrdi6kc59nbk0l4jmxf1w9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/layaureo")
    (synopsis "Improve the A4 page layout")
    (description
     "This package produces a wide page layout for documents that use A4 paper
size.  Moreover, LayAureo provides both a simple hook for leaving an empty
space, which is required if pages are bundled by a press binding, and an
option called @code{big} that forces typearea to become maximum.")
    (license license:lppl)))

(define-public texlive-tabto-ltx
  (package
    (name "texlive-tabto-ltx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabto-ltx/" "tex/latex/tabto-ltx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q0v1pc4hvj71nayfpkj6gfwcbi18s5c526r1k7j4p9m5fcqmbgm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabto-ltx")
    (synopsis "Tab to a measured position in the line")
    (description
     "This package provides @code{\\tabto{<length>}}, which moves the
typesetting position to @code{<length>} from the left margin of the paragraph.
If the typesetting position is already further along, @code{\\tabto} starts
a new line; the command @code{\\tabto*} will move position backwards if
necessary, so that previous text may be overwritten.  In addition, the command
@code{\\TabPositions} may be used to define a set of tabbing positions, after
which the command @code{\\tab} advances typesetting position to the next
defined tab stop.")
    (license license:lppl1.3+)))

(define-deprecated-package texlive-latex-tabto-ltx texlive-tabto-ltx)

(define-public texlive-soul
  (package
    (name "texlive-soul")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/soul/" "source/generic/soul/"
                                     "tex/generic/soul/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q3h95da6n2wpriy54wkpc5ss47ikdslwf4a4pk3nl90sf3qsq15"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/soul")
    (synopsis "Hyphenation for letterspacing, underlining, and more")
    (description
     "The @code{soul} package enables hyphenatable spacing out (letterspacing),
underlining, striking out, etc., using the TeX hyphenation algorithm to find
the proper hyphens automatically.  The package also provides a mechanism that
can be used to implement similar tasks, that have to treat text syllable by
syllable.  This version is a merge of the original @code{soul} package and the
@code{soulutf8} package and supports also UTF-8.")
    (license license:lppl)))

(define-deprecated-package texlive-generic-soul texlive-soul)
(define-deprecated-package texlive-soulutf8 texlive-soul)

(define-public texlive-xstring
  (package
    (name "texlive-xstring")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/xstring/" "tex/generic/xstring/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rbd8l9xwzrik05jy7485wgin3yg0n37md8zndfiajkkw76lzxjx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xstring")
    (synopsis "String manipulation for (La)TeX")
    (description
     "The @code{xstring} package provides macros for manipulating strings, i.e.,
testing a string's contents, extracting substrings, substitution of substrings
and providing numbers such as string length, position of, or number of
recurrences of, a substring.  The package works equally in Plain TeX and
LaTeX (though e-TeX is always required).  The strings to be processed may
contain (expandable) macros.")
    (license license:lppl1.3c)))

(define-deprecated texlive-generic-xstring texlive-xstring)

(define-public texlive-substr
  (package
    (name "texlive-substr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/substr/" "tex/latex/substr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kfd4kq5yrg65f2mpric1cs1xr416wgj9bdixpibgjsdg5fb73sw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/substr")
    (synopsis "Deal with substrings in strings")
    (description
     "The package provides commands to deal with substrings of strings.
Macros are provided to determine if one string is a substring of another,
return the parts of a string before or after a substring, and count the number
of occurrences of a substring.")
    (license license:lppl1.0+)))

(define-public texlive-totcount
  (package
    (name "texlive-totcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/totcount/" "source/latex/totcount/"
                                     "tex/latex/totcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rj9ncip5h2cbdljjqwxqsg14pb4mimzhz290q872n32w7rxkp28"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/totcount")
    (synopsis "Find the last value of a counter")
    (description
     "This package records the value that was last set, for any counter of
interest.  Since most such counters are simply incremented when they are
changed, the recorded value will usually be the maximum value.")
    (license license:lppl1.3c+)))

(define-deprecated-package texlive-latex-totcount texlive-totcount)

(define-public texlive-totpages
  (package
    (name "texlive-totpages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/totpages/" "source/latex/totpages/"
                                     "tex/latex/totpages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mmya2fqdskyavw3hvdiygfyp9cll7bl4lpi7pl2jf9s7ds49j5a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/totpages")
    (synopsis "Count pages in a document, and report last page number")
    (description
     "The package counts the actual pages in the document (as opposed to
reporting the number of the last page, as does @code{lastpage}).  The counter
itself may be shipped out to the DVI file.")
    (license license:lppl)))

(define-public texlive-xdvi
  (package
    (name "texlive-xdvi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/man/man1/xdvi.1"
                                     "doc/man/man1/xdvi.man1.pdf" "dvips/xdvi/"
                                     "xdvi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iidl3876vyi9k2dyfwd73q5kb53kwckivfyvvxh953n4axbqmi4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-xdvi-bin))
    (home-page "https://ctan.org/pkg/xdvi")
    (synopsis "DVI previewer for the X Window System")
    (description
     "Xdvi is the canonical DVI previewer for use on Unix and other X-windows
based systems.  The distribution has been integrated with that of Xdvik, so
that it will build with web2c out of the box.")
    ;; Xdvi is under MIT terms, whereas Xdvik extensions use BS2-2.
    (license (list license:expat license:bsd-2))))

(define-public texlive-xdvi-bin
  (package
    (inherit texlive-bin)
    (name "texlive-xdvi-bin")
    (source
     (origin
       (inherit (package-source texlive-source))
       (modules '((guix build utils)
                  (ice-9 ftw)))
       (snippet
        #~(let ((delete-other-directories
                 (lambda (root dirs)
                   (with-directory-excursion root
                     (for-each
                      delete-file-recursively
                      (scandir "."
                               (lambda (file)
                                 (and (not (member file (append '("." "..") dirs)))
                                      (eq? 'directory (stat:type (stat file)))))))))))
            (delete-other-directories "libs" '())
            (delete-other-directories "utils" '())
            (delete-other-directories "texk" '("xdvik"))))))
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons "--enable-xdvik" (delete "--enable-web2c" #$flags)))
       ((#:phases phases)
        #~(modify-phases #$phases
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (with-directory-excursion "texk/xdvik"
                    (invoke "make" "check")))))
            (replace 'install
              (lambda* (#:key inputs native-inputs #:allow-other-keys)
                (mkdir-p (string-append #$output "/bin"))
                (with-directory-excursion "texk/xdvik"
                  (invoke "make" "install"))))))))
    (native-inputs (list pkg-config))
    (inputs (list freetype ghostscript libxaw texlive-libkpathsea))
    (propagated-inputs '())
    (home-page (package-home-page texlive-xdvi))
    (synopsis "Binaries for @code{texlive-xdvi}}")
    (description
     "This package provides the binaries for @code{texlive-xdvi}}.")
    (license (package-license texlive-xdvi))))

(define-public texlive-xetexconfig
  (package
    (name "texlive-xetexconfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/xelatex/xetexconfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1253njshiwdayzq0xir9cmbi8syhjb3sc4pyrw9p6kzyqvckkcxm"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xetexconfig")
    (synopsis "@file{crop.cfg} for XeLaTeX")
    (description "The @file{crop.cfg} file attempts to persuade
@file{crop.sty} to work with XeTeX.")
    (license license:public-domain)))

(define-public texlive-xetex
  (package
    (name "texlive-xetex")
    (version "2024.2")
    (source  (origin
               (method svn-multi-fetch)
               (uri (svn-multi-reference
                     (url (texlive-packages-repository version))
                     (revision 70951)
                     (locations (list "doc/man/man1/xelatex-unsafe.1"
                                      "doc/man/man1/xelatex-unsafe.man1.pdf"
                                      "doc/man/man1/xelatex.1"
                                      "doc/man/man1/xelatex.man1.pdf"
                                      "doc/man/man1/xetex-unsafe.1"
                                      "doc/man/man1/xetex-unsafe.man1.pdf"
                                      "doc/man/man1/xetex.1"
                                      "doc/man/man1/xetex.man1.pdf"
                                      "doc/xetex/base/"
                                      "fonts/misc/xetex/fontmapping/base/"
                                      "scripts/texlive-extra/xelatex-unsafe.sh"
                                      "scripts/texlive-extra/xetex-unsafe.sh"))))
               (file-name (git-file-name name version))
               (sha256
                (base32
                 "18idq0h7s692vkmnk4gnfnmwg6jy003d4gpi2d19xwfafx5aii08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "xelatex-unsafe.sh" "xetex-unsafe.sh")
           #:create-formats #~(list "xelatex" "xetex")))
    (propagated-inputs
     (list texlive-babel
           texlive-cm
           texlive-dvipdfmx
           texlive-etex
           texlive-firstaid
           texlive-hyphen-base
           texlive-l3backend
           texlive-l3kernel
           texlive-latex
           texlive-latex-fonts
           texlive-lm
           texlive-plain
           texlive-tex-ini-files
           texlive-unicode-data
           texlive-xetex-bin
           texlive-xetexconfig))
    (home-page "https://ctan.org/pkg/xetex")
    (synopsis "Extended variant of TeX for use with Unicode sources")
    (description
     "XeTeX is a TeX typesetting engine using Unicode and supporting modern font
technologies such as OpenType, TrueType or Apple Advanced Typography (AAT),
including OpenType mathematics fonts.  XeTeX supports many extensions that
reflect its origins in linguistic research; it also supports micro-typography
(as available in pdfTeX).  XeTeX was developed by the SIL (the first version
was specifically developed for those studying linguistics, and using Macintosh
computers).  XeTeX's immediate output is an extended variant of DVI format,
which is ordinarily processed by a tightly bound processor (called
@code{xdvipdfmx}), that produces PDF.")
    (license license:x11)))

(define-public texlive-xetex-bin
  (package
    (inherit texlive-bin)
    (name "texlive-xetex-bin")
    (arguments
     (substitute-keyword-arguments (package-arguments texlive-bin)
       ((#:configure-flags flags)
        #~(cons* "--disable-web2c"
                 "--enable-xetex"
                 (delete "--disable-xetex"
                         (delete "--enable-web2c" #$flags))))
       ((#:phases phases)
        #~(modify-phases #$phases
            (add-after 'unpack 'set-default-xetex-outputdriver
              ;; XeTeX requires the "xdvipdfmx" binary to be available in the
              ;; same tree, so as to use it as a safe default "outputdriver".
              ;; Use the one from TEXLIVE-DVIPDFMX-BIN instead of reporting an
              ;; error each time "xelatex" is invoked.
              (lambda _
                (substitute* "texk/web2c/xetexdir/XeTeX_ext.c"
                  (("(\\*outputdriver = \")xdvipdfmx " _ prefix)
                   (string-append prefix
                                  #$(this-package-input "texlive-dvipdfmx-bin")
                                  "/bin/xdvipdfmx ")))))
            (replace 'install
              (lambda _
                (let ((bin (string-append #$output "/bin")))
                  (with-directory-excursion "texk/web2c"
                    (invoke "make" "xetex")
                    (install-file "xetex" bin))
                  (with-directory-excursion bin
                    (symlink "xetex" "xelatex")))))))))
    (native-inputs (list pkg-config))
    (inputs
     (modify-inputs (package-inputs texlive-bin)
       (append freetype teckit texlive-dvipdfmx-bin)))
    (home-page (package-home-page texlive-xetex))
    (synopsis "Binary for @code{texlive-xetex}")
    (description
     "This package provides the binary for @code{texlive-xetex}.")
    (license (package-license texlive-xetex))))

(define-public texlive-xfor
  (package
    (name "texlive-xfor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xfor/"
                                     "source/latex/xfor/"
                                     "tex/latex/xfor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j241j8sixqkaj2xmcvmrfwm1sdw6xdssnzml1bjs54rqzyh768a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xfor")
    (synopsis "Reimplementation of the LaTeX @code{for-loop} macro")
    (description
     "The package redefines the LaTeX internal @code{\\@@for} macro so that
the loop may be prematurely terminated.  The action is akin to the C/Java
@code{break} statement, except that the loop does not terminate until the end
of the current iteration.")
    (license license:lppl)))

(define-public texlive-2up
  (package
    (name "texlive-2up")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/2up/" "tex/generic/2up/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b1fw8j91jdjq5jf2riq6q1qxxwzsv5vx5qsramzvk5cq391s1yg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/twoup-gen")
    (synopsis "Macros to print two-up")
    (description
     "The @code{2up} package offers considerable flexibility as to paper
size and layout, and produces a standard DVI file without involving
additional DVI or PostScript filters.")
    (license license:lppl)))

(define-public texlive-a0poster
  (package
    (name "texlive-a0poster")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/a0poster/" "tex/latex/a0poster/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11b6hcspl01w2w1dy4491nl7xyjxfydkzrbl55bis5j1a64pbixn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/a0poster")
    (synopsis "Support for designing posters on large paper")
    (description
     "This package provides fonts in sizes of 12pt up to 107pt and also
makes sure that in math formulas the symbols appear in the right size.
It can also create a PostScript header file for Dvips which ensures
that the poster will be printed in the right size.  The supported
sizes are DIN A0, DIN A1, DIN A2 and DIN A3.")
    (license license:lppl)))

(define-public texlive-a4wide
  (package
    (name "texlive-a4wide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/a4wide/" "tex/latex/a4wide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i0rwkfzvyd0d8809djli85df1085b9vi97n2c9ipc8kjls1vygi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/a4wide")
    (synopsis "Wide A4 layout")
    (description
     "This package increases the width of the typeset area of an A4 page.
This sort of operation is capable of producing typographically poor
results; the operation itself is better provided by the
@code{geometry} package.")
    (license license:lppl1.0+)))

(define-public texlive-a5comb
  (package
    (name "texlive-a5comb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/a5comb/" "tex/latex/a5comb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ifhiza5ax2s6xlhz8q2xvb0q3acymfp0qhhpbhswygpqb0p75w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/a5comb")
    (synopsis "Support for A5 paper sizes")
    (description
     "This package provides support for A5 paper sizes.  It is superseded
by @code{geometry}.")
    (license license:public-domain)))

(define-public texlive-abraces
  (package
    (name "texlive-abraces")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abraces/" "tex/latex/abraces/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02pdq877cb24vinqzl09wb0hyrvcijm2jjm5bqxb1jrd2nxcj8xh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abraces")
    (synopsis "Asymmetric over-/underbraces in maths")
    (description
     "The package provides a character key-driven interface to supplement
new constructions of the traditional @code{\\overbrace} and
@code{\\underbrace} pairs in an asymmetric or arbitrary way.")
    (license license:lppl1.3+)))

(define-public texlive-abspos
  (package
    (name "texlive-abspos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/abspos/" "source/latex/abspos/"
                                     "tex/latex/abspos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ixcvfn13yqbpi082rgi6zwlmyyz6s61jizh0ym6skg2bx036w2y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/abspos")
    (synopsis "Absolute placement with coffins")
    (description
     "This package lets you place contents at an absolute position,
anchored at some specified part of the contents, similar to how TikZ
nodes work, though without using the two-pass strategy of TikZ.  It
also avoids messing with the order of Beamer overlays, which is what
happens when one uses the @code{textpos} package with the
@code{overlay} option.")
    (license license:expat)))

(define-public texlive-accessibility
  (package
    (name "texlive-accessibility")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/accessibility/"
                                     "source/latex/accessibility/"
                                     "tex/latex/accessibility/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xd8sps37fa96wzrcmnhr99wr12f1hx5z6j5gzwcn073gxdr8wxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/accessibility")
    (synopsis "Create tagged and structured PDF files")
    (description
     "The @code{accessibility} package is intended to create tagged,
structured PDF documents from LaTeX source code.  This package is
predominantly targeted at documents produced using the KOMA-Script
document classes.  However, according to its author using the package
in its current implementation is discouraged.")
    (license license:lppl1.3c)))

(define-public texlive-achemso
  (package
    (name "texlive-achemso")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/achemso/" "doc/latex/achemso/"
                                     "source/latex/achemso/" "tex/latex/achemso/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15zsz8abbrccz41vgg5x9d00fisa3dsl18gya2mqqkhclbh4rmmy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/achemso")
    (synopsis "Support for American Chemical Society journal submissions")
    (description
     "The bundle provides the official macros (@file{achemso.cls}) and
BibTeX styles (@file{achemso.bst} and @file{biochem.bst}) for
submission to the journals of the American Chemical Society.  The
@code{natmove} package, which moves citations relative to punctuation,
is distributed as part of the bundle.")
    (license license:lppl1.3c)))

(define-public texlive-acro
  (package
    (name "texlive-acro")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/acro/" "tex/latex/acro/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c0gyc3q2qz24zjxplfcxswgh1sd9xw5fa0zwk33gahbzm1vbkqb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-etoolbox texlive-l3kernel
                             texlive-l3packages))
    (home-page "https://ctan.org/pkg/acro")
    (synopsis "Typeset acronyms")
    (description
     "The package enables the author to create acronyms in a simple way,
and provides means to add them to different classes of acronyms.
Lists can be created of separate acronym classes.  The package option
@code{single} instructs the package to ignore acronyms that are used
only once in the whole document.  As an experimental feature the
package also offers the option sort which automatically sorts the list
created by @code{\\printacronyms}.")
    (license license:lppl1.3c)))

(define-public texlive-acroterm
  (package
    (name "texlive-acroterm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/acroterm/"
                                     "source/latex/acroterm/"
                                     "tex/latex/acroterm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04ickn8igj226vdjffgpx9ysvlcl5d61m565ijcs3zln02w5c06y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/acroterm")
    (synopsis "Manage and index acronyms and terms")
    (description
     "This is yet another package for acronyms: it offers simple markup of
acronyms and technical terms in the text, giving an index each of
terms and acronyms with their expanded form.")
    (license license:lppl1.3+)))

(define-public texlive-actuarialangle
  (package
    (name "texlive-actuarialangle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/actuarialangle/"
                                     "source/latex/actuarialangle/"
                                     "tex/latex/actuarialangle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j8z47n0aawhvz2s4i0pwfp7yq1vqsxbd2sjx7f955n6k2f54hhw"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-enumitem
                  texlive-etoolbox
                  texlive-framed
                  texlive-hypdoc
                  texlive-helvetic
                  texlive-inconsolata
                  texlive-mathpazo
                  texlive-microtype
                  texlive-natbib
                  texlive-pict2e
                  texlive-upquote
                  texlive-xcolor
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/actuarialangle")
    (synopsis
     "Angle symbol denoting a duration in actuarial and financial notation")
    (description
     "This package provides commands to typeset the angle symbol denoting
a duration in actuarial notation, such as in symbols for the present value of
certain or life annuities, and an over angle square bracket used to emphasize
joint status in symbols of life contingencies.")
    (license license:lppl1.3c)))

(define-public texlive-actuarialsymbol
  (package
    (name "texlive-actuarialsymbol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/actuarialsymbol/"
                                     "source/latex/actuarialsymbol/"
                                     "tex/latex/actuarialsymbol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rnipnm3crv9qmcf7icymizkp4bkkaa1p50qfni04aq89csqnkwq"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "latex"
      #:phases
      #~(modify-phases %standard-phases
          ;; Build process requires an image from "doc/", so we need
          ;; to point to it so it can be found.  Unfortunately, it is
          ;; a JPG file, therefore missing a bounding box.  Add
          ;; missing informations, too.
          (add-before 'build 'fix-build
            (lambda _
              (substitute* "source/latex/actuarialsymbol/actuarialsymbol.dtx"
                (("\\\\includegraphics.*\\{mosaic\\}")
                 (string-append "\\includegraphics[bb=0 0 1000 300]{"
                                (getcwd) "/doc/latex/actuarialsymbol/mosaic.jpg"
                                "}"))))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-actuarialangle
                  texlive-booktabs
                  texlive-enumitem
                  texlive-etoolbox
                  texlive-framed
                  texlive-helvetic
                  texlive-hypdoc
                  texlive-inconsolata
                  texlive-mathpazo
                  texlive-metalogo
                  texlive-microtype
                  texlive-natbib
                  texlive-upquote
                  texlive-pict2e
                  texlive-rsfso
                  texlive-xcolor
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/actuarialsymbol")
    (synopsis
     "Actuarial symbols of life contingencies and financial mathematics")
    (description
     "This package provides commands to compose actuarial symbols of life
contingencies and financial mathematics characterized by subscripts and
superscripts on both sides of a principal symbol.  The package also features
commands to easily and consistently position precedence numbers above or below
statuses in symbols for multiple lives contracts.  Since the actuarial
notation can get quite involved, the package defines a number of shortcut
macros to ease entry of the most common elements.")
    (license license:lppl1.3c)))

(define-public texlive-addfont
  (package
    (name "texlive-addfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/addfont/" "tex/latex/addfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wwjvqgidayw5s6av67k36l6ahbcwwyyn186r3frrgravyshld20"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/addfont")
    (synopsis "Easier use of fonts without LaTeX support")
    (description
     "This package is intended for use by users who know about fonts.  It is
a quick-fix for fonts which do not have genuine LaTeX support.  It is not
meant as a replacement of the LaTeX font definition files.  It is meant as
something more useable for LaTeX users than the @code{\\newfont} command.
With @code{addfont} the loaded font scales along with the usual LaTeX size
selection.  Using this package still requires some knowledge on how to use
fonts with LaTeX.")
    (license license:gpl3+)))

(define-public texlive-addlines
  (package
    (name "texlive-addlines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/addlines/"
                                     "source/latex/addlines/"
                                     "tex/latex/addlines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hn7xhzr6qxfv5rp7hlb3ln3zfm52g5hb006f4gdwc17c0j25h48"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/addlines")
    (synopsis "Wrapper around @code{\\enlargethispage}")
    (description
     "This small package provides the command @code{\\addlines} for adding or
removing space in the textblock of the page it's used on.  E.g., adding an
extra line of text to the page so that a section fits better on the next page.
It will also add space to the facing page in a two-sided document.")
    (license license:lppl1.3c)))

(define-public texlive-adjmulticol
  (package
    (name "texlive-adjmulticol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/adjmulticol/"
                                     "source/latex/adjmulticol/"
                                     "tex/latex/adjmulticol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f7z43b2jx0v2zfxmalbhvh7jd9ln41ldy6zncj7s0x5j0p45gfv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adjmulticol")
    (synopsis "Adjusting margins for multicolumn and single column output")
    (description
     "The package adds, to the @code{multicol} package, the option to change the
margins for multicolumn and unicolumn layout.  The package understands the
difference between the even and odd margins for two side printing.")
    (license license:lppl1.3+)))

(define-public texlive-adrconv
  (package
    (name "texlive-adrconv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/adrconv/" "doc/latex/adrconv/"
                                     "source/latex/adrconv/" "tex/latex/adrconv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ssjws7rvmv97s13qnx3xiakgrr1wyndv7d6zfji73cqck27q2kf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/adrconv")
    (synopsis "BibTeX styles to implement an address database")
    (description
     "The bundle provides a collection of BibTeX style files to turn an address
database stored in the @file{.bib} format into files suitable for printing as
address books or included into letter classes like @code{akletter} or
@code{scrletter2}.  The data may be sorted either by name or birthday and
output provides files in various formats for address books or time planners.")
    (license license:lppl1.3+)))

(define-public texlive-advdate
  (package
    (name "texlive-advdate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/advdate/" "tex/latex/advdate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ixgswmsiy81d9dsrk1w36qlwrsgqmcs2kkvlymgb73n8jfh8n02"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/advdate")
    (synopsis "Print a date relative to today")
    (description
     "This package provides macros which can add a specified number of days to the
current date (as specified in @code{\\today}), to save, set and restore the
current date and to print it.  The package has only been tested with Czech
dates.")
    (license license:lppl1.3+)))
(define-public texlive-akktex
  (package
    (name "texlive-akktex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/akktex/" "tex/latex/akktex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1inwr5s2n9a8a0j8v7ngzcxg9dmg24vlyjcchjgd5x808ril98wx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/akktex")
    (synopsis "Collection of packages and classes")
    (description
     "The bundle provides new document classes for technical documents,
thesis works, manuscripts and lecture notes; many mathematical packages
providing a large number of macros for mathematical texts; layout providing
a non-empty parskip with extended length corrections and new section
definition commands; easy label creation for counters; and German language
tools and predefined abbreviations.")
    (license license:lppl)))

(define-public texlive-akletter
  (package
    (name "texlive-akletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/akletter/" "tex/latex/akletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zk48az12ifl90c75bwm9cxbl4sxc73z9gxkj7qd551npr2ry7j1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/akletter")
    (synopsis "Comprehensive letter support")
    (description
     "This is an advanced letter document class which extends LaTeX's usual
@code{letter} class, providing support for building your own letterhead and
marking fold points for window envelopes.  The class supersedes an earlier
class called @code{myletter}.")
    (license license:lppl)))

(define-public texlive-alchemist
  (package
    (name "texlive-alchemist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/alchemist/"
                                     "tex/latex/alchemist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vbkzmg6ilyz31xa14mzh08m758vrqb1c0qfii9cxzp7sdn1706w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alchemist")
    (synopsis "Typeset alchemist and astrological symbols")
    (description
     "This style file makes the alchemical and astrological symbols
accessible in Unicode.")
    (license (list license:gpl3+ license:lppl))))

(define-public texlive-alertmessage
  (package
    (name "texlive-alertmessage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/alertmessage/"
                                     "source/latex/alertmessage/"
                                     "tex/latex/alertmessage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03pbkpbkgxx4c91b43bbykh931ncvm92mzjms9cpb5msf6yjk2wq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alertmessage")
    (synopsis "Alert messages for LaTeX")
    (description
     "This package provides some macros to display alert messages (informations,
errors, warnings and success messages).")
    (license license:lppl1.3+)))

(define-public texlive-alnumsec
  (package
    (name "texlive-alnumsec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/alnumsec/"
                                     "source/latex/alnumsec/"
                                     "tex/latex/alnumsec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c70939fnp251g9p9ksqabjjsfngkp155h5grq21mpx1m7x4zlcb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alnumsec")
    (synopsis "Alphanumeric section numbering")
    (description
     "This package allows you to use alphanumeric section numbering.  Its output is
similar to @code{alphanum}, but you can use the standard LaTeX sectioning
commands, so that it is possible to switch numbering schemes easily.  Greek
letters, double letters (@samp{bb}) and different delimiters around them are
supported.")
    (license license:lppl)))

(define-public texlive-alterqcm
  (package
    (name "texlive-alterqcm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/alterqcm/" "tex/latex/alterqcm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ag9dxw5x95mk5mjd5jlvk4p0ddjxxzvica669hr4habyiyjmcm1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/alterqcm")
    (synopsis "Multiple choice questionnaires in two column tables")
    (description
     "The alterqcm package is a LaTeX2e package, for making multiple choices
questionnaires in a table with two columns.  The aim is to provide some useful
macros to build QCM in tables.")
    (license license:lppl1.3+)))

(define-public texlive-altfont
  (package
    (name "texlive-altfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/altfont/" "source/latex/altfont/"
                                     "tex/latex/altfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03rr2j5pbld5wd0ici53m870mlmf44g5h9xgf6qnkra1assgi0sj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/altfont")
    (synopsis "Alternative font handling in LaTeX")
    (description
     "The package provides a replacement for that part of @code{psnfss} and
@code{mfnfss} that changes the default font.  The package is distributed
together with the @code{psfont} package.")
    (license license:gpl3+)))

(define-public texlive-altsubsup
  (package
    (name "texlive-altsubsup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/altsubsup/"
                                     "source/latex/altsubsup/"
                                     "tex/latex/altsubsup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c30v7pxlfxvkygli3xkzx9sbn99xkaqvs2s4ansz4wxzamsziiz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/altsubsup")
    (synopsis "Subscripts and superscripts with square brackets")
    (description
     "This is a LaTeX package to write alternative and customisable subscripts and
superscripts, with square brackets in the source code.")
    (license license:lppl1.3+)))

(define-public texlive-amsaddr
  (package
    (name "texlive-amsaddr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/amsaddr/" "source/latex/amsaddr/"
                                     "tex/latex/amsaddr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04y34raa9vfrl66jw566rbb00q5xjbm2zh6k6hjs9nlqhndk62k5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/amsaddr")
    (synopsis "Alter the position of affiliations in @code{amsart}")
    (description
     "The package is to be used with the @code{amsart} document class.  It lets you
move the authors affiliations either just below the authors names on the front
page or as footnotes on the first page.  The email addresses are always listed
as a footnote on the front page.")
    (license license:lppl)))

(define-public texlive-animate
  (package
    (name "texlive-animate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/animate/" "source/latex/animate/"
                                     "tex/latex/animate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10ly46cdfrmlag2l9dkls90fcv50dam2yii7d5q0sjrm739cy04d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/animate")
    (synopsis
     "Create PDF and SVG animations from graphics files and inline graphics")
    (description
     "The package provides an interface to create portable, JavaScript driven PDF
and SVG animations from sets of graphics files or from inline graphics, such
as LaTeX picture environment, PSTricks or PGF/TikZ generated pictures, or just
from typeset text.")
    (license license:lppl)))

(define-public texlive-anonchap
  (package
    (name "texlive-anonchap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/anonchap/" "tex/latex/anonchap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c606nyp8ybik8vjk821hrvfp8ci5f4dwnllqb932xgnqgibr5rf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/anonchap")
    (synopsis "Make chapters be typeset like sections")
    (description
     "The command @code{\\simplechapter} sets up the @code{\\chapter} command not to number chapters,
though they may possibly have a prefix, and a suffix (the
@code{\\simplechapterdelim} command, which the user may alter).  The
@code{\\restorechapter} command restores the status quo ante.")
    (license license:lppl)))

(define-public texlive-answers
  (package
    (name "texlive-answers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/answers/" "source/latex/answers/"
                                     "tex/latex/answers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cbjkzahi11wqylylxa4gxc3hi5bz2k2pm91brzxsg1sk3d1f4cn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/answers")
    (synopsis "Setting questions (or exercises) and answers")
    (description
     "The package allows a lot of flexibility in constructing question and answer
sheets.")
    (license license:lppl)))

(define-public texlive-appendixnumberbeamer
  (package
    (name "texlive-appendixnumberbeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/appendixnumberbeamer/"
                                     "tex/latex/appendixnumberbeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11cv55lzk9s5nnkad41s793qfnin5fpz3gl2h43rsswnqhmisxls"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/appendixnumberbeamer")
    (synopsis "Manage frame numbering in appendixes in beamer")
    (description
     "This package fixes the frame numbering in Beamer when using an appendix such
that the slides from the appendix are not counted in the total frame number of
the main part of the document.  The total frame number counter is reset to
0 when entering the appendix.")
    (license license:gpl3)))

(define-public texlive-apptools
  (package
    (name "texlive-apptools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/apptools/"
                                     "source/latex/apptools/"
                                     "tex/latex/apptools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vd1gzz5yiidknzpzhdrw500666m0b881qbv6dwdb3qc9k3gbbnb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/apptools")
    (synopsis "Tools for customising appendices")
    (description
     "The package provides an @code{\\AtAppendix} command to add code to a hook
that is executed when \\appendix is called by the user.  Additionally, a TeX
conditional @code{\\ifappendix} and a LaTeX-style conditional
@code{\\IfAppendix} are provided to check if @code{\\appendix} has already
been called.")
    (license license:lppl1.3+)))

(define-public texlive-arabicfront
  (package
    (name "texlive-arabicfront")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arabicfront/"
                                     "tex/latex/arabicfront/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cmsv10yn7351nkxs0mjl7xj3xlshg5hj6pyykb9i8yqm8h4jwcn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arabicfront")
    (synopsis "Frontmatter with Arabic page numbers")
    (description
     "This package modifies the definitions of @code{\\frontmatter} and
@code{\\mainmatter} so that page numbering starts in Arabic style from the
front matter while preserving the rest of the original definitions.  For it to
work, @code{\\pagenumbering} has to be inside these macros --- most of classes
do that, but there are exceptions like @code{memoir}.")
    (license license:expat)))

(define-public texlive-arcs
  (package
    (name "texlive-arcs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arcs/" "source/latex/arcs/"
                                     "tex/latex/arcs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08a20d8qgpvisfini220g3hw1hivrbp13ngsfd47dpdqwn12n98s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arcs")
    (synopsis "Draw arcs over and under text")
    (description
     "The package provides two commands for placing an arc over (@code{\\overarc})
or under (@code{\\underarc}) a piece of text. (The text may be up to three
letters long.)  The commands generate an @code{\\hbox}, and may be used both
in text and in maths formulae.")
    (license license:lppl)))

(define-public texlive-arraycols
  (package
    (name "texlive-arraycols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arraycols/"
                                     "source/latex/arraycols/"
                                     "tex/latex/arraycols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gxv3gflgvpv616a27sbbk1v799apvy8b2l54m5g4agrq9rch8rc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arraycols")
    (synopsis
     "New column types for @code{array} and @code{tabular} environments")
    (description
     "This small package provides new column types for @code{array} and
@code{tabular} environments, horizontally and vertically centered, or with
adjusted height for big mathematical expressions.  The columns width can be
fixed or calculated like in tabularx environments.  Macros for drawing
vertical and horizontal rules of variable thickness are also provided.")
    (license license:lppl1.3+)))

(define-public texlive-arrayjobx
  (package
    (name "texlive-arrayjobx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/arrayjobx/"
                                     "tex/generic/arrayjobx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w7wvq1wvxvdhd196hl16c3lgzl4b8x05dhv5dy576cr4xc9chgw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arrayjobx")
    (synopsis "Array data structures for (La)TeX")
    (description
     "This package provides array data structures in @code{(La)TeX,} in the meaning
of the classical procedural programming languages like Fortran, Ada or C, and
macros to manipulate them.  Arrays can be mono or bi-dimensional.  This is
useful for applications which require high level programming techniques, like
algorithmic graphics programmed in the TeX language.  The package supersedes
the @code{arrayjob} package.")
    (license license:lppl)))

(define-public texlive-arraysort
  (package
    (name "texlive-arraysort")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arraysort/"
                                     "source/latex/arraysort/"
                                     "tex/latex/arraysort/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nbxpny8vhc7kdhbbbv43xkf8iy23j90bz25aapgz7q3k2865hl0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arraysort")
    (synopsis "Sort arrays (or portions of them)")
    (description
     "The package provides a mechanism for sorting arrays (or portions of them);
the arrays should have been created using the @code{arrayjobx} package.")
    (license license:lppl1.2+)))

(define-public texlive-arydshln
  (package
    (name "texlive-arydshln")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/arydshln/"
                                     "source/latex/arydshln/"
                                     "tex/latex/arydshln/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zhn8fq92ghkci457qmls90yd2q55zfgqd6rxyhzl5nsfhamcrvh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/arydshln")
    (synopsis "Draw dash-lines in array/tabular")
    (description
     "The package is to draw dash-lines in @code{array} and @code{tabular}
environments.  Horizontal lines are drawn by @code{\\hdashline} and
@code{\\cdashline} while vertical ones can be specified as a part of the
preamble using @samp{:}.  The shape of dash-lines may be controlled through
style parameters or optional arguments.")
    (license license:lppl1.0+)))

(define-public texlive-asciilist
  (package
    (name "texlive-asciilist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/asciilist/"
                                     "source/latex/asciilist/"
                                     "tex/latex/asciilist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07jygmvm5jjzj4mxcxj60q73ihc7zgi9g1v7w99xh458x6a0nsys"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/asciilist")
    (synopsis
     "Environments @code{AsciiList} and @code{AsciiDocList} for prototyping nested
lists in LaTeX")
    (description
     "The @code{asciilist} package provides the environments @code{AsciiList} and
@code{AsciiDocList}, which enable quickly typesetting nested lists in LaTeX
without having to type individual item macros or opening/closing list
environments.  The package provides auxiliary functionality for loading such
lists from files and provides macros for configuring the use of the list
environments and the appearance of the typeset results.")
    (license license:lppl1.2+)))

(define-public texlive-askinclude
  (package
    (name "texlive-askinclude")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/askinclude/"
                                     "source/latex/askinclude/"
                                     "tex/latex/askinclude/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bygb2xlxmazjv3ihag1j4xa8mdrj6n3wmrf0qsz8fksfajxmxks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/askinclude")
    (synopsis "Interactive use of @code{\\includeonly}")
    (description
     "The package asks the user which files to put in a @code{\\includeonly}
command.  There is provision for answering ``same as last time'' or ``all
files''.")
    (license license:lppl1.3+)))

(define-public texlive-assignment
  (package
    (name "texlive-assignment")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/assignment/"
                                     "tex/latex/assignment/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "182q447ng23vhw3d27dr3dnpqfrp3y8jl7j2l2l6angg9fslp0g0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/assignment")
    (synopsis "Class file for typesetting homework and lab assignments")
    (description
     "This package provides a class file for typesetting homework and lab
assignments.")
    (license license:lppl)))

(define-public texlive-assoccnt
  (package
    (name "texlive-assoccnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/assoccnt/" "tex/latex/assoccnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a7mwmsqj3vyvgcwxyyhawiylj9qkyggmgzar0517b2wrmqy7iyk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/assoccnt")
    (synopsis "Associate counters, making them step when a master steps")
    (description
     "The package provides the means of declaring a set of counters to be stepped,
each time some master counter is stepped.")
    (license license:lppl1.3+)))

(define-public texlive-association-matrix
  (package
    (name "texlive-association-matrix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/association-matrix/"
                                     "tex/latex/association-matrix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19fzimmprv08hiwgdxrgayjf9mxp07ris54yc6wj50nah8qirghw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/association-matrix")
    (synopsis "LaTeX support for creating association matrices")
    (description
     "This package allows the creation of association matrices in an clear and
concise fashion, without having to deal with manually generating and modifying
the tables while working.  All you have to do is define the rows and the
columns by their unique identifier, and then specify which cells should be
marked as associated.  Then, the @code{\\amxgenerate} command generates
a table that shows in the cells with a blip (*) where the association was
added.")
    (license license:lppl1.3c)))

(define-public texlive-atendofenv
  (package
    (name "texlive-atendofenv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/atendofenv/"
                                     "source/latex/atendofenv/"
                                     "tex/latex/atendofenv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07djyllkw3fdwcmvs23j31msm2n18k6b8wbqhan93m1kfwcyyyfx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/atendofenv")
    (synopsis "Add a custom symbol at the end of an environment")
    (description
     "This package allows adding a custom symbol at the end of an environment (e.g.
theorems, definitions, remarks).")
    (license license:public-domain)))

(define-public texlive-aurl
  (package
    (name "texlive-aurl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/aurl/" "tex/latex/aurl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01ra6hs6x5imnrjkdv05lairssh7a85bhxq9ghg086jy8lzrgf4c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/aurl")
    (synopsis
     "Extends the @code{hyperref} package with a mechanism for hyperlinked URLs
abbreviated with prefixes")
    (description
     "Semantic Web resource URLs are often abbreviated with prefixes, like
@samp{owl:Class} or @samp{rdf:type}.  The abbreviated URL (@code{aurl})
package provides the correct hyperlinks for those URLs.  The 1000 most common
prefixes are predefined and more can be added.")
    (license license:public-domain)))

(define-public texlive-authoraftertitle
  (package
    (name "texlive-authoraftertitle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/authoraftertitle/"
                                     "tex/latex/authoraftertitle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x5b17a8xx0wv2zzsgzq5f3farpil4hwyhw070f5rhdzp2h7xcl1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/authoraftertitle")
    (synopsis "Make author, etc., available after @code{\\maketitle}")
    (description
     "This package makes the author, title and date of the package available to the
user (as @code{\\MyAuthor}, etc) after the @code{\\maketitle} command has been
executed.")
    (license license:cc0)))

(define-public texlive-authorarchive
  (package
    (name "texlive-authorarchive")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/authorarchive/"
                                     "tex/latex/authorarchive/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lqz5bb7hz42ja7kmbkgq0l25ram9axj1kgvv6cyhzxdf0b0hxwn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/authorarchive")
    (synopsis "Adds self-archiving information to scientific papers")
    (description
     "This is a LaTeX style for producing author self-archiving copies of
(academic) papers.  The following layout-styles are pre-defined: ACMfor the
two-column layout used by many ACM conferences, IEEE for the two-column layout
used by many IEEE conferences, LNCS for the LNCS layout (as used by Springer),
and LNI for the Lecture Notes in Informatics, published by the GI ENTCS for
the Elsevier ENTCS layout")
    (license (list license:lppl1.3c license:bsd-2))))

(define-public texlive-authorindex
  (package
    (name "texlive-authorindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/authorindex/"
                                     "scripts/authorindex/"
                                     "tex/latex/authorindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hadz4qwaks604mp9zb2cklx77v626vbjri7h0gs847mch35mrnw"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "authorindex")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/authorindex")
    (synopsis "Index citations by author names")
    (description
     "This package allows the user to create an index of all authors cited in
a LaTeX document.  Each author entry in the index contains the pages where
these citations occur.  Alternatively, the package can list the labels of the
citations that appear in the references rather than the text pages.  The
package relies on BibTeX being used to handle citations.")
    (license license:lppl)))

(define-public texlive-autofancyhdr
  (package
    (name "texlive-autofancyhdr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/autofancyhdr/"
                                     "tex/latex/autofancyhdr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vm2gcacdr5pjz80kfbzkg72sdmrdj94siks9sgr83r82710k9c5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/autofancyhdr")
    (synopsis
     "Automatically compute @samp{headlength} for @code{fancyhdr} package")
    (description
     "The package automatically computes @samp{headlength} for the @code{fancyhdr}
package.")
    (license license:lppl1.3c)))

(define-public texlive-autonum
  (package
    (name "texlive-autonum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/autonum/" "source/latex/autonum/"
                                     "tex/latex/autonum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xlxkmnar4ylprf4zcz59ia9xb9nb2r14hbg7ar4in5rsxsiih4j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/autonum")
    (synopsis "Automatic equation references")
    (description
     "The package arranges that equation numbers are applied only to those
equations that are referenced.  This operation is similar to the
@samp{showonlyrefs} option of the package @code{mathtools}.")
    (license license:lppl1.3+)))

(define-public texlive-autopdf
  (package
    (name "texlive-autopdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/autopdf/" "source/latex/autopdf/"
                                     "tex/latex/autopdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sdlazmx6g530ava1ip8mafbd2p57i7mf8sdlg3y1m4bvq244v4m"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "pdflatex"))
    (native-inputs
     (list (texlive-updmap.cfg (list texlive-catchfile texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/autopdf")
    (synopsis "Conversion of graphics to pdfLaTeX-compatible formats")
    (description
     "The package facilitates the on-the-fly conversion of various graphics formats
to formats supported by pdfLaTeX (e.g., PDF).  It uses a range of external
programs, and therefore requires that the LaTeX run starts with @samp{write18}
enabled.")
    (license license:lppl1.2+)))

(define-public texlive-autopuncitems
  (package
    (name "texlive-autopuncitems")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/autopuncitems/"
                                     "tex/lualatex/autopuncitems/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i7i2yjlh85gmqna19r7j6wz35yrkkmmc2kzv4r2mhhbag25j8iy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/autopuncitems")
    (synopsis "Automatically punctuate lists")
    (description
     "This package provides the @code{autopunc} option in the @code{enumitem}
environments @code{itemize}, @code{enumerate}, and @code{description} to
automatically punctuate the items.  It uses Lua pattern matching to modify the
environment's contents.")
    (license license:expat)))

(define-public texlive-avremu
  (package
    (name "texlive-avremu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/avremu/" "source/latex/avremu/"
                                     "tex/latex/avremu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fmbmkqy4icbpprgwl9rbb5k44pcymjlqgggcxw9s58slfynsh20"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/avremu")
    (synopsis "8-Bit micro-controller simulator written in LaTeX")
    (description
     "This package provides a fully working package to simulate a microprocessor in
pure LaTeX.  The simulator is able to calculate complex pictures, like
Mandelbrot sets.")
    (license license:lppl1.3+)))

(define-public texlive-axessibility
  (package
    (name "texlive-axessibility")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/axessibility/"
                                     "source/latex/axessibility/"
                                     "tex/latex/axessibility/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8f4kbgvmb63qdxrq9pjsaqrhl24kcvp75i215bqki9fs4q47vg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/axessibility")
    (synopsis "Access to formulas in PDF files by assistive technologies")
    (description
     "PDF documents containing formulas generated by LaTeX are usually not
accessible by assistive technologies for visually impaired people and people
with special educational needs (i.e., by screen readers and braille displays).
The @code{axessibility} package manages this issue, allowing to create a PDF
document where the formulas are read by these assistive technologies, since it
automatically generates hidden comments in the PDF document (by means of the
@code{/ActualText} attribute or suitable tags) in correspondence to each
formula.")
    (license license:lppl1.3+)))

(define-public texlive-background
  (package
    (name "texlive-background")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/background/"
                                     "source/latex/background/"
                                     "tex/latex/background/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hbz78mvpjd9ac86lxcnbbqlnsgp3p21iv3cl4jwriqp930ipwcg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/background")
    (synopsis "Placement of background material on pages of a document")
    (description
     "The package offers the placement of background material on the pages of
a document.  The user can control many aspects (contents, position, color,
opacity) of the background material that will be displayed; all placement and
attribute settings are controlled by setting key values.")
    (license license:lppl)))

(define-public texlive-bankstatement
  (package
    (name "texlive-bankstatement")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bankstatement/"
                                     "tex/latex/bankstatement/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q2pgz8hvn50dp2i1krbc13zayan5p3mikvzg2h9fyjqc1xxg58g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bankstatement")
    (synopsis "LaTeX class for bank statements based on CSV data")
    (description
     "More and more banks allow their customers to download posting records in
various formats.  By using the @code{bankstatement} class, you can create bank
statements, as long as a CSV format is available.  At the moment, the
CSV-mt940 and CSV-camt formats --- used by many German @emph{Sparkassen} ---
are supported.  You can quite easily add support for other CSV formats.
Simply define the order of the keys in the CSV data file and how to use them.
The terminology in this class --- such as @acronym{BIC, Business Identifier
Code} or @acronym{IBAN, International Bank Account Number} --- is based on
usage in the @acronym{SEPA, Single Euro Payments Area}.  The user may adjust
the terminology to suit local needs.")
    (license license:lppl)))

(define-public texlive-bashful
  (package
    (name "texlive-bashful")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bashful/" "tex/latex/bashful/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08r2yvzck2gngl6sc9giridfmqsbrpdfpv5n9pkwsx0yfx0lk30c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bashful")
    (synopsis "Invoke Bash commands from within LaTeX")
    (description
     "The package makes it possible to execute Unix Bash shell scripts from within
LaTeX.  The main application is in writing computer-science texts, in which
you want to make sure the programs listed in the document are executed
directly from the input.  The package may use other shells than Bash.")
    (license license:lppl1.3+)))

(define-public texlive-basicarith
  (package
    (name "texlive-basicarith")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/basicarith/"
                                     "source/latex/basicarith/"
                                     "tex/latex/basicarith/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01hlnzwmw3013fi0flm3r3basybz2pbrcxr1pmc042w9nmd53q4b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/basicarith")
    (synopsis "Macros for typesetting basic arithmetic")
    (description
     "The package provides macros for typesetting basic arithmetic, in the style
typically found in textbooks.  It focuses on the American style of performing
these algorithms.")
    (license license:lppl1.3+)))

(define-public texlive-bchart
  (package
    (name "texlive-bchart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bchart/" "tex/latex/bchart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kz2iijyfbnhr3i8fsiva96h5jazzdwsfbywg1a410imwacb54y9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bchart")
    (synopsis "Draw simple bar charts in LaTeX")
    (description
     "The package provides horizontal bar charts, drawn using TikZ on a numeric
X-axis.  The focus of the package is simplicity and aesthetics.")
    (license license:expat)))

(define-public texlive-beamer-rl
  (package
    (name "texlive-beamer-rl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/beamer-rl/"
                                     "tex/lualatex/beamer-rl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "039r0p5p5f9vmai2vvxlcz9gpbihbcyb8b3vr6w4vn3hrklp6p9m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamer-rl")
    (synopsis "Right to left presentation with beamer and babel")
    (description
     "This class provides patches of some Beamer templates and commands for
presentation from right to left.  It requires Babel with the LuaTeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-beamer2thesis
  (package
    (name "texlive-beamer2thesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamer2thesis/"
                                     "tex/latex/beamer2thesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zk46yxxjc55vbvz17fnwbi02545vywjdaiza9165kxpvhmw75vi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamer2thesis")
    (synopsis "Thesis presentations using Beamer")
    (description
     "The package specifies a Beamer theme for presenting a thesis.")
    (license license:lppl)))

(define-public texlive-beamerappendixnote
  (package
    (name "texlive-beamerappendixnote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerappendixnote/"
                                     "source/latex/beamerappendixnote/"
                                     "tex/latex/beamerappendixnote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cn3hygzahvprhhl9vn95iqkaywp19q61caa6rvyq2krq5m7r5wy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerappendixnote")
    (synopsis "Create notes on appendix frames in beamer")
    (description
     "This package introduces the @code{\\appxnote} command, which puts the note's
content on a separate Beamer frame shown by the command
@code{\\printappxnotes}.  It also creates interactive buttons to move back and
forth between the two frames.")
    (license license:lppl1.3c)))

(define-public texlive-beameraudience
  (package
    (name "texlive-beameraudience")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beameraudience/"
                                     "tex/latex/beameraudience/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rv01005p9x247ra1kmky8ifxjs2q9jgqc82hn7v2wn9v1a60qla"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beameraudience")
    (synopsis "Assembling Beamer frames according to audience")
    (description
     "The Beamer Audience package provides macros to easily assemble frames
according to different audiences.  It enables to pick up the frames for
a specific audience while leaving their order according to a logical structure
in the LaTeX source.")
    (license license:lppl)))

(define-public texlive-beamerauxtheme
  (package
    (name "texlive-beamerauxtheme")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerauxtheme/"
                                     "tex/latex/beamerauxtheme/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zm2s4f5gjd4r72nrzwlg40232hmmnaa94zqjlz4nxwqlrbw5n6i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerauxtheme")
    (synopsis "Supplementary outer and inner themes for Beamer")
    (description
     "This bundle provides a collection of inner and outer themes as supplements to
the default themes in the Beamer distribution.  These themes can be used in
combination with existing inner, outer, and color themes.")
    (license license:lppl1.3c)))

(define-public texlive-beamercolorthemeowl
  (package
    (name "texlive-beamercolorthemeowl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamercolorthemeowl/"
                                     "source/latex/beamercolorthemeowl/"
                                     "tex/latex/beamercolorthemeowl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z7vj2mmz5na4dflgkflf599kdv0l5mhnd61zacwbnabyzjiyl32"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamercolorthemeowl")
    (synopsis "Flexible Beamer color theme to maximize visibility")
    (description
     "This package provides a flexible dark or light colour theme designed for maximum
readability in environments where most themes fall flat.  Its main features are:
@itemize

@item dark color theme for presenting in low-light conditions;

@item optional light color theme for presenting in bright ambient light;

@item redefines color names @samp{red}, @samp{green}, @samp{blue},
@samp{yellow} to values that are visible when displayed by certain projectors,
particularly those with a very bright green channel and dim red and blue
channels.  This behaviour can be optionally disabled, with the provided
colours also available as @code{OwlRed}, @code{OwlGreen}, etc.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-beamerdarkthemes
  (package
    (name "texlive-beamerdarkthemes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerdarkthemes/"
                                     "tex/latex/beamerdarkthemes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08w0qqzy9ibi48ah7f2mpzlgfb7wnn202gcrbj0n82w3sxn8lilc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerdarkthemes")
    (synopsis "Dark color themes for Beamer")
    (description
     "This package provides a package with three dark color themes for Beamer,
designed for presentations with pictures and/or for bright rooms without
screen.  These themes mix one dominant foreground colour and a black
background.  Cormorant stands for green, Frigatebird for red and Magpie for
blue.")
    (license (list license:lppl1.3+ license:cc-by4.0))))

(define-public texlive-beamerposter
  (package
    (name "texlive-beamerposter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerposter/"
                                     "tex/latex/beamerposter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xp8a6d82n1kgagdc7mm7hjihdzn1k7y4lijy924hjdvnvdmqa2i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerposter")
    (synopsis "Extend Beamer and @code{a0poster} for custom sized posters")
    (description
     "The package enables the user to use Beamer style operations on a canvas of
the sizes provided by @code{a0poster}; font scaling is available (using
packages such as @code{type1cm} if necessary).  In addition, the package
allows the user to benefit from the nice colour box handling and alignment
provided by the Beamer class (for example, with rounded corners and shadows).
Good looking posters may be created very rapidly.")
    (license (list license:lppl license:gpl3+))))

(define-public texlive-beamersubframe
  (package
    (name "texlive-beamersubframe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamersubframe/"
                                     "source/latex/beamersubframe/"
                                     "tex/latex/beamersubframe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z1bgrbpfcxr66ldnp2ymr4l6qmmc06v5k91q2av4kfjvanb9bi3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'no-example-file
            (lambda _
              (substitute* "source/latex/beamersubframe/beamersubframe.ins"
                (("\\\\generateexampletrue") "\\generateexamplefalse")))))))
    (home-page "https://ctan.org/pkg/beamersubframe")
    (synopsis "Reorder frames in the PDF file")
    (description
     "The package provides a method to reorder frames in the PDF file without
reordering the source.  Its principal use is to embed or append frames with
details on some subject.")
    (license license:lppl)))

(define-public texlive-beamertheme-arguelles
  (package
    (name "texlive-beamertheme-arguelles")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-arguelles/"
                                     "tex/latex/beamertheme-arguelles/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0shwf7ygk587rxd8cmvmrhfdcas6m628d0gydr2nv67gdzd0h287"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-arguelles")
    (synopsis "Simple, typographic Beamer theme")
    (description
     "Arguelles is a Beamer theme that helps you create beautiful presentations.
It aims for simplicity and readability by following best practices of graphic
design.  The layout is elegant but subtle, so as to keep the audience's
attention on your content.")
    (license license:expat)))

(define-public texlive-beamertheme-cuerna
  (package
    (name "texlive-beamertheme-cuerna")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-cuerna/"
                                     "source/latex/beamertheme-cuerna/"
                                     "tex/latex/beamertheme-cuerna/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w3vycn4a7ibkamnz6c3rpqy7ccl1zwjakh7dgdcnrcrsl9qvflg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-cuerna")
    (synopsis "Beamer theme with four colour palettes")
    (description
     "The package contains a theme for Beamer which is referenced as Cuerna inside
Beamer and has four basic colour themes.  The title page shows rectangles that
represent the Fibonacci sequence, and spiral is drawn on top of the
rectangles.  Besides that the rest of the graphic elements in the slides are
scarce to keep it clean.")
    (license license:lppl1.3+)))

(define-public texlive-beamertheme-detlevcm
  (package
    (name "texlive-beamertheme-detlevcm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-detlevcm/"
                                     "tex/latex/beamertheme-detlevcm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1069xkzznmx0nyi9wk1qj7c2l932fg6s2mvxh9hjhxxdk3dds1l5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-detlevcm")
    (synopsis "Beamer theme designed for use in the University of Leeds")
    (description
     "The bundle provides a simple theme that has been used in the author's
department.")
    (license license:gpl3+)))

(define-public texlive-beamertheme-epyt
  (package
    (name "texlive-beamertheme-epyt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-epyt/"
                                     "tex/latex/beamertheme-epyt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "008n9g6zs375cpxvkd245xkfq82d6agdxvrcs84wlvisp1g795a4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-epyt")
    (synopsis "Simple and clean theme for LaTeX Beamer class")
    (description
     "This package provides a simple but nice theme for Beamer, with the following
features:

@itemize

@item simple structure: with page numbers at footer, no head bar and side
bar ;

@item simple templates: displaying theorems with traditional inline style;

@item simple colors: using only several foreground and background colors.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-beamertheme-focus
  (package
    (name "texlive-beamertheme-focus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-focus/"
                                     "tex/latex/beamertheme-focus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10ncd5sc00k1r3ji0q47i21r07inqwfmn7axm8zr396ngqbndv0k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-focus")
    (synopsis "A minimalist presentation theme for LaTeX Beamer")
    (description
     "This package provides a presentation theme for LaTeX Beamer that aims at
a clean and minimalist design, so to minimize distractions and put the focus
directly on the content.")
    (license license:gpl3)))

(define-public texlive-beamertheme-light
  (package
    (name "texlive-beamertheme-light")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-light/"
                                     "tex/latex/beamertheme-light/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yknbvp325d3xkgnb76a4ndk2c99mnig6ylmpqrn9srgj1h4ckiw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-light")
    (synopsis "Minimal Beamer style")
    (description
     "The LaTeX package @code{beamertheme-light} provides an aesthetic and minimal
Beamer style by redefining colors and fonts.")
    (license license:gpl3)))

(define-public texlive-beamertheme-metropolis
  (package
    (name "texlive-beamertheme-metropolis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-metropolis/"
                                     "source/latex/beamertheme-metropolis/"
                                     "tex/latex/beamertheme-metropolis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vx9w44d5vjb6nr1ic14hknm1j38i02v0nbawwa3xn1z3i4xs8cj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-metropolis")
    (synopsis "Modern LaTeX beamer theme")
    (description
     "The package provides a simple, modern Beamer theme for anyone to use.  It
tries to minimize noise and maximize space for content.")
    (license license:cc-by-sa4.0)))

(define-public texlive-beamertheme-npbt
  (package
    (name "texlive-beamertheme-npbt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-npbt/"
                                     "tex/latex/beamertheme-npbt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0za5481fssy2inp6bga83c6gm9klr516scnvnpwl92ad11gzd2cg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-npbt")
    (synopsis "Collection of LaTeX Beamer themes")
    (description
     "@acronym{NPBT, Norman's Pandoc Beamer Themes} includes three Beamer themes:
Sefiroth Consulting, FOM, FOM ifes and eufom.")
    (license (list license:gpl3 license:public-domain))))

(define-public texlive-beamertheme-phnompenh
  (package
    (name "texlive-beamertheme-phnompenh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-phnompenh/"
                                     "tex/latex/beamertheme-phnompenh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d373v9a2x1kxz48j1c1vfgv6jimp08f1wc9wnh9ahaxf6796qds"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-phnompenh")
    (synopsis "Simple Beamer theme")
    (description
     "The package provides a simple theme, similar to some others, but designed to
be attractive.")
    (license license:gpl3+)))

(define-public texlive-beamertheme-pure-minimalistic
  (package
    (name "texlive-beamertheme-pure-minimalistic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-pure-minimalistic/"
                                     "tex/latex/beamertheme-pure-minimalistic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zn8a4jjq5m9d1v0jqr7c4yrhjbhnz5rspbady1cgwn14hpa0xpg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-pure-minimalistic")
    (synopsis "Minimalistic presentation theme for LaTeX Beamer")
    (description
     "The main features of this minimalistic Beamer theme are:
@itemize
@item easily use own logos;
@item customizable;
@item looks good in a 4:3 and 16:9 aspect ratio;
@item provides an environment for vertically-spaced items;
@item provides light and dark mode;
@item is designed to be purely minimalistic without any distractions.
@end itemize")
    (license license:gpl3+)))

(define-public texlive-beamertheme-saintpetersburg
  (package
    (name "texlive-beamertheme-saintpetersburg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-saintpetersburg/"
                                     "source/latex/beamertheme-saintpetersburg/"
                                     "tex/latex/beamertheme-saintpetersburg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wnhl4l07x88bw1xps6xygmr704513k2b8jq7g9magq3hjv0bkp0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-saintpetersburg")
    (synopsis
     "Beamer theme with colours and fonts of Saint Petersburg State University")
    (description
     "This minimalistic beamer Theme incorporates Saint Petersburg State University
colours and fonts.  It is suitable for both presentations and posters.")
    (license license:lppl1.3c)))

(define-public texlive-beamertheme-simpledarkblue
  (package
    (name "texlive-beamertheme-simpledarkblue")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-simpledarkblue/"
                                     "tex/latex/beamertheme-simpledarkblue/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kp3grbjgkgqqx01lca5afn5s30xi7r04ij9436w97gv15jva2ap"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-simpledarkblue")
    (synopsis "Template for a simple presentation")
    (description
     "This is a simple but nice theme for Beamer.  Its features are: a simple
structure, with page numbers in footer, no side bar, and simple colors, using
only several foreground and background colors.")
    (license license:public-domain)))

(define-public texlive-beamertheme-simpleplus
  (package
    (name "texlive-beamertheme-simpleplus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-simpleplus/"
                                     "tex/latex/beamertheme-simpleplus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l92d8siv19kdwvaq8mv2jdw3y7vsficmgk1y46q64dakxfwsr9a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-simpleplus")
    (synopsis "Simple and clean theme for LaTeX beamer")
    (description
     "This package provides a simple and clean theme for LaTeX Beamer.  It can be
used for academic and scientific presentations.")
    (license license:public-domain)))

(define-public texlive-beamertheme-tcolorbox
  (package
    (name "texlive-beamertheme-tcolorbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-tcolorbox/"
                                     "tex/latex/beamertheme-tcolorbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "153csa3afzb9ys92kjxwcr3npwgczbswpnjypvz6sgjc396rabwj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-tcolorbox")
    (synopsis
     "Beamer inner theme which reproduces standard Beamer blocks using
@code{tcolorboxes}")
    (description
     "This package provides an inner theme for Beamer which reproduces standard
Beamer blocks using @code{tcolorboxes}.  The look and feel (rounded/sharp
corners, shadows and colours) will automatically adapt to which other themes
are loaded.")
    (license license:lppl1.3c)))

(define-public texlive-beamertheme-trigon
  (package
    (name "texlive-beamertheme-trigon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-trigon/"
                                     "source/latex/beamertheme-trigon/"
                                     "tex/latex/beamertheme-trigon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0djzmf35prnba81k376cj49xmy3scnjbml9aggm31x3crz438f4v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-trigon")
    (synopsis "Modern, elegant, and versatile theme for Beamer")
    (description
     "This package provides a modern, elegant and versatile theme for Beamer, with
a high degree of customization.  Trigon found its origin and inspiration in
the graphical guidelines resulting from the visual identity overhaul of the
University of Liege.  Although directly inspired from these guidelines, the
theme was stripped out of any mention or specificities related to the
University and its faculties.  This makes the Trigon theme perfectly suitable
for many different contexts.

The main design focuses on triangular shapes for major layout elements and
noise minimization for the main body of the work.  The theme's implementation
is heavily inspired from the Metropolis theme.  Most options from Metropolis
have been ported to Trigon in order to improve customization and ease-of-use.
Trigon also includes different styles and layouts for the main title page, the
section page and the default slide background.")
    (license license:cc-by-sa4.0)))

(define-public texlive-beamertheme-upenn-bc
  (package
    (name "texlive-beamertheme-upenn-bc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamertheme-upenn-bc/"
                                     "tex/latex/beamertheme-upenn-bc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xlknz4y6gklpdsrxiqssgl3fakrs4jqqps8yk689lvg1gqj942c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamertheme-upenn-bc")
    (synopsis
     "Beamer themes for Boston College and the University of Pennsylvania")
    (description
     "This package provides Beamer themes in the colors of the University of
Pennsylvania, USA, and Boston College, USA.  Both were tested for the
presentation theme Warsaw.")
    (license license:lppl)))

(define-public texlive-beamerthemeamurmaple
  (package
    (name "texlive-beamerthemeamurmaple")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerthemeamurmaple/"
                                     "tex/latex/beamerthemeamurmaple/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h9hd1rwhgji8f0ca116pvbn2zy0isd1xdxb29y61nxhzf9kffjg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerthemeamurmaple")
    (synopsis "Modern Beamer theme")
    (description
     "This Beamer theme is a suitable theme for presentations in applied
mathematics research.")
    (license license:lppl1.3+)))

(define-public texlive-beamerthemejltree
  (package
    (name "texlive-beamerthemejltree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/beamerthemejltree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02ccd8qqyjkvqqyxr94p1gc6qjryl83vpa72wcm5ywr8gmxci0pi"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerthemejltree")
    (synopsis "Contributed Beamer theme")
    (description "This package provides a theme for Beamer presentations.")
    (license license:gpl3+)))

(define-public texlive-beamerthemelalic
  (package
    (name "texlive-beamerthemelalic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerthemelalic/"
                                     "tex/latex/beamerthemelalic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l3ivw1g2bdjlhs2q8dj95mc7ybylqsqf6l9df56zjys6pd8zwh9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerthemelalic")
    (synopsis "Beamer theme for LALIC")
    (description
     "This package provides the Beamer theme for @acronym{LALIC, Laboratorio de
Linguistica e Inteligencia Computacional} of the Federal University of Sao
Carlos, Brazil.")
    (license license:gpl3+)))

(define-public texlive-beamerthemenirma
  (package
    (name "texlive-beamerthemenirma")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerthemenirma/"
                                     "tex/latex/beamerthemenirma/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09p6ip8di5i2gfms3s0iy17175y50v09v23pl5w6977l30wwyyas"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerthemenirma")
    (synopsis "Beamer theme for academic presentations")
    (description
     "The package is developed for academic purposes.  The distribution includes
nothing more than style file needed for preparing presentations.")
    (license license:lppl)))

(define-public texlive-beamerthemenord
  (package
    (name "texlive-beamerthemenord")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beamerthemenord/"
                                     "tex/latex/beamerthemenord/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wb62lqlzaim5lbc0293cjrg1sxp6knrnsqdb7p2rqqlf46wjh34"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/beamerthemenord")
    (synopsis "Simple Beamer theme using the Nord color theme")
    (description
     "This package provides a simple Beamer theme using the Nord color theme.")
    (license license:lppl1.3c)))

(define-public texlive-bearwear
  (package
    (name "texlive-bearwear")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bearwear/"
                                     "source/latex/bearwear/"
                                     "tex/latex/bearwear/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1brqpn1j62nxg2gj904sm00m7rmkm9q54vdnn1sn4fw4w0y9hg10"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bearwear")
    (synopsis "Shirts to dress TikZbears")
    (description
     "The package offers tools to create shirts for TikZbears from the TikZlings
package.")
    (license license:lppl1.3c)))

(define-public texlive-beaulivre
  (package
    (name "texlive-beaulivre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beaulivre/"
                                     "tex/latex/beaulivre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b9i4f8l9cm7bp4wrapyfcgysaa1zas3fzrxx5bvpbyk8jwvrbiw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-colorist))
    (home-page "https://ctan.org/pkg/beaulivre")
    (synopsis "Write your books in a colorful way")
    (description
     "This package provides a LaTeX class for typesetting books with a colorful
design.  Currently, it has native support for Chinese (both simplified and
traditional), English, French, German, Italian, Japanese, Portuguese (European
and Brazilian), Russian and Spanish typesetting.  It compiles with either
@code{XeLaTeX} or @code{LuaLaTeX.} This is part of the colorist class series and
depends on colorist.sty from the colorist package.  The package name \"beaulivre\"
is taken from the French words \"beau\" (= \"beautiful\") and \"livre\" (= \"book\").")
    (license license:lppl1.3c)))

(define-public texlive-beton
  (package
    (name "texlive-beton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/beton/" "source/latex/beton/"
                                     "tex/latex/beton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z5wz89s2jw6c4alkgaqbbr5rglh3m88nbay9ab732s991ln6b50"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/beton")
    (synopsis "Use Concrete fonts")
    (description
     "This package typesets a LaTeX document with the Concrete fonts designed by
Don Knuth and used in his book @emph{Concrete Mathematics}.")
    (license license:lppl)))

(define-public texlive-bewerbung
  (package
    (name "texlive-bewerbung")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bewerbung/"
                                     "source/latex/bewerbung/"
                                     "tex/latex/bewerbung/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nimbimwk5z0y7vaw29dn77vr2hfd8wzv1rqdj8vqwk5lf2jsf67"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bewerbung")
    (synopsis "Typesetting job applications")
    (description
     "The package provides packages and classes for typesetting applications with
titlepage, cover letter, CV and additional documents in just a single
document.  There is also a class for printing a table of the latest
applications that can be shown to the German authorities.  The data for these
applications can be maintained in a simple CSV file.")
    (license license:lppl1.3+)))

(define-public texlive-bez123
  (package
    (name "texlive-bez123")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bez123/" "source/latex/bez123/"
                                     "tex/latex/bez123/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "140caf7ng0ivhiqk0njwpqbivwmv54il7nh5ks2rji765zvsg2h5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bez123")
    (synopsis "Support for Bezier curves")
    (description
     "This package provides additional facilities in a @code{picture} environment
for drawing linear, cubic, and rational quadratic Bezier curves (standard
LaTeX only offers non-rational quadratic splines).  It also ships with the
LaTeX package @code{multiply} that provides a command for multiplication of
a length without numerical overflow.")
    (license license:lppl1.3+)))

(define-public texlive-bhcexam
  (package
    (name "texlive-bhcexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/bhcexam/"
                                     "tex/xelatex/bhcexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hcj2xjgcmi0ck8mj44sr9jqk6rw639kq4wmyr1afb5i36qdja05"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bhcexam")
    (synopsis "@code{exam} class for mathematics teachers in China")
    (description
     "This @code{exam} class is specially designed for mathematics teachers in
China.  Using BHCexam you can separate the format and the content very well;
export both teacher paper and student paper; typeset multiple choice questions
with 3-6 options keeping adaptively neat alignment; typeset cloze questions
with a customizable underline; typeset questions with subquestions in lists;
group questions in a list to control whether to show score, leave spacing,
initialize question number; and more.")
    (license license:lppl1.3+)))

(define-public texlive-bibletext
  (package
    (name "texlive-bibletext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bibletext/"
                                     "tex/latex/bibletext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w7w1wf4ll77fjkwjb0akvms8hyyrs1gp84zk69f9z97330iapms"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bibletext")
    (synopsis "Insert @emph{Bible} passages by their reference")
    (description
     "The package allows to insert @emph{Bible} texts in a document by specifying
references.")
    (license license:expat)))

(define-public texlive-bigints
  (package
    (name "texlive-bigints")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bigints/" "tex/latex/bigints/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ly9kqyi954gd41rjmpdml60s4my0d8b7ldq3crcc3i7sqjnc4fw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bigints")
    (synopsis "Writing big integrals")
    (description
     "The package provides facilities for drawing big integral signs when needed.
An example would be when the integrand is a matrix.")
    (license license:lppl)))

(define-public texlive-bilingualpages
  (package
    (name "texlive-bilingualpages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bilingualpages/"
                                     "tex/latex/bilingualpages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0byjjkbswy7m80qdw2q3k9nqkgkyw4ary40ccgrq7m1dnirrnb48"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bilingualpages")
    (synopsis "Typeset two columns in parallel")
    (description
     "This is a simple wrapper for the @code{paracol} package for setting
two-column parallel text.")
    (license license:lppl1.3c)))

(define-public texlive-biochemistry-colors
  (package
    (name "texlive-biochemistry-colors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/biochemistry-colors/"
                                     "tex/latex/biochemistry-colors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10c7gw5ldsniz7bkzw9a8nzza1zgyphdjk6n8laf0rryjhwriml2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/biochemistry-colors")
    (synopsis
     "Colors used to display amino acids, nucleotides, sugars or atoms in
biochemistry")
    (description
     "@file{Biochemistry-colors.sty} defines the standard colors of biochemistry
for use with the @code{color} package and the @code{xcolor} package.  Colors
include:

@itemize
@item Shapely-colors for amino acids and nucleotides;
@item CPK-Colors (Corey, Pauling and Koltun) of elements;
@item Jmol-colors of elements, important isotopes and structures;
@item Glycopedia colors for sugars.
@end itemize")
    (license (list license:lppl license:gpl3+))))

(define-public texlive-bithesis
  (package
    (name "texlive-bithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bithesis/"
                                     "source/latex/bithesis/"
                                     "tex/latex/bithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x3i7m7nwqpw9msznn1a4imc5iza6i78jd0zk4fzkvad029l3nm4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bithesis")
    (synopsis "Templates for the Beijing Institute of Technology")
    (description
     "This package establishes a simple and easy-to-use LaTeX template for Beijing
Institute of Technology dissertations, including general undergraduate theses
and master theses.")
    (license license:lppl1.3c)))

(define-public texlive-bizcard
  (package
    (name "texlive-bizcard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bizcard/" "source/latex/bizcard/"
                                     "tex/latex/bizcard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b5rnh1jm125yak8nd36nf0zk456pxmakr77z7fbq2h9a6q8fbzb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bizcard")
    (synopsis "Typeset business cards")
    (description
     "This package helps typesetting business cards.  It produces cards at the
normal US card size, 76.2mm x 50.8mm.")
    (license license:gpl3+)))

(define-public texlive-blkarray
  (package
    (name "texlive-blkarray")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/blkarray/" "tex/latex/blkarray/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ra2incawl5909lvwdiq08rhpcppv2hcwsaswqmhf8m1q4p1i57r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blkarray")
    (synopsis "Extended @code{array} and @code{tabular}")
    (description
     "This is an experimental package which implements an environment,
@code{blockarray}, that may be used in the same way as the @code{array} or
@code{tabular} environments of standard LaTeX, or their extended versions
defined in @code{array}.  If used in math-mode, @code{blockarray} acts like
@code{array}, otherwise it acts like @code{tabular}.  The package implements
a new method of defining column types, and also @code{block} and @code{block*}
environments, for specifying sub-arrays of the main array.  What's more, the
@code{\\footnote} command works inside a @code{blockarray}.")
    (license license:lppl)))

(define-public texlive-block
  (package
    (name "texlive-block")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/block/" "tex/latex/block/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02pvrxjds8qwqjq3ncqf1s9z96pmci98v3nj6dc9xy98gvc6r1h9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/block")
    (synopsis "Block letter style for the @code{letter} class")
    (description
     "This package provides a style file for use with the @code{letter} class that
overwrites the @code{\\opening} and @code{\\closing} macros so that letters
can be styled with the block letter style instead of the default style.  Thus,
the return address, the closing, and the signature appear flushed on the left
margin.")
    (license license:public-domain)))

(define-public texlive-blowup
  (package
    (name "texlive-blowup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/blowup/" "source/latex/blowup/"
                                     "tex/latex/blowup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d81c5y89ssc153dg2yx8lbmwcpa2day3wbavppbymjfcsz1qs6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/blowup")
    (synopsis "Upscale or downscale all pages of a document")
    (description
     "The package @code{blowup} only defines the user-level macro @code{\\blowUp},
which can be used to upscale or downscale all pages of a document.  It is
similar to the TeX primitive @code{\\magnification} but more accurate and
user-friendly.")
    (license license:lppl1.3+)))

(define-public texlive-bnumexpr
  (package
    (name "texlive-bnumexpr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bnumexpr/"
                                     "source/latex/bnumexpr/"
                                     "tex/latex/bnumexpr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01d91gb1f6iqzh6krc21fc1akvh8w2v3flpq02kig915w7w9r4sn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bnumexpr")
    (synopsis
     "Extends eTeX's @code{\\numexpr...\\relax} construct to big integers")
    (description
     "The package extends e-TeX @code{\\numexpr...\\relax} operation to allow big
integers, powers, factorials, truncated division and its associated modulo.")
    (license license:lppl1.3c)))

(define-public texlive-boites
  (package
    (name "texlive-boites")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/boites/" "source/latex/boites/"
                                     "tex/latex/boites/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dinh5p4vvm7g9hdki329ik8v6d3ci5v20hpiv2960cq0l99bf08"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boites")
    (synopsis "Boxes that may break across pages")
    (description
     "This package defines environments that allow page breaks inside framed boxes
whose edges may be variously fancy.  The bundle includes a few
examples (shaded box, box with a wavy line on its side, etc).")
    (license license:gpl3+)))

(define-public texlive-bold-extra
  (package
    (name "texlive-bold-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bold-extra/"
                                     "tex/latex/bold-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxrgc51w0bx8bsgwy9qymfjskhnhycg0lrq47jmzfcglawp5137"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bold-extra")
    (synopsis "Use bold small caps and typewriter fonts")
    (description
     "This package allows access to extra bold fonts for Computer Modern OT1
encoding (the fonts are available in Metafont source).  Since there is more
than one bold tt-family font set, the version required is selected by
a package option.")
    (license license:lppl)))

(define-public texlive-book-of-common-prayer
  (package
    (name "texlive-book-of-common-prayer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/book-of-common-prayer/"
                                     "tex/latex/book-of-common-prayer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b2wbvyh2z9yy9gj5wp553dgfm6zq9l7x8bxr8cippcplcmnz6rr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/book-of-common-prayer")
    (synopsis "Typeset in the style of @emph{Book of Common Prayer}")
    (description
     "This a package for the typesetting of liturgical documents in the style of
the 1979 @emph{Book of Common Prayer}.  It provides macros for common
liturgical situations (e.g., versicle and response, longer prayers, etc.).
This package is designed to work with the Sabon font, but it is not necessary
to run the macros.")
    (license license:lppl1.3c)))

(define-public texlive-bookest
  (package
    (name "texlive-bookest")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bookest/" "tex/latex/bookest/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0izmdkyi3laiaapksd81imk6hfqc6b0f6m70bx2xl9mcc592adw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bookest")
    (synopsis "Extended @code{book} class")
    (description
     "The class extends the standard @code{book} class, in the areas of colour
scheme management, document layout, headings and footers, front page layout,
and other minor items.")
    (license license:lppl)))

(define-public texlive-booklet
  (package
    (name "texlive-booklet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/booklet/" "source/latex/booklet/"
                                     "tex/latex/booklet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hb1xhw2zssrhk3yipari2a7g1nhz7f48s52b0a6c5fl9l0bpk64"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/booklet")
    (synopsis "Aids for printing simple booklets")
    (description
     "Pages of a document processed with the booklet package will be reordered and
scaled so that they can be printed as four pages per physical sheet of paper,
two pages per side.  The resulting sheets will, when folded in half, assemble
into a booklet.")
    (license license:lppl1.3+)))

(define-public texlive-bookshelf
  (package
    (name "texlive-bookshelf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bookshelf/"
                                     "source/latex/bookshelf/"
                                     "tex/latex/bookshelf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1md1mlm2yc64nmrjcpn754k5akc25273yvi68pgxj9gc86v5167a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bookshelf")
    (synopsis "Create a nice image from a BibTeX file")
    (description
     "This package turns a BibTeX bibliography file into a randomly-coloured,
randomly-sized shelf of books, with the title and author in a randomly-chosen
typeface.")
    (license license:lppl1.3+)))

(define-public texlive-boolexpr
  (package
    (name "texlive-boolexpr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/boolexpr/"
                                     "source/latex/boolexpr/"
                                     "tex/latex/boolexpr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1274l5q5nn1la2c5cbgvwmkpqhb28a94vsz92d3rsqgcahjdgapq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boolexpr")
    (synopsis "Boolean expression evaluator and a switch command")
    (description
     "The @code{\\boolexpr} macro evaluates boolean expressions in a purely
expandable way.  @samp{\\boolexpr@{ A \\OR B \\AND C @}} expands to 0 if the
logical expression is TRUE.  A, B, C may be:

@itemize

@item numeric expressions such as: @samp{x=y}, @samp{x<>y}, @samp{x>y} or
@samp{x<y};

@item boolean switches: @samp{\\iftrue 0\\else 1\\fi};

@item conditionals: @samp{\\ifcsname whatsit\\endcsname 0\\else 1\\fi};

@item another @code{\\boolexpr}: @samp{\\boolexpr@{ D \\OR E \\AND F @}}.

@end itemize

@code{\\boolexpr} may be used with @code{\\ifcase}.

The @code{\\switch} command (which is also expandable) has the form:
@samp{\\switch \\case@{<boolean expression>@} ... \\case@{<boolean
expression>@} ...  ... \\otherwise ... \\endswitch}.")
    (license license:lppl)))

(define-public texlive-bophook
  (package
    (name "texlive-bophook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bophook/" "source/latex/bophook/"
                                     "tex/latex/bophook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxaxrgjs4rpdsb2mbk4zslhy64md2m7ngc5p7w8cyjf1f7swb2h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/bophook")
    (synopsis "Provides an @code{\\AtBeginPage} hook")
    (description
     "Using the @code{\\AtBeginPage} hook provided by this package, you can add
material in the background of a page.  @code{\\PageLayout} can be used to give
page makeup commands to be executed on every page (e.g., depending on the page
style).")
    (license license:lppl)))

(define-public texlive-boxedminipage
  (package
    (name "texlive-boxedminipage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/boxedminipage/"
                                     "source/latex/boxedminipage/"
                                     "tex/latex/boxedminipage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jbgvacs81wvd3f9k969r3rj2z6lfsimqzpyp4j3h4db4qhc0w8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boxedminipage")
    (synopsis
     "Framed minipages of a specified total width (text and frame combined)")
    (description
     "The package essentially just wraps a @code{minipage} within an @code{\\fbox}.
However, while
@samp{\\fbox@{\\begin@{minipage@}@{\\linewidth@}...\\end@{minipage@}@}} juts
out into the margin, @samp{\\begin@{boxedminipage@}...\\end@{boxedminipage@}}
does not.  Instead, it subtracts the frame's dimensions from the specified
dimensions of the @code{minipage} before typesetting the @code{minipage}.")
    (license license:lppl1.3c)))

(define-public texlive-boxhandler
  (package
    (name "texlive-boxhandler")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/boxhandler/"
                                     "source/latex/boxhandler/"
                                     "tex/latex/boxhandler/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19vyasxd17akk5dvrw37pn3s8gjkpgr8qwsqqbxij5hf5qix6qqf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/boxhandler")
    (synopsis "Flexible captioning and deferred box/list printing")
    (description
     "The package allows the user to optimise presentation of LaTeX tables and
figures.  Boxhandler will lay out table and figure captions with a variety of
stylistic apperances, and will also allow figures and tables to be wrapped in
a manner consistent with many business and government documents.  For
a document that might appear in different venues with different formatting,
boxhandler permits the creation of a LaTeX source document that can, with
a single-line change in the source code, produce an output that has very
different layout from the baseline configuration, not only in terms of caption
style, but more importantly in terms of the locations where figures, tables
and lists appear (or not) in the document.  Deferral routines also allow one
to keep all figure and table data in a separate source file, while nonetheless
producing a document with figures and tables appearing in the desired
location.")
    (license license:lppl)))

(define-public texlive-bracketkey
  (package
    (name "texlive-bracketkey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bracketkey/"
                                     "tex/latex/bracketkey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07gkjxcbycfy39wylm880wnkcw6p6sm5by47vhdlwraqkbx65a94"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bracketkey")
    (synopsis "Produce bracketed identification keys")
    (description
     "The package provides an environment @code{bracketkey} for use when producing
lists of species.")
    (license license:lppl1.3+)))

(define-public texlive-braket
  (package
    (name "texlive-braket")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/braket/" "tex/latex/braket/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "092wk3zc6zajgi6l9h9zna3ksk6k6y4gi8slnfk6vldndcg5sbqn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/braket")
    (synopsis "Dirac bra-ket and set notations")
    (description
     "This package provides macros to typeset bra-ket notation, as well as set
specifiers, with a single (@samp{|}) or a double (@samp{||} or @samp{\\|})
vertical bar specifier in between two bracketed parts.  Each macro comes in
a fixed-size version and an expanding version.")
    (license license:public-domain)))

(define-public texlive-bubblesort
  (package
    (name "texlive-bubblesort")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bubblesort/"
                                     "source/latex/bubblesort/"
                                     "tex/latex/bubblesort/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gmrw2m0gr082xj5qmjr6bc0gk7wqqzs38mrf3nmymbd7nv21crd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bubblesort")
    (synopsis "Bubble sorts a list")
    (description
     "This package sorts a list of TeX items in increasing order where increasing
is determined by a comparator macro.  By default it sorts real numbers with
the usual meaning of increasing but some other examples are discussed in the
documentation.  A second macro is included which sorts one list and applies
the same permutation to a second list.")
    (license license:lppl1.3c)))

(define-public texlive-bullcntr
  (package
    (name "texlive-bullcntr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bullcntr/"
                                     "source/latex/bullcntr/"
                                     "tex/latex/bullcntr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pbyp7s1ylrpv13d9m5wk949rjk15xh4hqdi278wf1qav8w71h66"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; Build process displays an infobox and waits for
               ;; user's input.  Skip this part.
               (add-before 'build 'skip-infobox
                 (lambda _
                   (substitute* "source/latex/bullcntr/bullcntr.ins"
                     (("\\Ask.*") "")
                     (("\\(your .*? will be ignored\\).*") "")))))))
    (home-page "https://ctan.org/pkg/bullcntr")
    (synopsis "Display list item counter as regular pattern of bullets")
    (description
     "The @code{bullcntr} package defines the command @code{\\bullcntr},
which may be thought of as an analogue of the @code{\\fnsymbol} command: like
the latter, it displays the value of a counter lying between 1 and 9, but
uses, for the purpose, a regular pattern of bullets.")
    (license license:lppl1.3+)))

(define-public texlive-bxcalc
  (package
    (name "texlive-bxcalc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxcalc/" "tex/latex/bxcalc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bfg0pg5xk3k9wxzvwssr9xb9z94ij24h17jc0mri25c05asng3y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxcalc")
    (synopsis "Extend the functionality of the @code{calc} package")
    (description
     "This package bundle consists of the following packages: @code{bxcalcize}, to
make @code{calc} expressions available in more places, and @code{bxcalcux}, to
add user-defined units to the @code{calc} syntax.

In addition, this bundle provides the @code{bxcalc} package, which simply
loads the above-mentioned packages internally.")
    (license license:expat)))

(define-public texlive-bxdpx-beamer
  (package
    (name "texlive-bxdpx-beamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxdpx-beamer/"
                                     "tex/latex/bxdpx-beamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "067s7qvz5hzq6kvwkc00na0myhgwws111mhx8xsgkpcl5a2ja7cz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxdpx-beamer")
    (synopsis "Dvipdfmx extras for use with Beamer")
    (description
     "The package is a driver to support Beamer navigation symbols and
@code{\\framezoomed} regions when using @command{dvipdfmx} as PDF
generator (e.g., as part of e-pTeX).  The package does not define any user
commands.")
    (license license:expat)))

(define-public texlive-bxdvidriver
  (package
    (name "texlive-bxdvidriver")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxdvidriver/"
                                     "tex/latex/bxdvidriver/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x5ah28mlimw9923xm5sz03vzzhharjw0hgbp63fvbj45ihmbxnm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxdvidriver")
    (synopsis
     "Enables specifying a driver option effective only in DVI output")
    (description
     "This single-function package enables authors to specify a global driver option
(dvips, dvipdfmx, etc) which is applied only when the engine outputs a DVI
file.  It is useful to create special document- templates that can be compiled
in both PDF-mode and DVI-mode.")
    (license license:expat)))

(define-public texlive-bxenclose
  (package
    (name "texlive-bxenclose")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxenclose/"
                                     "tex/latex/bxenclose/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s9xy8bp56bhi94djx0vxh6qsyz5nvqm8zkgag0900vfj2d339dh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxenclose")
    (synopsis "Enclose the document body with some pieces of code")
    (description
     "The package enables authors to designate in the preamble to make the document
body enclosed with the given pieces of code.  As is known, there are already
various mechanisms provided by LaTeX kernel or packages that attach hooks at
the beginning and end of documents.")
    (license license:expat)))

(define-public texlive-bxnewfont
  (package
    (name "texlive-bxnewfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxnewfont/"
                                     "tex/latex/bxnewfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b37y0bpsxwiygd5ffm1r5h8rakdrmz5xxkd0lgrjf3v73hsbvzv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxnewfont")
    (synopsis "Enhanced @code{\\newfont} command")
    (description
     "This package provides a new command @code{\\newfontx}.  It is similar to the
old (and deprecated) command @code{\\newfont} in function, but is more
compatible with NFSS.  In particular, one can safely change font size after
invoking a font command defined by @code{\\newfontx}.")
    (license license:expat)))

(define-public texlive-bxpapersize
  (package
    (name "texlive-bxpapersize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxpapersize/"
                                     "tex/latex/bxpapersize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1133p7xl0dqakqsh3cvhd7yx0j8zcqmwhf82fmphsclvbgwycyhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxpapersize")
    (synopsis "Synchronize output paper size with layout paper size")
    (description
     "As is well known, in LaTeX processing layout paper size specified by document
class options is not automatically applied to output paper size.  This package
enables LaTeX authors to synchronize both kinds of paper sizes.")
    (license license:expat)))

(define-public texlive-bxpdfver
  (package
    (name "texlive-bxpdfver")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxpdfver/" "tex/latex/bxpdfver/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l5hzmr3agpvwnnifqhrb8381gdkryr88r639f890gdiz1qdizad"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxpdfver")
    (synopsis "Specify version and compression level of output PDF files")
    (description
     "This package enables users to specify in their sources the following settings
on the PDF document to output: PDF version (1.4, 1.5 etc.); whether or not to
compress streams; whether or not to use object streams.  This package supports
all major PDF-output engines and @command{dvipdfmx}.")
    (license license:expat)))

(define-public texlive-bxtexlogo
  (package
    (name "texlive-bxtexlogo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/bxtexlogo/"
                                     "tex/latex/bxtexlogo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kd2gyz8a5pkqh8am7ydcndykcrmjlcg0bwsabz61aklyrvaxsdv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/bxtexlogo")
    (synopsis "Additional TeX-family logos")
    (description
     "The @code{hologo} package provides many useful logos of popular (and not so
popular) TeX-family software.  However, its interface is a bit cumbersome
because you must type @code{\\hologo{BibTeX}} instead of @code{\\BibTeX}.
This package makes it possible to import some of the logos provided by
@code{hologo} as single commands, such as @code{\\BibTeX}.

Additionally, the package provides logos of some TeX-family software that is
popular mainly in Japan.  These logos can be imported in the same way as those
provided by the @code{\\hologo} command.")
    (license license:expat)))

(define-public texlive-calcage
  (package
    (name "texlive-calcage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calcage/" "source/latex/calcage/"
                                     "tex/latex/calcage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zk85kmgh7rkmgib6pqccdf4wpr3kpwkszcx5dni2g9np4ggpijs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calcage")
    (synopsis "Calculate the age of something, in years")
    (description
     "The package calculates the age of someone or something in years.  Internally
it uses the @code{datenumber} package to calculate the age in days; conversion
from days to years is then performed, taking care of leap years and such odd
things.")
    (license license:lppl1.3+)))

(define-public texlive-calctab
  (package
    (name "texlive-calctab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calctab/" "tex/latex/calctab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fv5rc42v4ijrrhydq8r79lk3pviqd3adv4nxcbd6px89l6ni6x4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calctab")
    (synopsis "Language for numeric tables")
    (description
     "The @code{calctab} package helps the user to typeset a kind of economic table
such as invoices, expense notes and liquidation, or other tabular material
with a values column.  The code computes sum and percentage with floating
point numeric methods and builds the render table task.")
    (license license:lppl)))

(define-public texlive-calculator
  (package
    (name "texlive-calculator")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calculator/"
                                     "source/latex/calculator/"
                                     "tex/latex/calculator/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ji8i6nnd024924cxgg3563c19wrmy7gw8rpp7ddk7zbjwn492m7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calculator")
    (synopsis "Use LaTeX as a scientific calculator")
    (description
     "The @code{calculator} and @code{calculus} packages define several
instructions which allow us to realise algebraic operations and to evaluate
elementary functions and derivatives in our documents.  The package's main
goal is to define the arithmetic and functional calculations needed in the
package @code{xpicture}, but the numeric abilities of @code{calculator} and
@code{calculus} may be useful in other contexts.")
    (license license:lppl1.3+)))

(define-public texlive-cals
  (package
    (name "texlive-cals")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cals/" "source/latex/cals/"
                                     "tex/latex/cals/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zjh44f5sknz0lj0zn9mslyj7aw5wnjwnlb6427r4lqf2ph31jlq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cals")
    (synopsis "Multipage tables with wide range of features")
    (description
     "The package is a set of macros to typeset multipage tables with repeatable
headers and footers, with cells spanned over rows and columns.  Decorations are
supported: padding, background color, width of separation rules.")
    (license license:lppl1.3+)))

(define-public texlive-calxxxx-yyyy
  (package
    (name "texlive-calxxxx-yyyy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/calxxxx-yyyy/"
                                     "tex/latex/calxxxx-yyyy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ys5wplskpa2bxlbaab8lsfz5qa2z4f31hs6ld3b4xi4n6kk4zbq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/calxxxx-yyyy")
    (synopsis "Print a calendar for a group of years")
    (description
     "The package prints a calendar for two or more years, according to a language
selection.  The package is also culture dependent in the sense that it will
start weeks according to local rules: e.g., weeks conventionally start on
Monday in the English-speaking world.")
    (license license:lppl1.3c)))

(define-public texlive-cancel
  (package
    (name "texlive-cancel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cancel/" "tex/latex/cancel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yb0mwmkdh3p1rsj3d37nkxll24ign348gfdbb7j97i9d6mlaamy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cancel")
    (synopsis "Place lines through maths formulae")
    (description
     "This package draws diagonal lines (``cancelling'' a term) and arrows with
limits (cancelling a term ``to a value'') through parts of maths formulae.")
    (license license:public-domain)))

(define-public texlive-canoniclayout
  (package
    (name "texlive-canoniclayout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/canoniclayout/"
                                     "source/latex/canoniclayout/"
                                     "tex/latex/canoniclayout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cy2h0j7jarvfwdviy248laq6h9dyrj902kwd78m7l9lhmcpdkx6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/canoniclayout")
    (synopsis "Create canonical page layouts with @code{memoir}")
    (description
     "This package provides a canonic text layout has specified relations to
a circle inscribed within the enclosing page.  The package allows the user to
use a canonic layout with the @code{memoir} class.")
    (license license:lppl1.3+)))

(define-public texlive-captcont
  (package
    (name "texlive-captcont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/captcont/"
                                     "source/latex/captcont/"
                                     "tex/latex/captcont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00k6ks2nwqwm37pk9m0zl755q8cvdg8kcwbbw5vwiyrqpifpmwyc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            ;; This phase is necessary because the build phase is reluctant to
            ;; generate "ltxdoc.cfg" since there is another one among the
            ;; inputs already.
            (lambda _
              (substitute* "source/latex/captcont/captcont.ins"
                (("\\\\generateFile\\{ltxdoc\\.cfg\\}\\{t\\}")
                 "\\generateFile{ltxdoc.cfg}{f}")))))))
    (home-page "https://ctan.org/pkg/captcont")
    (synopsis "Retain float number across several floats")
    (description
     "The @code{captcont} package provides the ability to continue the numbering in
your float environment with minimal overhead.  This package adds three
commands: @code{\\caption*}, @code{\\captcont}, and @code{\\captcont*}.")
    (license license:lppl)))

(define-public texlive-captdef
  (package
    (name "texlive-captdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/captdef/" "tex/latex/captdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0arj6qqzq6idhbp1zm51z0ad8jyghkrp4yg34ybl7zshaxnm4ixn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/captdef")
    (synopsis "Declare free-standing @code{\\caption} commands")
    (description
     "The @code{\\DeclareCaption} command defines a class of caption command
associated with the counter specified to the command.  These commands are
free-standing (i.e., don't need to be inside a float environment).  The
package uses @code{\\DeclareCaption} to define @code{\\figcaption} and
@code{\\tabcaption}, which can be used outside @code{figure} or @code{table}
environments.")
    (license license:lppl)))

(define-public texlive-carbohydrates
  (package
    (name "texlive-carbohydrates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/carbohydrates/"
                                     "tex/latex/carbohydrates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bczdi2wykragsl4ncy955wi7fdn8y4ppk51jprlvx9bg67g4wjv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/carbohydrates")
    (synopsis "Carbohydrate molecules with @code{chemfig}")
    (description
     "This package offers macros that make the preparation of exercise sheets for
teaching carbohydrate chemistry a lot less tedious.  It uses @code{chemfig}
for drawing the formulas.  Different representation models (Fischer, Haworth,
chair...) are supported as well as alpha, beta, and chain isomers.")
    (license license:lppl1.3+)))

(define-public texlive-cases
  (package
    (name "texlive-cases")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cases/" "tex/latex/cases/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n108l0k9xla9fd5dvnfgvy7pzdy0rzq8p86a6m7ia6kwn3gjwgp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cases")
    (synopsis "Numbered cases environment")
    (description
     "This package provides a LaTeX environment @code{numcases} to produce
multi-case equations with a separate equation number for each case.  There is
also a @code{subnumcases} environment which numbers each case with the overall
equation number plus a letter.")
    ;; These macros may be freely transmitted, reproduced, or modified
    ;; provided that this notice is left intact.
    (license (license:fsf-free "file://doc/latex/cases/README"))))

(define-public texlive-casyl
  (package
    (name "texlive-casyl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/casyl/"
                                     "fonts/source/public/casyl/"
                                     "fonts/tfm/public/casyl/" "tex/latex/casyl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dxl04m0inilv4jhq4w6haw0g7hd3svyhy3g9x946xydf7zrfjg6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/casyl")
    (synopsis "Typeset Cree/Inuktitut in Canadian Aboriginal syllabics")
    (description
     "The bundle constitutes a font (as Metafont source) and LaTeX macros for its
use within a document.")
    (license license:public-domain)))

(define-public texlive-catchfilebetweentags
  (package
    (name "texlive-catchfilebetweentags")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/catchfilebetweentags/"
                                     "source/latex/catchfilebetweentags/"
                                     "tex/latex/catchfilebetweentags/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11zkhb69gaabcdi1h41iz5yfkq90ch9zfkpnfqf1slvrfy8d8bzc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/catchfilebetweentags")
    (synopsis "Catch text delimited by @code{docstrip} tags")
    (description
     "This package provides a macro @code{\\catchfilebetweentags} acts like the
original @code{\\catchfile} but only extracts a portion of the file instead of
the complete file.  The extracted portion can be delimited by strings or by
docstrip tags.")
    (license license:lppl1.3+)))

(define-public texlive-catechis
  (package
    (name "texlive-catechis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/catechis/"
                                     "source/latex/catechis/"
                                     "tex/latex/catechis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08h5cd1nrvmxw6nbb3z676lxl72zqplnws3bc5vq3j3sjdirgxlg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/catechis")
    (synopsis "Macros for typesetting catechisms")
    (description
     "The macros include: format for question-and-answer; comments on answers;
lengthier explanations of answers; citations.  The formatting of all the macros
is highly (and simply) customizable.")
    (license license:lppl1.3+)))

(define-public texlive-catoptions
  (package
    (name "texlive-catoptions")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/catoptions/"
                                     "tex/latex/catoptions/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gppgs5i1c2xqrrya6r71r95dsbi4wfrqrsz05611lmrddg4imv4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/catoptions")
    (synopsis "Preserving and recalling standard catcodes")
    (description
     "The package changes package loading internals so that all subsequently loaded
packages can rely on normal/standard catcodes of all ASCII characters.  The
package defines canonical control sequences to represent all the visible ASCII
characters.  It also provides robust option parsing mechanisms
@code{(XDeclareOption}, @code{XExecuteOptions} and @code{XProcessOptions},
which will be used by @code{\\documentclass} if the package has already been
loaded).  The package also provides a range of other TeX programming tools.")
    (license license:lppl1.3+)))

(define-public texlive-cbcoptic
  (package
    (name "texlive-cbcoptic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cbcoptic/"
                                     "fonts/source/public/cbcoptic/"
                                     "fonts/tfm/public/cbcoptic/"
                                     "fonts/type1/public/cbcoptic/"
                                     "tex/latex/cbcoptic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d5g6qxvjm7qzkg0i4xqr674nbs4hvw06582mdv7qc9gsf1m4wl4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/cbcoptic")
    (synopsis
     "Coptic fonts and LaTeX macros for general usage and for philology")
    (description
     "CBcoptic is a bundle of files for typesetting Coptic philological text with
the proper fonts and hyphenation.  The fonts are based on, but much extend,
the fonts of the original @code{coptic} bundle.  The CBcoptic bundle includes
font description files, Metafont sources and equivalent Adobe Type 1 fonts in
PFB format.  The bundle also includes a package that provides some macros of
philological interest.")
    (license license:lppl)))

(define-public texlive-ccaption
  (package
    (name "texlive-ccaption")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ccaption/"
                                     "source/latex/ccaption/"
                                     "tex/latex/ccaption/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c211xqpfdkrg6xax9zab706gr0ws4lypsb67q81pw6lpjsl20ya"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ccaption")
    (synopsis "Continuation headings and legends for floats")
    (description
     "This package provides a package providing commands for continuation captions,
unnumbered captions, and also a non-specific legend heading for any
environment.  Methods are also provided to define captions for use outside
float (e.g., @code{figure} and @code{table}) environments, and to define new
float environments and lists of floats.  Tools are provided for specifying
your own captioning styles.")
    (license license:lppl1.3+)))

(define-public texlive-cclicenses
  (package
    (name "texlive-cclicenses")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cclicenses/"
                                     "source/latex/cclicenses/"
                                     "tex/latex/cclicenses/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "166pis25x18plpqm7y1ir4lwsm4ahxvn6q44gh686rsf49f4ky6p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cclicenses")
    (synopsis "Typeset Creative Commons licence logos")
    (description
     "The @code{cclicenses} package helps users typesetting Creative Commons logos
in LaTeX. It defines some commands useful to quickly write these logos,
related to CC licences versions 1.0 and 2.0.")
    (license license:lppl)))

(define-public texlive-cd
  (package
    (name "texlive-cd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cd/" "source/latex/cd/"
                                     "tex/latex/cd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19r5xhrdjsvxhci440apwb85srbw0lrs43hgfipjjzvx8i92n2ab"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cd")
    (synopsis "Typeset CD covers")
    (description
     "This package helps typesetting CD covers.  Normal usage will ordinarily
require no more than a simple data file per cover; the package will make
a full insert for a CD case (it copes with both normal and slim cases).")
    (license license:gpl3+)))

(define-public texlive-cd-cover
  (package
    (name "texlive-cd-cover")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cd-cover/"
                                     "source/latex/cd-cover/"
                                     "tex/latex/cd-cover/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r9msar7x87ibjw3wgh9m6xnrw01khnsdc20g0jhhrn53fyrxhg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cdcover")
    (synopsis "Typeset CD covers")
    (description
     "The CD-cover class will typeset front and back cover sheets for CD jewel
cases, or an entire paper cover, or a label for a plastic slip-cover.")
    (license license:gpl3+)))

(define-public texlive-cdcmd
  (package
    (name "texlive-cdcmd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cdcmd/" "source/latex/cdcmd/"
                                     "tex/latex/cdcmd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11qd65ag4bsj1s5b7x11y5444pa0za4vh5n7gl9cw4zy10ccl2rz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cdcmd")
    (synopsis "Expandable conditional commands for LaTeX")
    (description
     "This package provides some conditional commands, just like the
@code{styledcmd} package.  The difference is that cdcmd can define expandable
conditional commands.")
    (license license:lppl1.3c)))

(define-public texlive-cdpbundl
  (package
    (name "texlive-cdpbundl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cdpbundl/"
                                     "source/latex/cdpbundl/"
                                     "tex/latex/cdpbundl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqrfpmwjw1vri6lcqm01jhnfhwxs6p8w9x3998calrffiiglasv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'non-interactive-build
            ;; When it realizes it cannot employ the usedir directive,
            ;; the build process stops and waits for an input before
            ;; inserting generated files in the working directory.  Do
            ;; not ask for an input.
            (lambda _
              (substitute* "source/latex/cdpbundl/cdpbundl.ins"
                (("\\Ask.*") "")
                (("\\(your .*? will be ignored\\).*") "")))))))
    (home-page "https://ctan.org/pkg/cdpbundl")
    (synopsis "Business letters in the Italian style")
    (description
     "The C.D.P. Bundle can be used to typeset high-quality business letters
formatted according to Italian style conventions.  It is highly configurable,
and its modular structure provides you with building blocks of increasing
level, by means of which you can compose a large variety of letters.  It is
also possible to write letters divided into sections and paragraphs, to
include floating figures and tables, and to have the relevant indexes compiled
automatically.  A single input file can contain several letters, and each
letter will have its own table of contents, etc., independent from the other
ones.")
    (license license:lppl)))

(define-public texlive-cellprops
  (package
    (name "texlive-cellprops")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cellprops/"
                                     "source/latex/cellprops/"
                                     "tex/latex/cellprops/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k30rg5v170x195da08a7gvagzwf6c0w4izqnrhdkfbxkw8w3450"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cellprops")
    (synopsis "Accept CSS-like selectors in @code{tabular}, @code{array}, ...")
    (description
     "This package reworks the internals of @code{tabular}, @code{array},
and similar constructs, and adds a @code{\\cellprops} command accepting
CSS-like selectors and properties.")
    (license license:gpl3+)))

(define-public texlive-cellspace
  (package
    (name "texlive-cellspace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cellspace/"
                                     "tex/latex/cellspace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l5kz97vqmd6zrq5i9s7zxss7jlp8c5fviw2rfh132yydm6w9arf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cellspace")
    (synopsis "Ensure minimal spacing of table cells")
    (description
     "It is well known that high or deep cells tend to touch the @code{\\hlines} of
a tabular.  This package provides a modifier @samp{S} acting on usual column
types so that to ensure a minimal distance that can be controlled through two
parameters @code{\\cellspacetoplimit} and @code{\\cellspacebottomlimit}.")
    (license license:lppl)))

(define-public texlive-censor
  (package
    (name "texlive-censor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/censor/" "tex/latex/censor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c46zzjzkf6s10x9vg52bxfz9y2s1c86a3q4a04azyz68sgmn6ks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/censor")
    (synopsis "Tools for producing redacted documents")
    (description
     "This package provides simple tools for creating redacted documents with
blacked-out text.  Its tools are useful both for creating documents in
a restricted environment (for redacted release in an unrestricted environment)
as well as in an unrestricted environment (for eventual transfer and
completion in the restricted environment).")
    (license license:lppl1.3+)))

(define-public texlive-centeredline
  (package
    (name "texlive-centeredline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/centeredline/"
                                     "tex/latex/centeredline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04m40vpikcrxaak3z8xyp7kn4ndzg3w90ma8333qv4k7ck2h2sh3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/centeredline")
    (synopsis "Macro for centering lines")
    (description
     "This package provides a macro @code{\\centeredline}, which allows one to
conveniently center a line inside a paragraph while allowing usage therein of
@code{\\verb} or other macros changing catcodes.  It works nicely in list
environments, and material whose natural width exceeds the current line width
will get properly centered too.")
    (license license:lppl1.3c)))

(define-public texlive-centerlastline
  (package
    (name "texlive-centerlastline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/centerlastline/"
                                     "source/latex/centerlastline/"
                                     "tex/latex/centerlastline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dcprnm2wmajwbm2njin2yycyfs31w2c2b9cmah5f7xb3388mhhq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/centerlastline")
    (synopsis
     "Paragraphs with last line centered, known as Spanish paragraphs")
    (description
     "This LaTeX package provides a command @code{\\centerlastline} and an
environment @code{centerlastline} that typeset Spanish paragraphs, that is
paragraphs without indentation, and last line centered, useful to finish
a large paragraph of text at the end of chapters, prologues, etc.")
    (license license:lppl1.2+)))

(define-public texlive-changelayout
  (package
    (name "texlive-changelayout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/changelayout/"
                                     "tex/latex/changelayout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "125szym91d35di3w44kb6as10fckvpg873m432sznrk06swfikds"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/changelayout")
    (synopsis "Change the layout of individual pages and their text")
    (description
     "The package is an extension of the @code{changepage} package to permit the
user to change the layout of individual pages and their texts.")
    (license license:lppl)))

(define-public texlive-changelog
  (package
    (name "texlive-changelog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/changelog/"
                                     "tex/latex/changelog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fbjsdkg7ngk9syb3jbjzln2gkwi1fx39zfa0i5ngxjy2ch9q8n8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/changelog")
    (synopsis "Typesetting @url{keepachangelog.com} style change logs")
    (description
     "This package provides a @code{changelog} environment (which itself provides
a @code{version} environment) to represent a change log.  The package supports
multiple authors, unreleased changes, and yanked (revoked) releases.")
    (license license:lppl1.3c)))

(define-public texlive-changes
  (package
    (name "texlive-changes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/changes/" "scripts/changes/"
                                     "source/latex/changes/" "tex/latex/changes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vi8fjvnchz6711fb1knh6yy3p7yhjphc32rpga1jbrmj33ycg43"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           ;; "changes.ins" writes files to "./examples" and "./regression".
           ;; Create these directories first to prevent an error.
           #~(modify-phases %standard-phases
               (add-before 'build 'fix-build
                 (lambda _
                   (for-each mkdir-p
                             '("build/examples/" "build/regression")))))))
    (home-page "https://ctan.org/pkg/changes")
    (synopsis "Manual change markup")
    (description
     "The package allows the user to manually markup changes of text, such as
additions, deletions, or replacements.  Changed text is shown in a different
color; deleted text is striked out.  Additionally, text can be highlighted
and/or commented.  The package allows free definition of additional authors
and their associated color.  It also allows you to change the markup of
changes, authors, highlights or comments.  A Python script is provided for
removing the changes.")
    (license license:lppl1.3+)))

(define-public texlive-chappg
  (package
    (name "texlive-chappg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chappg/" "source/latex/chappg/"
                                     "tex/latex/chappg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14dx6ivfsjmffwarkdfq7wa93llbsmm3x7vsabikwvp899l0x4f3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chappg")
    (synopsis "Page numbering by chapter")
    (description
     "The package provides for @code{chapterno-pageno} or @code{chaptername-pageno}
page numbering.  Provision is made for front- and backmatter in @code{book}
class.")
    (license license:lppl)))

(define-public texlive-chapterfolder
  (package
    (name "texlive-chapterfolder")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chapterfolder/"
                                     "source/latex/chapterfolder/"
                                     "tex/latex/chapterfolder/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08xbv40s637synfl7qajl1imj93kh2l0r3r0fncx55p9x4b75037"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chapterfolder")
    (synopsis "Package for working with complicated folder structures")
    (description
     "This package simplifies working with folder structures that match the
chapter/section/subsection structure.  It provides macros to define a folder
that contains the file for a chapter/section/subsection, and provides macros
that allow inclusion without using the full path, rather the path relative to
the current folder of the chapter/section/subsection.  It makes easy changing
the name of a folder, for example.")
    (license license:lppl)))

(define-public texlive-cheatsheet
  (package
    (name "texlive-cheatsheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cheatsheet/"
                                     "source/latex/cheatsheet/"
                                     "tex/latex/cheatsheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09v25l1xcjrm1bnvfwqa7scr7r9hz6qy9l4pr1haww0ma1fj0rba"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cheatsheet")
    (synopsis "Simple cheat sheet class")
    (description
     "The package provides a clean, multi-column design intended for cheat sheets.")
    (license license:expat)))

(define-public texlive-checkend
  (package
    (name "texlive-checkend")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/checkend/" "tex/latex/checkend/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p3zs72kqfdqzcksjiap6n2nzj4awcr78bhkmjvrshrn2gkhzl6k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/checkend")
    (synopsis "Extend ``improperly closed environment'' messages")
    (description
     "When an environment is left open, LaTeX gives an error at the end of the
document.  However it only informs about the first of them, while the rest are
shown with meaningless errors: (``\\end occurred inside a group at level N'')
This package replaces these errors with more useful messages which show which
environments (in reverse order) were not closed.  There are no user macros:
just use the package.")
    (license license:expat)))

(define-public texlive-chet
  (package
    (name "texlive-chet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/chet/" "doc/latex/chet/"
                                     "tex/latex/chet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gkpp94l6843hxgana60rgs08qifdj7j68dv834p132hc3n08cbn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chet")
    (synopsis "LaTeX layout inspired by @code{harvmac}")
    (description
     "The package aims to streamline the work of typesetting, and to provide the
look and feel of @code{harvmac} for readers.")
    (license license:lppl1.3+)))

(define-public texlive-chextras
  (package
    (name "texlive-chextras")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chextras/"
                                     "source/latex/chextras/"
                                     "tex/latex/chextras/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nz3fwn7r8bp4i8yd1brmcsffnfljfmlsgyn7gq7vynaf53d28d3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chextras")
    (synopsis "Companion package for the Swiss typesetter")
    (description
     "The package simplifies the preparation of Swiss documents and letters by
setting up linguistic and common packages.  While it is a useful addition to
the @code{chletter} document class, it is not tied to it and may be used as
a general purpose package.")
    (license license:lppl1.3+)))

(define-public texlive-childdoc
  (package
    (name "texlive-childdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/childdoc/"
                                     "source/latex/childdoc/"
                                     "tex/latex/childdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15l1jv13c8lprhlqw698zkzz1h54h4nyqvvlhgafkfzrh6jrf6cq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/childdoc")
    (synopsis "Directly compile @code{\\include}'d child documents")
    (description
     "This LaTeX2e package enables the direct compilation of document sections
included by @code{\\include} to individual files.")
    (license license:lppl1.3+)))

(define-public texlive-chkfloat
  (package
    (name "texlive-chkfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chkfloat/" "tex/latex/chkfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v58qcv4vpphgx6n4kgcgn6rknsbksji0bsldwk8lnc01maxrvnl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chkfloat")
    (synopsis "Warn whenever a float is placed ``too far away''")
    (description
     "The package checks for floats that are placed too far from their origin.")
    (license license:lppl1.3+)))

(define-public texlive-chletter
  (package
    (name "texlive-chletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chletter/"
                                     "source/latex/chletter/"
                                     "tex/latex/chletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i54z0241r29ibrizcqi8wsg7q08b24igb2c1fa452z1hajl8hfm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chletter")
    (synopsis "Class for typesetting letters to Swiss rules")
    (description
     "The class enables composition of letters fitting into Swiss C5 & C6/5
windowed envelopes.  No assumption is made about the language used.  The class
is based on the standard LaTeX classes and is compatible with the LaTeX
@code{letter} class.  It is not limited to letters and may be used as
a generic document class; it is used with the @code{chextras} package.")
    (license license:lppl)))

(define-public texlive-chronology
  (package
    (name "texlive-chronology")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/chronology/"
                                     "tex/latex/chronology/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0is43g6x0z66zjhrs3zbp4ql38lcsa1xk90pv9r7105fgn6cjcah"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/chronology")
    (synopsis "Provides a horizontal timeline")
    (description
     "This package provides a timeline package that allows labelling of events with
per-day granularity.  Other features include relative positioning with unit
specification, adjustable tick mark step size, and scaling to specified
width.")
    (license license:lppl1.3+)))

(define-public texlive-circ
  (package
    (name "texlive-circ")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/circ/"
                                     "fonts/source/public/circ/"
                                     "fonts/tfm/public/circ/"
                                     "source/latex/circ/" "tex/latex/circ/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i2x3xvrfnr5b24sl2w6szds7754d5ji4w79y1p8h2c3gcvj6qmm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/circ")
    (synopsis "Macros for typesetting circuit diagrams")
    (description
     "Several electrical symbols like resistor, capacitor, transistors etc., are
defined.  The symbols can be connected with wires.  The package also contains
an American resistor symbol for those of us on that side of the Atlantic.  The
package also has simple facilities for producing optics diagrams; however,
no-one would deny that the PSTricks @code{pst-optic} package, or the MetaPost
@code{makecirc} package do the job better.")
    (license license:gpl3+)))

(define-public texlive-circledsteps
  (package
    (name "texlive-circledsteps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/circledsteps/"
                                     "tex/latex/circledsteps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r8qswdj3iw47pgx6nlkv7vf05i73kmvn841qjdplhv2xvf8g2ib"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/circledsteps")
    (synopsis "Typeset circled numbers")
    (description
     "This package generates circled numbers (or other kinds of markers or small
text) to mark steps in procedures, exercises, and so on.")
    (license license:lppl1.3c)))

(define-public texlive-circledtext
  (package
    (name "texlive-circledtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/circledtext/"
                                     "tex/latex/circledtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i6xc6y38chrwn0kw0ngvbb95hahwqm1fh5mpady9d1ziw7nxydf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/circledtext")
    (synopsis "Create circled text")
    (description
     "This LaTeX package provides a macro @code{\\circledtext} to typeset circled
text.  Its starred version can produce an inverted version.")
    (license license:lppl1.3c)))

(define-public texlive-classics
  (package
    (name "texlive-classics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/classics/" "tex/latex/classics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wgpa5l9s28kvihwvgprhnh5vcp2bn98bzwhrcdwjv9n1inxwinm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/classics")
    (synopsis "Cite classic works")
    (description
     "The package provides a basic framework to cite classic works (specially from
authors such as Homer, Plato, Aristotle, Descartes, Hume, and Kant) in
accordance with traditional pagination systems.  It may be used in conjunction
with other citation packages.")
    (license license:lppl1.3+)))

(define-public texlive-classpack
  (package
    (name "texlive-classpack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/classpack/"
                                     "source/support/classpack/"
                                     "tex/latex/classpack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "134bv6g8yynzw76i496wvb58bng2vrz0b9krqgwpjfj2hqlfhwbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/classpack")
    (synopsis "XML mastering for LaTeX classes and packages")
    (description
     "The package provides an experiment in using XML (specifically DocBook 5) to
mark up and maintain LaTeX classes and packages.  XSLT 2 styleheets generate
the @file{.dtx} and @file{.ins} distribution files expected by end users.")
    (license license:lppl1.3+)))

(define-public texlive-clefval
  (package
    (name "texlive-clefval")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clefval/" "source/latex/clefval/"
                                     "tex/latex/clefval/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kvj80c3kw5zyhqgrwjb9p362635gw553dkj0wfk4ylyksvrjqqj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clefval")
    (synopsis "Key/value support with a hash")
    (description
     "This package provides only two macros, @code{\\TheKey} and @code{\\TheValue},
to define then use pairs of key/value and gives a semblance of a hash.")
    (license license:lppl1.3c)))

(define-public texlive-clicks
  (package
    (name "texlive-clicks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clicks/" "source/latex/clicks/"
                                     "tex/latex/clicks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dpx6xb68rfr6mmqzzm2rx98k6l0s6z53brrds62sm5bqn1rl550"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-etoolbox texlive-xkeyval))
    (home-page "https://ctan.org/pkg/clicks")
    (synopsis "Slide deck animation")
    (description
     "With the help of this package you can simulate animation in your slide deck,
making it look similar to what PowerPoint can do.")
    (license license:expat)))

(define-public texlive-clipboard
  (package
    (name "texlive-clipboard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clipboard/"
                                     "tex/latex/clipboard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rmbhb82n6lbp4iq40dr7xcwm91j0za1s7cd1n6l80a5klrcj1xw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clipboard")
    (synopsis "Copy and paste into and across documents")
    (description
     "The clipboard package provides a basic framework for copying and pasting text
and commands into and across multiple documents.  It replaces the
@code{copypaste} package.")
    (license license:lppl1.3+)))

(define-public texlive-clistmap
  (package
    (name "texlive-clistmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clistmap/"
                                     "source/latex/clistmap/"
                                     "tex/latex/clistmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19chjqjmfcllaf6i1i5zspjvh6j5ljr6lh6w12f9b6h4941ncx58"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clistmap")
    (synopsis "Map and iterate over LaTeX3 clists")
    (description
     "This package provides a key-based interface for defining templates whose job
is to partition LaTeX3 clists and map differentiatedly across its components.")
    (license license:lppl1.3c)))

(define-public texlive-clock
  (package
    (name "texlive-clock")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clock/"
                                     "fonts/source/public/clock/"
                                     "fonts/tfm/public/clock/" "tex/latex/clock/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "187k0pljafh3mnrwk5wapq8hq6lyny1j7wyjidp4r1df62l6111z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/clock")
    (synopsis "Graphical and textual clocks for TeX and LaTeX")
    (description
     "Features graphical clocks (with a classical 12h dial and two hands) and text
clocks (in 24h format) which can show system time or any time the user
desires.  The clock faces (appearances of the dial) are easily expandable; the
default uses a custom Metafont font.")
    (license license:gpl2)))

(define-public texlive-clrdblpg
  (package
    (name "texlive-clrdblpg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clrdblpg/"
                                     "source/latex/clrdblpg/"
                                     "tex/latex/clrdblpg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wsrfp7ahyzk3v52b6miv5vk4w37bfy9pywlknldmh5h5f5d9ip8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clrdblpg")
    (synopsis "Control page style of pages left blank by @code{\\cleardoublepage}")
    (description
     "This tiny package allows easy manipulation of the headers and footers on
pages left blank by @code{\\cleardoublepage}.  By default, LaTeX has no easy
facilities for this.")
    (license license:lppl1.3+)))

(define-public texlive-clrstrip
  (package
    (name "texlive-clrstrip")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/clrstrip/"
                                     "source/latex/clrstrip/"
                                     "tex/latex/clrstrip/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cinjd401r60sbn6qh7rqkrkkng1g3azw1zjrfpz59z9h9ckdlwz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/clrstrip")
    (synopsis "Place contents into a full width colour strip")
    (description
     "This lightweight package provides the @code{colorstrip} environment, that
places its contents into a full page width colour strip.")
    (license license:lppl1.3c)))

(define-public texlive-cmdstring
  (package
    (name "texlive-cmdstring")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmdstring/"
                                     "tex/latex/cmdstring/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "102xjy2bx76f4h7vv9az62bm5qbf6qpv3simykwpdd4ivaxfzy8l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmdstring")
    (synopsis "Get command name reliably")
    (description
     "This package extracts the letters of a command's name (e.g., @samp{foo} for
command @samp{\\foo}), in a reliable way.")
    (license license:lppl)))

(define-public texlive-cmdtrack
  (package
    (name "texlive-cmdtrack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmdtrack/"
                                     "source/latex/cmdtrack/"
                                     "tex/latex/cmdtrack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dmmz5pmp5ql9wq9vlh888hn2q6djjpia3h8c2580yxs5pwk1hrq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmdtrack")
    (synopsis "Check used commands")
    (description
     "The package keeps track of whether a command defined in a document preamble
is actually used somewhere in the document.  After the package is loaded in
the preamble of a document, all @code{\\newcommand} (and similar command
definitions) between that point and the beginning of the document will be
marked for logging.  At the end of the document a report of command usage will
be printed in the TeX log.")
    (license license:lppl1.0+)))

(define-public texlive-cmsd
  (package
    (name "texlive-cmsd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cmsd/" "tex/latex/cmsd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cqfwknx1y0l0ws888m45m8adxqxbvgnzmyjl69y5pjkdxah1yxi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cmsd")
    (synopsis "Interfaces to the CM Sans Serif Bold fonts")
    (description
     "Thr purpose of the package is to provide an alternative interface to the CM
Sans Serif boldface fonts.  The EC (T1, Cork) encoded versions of the CM Sans
Serif boldface extended fonts differ considerably from the traditionally (OT1)
encoded ones: at large sizes, above 10pt, they have thinner strokes and are
much wider.  At 25pt they are hardly to be recognized as being boldface'.
This package attempts to make these T1 fonts look like the traditional ones
did.  You do not need any new fonts; the package just changes the way LaTeX
makes use of the current ones.")
    (license license:lppl)))

(define-public texlive-cnltx
  (package
    (name "texlive-cnltx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/cnltx/" "doc/latex/cnltx/"
                                     "makeindex/cnltx/" "tex/latex/cnltx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g4i658pflc3ak9vi12gkg68ijq6r4cnahhw06j6nqcx7rnc33gd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cnltx")
    (synopsis "LaTeX tools and documenting facilities")
    (description
     "This is a versatile bundle of packages and classes for consistent formatting
of control sequences, package options, source code examples, and writing
a package manual (including an index containing the explained control
sequences, options, ldots).  The bundle also provides several other small
ideas of mine such as a mechansim for providing abbreviations etc.  Not at
least it provides a number of programming tools.")
    (license license:lppl1.3+)))

(define-public texlive-cntformats
  (package
    (name "texlive-cntformats")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cntformats/"
                                     "tex/latex/cntformats/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09j0acva6hx3ny2k76j7psmykfyqb40mvr08cl2gndqmx24j1s3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cntformats")
    (synopsis "Different way to read counters")
    (description
     "The package offers package or class authors a way to format counters with
patterns.  These patterns do not affect normal LaTeX treatment of counters.")
    (license license:lppl1.3+)))

(define-public texlive-cntperchap
  (package
    (name "texlive-cntperchap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cntperchap/"
                                     "tex/latex/cntperchap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06af0861m7fsvznpjc5kylbz0dvv9kwcmwk09iv4yy7lrp43a5b7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cntperchap")
    (synopsis "Store counter values per chapter")
    (description
     "This package stores values of counters (which have been registered
beforehand) on a per chapter base and provides the values on demand in the
second LaTeX compilation run.  In this way it is possible to know how many
sections etc., there are lying ahead and to react to these counter values, if
needed.")
    (license license:lppl1.3+)))

(define-public texlive-codebox
  (package
    (name "texlive-codebox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codebox/" "tex/latex/codebox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w79im9qssaz1bnnkhm2a1sn5cabnsfzk9f3r65fmxxn7wagj7a8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codebox")
    (synopsis "Highlighted source code in a fancy box")
    (description
     "This LaTeX3 package provides environments @code{codebox} and @code{codeview}
to typset with an environment body, and macros @code{\\codefile} and
@code{\\cvfile} to typeset programming source code from a file in a fancy box.
Starred versions of these environments and macros are provided to add
a comment at the bottom of the fancy box.")
    (license license:lppl1.3c)))

(define-public texlive-codedoc
  (package
    (name "texlive-codedoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codedoc/" "tex/latex/codedoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "052l9xznmm01y946wlxyrq9srqys343yrq39kwsd2xxvzi3zm159"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codedoc")
    (synopsis "LaTeX code and documentation in LaTeX-format file")
    (description
     "The CodeDoc class is an alternative to DocStrip (and others) to produce LaTeX
code along with its documentation without departing from LaTeX's ordinary
syntax.  The documentation is prepared like any other LaTeX document and the
code to be commented verbatim is simply delimited by an environment.  When an
option is turned on in the class options, this code is written to the desired
file(s).  The class also includes fully customizable verbatim environments
which provide the author with separate commands to typeset the material and/or
to execute it.")
    (license license:lppl)))

(define-public texlive-codehigh
  (package
    (name "texlive-codehigh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codehigh/" "tex/latex/codehigh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dcfppnav8zf3zlmdjhq5hl54vgg6whsh2apbsxw9sy55j0yxabb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codehigh")
    (synopsis "Highlight code and demos with @code{l3regex} and @code{lpeg}")
    (description
     "This package uses the @code{l3regex} package from the LaTeX3 programming
layer to parse and highlight source code and demos.  It is more powerful than
the @code{listings} package, and more easy to use than @code{minted}.  But it
is slower than both of them.  Therefore in LuaTeX the package provides another
way to highlight code: using LPeg (Parsing Expression Grammars for Lua).  LPeg
is much more powerful and faster than @code{l3regex}.")
    (license license:lppl1.3c)))

(define-public texlive-codepage
  (package
    (name "texlive-codepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codepage/"
                                     "source/latex/codepage/"
                                     "tex/latex/codepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y223jd20issbl4p4rf14130iix75r29kszknglkshdhb3lqzg4c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codepage")
    (synopsis "Support for variant code pages")
    (description
     "The package provides a mechanism for inputting non-ASCII text.  Nowadays, the
job is mostly done by the @code{inputenc} package in the LaTeX distribution.")
    (license license:bsd-3)))

(define-public texlive-codesection
  (package
    (name "texlive-codesection")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/codesection/"
                                     "source/latex/codesection/"
                                     "tex/latex/codesection/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3lq9rap7a5qxflypmv0546n7hyavm2p0z4yf3rp5rp769161fb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/codesection")
    (synopsis "Provides an environment that may be conditionally included")
    (description
     "This package provides an environment to switch a section of code on or off.
The code may be placed anywhere in the file (it is not limited to the document
or the preamble).  The motivation for this package was to have commands which
allow preselection based on whether sections of code in a preamble of
a template are executed.")
    (license license:lppl1.3+)))

(define-public texlive-collcell
  (package
    (name "texlive-collcell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/collcell/"
                                     "source/latex/collcell/"
                                     "tex/latex/collcell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nqxqq2vncxvjm1xwnsznsn451ngcqs046f9ldy1c7h6n4dxq3xc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/collcell")
    (synopsis "Collect contents of a tabular cell as argument to a macro")
    (description
     "The package provides macros that collect the content of a tabular cell, and
offer them as an argument to a macro.  Special care is taken to remove all
aligning macros inserted by tabular from the cell content.  The macros also
work in the last column of a table, but do not support verbatim material
inside the cells.")
    (license license:lppl1.3+)))

(define-public texlive-colophon
  (package
    (name "texlive-colophon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colophon/"
                                     "source/latex/colophon/"
                                     "tex/latex/colophon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sxj99ifah1gv4f84m4i48849npips0ypl997cdaq7k7ycidq41r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colophon")
    (synopsis "Provides commands for producing a colophon")
    (description
     "Colophons are a once-common design device by which a book (or document)
designer gave some information to his readers about the design and makeup of
the text.  It typically includes the publisher (if not included elsewhere in
the document), font size, leading size, measure, and of course font face
identification.  Sometimes it includes information about the tools used, as
well.  This package provides some highly configurable macros, with sensible
defaults, for producing colophons without having to muck around with a lot of
manual code.")
    (license license:lppl1.3+)))

(define-public texlive-color-edits
  (package
    (name "texlive-color-edits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/color-edits/"
                                     "source/latex/color-edits/"
                                     "tex/latex/color-edits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16x695xaaifx621m7jqacm16wh2x96d1lrnp06hk4cg9llvfn00x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/color-edits")
    (synopsis "Colorful edits for multiple authors of a shared document")
    (description
     "This package provides a fairly light-weight solution for annotating LaTeX
source code with color to show additions/changes, replacements, deletions, and
comments.  This is particularly useful when a document is being edited by
multiple authors.  Two package options allow the quick suppression of all
colorful edits and comments, and showing text whose deletion was proposed.")
    (license license:lppl1.3+)))

(define-public texlive-colordoc
  (package
    (name "texlive-colordoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colordoc/"
                                     "source/latex/colordoc/"
                                     "tex/latex/colordoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qyqhryazrwja3hxs6wjrlg6q0jv6qpbwy4mqi6sxdrvxq2flw97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colordoc")
    (synopsis "Coloured syntax highlights in documentation")
    (description
     "The package is used in documentation files; with it the code listings will
highlight (for example) pairs of curly braces with matching colors.  Other
delimiters like @samp{\\if ... \\fi}, are highlighted, as are the names of new
commands.  All this makes code a little more readable, and helps during
process of writing.  Three options are provided, including a non-color option
designed for printing (which numbers delimiters and underlines new commands).")
    (license license:lppl1.0+)))

(define-public texlive-colorframed
  (package
    (name "texlive-colorframed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colorframed/"
                                     "tex/latex/colorframed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sfg6rkyhh9i13003xdm6mnskj4nlngwq268ra4ik9vrb11s70g9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorframed")
    (synopsis "Fix color problems with the package @code{framed}")
    (description
     "This package fixes problems with colour loss that occurres in the
environments of the @code{framed} package.")
    (license license:lppl1.3c)))

(define-public texlive-colorinfo
  (package
    (name "texlive-colorinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colorinfo/"
                                     "tex/latex/colorinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v283sq2xkxix614f2sgblgz4m1xzvv8lcng2ykasvcasq62zcyc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorinfo")
    (synopsis "Retrieve colour model and values for defined colours")
    (description
     "This package retrieves colour model and values for defined colours.")
    (license license:lppl)))

(define-public texlive-coloring
  (package
    (name "texlive-coloring")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coloring/" "tex/latex/coloring/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d98jvf9p1j4brjsj4g7jfnw6dnh7js906advipmlcvdnp8wzqbk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coloring")
    (synopsis "Define missing colors by their names")
    (description
     "This package makes it possible to define colors automatically by their names.
This can be useful in drawing TikZ pictures and designing Beamer themes.
Using the package, you don't need to write @code{\\definecolor} before using
a color.")
    (license license:lppl1.3+)))

(define-public texlive-colorspace
  (package
    (name "texlive-colorspace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colorspace/"
                                     "tex/latex/colorspace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1am4qhzhqk9qf6d3bfxpw51lgx9nz25vxdm6y823hpdk06ipq2yi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorspace")
    (synopsis "Provides PDF color spaces")
    (description
     "The package provides PDF color spaces.  Currently, only spot colors and
overprinting are supported.")
    (license license:expat)))

(define-public texlive-colortab
  (package
    (name "texlive-colortab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/colortab/"
                                     "tex/generic/colortab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xk4rkbfs65bavnigmzdbhs894h3xmq5y2x8nd81ysh7ba93jr5y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colortab")
    (synopsis "Shade cells of tables and halign")
    (description
     "The package lets you shade or colour the cells in the alignment environments
such as @code{\\halign} and LaTeX's @code{tabular} and @code{array}
environments.  The @code{colortbl} package is to be preferred today with
LaTeX (it assures compatibility with the @code{longtable} package, which is no
longer true with @code{colortab}); another modern option is the
table-colouring option of the @code{xcolor}.  However, @code{colortab} remains
an adequate solution for use with Plain TeX.")
    (license license:lppl)))

(define-public texlive-colorwav
  (package
    (name "texlive-colorwav")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colorwav/"
                                     "source/latex/colorwav/"
                                     "tex/latex/colorwav/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aqf15z3h7b7dj295y6sjkpd6vhskzvmg2hpr1gjmcj24q2iw0yh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorwav")
    (synopsis "Colours by wavelength of visible light")
    (description
     "The package allows the user to obtain an RGB value (suitable for use in the
@code{color} package) from a wavelength of light.  The default unit is
nanometres, but other units may be used.  Note that this function is also
available within @code{xcolor}.")
    ;; "colorwav.sty" mentions "This package is released under the GNU
    ;; LGPL." Assume the latest one.
    (license license:lgpl3+)))

(define-public texlive-colorweb
  (package
    (name "texlive-colorweb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colorweb/"
                                     "source/latex/colorweb/"
                                     "tex/latex/colorweb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hm2xwnyl3ycnmc8lq28cw79pwm7h5dj0f5z0569mc21p4dgmcg8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colorweb")
    (synopsis "Extend the @code{color} package colour space")
    (description
     "The package makes the 216 ``web-safe colours'' available to the standard
@code{color} package.")
    (license license:lppl1.3+)))

(define-public texlive-colourchange
  (package
    (name "texlive-colourchange")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colourchange/"
                                     "tex/latex/colourchange/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1366p2y9a2ls5mdyvar4c1s3qzpb0ghjn4dzvnsnmd36cgyqjcmc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/colourchange")
    (synopsis "Change colors in a Beamer presentation")
    (description
     "The package allows you to change the colour of the structural elements (inner
theme and outer theme) of your Beamer presentation during the presentation.
There is a manual option but there is also the option to have your structure
colour change from one colour to another as a function of how far through the
presentation you are.")
    (license license:gpl3)))

(define-public texlive-combelow
  (package
    (name "texlive-combelow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/combelow/" "tex/latex/combelow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ya26afw6n94k5hm0miznk5my9zxdfx54396ip4n87dkgs9n827a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/combelow")
    (synopsis "Typeset comma-below letters, as in Romanian")
    (description
     "The package defines a command @code{\\cb} that positions a comma below
a letter, as required (for example) in Romanian typesetting.  The command is
robust, but interferes with hyphenation.")
    (license license:lppl1.3+)))

(define-public texlive-combine
  (package
    (name "texlive-combine")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/combine/" "source/latex/combine/"
                                     "tex/latex/combine/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v0qs274sqdx63md9xmpibnry0pj44r3rylfyrxaxr8q69i983vc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/combine")
    (synopsis "Bundle individual documents into a single document")
    (description
     "The @code{combine} class lets you bundle individual documents into a single
document, such as when preparing a conference proceedings.  The auxiliary
@code{combinet} package puts the titles and authors from @code{\\maketitle}
commands into the main document's table of contents.  The package cooperates
with the @code{abstract} and @code{titling} packages.")
    (license license:lppl1.3+)))

(define-public texlive-comma
  (package
    (name "texlive-comma")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/comma/" "tex/latex/comma/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16rbqna7jngahi9crnv74jkvlnmfr3rz7gbrz24ginh19bax7pi1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/comma")
    (synopsis "Formats a number by inserting commas")
    (description
     "This package provides a flexible package that allows commas (or anything
else) to be inserted every three digits in a number, as in @samp{1,234}.")
    (license license:lppl)))

(define-public texlive-commado
  (package
    (name "texlive-commado")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/commado/"
                                     "source/generic/commado/"
                                     "tex/generic/commado/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqiivfc6248yydz3199z8s9i61my70y4l48caa2lvxsvnb1pf7l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/commado")
    (synopsis "Expandable iteration on comma-separated and filename lists")
    (description
     "The bundle provides two packages: @code{commado} and @code{filesdo}.  The
package @code{commado} provides the command @code{\\DoWithCSL}, which applies
an existing one-parameter macro to each item in a list in which terms are
separated by commas.

The package @code{filesdo} provides the command @code{\\DoWithBasesExts},
which runs the single parameter command on each file whose base and extension
are provided through two comma-separated lists.

These loop'-like commands are (themselves) entirely expandable.")
    (license license:lppl1.3+)))

(define-public texlive-commedit
  (package
    (name "texlive-commedit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/commedit/"
                                     "source/latex/commedit/"
                                     "tex/latex/commedit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8jqizvnl9hxpxmk5g60fy24b5n5n9jjjrmm9zi5azkscjqjfdg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/commedit")
    (synopsis "Commented editions with LaTeX")
    (description
     "The package is intended for commented editions.  An example of commented
edition is a teacher's book based on a student's textbook.  Each page of
a teacher's book is a page from the textbook and comments for the teacher.")
    (license license:lppl1.3+)))

(define-public texlive-commonunicode
  (package
    (name "texlive-commonunicode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/commonunicode/"
                                     "tex/latex/commonunicode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s0kni4gc8jr102ikk96igxiriikccm21zml08kwiv17vy4n50mb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/commonunicode")
    (synopsis "Convert common Unicode symbols to LaTeX code")
    (description
     "The aim of this LaTeX package is to provide a complete as possible list of
common Unicode symbols with their translations to LaTeX code.  This is useful
in the development of templates which are intended to work with modern TeX
engines (LuaTeX, XeTeX) as well as traditional ones (TeX, pdfTeX).")
    (license license:expat)))

(define-public texlive-competences
  (package
    (name "texlive-competences")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/competences/"
                                     "source/latex/competences/"
                                     "tex/latex/competences/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f4nkhi152410v0zl8priw71s135i2rm9f54dcwqcrkm0d1ijca2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/competences")
    (synopsis "Track skills of classroom checks")
    (description
     "This package is an attempt to track skills assessed during a classroom check.
Each question can be associated with one or more skills and be assigned
a number of points to be earned.  At the end of the text, a table set
summarizes the skills assessed, and in what proportions.")
    (license license:lppl1.3+)))

(define-public texlive-concepts
  (package
    (name "texlive-concepts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/concepts/" "tex/latex/concepts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r6dals4iqmp0r79gck81dw6fdympnpjmz6n23la376dpxwj15lx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/concepts")
    (synopsis "Keeping track of formal concepts for a particular field")
    (description
     "The package helps to keep track of formal concepts for a specific field or
document.  This is particularly useful for scientific papers (for example, in
physics, mathematics or computer science), which may introduce several concepts
(with their own symbols).  The package's commands allow the user to define
a concept (typically, near its first use), and will ensure consistent use
throughout the document.")
    (license license:lppl)))

(define-public texlive-concprog
  (package
    (name "texlive-concprog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/concprog/" "tex/latex/concprog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i47w63gqiczygvmwq7pdym7l2hi2fw4maan3c0psfqm6wh0mz0w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/concprog")
    (synopsis "Concert programmes")
    (description
     "This package provides a class which provides the necessary macros to prepare a
(classical) concert programme; a sample is provided.")
    (license license:gpl3+)))

(define-public texlive-conditext
  (package
    (name "texlive-conditext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/conditext/"
                                     "tex/latex/conditext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b07ydmkqd4jfkqjvs073g9ansx5w378wv95qfpgrqqx7pc9215s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/conditext")
    (synopsis "Define and manage conditional content")
    (description
     "This package provides some commands to define and manage conditional content
in a LaTeX source document.  A conditional content, in the sense within this
is understood in this package, is a text (including mathematical or other
formulas) and/or a graphical element (diagram, figure, image...) as
substitutable forms, which, according to a condition test, may or may not
appear in the generated document.  One of the most common forms of conditional
content management is multilingual; but it can also include versioning,
confidentiality levels, and so on.

The philosophy of this package is based on the respective notions of condition
field, condition property and condition space.  With this package, any
substitutable form in a source document is identified by a condition field and
a condition property.  The condition field is a functional theme that allows
you to group together substitutable forms for the same conditional management.
The condition property is a functional characterization specific to each
substitutable form of a single condition domain.  The condition space is used
to designate the substitutable form(s) that must appear in the generated
document.  A condition space is defined by specifying a condition domain and
a condition property to match with one or more substitutable forms.")
    (license license:lppl1.3c)))

(define-public texlive-constants
  (package
    (name "texlive-constants")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/constants/"
                                     "source/latex/constants/"
                                     "tex/latex/constants/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ykg2q3mbgc705v7c14pldz57g4qjm4z5cw8jw3fi2254fzdb2h4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/constants")
    (synopsis "Automatic numbering of constants")
    (description
     "The package provides a way to number constants in a mathematical proof
automatically, with a system for labelling/referencing.  In addition, several
families of constants (with different symbols) may be defined.")
    (license license:lppl)))

(define-public texlive-continue
  (package
    (name "texlive-continue")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/continue/"
                                     "source/latex/continue/"
                                     "tex/latex/continue/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c9yz5lm9y0jzad0mx36axww9p3b4gfbjdnddpky9w12kv0xn66f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/continue")
    (synopsis "Prints continuation marks on pages of multipage documents")
    (description
     "This package provides for a variety of continuation indicators on pages when
the text continues on the following page.  The default is to only mark odd
pages, but all pages can be marked and the marking can be stopped or started
at any point.")
    (license license:lppl1.3+)))

(define-public texlive-contour
  (package
    (name "texlive-contour")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/contour/" "source/latex/contour/"
                                     "tex/latex/contour/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "026pz6nrrls53srs4qch9nmpzx62ii9airnbcdi3yq1ly2hqay4y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/contour")
    (synopsis "Print a coloured contour around text")
    (description
     "This package generates a coloured contour around a given text in order to
enable printing text over a background without the need of a coloured box
around the text.")
    (license license:lppl)))

(define-public texlive-contracard
  (package
    (name "texlive-contracard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/contracard/"
                                     "source/latex/contracard/"
                                     "tex/latex/contracard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07f3wq4zqc8l0mm1i0p6i225313haw9ccnha0jl937yqrzhsk5cl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/contracard")
    (synopsis "Generate calling cards for dances")
    (description
     "This package provides a package and a class used to typeset traditional
country dances, such as contra and square dances, and to create calling cards
for the same.")
    (license license:lppl1.3c)))

(define-public texlive-conv-xkv
  (package
    (name "texlive-conv-xkv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/conv-xkv/"
                                     "source/latex/conv-xkv/"
                                     "tex/latex/conv-xkv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fwcq7y67dn2j2002kqibphpx30q7d5jay62gi5pwk39d6vrmp5w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/conv-xkv")
    (synopsis "Create new key-value syntax")
    (description
     "This small package supports key-value syntax other than the standard LaTeX
syntax of @samp{<key>=<value>}.  Using this package, create key-values of the
form @samp{<key>:<value>} or @samp{<key>-><value>}, for example.  The package
converts the new notation to @code{xkeyval} notation and passes it on to
@code{xkeyval}.")
    (license license:lppl1.2+)))

(define-public texlive-cooking
  (package
    (name "texlive-cooking")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cooking/" "source/latex/cooking/"
                                     "tex/latex/cooking/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0spf9493hw5iqp9hbh5y0imi2z61bxwz51v0c0v3r43pv8cscgpf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cooking")
    (synopsis "Typeset recipes")
    (description
     "The package typesets recipes according to the style used in a well-respected
German cookery book.")
    (license license:gpl3+)))

(define-public texlive-cooking-units
  (package
    (name "texlive-cooking-units")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cooking-units/"
                                     "source/latex/cooking-units/"
                                     "tex/latex/cooking-units/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i8h804gpdpi4ax60hm2fr54dcqfawkzjg64xj9za74zw24ga90v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cooking-units")
    (synopsis "Typeset and convert units for cookery books and recipes")
    (description
     "The package provides commands to typeset amounts and units consistently and
offers an easy-to-use key-value syntax to convert one unit into another (for
example @samp{dag} to @samp{g}).")
    (license license:lppl1.3c)))

(define-public texlive-cool
  (package
    (name "texlive-cool")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cool/" "source/latex/cool/"
                                     "tex/latex/cool/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "162x27s72s4xg0cq5wwzsrr8b3522paiqvsirk2xksvn479ghhcm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cool")
    (synopsis "COntent-Oriented LaTeX")
    (description
     "The package (COntent Oriented LaTeX) gives LaTeX the power to retain
mathematical meaning of its expressions in addition to the typsetting
instructions; essentially separating style from the content of the math.  One
advantage of keeping mathematical meaning is that conversion of LaTeX
documents to other executable formats (such as Content MathML or Mathematica
code) is greatly simplified.")
    ;; "This package is released under the GNU LGPL."  Assume latest.
    (license license:lgpl3+)))

(define-public texlive-coolfn
  (package
    (name "texlive-coolfn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coolfn/" "tex/latex/coolfn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10s3j52jzin65yxiy8wrgsh6c4cviicxwwqk9h0324nsyblslcli"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coolfn")
    (synopsis "Typeset long legal footnotes")
    (description
     "This package provides formatting for footnotes in long legal documents, using
hanging indents to make them look nicer.")
    (license license:lppl1.3c)))

(define-public texlive-coollist
  (package
    (name "texlive-coollist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coollist/"
                                     "source/latex/coollist/"
                                     "tex/latex/coollist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bwfyx9iaby0ypm2s9qx68whhvsxlcyghh6p9fizzr2jibyakq40"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coollist")
    (synopsis "Manipulate COntent Oriented LaTeX Lists")
    (description
     "Lists are defined as a sequence of tokens separated by a comma.
The @code{coollist} package allows the user to access certain elements of the
list while neglecting others --- essentially turning lists into a sort of
array.  List elements are accessed by specifying the position of the object
within the list (the index of the item).")
    ;; "This package is released under the GNU LGPL."  Assume latest.
    (license license:lgpl3+)))

(define-public texlive-coolstr
  (package
    (name "texlive-coolstr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coolstr/" "source/latex/coolstr/"
                                     "tex/latex/coolstr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01lx9x0iggqcy6bhr24xw67mrd4gx5q6s6riwc0bl19krijcw721"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coolstr")
    (synopsis "String manipulation in LaTeX")
    (description
     "Coolstr is a subpackage of the @code{cool} bundle that deals with the
manipulation of strings.  A string is defined as a sequence of characters (not
tokens).  The package provides the ability to access a specific character of
a string, as well as determine if the string contains numeric or integer
data.")
    ;; "This package is released under the GNU LGPL."  Assume latest.
    (license license:lgpl3+)))

(define-public texlive-coolthms
  (package
    (name "texlive-coolthms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coolthms/"
                                     "source/latex/coolthms/"
                                     "tex/latex/coolthms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1274lmvwq0mhmk0kdnnvivzkrrly2b43jdrmvjh28hpms299bc42"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coolthms")
    (synopsis "Reference items in a theorem environment")
    (description
     "The package provides the means to directly reference items of lists nested in
@code{theorem}-like environments (e.g., as @samp{Theorem 1 a}).  The package
extends the @code{ntheorem} and @code{cleveref} packages.  The package also
provides other theorem markup commands.")
    (license license:lppl)))

(define-public texlive-cooltooltips
  (package
    (name "texlive-cooltooltips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cooltooltips/"
                                     "source/latex/cooltooltips/"
                                     "tex/latex/cooltooltips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jar70g61p7k4xw7bqir13l0lrfnaka2fvw61k4jiq4v8lic8i4i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cooltooltips")
    (synopsis "Associate a pop-up window and tooltip with PDF hyperlinks")
    (description
     "The @code{cooltooltips} package enables a document to contain hyperlinks that
pop up a brief tooltip when the mouse moves over them and also open a small
window containing additional text.  @code{cooltooltips} provides the mechanism
used by the Visual LaTeX FAQ to indicate the question that each hyperlink
answers.")
    (license license:lppl)))

(define-public texlive-coop-writing
  (package
    (name "texlive-coop-writing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coop-writing/"
                                     "source/latex/coop-writing/"
                                     "tex/latex/coop-writing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gv4sjhipfiq0h8ygy5ynfarzy4cn6sa240xbh0r1377hrn3mhy2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coop-writing")
    (synopsis "Support for cooperative writing and editorial comments")
    (description
     "This package for cooperative writing supports editorial comments and gives
some extra support for writing and submitting papers, such as anonymization
commands for any document that involves more than one author or editor.  The
general behavior of this package is to provide different ways of marking your
text, for example with comments or to-do-notes, suggestions to add, remove or
change text that can be totally supressed from the output when desired.
Mostly, this can be easily done using one of the three main option states:
@code{editing}, @code{submit}, and @code{publish}.  Users should use the
@code{editing} state most of the time.  In this state, all markings will
appear and anonymization will be off.  When submitting, the @code{submit}
state will provide a clean article, without any markings, but anonymized.  It
is possible to use the options @code{submit} and @code{noanonymize} together.
@code{Publish} will never anonymize.  The goal is to make the submit and
publish documents states minimally invasive, to avoid any clash with
publishers styles.")
    (license license:expat)))

(define-public texlive-coordsys
  (package
    (name "texlive-coordsys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coordsys/"
                                     "source/latex/coordsys/"
                                     "tex/latex/coordsys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c2p4358g9ggpx92bs7r95mlm8r4a1n6bnsdilhzrm1lnb1gb6ls"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coordsys")
    (synopsis "Draw cartesian coordinate systems")
    (description
     "The package provides commands for typesetting number lines (coordinate axes),
coordinate systems and grids in the @code{picture} environment.  The package
may be integrated with other drawing mechanisms: the documentation shows
examples of drawing graphs (coordinate tables created by Maple), using the
@code{eepic} package's drawing capabilities.")
    (license license:lppl)))

(define-public texlive-copyedit
  (package
    (name "texlive-copyedit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/copyedit/"
                                     "source/latex/copyedit/"
                                     "tex/latex/copyedit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0irvq05mk4hf2m04hvg4viryhp1b7zn3qnqcss342vhcdrrf87ih"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/copyedit")
    (synopsis "Copyediting support for LaTeX documents")
    (description
     "This package implements copyediting support for LaTeX documents.  Authors
can enjoy the freedom of using, for example, words with US or UK or Canadian or
Australian spelling in a mixed way, yet, they can choose any one of the usage
forms for their entire document irrespective of kinds of spelling they have
adopted.  In the same fashion, the users can have the benefit of the following
features available in the package:
@itemize
@item localization --- British-American-Australian-Canadian,
@item close-up, hyphenation, and spaced words,
@item Latin abbreviations,
@item acronyms and abbreviations,
@item itemization, nonlocal lists and labels,
@item parenthetical and serial commas,
@item non-local tokenization in language through abbreviations and pronouns.
@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-copyrightbox
  (package
    (name "texlive-copyrightbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/copyrightbox/"
                                     "tex/latex/copyrightbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jyd3ij1zc93hpjwc61bpkcr7xhjr2q6i88909mwjfkqf5w8bdh2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/copyrightbox")
    (synopsis "Provide copyright notices for images in a document")
    (description
     "The package command @code{\\copyrightbox}, which places the text as
a copyright notice relating to the matter created by the image command.")
    (license license:lppl)))

(define-public texlive-coseoul
  (package
    (name "texlive-coseoul")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coseoul/" "tex/latex/coseoul/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xf93pskygb26p47m0063y1q57kgg2gjwwrxg89b5rgmamawjwyw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coseoul")
    (synopsis "Context sensitive outline elements")
    (description
     "The package provides relative commands that may be used in place of @code{\\chapter},
@code{\\section}, etc.")
    (license license:lppl1.3+)))

(define-public texlive-counttexruns
  (package
    (name "texlive-counttexruns")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/counttexruns/"
                                     "source/latex/counttexruns/"
                                     "tex/latex/counttexruns/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ppy8qfpjq4vcq2w53ms63khsmw09vrg1psxd6ylr8rp2m3mrdgy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/counttexruns")
    (synopsis "Count compilations of a document")
    (description
     "The package counts how often a LaTeX document is compiled, keeping the data
in an external file.  To print the count, can use the macro
@code{\\thecounttexruns}.")
    (license license:lppl1.3+)))

(define-public texlive-courseoutline
  (package
    (name "texlive-courseoutline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/courseoutline/"
                                     "tex/latex/courseoutline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xp3cdvpbldn86a8zmsck223m4120r5qr408097jnq01wrycij98"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/courseoutline")
    (synopsis "Prepare university course outlines")
    (description
     "Courseoutline is a class designed to minimise markup in a tedious task that
needs to be repeated often.")
    ;; "Feel free to copy, modify, and distribute."
    (license
     (license:non-copyleft
      "file://tex/latex/courseoutline/courseoutline.cls"))))

(define-public texlive-coursepaper
  (package
    (name "texlive-coursepaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coursepaper/"
                                     "tex/latex/coursepaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h625m8blq1a3ga9m2c0bkv5n1wfwgy9kbgs89jh7yqy262z2cs3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coursepaper")
    (synopsis "Prepare university course papers")
    (description
     "Coursepaper is a class with which students can provide simple course papers,
in a uniform design to ease the task of marking.")
    ;; "Feel free to copy, modify, and distribute."
    (license
     (license:non-copyleft
      "file://tex/latex/coursepaper/coursepaper.cls"))))

(define-public texlive-coverpage
  (package
    (name "texlive-coverpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/coverpage/"
                                     "source/latex/coverpage/"
                                     "tex/latex/coverpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m7a9dm5a8wvch096g5wfjmw9p435jvpnbxn2qxv5bvnihxigdh7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/coverpage")
    (synopsis "Automatic cover page creation for scientific papers")
    (description
     "The package CoverPage was created to supplement scientific papers with
a cover page containing bibliographical information, a copyright notice,
and/or some logos of the author's institution.  The cover page is
created (almost) automatically; this is done by parsing BibTeX information
corresponding to the main document and reading a configuration file in which
the author can set information like the affiliation he or she is associated
with.  The cover page consists of header, body and footer; all three are
macros which can be redefined using @code{\\renewcommand}, thus allowing easy
customization of the package.  Additionally, it should be stressed that the
cover page layout is totally independent of the main document and its page
layout.")
    (license license:lppl1.2+)))

(define-public texlive-cprotect
  (package
    (name "texlive-cprotect")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cprotect/"
                                     "source/latex/cprotect/"
                                     "tex/latex/cprotect/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i7x6mz106c5jgb3z5h9ma0srjyjh89w1c5p7jfxc882c2w02lha"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cprotect")
    (synopsis "Allow verbatim, etc., in macro arguments")
    (description
     "The package defines the macro @code{\\cprotect} that makes a following macro
proof against verbatim in its argument.  A similar macro
@code{\\cprotEnv} (applied to the @code{\\begin} of an environment) sanitises
the behavior of fragile environments.  Moving arguments, and corresponding
``tables of ...'' work happily.")
    (license license:lppl1.3+)))

(define-public texlive-cprotectinside
  (package
    (name "texlive-cprotectinside")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cprotectinside/"
                                     "tex/latex/cprotectinside/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pa9j8v61xvrcmqgarzlwpg55l5qr3qi6nw2v3rdvvfg65ri6vf5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cprotectinside")
    (synopsis "Use @code{cprotect} arbitrarily nested")
    (description
     "This package extends the @code{cprotect} package to allow users to use
verbatim-like commands inside arbitrary parameters.")
    (license license:lppl1.3c)))

(define-public texlive-crbox
  (package
    (name "texlive-crbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crbox/" "tex/latex/crbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zw0dzmnzn42xsy8c2as4gnssj74s4ilivwrc1phvsfvlinjah9n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crbox")
    (synopsis "Boxes with crossed corners")
    (description
     "The package implements a @code{\\crbox} command which produces boxes with
crossing lines at the corners.")
    (license license:lppl)))

(define-public texlive-crossreference
  (package
    (name "texlive-crossreference")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crossreference/"
                                     "source/latex/crossreference/"
                                     "tex/latex/crossreference/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wxf4iz6mz7jm24dzbxnr3rhrlnfxs80dzd2avqyis1a9ln91cby"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crossreference")
    (synopsis "Crossreferences within documents")
    (description
     "The package defines cross-references (essentially grand label references),
which may be listed in a table of cross-references.")
    (license license:lppl)))

(define-public texlive-crossreftools
  (package
    (name "texlive-crossreftools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crossreftools/"
                                     "tex/latex/crossreftools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rqv8km9l5yxl60vs9cyx41yfpw56djxynlm0p2ykxpncppipxrs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/crossreftools")
    (synopsis "Expandable extraction of @code{cleveref} data")
    (description
     "This package extracts information from cross-referencing labels, especially
those from @code{cleveref}, in an expandable manner.")
    (license license:lppl1.3+)))

(define-public texlive-css-colors
  (package
    (name "texlive-css-colors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/css-colors/"
                                     "tex/latex/css-colors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "141bsypli8ibaqwwmip6rynikk6kx8gi12jfap6hy5sjylq93ndj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/css-colors")
    (synopsis "Named colors for web-safe design")
    (description
     "This package defines web-safe colors for use with @code{color} package.
It is intended for both authors and package writers (e.g., to create Beamer
color themes).")
    (license (list license:lppl license:gpl3+))))

(define-public texlive-csvmerge
  (package
    (name "texlive-csvmerge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csvmerge/"
                                     "source/latex/csvmerge/"
                                     "tex/latex/csvmerge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rbh4z8xw849v79jl5xnvrbsgkgc7dcv59qm3fna08ilhjnhgxz1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csvmerge")
    (synopsis "Merge TeX code with CSV data")
    (description
     "This package provides macros for processing a CSV spreadsheet file with
a minimum of configuration for the CSV file.  The first row names the columns
and the remaining rows are data.  This data can be merged with TeX code
residing in an auxiliary file and the process repeated for each data row.
There is one macro to set things up, one to extract the data, and one to tell
if the field is empty or not.")
    (license license:lppl1.3+)))

(define-public texlive-csvsimple
  (package
    (name "texlive-csvsimple")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/csvsimple/"
                                     "tex/latex/csvsimple/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k24l19yj695y1j90whdpapjblgnzyc4593bv46b4xpnqhi08ga0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/csvsimple")
    (synopsis "Simple CSV file processing")
    (description
     "The package provides a simple LaTeX interface for the processing of files
with comma separated values (CSV); it relies on the key value syntax supported
by @code{pgfkeys} to simplify usage.  Filtering and table generation are
especially supported; however, this lightweight tool offers no support for
data sorting or data base storage.")
    (license license:lppl1.3+)))

(define-public texlive-cuisine
  (package
    (name "texlive-cuisine")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cuisine/" "source/latex/cuisine/"
                                     "tex/latex/cuisine/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zlp0ravbzb75z99zr3qdga00a5lb9xk7mp67nbj68pn9arb97zd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cuisine")
    (synopsis "Typeset recipes")
    (description
     "This package typesets recipes with the ingredients lined up with their method
step (somewhat similarly to the layout used in cooking).")
    (license license:lppl)))

(define-public texlive-currency
  (package
    (name "texlive-currency")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/currency/"
                                     "source/latex/currency/"
                                     "tex/latex/currency/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xzpgqifdk77ch39gcpfdzrm9vdyxkh3mz7nfh1j1pk2jw5vg3k7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/currency")
    (synopsis "Format currencies in a consistent way")
    (description
     "The package facilitates the formatting of currencies (amounts and units) with
various formatting capabilities.")
    (license license:lppl1.3+)))

(define-public texlive-currvita
  (package
    (name "texlive-currvita")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/currvita/"
                                     "source/latex/currvita/"
                                     "tex/latex/currvita/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0416lw6r1dqv5xbjn6xw07dk0dd4ra5w7qvkawmfqmll2wvjq8is"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/currvita")
    (synopsis "Typeset a curriculum vitae")
    (description
     "Currvita is a package rather than a class (like most other curriculum vitae
offerings).  The author considers that a curriculum vitae can quite reasonably
form part of another document (such as a letter, or a dissertation).")
    (license license:gpl3+)))

(define-public texlive-cutwin
  (package
    (name "texlive-cutwin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cutwin/" "source/latex/cutwin/"
                                     "tex/latex/cutwin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a49y75ihs4f4bvh5kmlmz3ywd2ppgph0c7zpy35lnbz3ycfgj06"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cutwin")
    (synopsis "Cut a window in a paragraph, typeset material in it")
    (description
     "The package provides facilities to cut windows out of paragraphs, and to
typeset text or other material in the window.  The window may be rectangular,
or may have other sorts of shape.")
    (license license:lppl1.3+)))

(define-public texlive-cv
  (package
    (name "texlive-cv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cv/" "tex/latex/cv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "129akrpdlggi8xmg06ans9csdyv95wrj72lhciis209j698m8scs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cv")
    (synopsis "Package for creating a curriculum vitae")
    (description
     "The package can be used for creating a curriculum vitae.  Note that @code{cv}
is just a package: you choose the overall formatting by deciding which class
to use, while the package provides the detailed formatting.")
    (license license:gpl3+)))

(define-public texlive-cv4tw
  (package
    (name "texlive-cv4tw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cv4tw/" "tex/latex/cv4tw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xd9r0ywx90f7iwk4955gm957jlays56d1n7i3mkvh6incs78asj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cv4tw")
    (synopsis "LaTeX CV class, with extended details")
    (description
     "The class offers entries for assets and social networks; customizable styles
are provided.  The class comes with no documentation, but a worked example
offers some guidance.")
    (license license:expat)))

(define-public texlive-cweb-latex
  (package
    (name "texlive-cweb-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cweb-latex/"
                                     "tex/latex/cweb-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f3fxjl92qh1q5d3lc04lrgxlbgrj8gkxvsdwcqfskax8zkmqrcr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cweb-latex")
    (synopsis "LaTeX version of CWEB")
    (description
     "This bundle allows marking-up of CWEB code in LaTeX. The distribution
includes the ``Counting Words'' program distributed with CWEB, edited to run
with LaTeX.")
    (license license:gpl3+)))

(define-public texlive-cyber
  (package
    (name "texlive-cyber")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cyber/" "source/latex/cyber/"
                                     "tex/latex/cyber/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xh3bs6rf2mf8nrh3cjqqlgcpcjwr2zjxhid94vgbsli9r6alfbq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cyber")
    (synopsis "Annotate compliance with cybersecurity requirements")
    (description
     "This LaTeX package helps you write documents indicating your compliance with
cybersecurity requirements.  It also helps you format your document in a form
suitable inside the U.S. Department of Defense, by attaching distribution
statements, destruction notices, organization logos, and security labels to
it.")
    (license license:expat)))

(define-public texlive-cybercic
  (package
    (name "texlive-cybercic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/cybercic/"
                                     "source/latex/cybercic/"
                                     "tex/latex/cybercic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nbg4pj8dkwwkjwmd8xixgz0hx1b0sf6s7j0d372dzfgr57712cq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/cybercic")
    (synopsis "``Controls in contents'' for the @code{cyber} package")
    (description
     "This package is used in concert with the @code{cyber} package to make
documents with annotations of compliance with cybersecurity requirements.
When you include this package, some notations of compliance are added to
section names as seen in the table of contents of the final document.  It also
makes your document more brittle in unexpected ways: for example, when you use
@code{cybercic} in the same document as @code{hyperref}, you cannot use any
formatting in your section titles.  So don't use cybercic unless you need to.")
    (license license:expat)))

(define-public texlive-darkmode
  (package
    (name "texlive-darkmode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/darkmode/"
                                     "source/latex/darkmode/"
                                     "tex/latex/darkmode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n21gyqkwmz4hd77v27ziyiqlr2wh4c9br8wnswrkznzkp1lmgky"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/darkmode")
    (synopsis "General dark mode support for LaTeX documents")
    (description
     "This package provides an API for template and package developers to create
dynamic color schemes for light- and dark modes.  For those unaware: we refer
to dark mode when a document has a dark background with a light font and to
light mode if it has a dark font with a light background.")
    (license license:lppl1.3+)))

(define-public texlive-dashbox
  (package
    (name "texlive-dashbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dashbox/" "source/latex/dashbox/"
                                     "tex/latex/dashbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w2vdyxikizfp3qcnjsl5nxyb2igq79d9f88sip0hllyzl6fy5k2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dashbox")
    (synopsis "Draw dashed boxes")
    (description
     "The package can draw boxes that perform like @code{\\framebox} or
@code{\\fbox}, but use dashed lines.  The package can also draw (an illusion
of) vertical stacks of boxes.")
    (license license:lppl)))

(define-public texlive-dashundergaps
  (package
    (name "texlive-dashundergaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dashundergaps/"
                                     "source/latex/dashundergaps/"
                                     "tex/latex/dashundergaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xwidvm2n1bbsv13apkd0q6sydpfkqsphc63gn0vvddh1rm63x82"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dashundergaps")
    (synopsis "Produce gaps that are underlined, dotted or dashed")
    (description
     "The package provides commands (@code{\\underline}, @code{\\dotuline} and
@code{\\dashuline}) each of which underlines its argument with one of the
styles the package is capable of.  A phantom mode is provided, where the
underline (of whatever form) can serve for a fill-in block for student
evaluation sheets.")
    (license license:lppl1.3c)))

(define-public texlive-dataref
  (package
    (name "texlive-dataref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dataref/" "tex/latex/dataref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xnj6b2amf5nm8llyf1nwnbv8akv4zv0c7fsnj1lv5fqm6p8kys1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dataref")
    (synopsis "Manage references to experimental data")
    (description
     "The package provides a mechanism that maintains a fixed symbolic reference to
numerical results; such results may vary as the project proceeds (and hence
the project report develops).")
    (license license:lppl1.3+)))

(define-public texlive-datax
  (package
    (name "texlive-datax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datax/" "source/latex/datax/"
                                     "tex/latex/datax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09zhrgxwh9s0ah65lw557d0b6hqahhsba850fxcchmww4dqfan9d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datax")
    (synopsis "Import individual data from script files")
    (description
     "This LaTeX package uses pgfkeys to retrieve individual data points generated
in some script.  Analogous to how one might generate graphics in a script and
import those graphics into a LaTeX document.")
    (license license:lppl1.3+)))

(define-public texlive-dateiliste
  (package
    (name "texlive-dateiliste")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dateiliste/"
                                     "source/latex/dateiliste/"
                                     "tex/latex/dateiliste/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15dc7dm9jbcaia29v1sxxb83sgr937pmrzwnx6gkbcmmjvwc0ii0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dateiliste")
    (synopsis "Extensions of the @code{\\listfiles} concept")
    (description
     "The package provides a file list (similar to that offered by
@code{\\listfiles}), neatly laid out as a table.  The main document can be
included in the list, and a command is available for providing RCS-maintained
data for printing in the file list.")
    (license license:lppl)))

(define-public texlive-datenumber
  (package
    (name "texlive-datenumber")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datenumber/"
                                     "source/latex/datenumber/"
                                     "tex/latex/datenumber/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0626lnhy8gv3a703kfg8w267zs50hv5hhwsjmppyfq8g01j2542s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datenumber")
    (synopsis "Convert a date into a number and vice versa")
    (description
     "This package provides commands to convert a date into a number and vice versa.
Additionally there are commands for incrementing and decrementing a date.
Leap years and the Gregorian calendar reform are considered.")
    (license license:lppl1.2+)))

(define-public texlive-datestamp
  (package
    (name "texlive-datestamp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/datestamp/"
                                     "source/lualatex/datestamp/"
                                     "tex/lualatex/datestamp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ldrdjypypdbddazj2h3jyzhwf57q4fnssnbfy9rdqlggw30mh34"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datestamp")
    (synopsis "Fixed date-stamps with LuaLaTeX")
    (description
     "This package adds fixed date-stamps with simple and customizable @file{.aux}
files and LuaLaTeX.  As long as the @file{.aux} file is not deleted/modified
the date-stamp generated with this package remains intact.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-datetime2-bahasai
  (package
    (name "texlive-datetime2-bahasai")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-bahasai/"
                                     "source/latex/datetime2-bahasai/"
                                     "tex/latex/datetime2-bahasai/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15rmkxsi1d3c74m0z1hnn9jw5mgqxyglfwbck92l87ha7zmj2ncf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-bahasai")
    (synopsis "Bahasai language module for the @code{datetime2} package")
    (description
     "This module provides the @code{bahasai} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-basque
  (package
    (name "texlive-datetime2-basque")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-basque/"
                                     "source/latex/datetime2-basque/"
                                     "tex/latex/datetime2-basque/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17wy1d12ix13a1nnsi7n60jmj2jj32jbn9cnbin30pld38b5a7j3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-basque")
    (synopsis "Basque language module for the @code{datetime2} package")
    (description
     "This module provides the @code{basque} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-breton
  (package
    (name "texlive-datetime2-breton")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-breton/"
                                     "source/latex/datetime2-breton/"
                                     "tex/latex/datetime2-breton/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10kgrdvr4psyhc3bjpgq0idj6zzfcfvsxrql2hvy5gqn4gzncbla"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-breton")
    (synopsis "Breton language module for the @code{datetime2} package")
    (description
     "This module provides the @code{breton} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-bulgarian
  (package
    (name "texlive-datetime2-bulgarian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-bulgarian/"
                                     "source/latex/datetime2-bulgarian/"
                                     "tex/latex/datetime2-bulgarian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s203lbaijjqji6kycni17vwmn5dy2az54r7bri5i7ys5ylff0cr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-bulgarian")
    (synopsis "Bulgarian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{bulgarian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-catalan
  (package
    (name "texlive-datetime2-catalan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-catalan/"
                                     "source/latex/datetime2-catalan/"
                                     "tex/latex/datetime2-catalan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gpzbfiig2180ybdz998qfxlvj7i9qn0b8qikbmfdx980a9y4kd2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-catalan")
    (synopsis "Catalan language module for the @code{datetime2} package")
    (description
     "This module provides the @code{catalan} style that can be set using
\\DTMsetstyle provided by datetime2.sty.  This package is currently
unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-croatian
  (package
    (name "texlive-datetime2-croatian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-croatian/"
                                     "source/latex/datetime2-croatian/"
                                     "tex/latex/datetime2-croatian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kmhwg1kcq5n8sq8a8h0q0izblm94b7wjdymsvdnaxj9z9xniwih"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-croatian")
    (synopsis "Croatian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{croatian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-czech
  (package
    (name "texlive-datetime2-czech")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-czech/"
                                     "source/latex/datetime2-czech/"
                                     "tex/latex/datetime2-czech/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03zk1qjqxanmdli8rnb15g847gslczz265smjl0b5w5nw5cs7nlh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-czech")
    (synopsis "Czech language module for the @code{datetime2} package")
    (description
     "This module provides the @code{czech} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-danish
  (package
    (name "texlive-datetime2-danish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-danish/"
                                     "source/latex/datetime2-danish/"
                                     "tex/latex/datetime2-danish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0inz6afkhknmdm2g38hyzndkcfp5pkdkysw0hnv9ackavpgsa12c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-danish")
    (synopsis "Danish language module for the @code{datetime2} package")
    (description
     "This module provides the @code{danish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-dutch
  (package
    (name "texlive-datetime2-dutch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-dutch/"
                                     "source/latex/datetime2-dutch/"
                                     "tex/latex/datetime2-dutch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ad2pf6ycf164lh59kr94lkqmqgf2lhay2y4dkd0ycgifypizi07"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-dutch")
    (synopsis "Dutch language module for the @code{datetime2} package")
    (description
     "This module provides the @code{dutch} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-en-fulltext
  (package
    (name "texlive-datetime2-en-fulltext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-en-fulltext/"
                                     "source/latex/datetime2-en-fulltext/"
                                     "tex/latex/datetime2-en-fulltext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06zqgqd1pxnwi672460x0xxm2q0yk9kbzwa3hpwrpdsc16xa87j1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-en-fulltext")
    (synopsis "English full text styles for the @code{datetime2} package")
    (description
     "This package provides English date and time styles that use words for the
numbers and ordinals.  This package provides the following date and time
styles: @code{en-fulltext}, @code{en-FullText}, @code{en-FULLTEXT}, and the
additional time style @code{en-Fulltext}. (The date equivalent can be obtained
through commands like @code{\\Today}.)

Unlike the base styles provided by @file{datetime2.sty}, these styles aren't
expandable styles.  This means that you can't use the date or time in PDF
bookmarks or in the argument of certain commands, such as
@code{\\MakeUppercase}, while these styles are in use.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-english
  (package
    (name "texlive-datetime2-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-english/"
                                     "source/latex/datetime2-english/"
                                     "tex/latex/datetime2-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fdr2i49ximm0hy0gcbi2c00brxrr5mlrw4y1zvc6phjfis1ld8b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-english")
    (synopsis "English language module for the @code{datetime2} package")
    (description
     "This module provides the following styles that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  The region not only
determines the date/time format but also the time zone abbreviations if the
zone mapping setting is on.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-esperanto
  (package
    (name "texlive-datetime2-esperanto")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-esperanto/"
                                     "source/latex/datetime2-esperanto/"
                                     "tex/latex/datetime2-esperanto/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cf8zvnrfp5s4q3gy4c2kjzldg5k50k45klzq0b72n7fq4w2r3r9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-esperanto")
    (synopsis "Esperanto language module for the @code{datetime2} package")
    (description
     "This module provides the @code{esperanto} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-estonian
  (package
    (name "texlive-datetime2-estonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-estonian/"
                                     "source/latex/datetime2-estonian/"
                                     "tex/latex/datetime2-estonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fkdxp8s6gd9644z9vw7a9gnw7anrm4l0yawa59qdnv1yf8pyssp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-estonian")
    (synopsis "Estonian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{estonian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-finnish
  (package
    (name "texlive-datetime2-finnish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-finnish/"
                                     "source/latex/datetime2-finnish/"
                                     "tex/latex/datetime2-finnish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lhacj7bbzppxhj1mp030prapi9d0rg1bx80fzd0bjj1qsl0v0xp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-finnish")
    (synopsis "Finnish language module for the @code{datetime2} package")
    (description
     "This module provides the @code{finnish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-french
  (package
    (name "texlive-datetime2-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-french/"
                                     "source/latex/datetime2-french/"
                                     "tex/latex/datetime2-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m5vkdhclrz2j25xjg0syj5xxa78vil164n1779vc68g68dm8mam"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-french")
    (synopsis "French language module for the @code{datetime2} package")
    (description
     "This module provides the @code{french} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-galician
  (package
    (name "texlive-datetime2-galician")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-galician/"
                                     "source/latex/datetime2-galician/"
                                     "tex/latex/datetime2-galician/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b91mi3qj8a6jn56qz9r5hl88vjm5vi4f38v1xjlvqdm2b9p1023"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-galician")
    (synopsis "Galician language module for the @code{datetime2} package")
    (description
     "This module provides the @code{galician} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-german
  (package
    (name "texlive-datetime2-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-german/"
                                     "source/latex/datetime2-german/"
                                     "tex/latex/datetime2-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14vr043hh0ay5qy1gz3g9dhv397nkvjhzavslyb7kw85cpz5c2i5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-german")
    (synopsis "German language module for the @code{datetime2} package")
    (description
     "This module provides the @code{german} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3c)))

(define-public texlive-datetime2-greek
  (package
    (name "texlive-datetime2-greek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-greek/"
                                     "source/latex/datetime2-greek/"
                                     "tex/latex/datetime2-greek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ai22nlgfsrqz5fz5diq5jjykrh2qqchw6r0cxmpmv9pv0vyba2s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-greek")
    (synopsis "Greek language module for the @code{datetime2} package")
    (description
     "This module provides the @code{greek} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-hebrew
  (package
    (name "texlive-datetime2-hebrew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-hebrew/"
                                     "source/latex/datetime2-hebrew/"
                                     "tex/latex/datetime2-hebrew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n7kw2qmjvdxcnvvh2xv6n86dggmglz7ffvlg3ca2k95gzdw0z5d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-hebrew")
    (synopsis "Hebrew language module for the @code{datetime2} package")
    (description
     "This module provides the @code{hebrew} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-icelandic
  (package
    (name "texlive-datetime2-icelandic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-icelandic/"
                                     "source/latex/datetime2-icelandic/"
                                     "tex/latex/datetime2-icelandic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s7pz7wnm83hw1jya873cc84r69vg6bxfh9131yy52rw8ppk20zg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-icelandic")
    (synopsis "Icelandic language module for the @code{datetime2} package")
    (description
     "This module provides the @code{icelandic} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-irish
  (package
    (name "texlive-datetime2-irish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-irish/"
                                     "source/latex/datetime2-irish/"
                                     "tex/latex/datetime2-irish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lm9kh5q5rc9hgi7mddxhyjn9r52l3sgcz6i99iylz0gjcpcl2h5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-irish")
    (synopsis "Irish Gaelic language module for the @code{datetime2} Package")
    (description
     "This module provides the @code{irish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-it-fulltext
  (package
    (name "texlive-datetime2-it-fulltext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-it-fulltext/"
                                     "source/latex/datetime2-it-fulltext/"
                                     "tex/latex/datetime2-it-fulltext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04y6ivyj8wdyhqc2psaqljg73vz0ss0hdqivnlxb3l9b3m21vrlv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-iftex))
    (home-page "https://ctan.org/pkg/datetime2-it-fulltext")
    (synopsis "Italian full text styles for the @code{datetime2} package")
    (description
     "This package provides Italian date and time styles that use words for the
numbers and ordinals.  This package includes the following date and time
styles: @code{itfulltext} and @code{it-fulltext-twenty-four}.  The first style
uses a format ``am pm'', the second a format ``24 hours''.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-italian
  (package
    (name "texlive-datetime2-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-italian/"
                                     "source/latex/datetime2-italian/"
                                     "tex/latex/datetime2-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00bdgp7z7dgqzb6d693bs80x3qldbw7pnfcclkyyifgb8i1zg1ll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-italian")
    (synopsis "Italian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{italian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-latin
  (package
    (name "texlive-datetime2-latin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-latin/"
                                     "source/latex/datetime2-latin/"
                                     "tex/latex/datetime2-latin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "160vqgsrifdhl4v62znbanbmpl3cqq1r8isl9lk4wb9yx31ww3qz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-latin")
    (synopsis "Latin language module for the @code{datetime2} package")
    (description
     "This module provides the @code{latin} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-lsorbian
  (package
    (name "texlive-datetime2-lsorbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-lsorbian/"
                                     "source/latex/datetime2-lsorbian/"
                                     "tex/latex/datetime2-lsorbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h7fk0xgppscml7sl7sn3c4yrnr131a8v1zxng88af3xr2xlsb37"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-lsorbian")
    (synopsis "Lower Sorbian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{lsorbian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-magyar
  (package
    (name "texlive-datetime2-magyar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-magyar/"
                                     "source/latex/datetime2-magyar/"
                                     "tex/latex/datetime2-magyar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vy50gl9r2ga0a1m1z9b0hcc35iq5xgr2sl0ifyd48s8zadxrxz4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-magyar")
    (synopsis "Magyar language module for the @code{datetime2} package")
    (description
     "This module provides the @code{magyar} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-norsk
  (package
    (name "texlive-datetime2-norsk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-norsk/"
                                     "source/latex/datetime2-norsk/"
                                     "tex/latex/datetime2-norsk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qan02np4jayqbs7ss92jlldsmmvwxjj7jjngipq3ik7dw035796"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-norsk")
    (synopsis "Norsk language module for the @code{datetime2} package")
    (description
     "This module provides the @code{norsk} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-polish
  (package
    (name "texlive-datetime2-polish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-polish/"
                                     "source/latex/datetime2-polish/"
                                     "tex/latex/datetime2-polish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ip6d2h13ra048qiya02jcrvm907780c339pxlxn289xxvv01mzm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-polish")
    (synopsis "Polish language module for the @code{datetime2} package")
    (description
     "This module provides the @code{polish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-portuges
  (package
    (name "texlive-datetime2-portuges")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-portuges/"
                                     "source/latex/datetime2-portuges/"
                                     "tex/latex/datetime2-portuges/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y964bkkrjpixq8yvknrwgdi4xc88q5v2jxxaav88ng26gb776ck"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-portuges")
    (synopsis "Portuguese language module for the @code{datetime2} package")
    (description
     "This module provides the @code{portuges} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-romanian
  (package
    (name "texlive-datetime2-romanian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-romanian/"
                                     "source/latex/datetime2-romanian/"
                                     "tex/latex/datetime2-romanian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sqignidr6p7fn2nmxm2k07dcnpghcv9ji613hydgh4slq6lp562"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-romanian")
    (synopsis "Romanian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{romanian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-russian
  (package
    (name "texlive-datetime2-russian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-russian/"
                                     "source/latex/datetime2-russian/"
                                     "tex/latex/datetime2-russian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "044fw83nr0izxdnyjyk46g8p2m2xq7gwvars4srvbrxr6ra79828"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-russian")
    (synopsis "Russian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{russian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-samin
  (package
    (name "texlive-datetime2-samin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-samin/"
                                     "source/latex/datetime2-samin/"
                                     "tex/latex/datetime2-samin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mzinlw6qqam9b65whp6ddg8j4jjk0v4arxdizsfzsfda1v18lpg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-samin")
    (synopsis "Northern Sami language module for the @code{datetime2} package")
    (description
     "This module provides the @code{samin} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-scottish
  (package
    (name "texlive-datetime2-scottish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-scottish/"
                                     "source/latex/datetime2-scottish/"
                                     "tex/latex/datetime2-scottish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p9zir361i5gwwiaw2fr9h5ckiilaaxc2p8gfy8xcg6q41lqa6rr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-scottish")
    (synopsis "Scottish Gaelic Language Module for the @code{datetime2} Package")
    (description
     "This module provides the @code{scottish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-serbian
  (package
    (name "texlive-datetime2-serbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-serbian/"
                                     "source/latex/datetime2-serbian/"
                                     "tex/latex/datetime2-serbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05wwhd66k50wzfyypv5sg4n43xfgn1hgvdm3782vq3l3s94bkbnf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-serbian")
    (synopsis "Serbian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{serbian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  It provides both
Cyrillic and Latin, Ekavian and Ijekavian variants of Serbian date formats,
regionalized and non-regionalized.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-slovak
  (package
    (name "texlive-datetime2-slovak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-slovak/"
                                     "source/latex/datetime2-slovak/"
                                     "tex/latex/datetime2-slovak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0whrbsybflccvrnljh5vj73m4lk44njm15sjhj6arq30qal9fqly"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-slovak")
    (synopsis "Slovak language module for the @code{datetime2} package")
    (description
     "This module provides the @code{slovak} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-slovene
  (package
    (name "texlive-datetime2-slovene")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-slovene/"
                                     "source/latex/datetime2-slovene/"
                                     "tex/latex/datetime2-slovene/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sjn20af64gcv3frxizzr3g5kpy50miy1yd1rfq18gyipabyyv6h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-slovene")
    (synopsis "Slovene language module for the @code{datetime2} package")
    (description
     "This module provides the @code{slovene} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-spanish
  (package
    (name "texlive-datetime2-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-spanish/"
                                     "source/latex/datetime2-spanish/"
                                     "tex/latex/datetime2-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14wh1hwnyr9pwc90hm0w17br9m3xbwb27h307m2r552hj0g0da51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-spanish")
    (synopsis "Spanish language module for the @code{datetime2} package")
    (description
     "This module provides the @code{spanish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-swedish
  (package
    (name "texlive-datetime2-swedish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-swedish/"
                                     "source/latex/datetime2-swedish/"
                                     "tex/latex/datetime2-swedish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y13b6553rrh8229z4wb1gd01kyz6208iqwb44dnj3dxyvxhsshz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-swedish")
    (synopsis "Swedish language module for the @code{datetime2} package")
    (description
     "This module provides the @code{swedish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-turkish
  (package
    (name "texlive-datetime2-turkish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-turkish/"
                                     "source/latex/datetime2-turkish/"
                                     "tex/latex/datetime2-turkish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xhv08gkn4sj305szvvfflprag43qg437bfwhc19la93g79yx16k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-turkish")
    (synopsis "Turkish language module for the @code{datetime2} package")
    (description
     "This module provides the @code{turkish} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-ukrainian
  (package
    (name "texlive-datetime2-ukrainian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-ukrainian/"
                                     "source/latex/datetime2-ukrainian/"
                                     "tex/latex/datetime2-ukrainian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19m3866mwm61r3chpil0xilzirql52igajwdz2v0d3m3x3g12ngs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-ukrainian")
    (synopsis "Ukrainian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{ukrainian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-usorbian
  (package
    (name "texlive-datetime2-usorbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-usorbian/"
                                     "source/latex/datetime2-usorbian/"
                                     "tex/latex/datetime2-usorbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p7mwmwrk1cc9sijc7rv5knzqrzbwig9yfm6nghmnxsqi3czglhq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-usorbian")
    (synopsis "Upper Sorbian language module for the @code{datetime2} package")
    (description
     "This module provides the @code{usorbian} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-datetime2-welsh
  (package
    (name "texlive-datetime2-welsh")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/datetime2-welsh/"
                                     "source/latex/datetime2-welsh/"
                                     "tex/latex/datetime2-welsh/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05lblhk0ja9jyyqrfgy58m6laj9qjj7rxvj4bniv9kw1g05r6si7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/datetime2-welsh")
    (synopsis "Welsh language module for the @code{datetime2} package")
    (description
     "This module provides the @code{welsh} style that can be set using
@code{\\DTMsetstyle} provided by @file{datetime2.sty}.  This package is
currently unmaintained.")
    (license license:lppl1.3+)))

(define-public texlive-dblfloatfix
  (package
    (name "texlive-dblfloatfix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dblfloatfix/"
                                     "tex/latex/dblfloatfix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pga2fs38f5fh8dms7a2zy8lv25qw86j920d72wy42adn0l3f5gd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dblfloatfix")
    (synopsis "Fixes for twocolumn floats")
    (description
     "The package solves two problems: floats in a two-column document come out in
the right order and allowed float positions are now @samp{[tbp]}.  The package
actually merges facilities from @code{fixltx2e} and @code{stfloats}.")
    (license license:lppl1.3+)))

(define-public texlive-dbshow
  (package
    (name "texlive-dbshow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dbshow/" "source/latex/dbshow/"
                                     "tex/latex/dbshow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1av2zsk0c2wlzcrrr6pv9j5fhw9g77r2gj6ia4hyn0v6q5lfxx2g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dbshow")
    (synopsis
     "Store and display data with custom filters, orders, and styles")
    (description
     "The package provides four core functions: data storage and display, data
filtering, data sorting and data display.  All data is saved once and then you
can display these data with custom filters, orders and styles.  The package
can be used, for example, to record and display something you'd like to
review, maybe the question you always answered incorrectly or some forgettable
knowledge.  But obviously, the package is much more powerful and extensible
for more interesting tasks depending on the individual.")
    (license license:lppl1.3c)))

(define-public texlive-debate
  (package
    (name "texlive-debate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/debate/" "source/latex/debate/"
                                     "tex/latex/debate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1509mb8li2c9ih67bp2d10iz2i1fcwyfkcxq2y9qhddnam0rf48h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-listings
           texlive-listingsutf8
           texlive-pdfcol
           texlive-tcolorbox
           texlive-xcolor
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/debate")
    (synopsis "Debates between reviewers")
    (description
     "This package helps to organize debates between multiple reviewers of a paper
within the text.")
    (license license:expat)))

(define-public texlive-decimal
  (package
    (name "texlive-decimal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/decimal/" "source/latex/decimal/"
                                     "tex/latex/decimal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16ixjiddz4qvwv0rir7l8amz4bc9ldacm2y4cssmb4053kvc9pxw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/decimal")
    (synopsis "LaTeX package for the English raised decimal point")
    (description
     "This LaTeX package should be used by people who need the traditional English
raised decimal point, instead of the American-style period.")
    (license license:lppl1.0+)))

(define-public texlive-decorule
  (package
    (name "texlive-decorule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/decorule/"
                                     "source/latex/decorule/"
                                     "tex/latex/decorule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07l723zd20ds5sa70vk5hhrd7a90jqy3hf70wm5q1gnmbjszj1da"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/decorule")
    (synopsis "Decorative swelled rule using font character")
    (description
     "The package implements a decorative swelled rule using only a symbol from
a font installed with all distributions of TeX, so it works independently,
without the need to install any additional software or fonts.")
    (license license:lppl1.3+)))

(define-public texlive-delimtxt
  (package
    (name "texlive-delimtxt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/delimtxt/"
                                     "source/latex/delimtxt/"
                                     "tex/latex/delimtxt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zj7r4igpw5qw40klx17k4w7fmp1w4j0v3gk6h14qw58y9d0wffw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/delimtxt")
    (synopsis "Read and parse text tables")
    (description
     "This experimental package can read and parse text tables delimited by
user-defined tokens (e.g., @samp{Tab}).  It can be used for serial letters and
the like, making it easier to export the data file from MS-Excel/MS-Word")
    (license license:lppl)))

(define-public texlive-democodetools
  (package
    (name "texlive-democodetools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/democodetools/"
                                     "tex/latex/democodetools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fr37dqqvccr8vfkkqmgds7da0cwhlwlrgh4vzx49kq9l66m78n3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/democodetools")
    (synopsis "Package for LaTeX code documentation")
    (description
     "This is yet another doc/docx/doc3 package for LaTeX code documentation.")
    (license (list license:lppl1.3c license:gpl3+))))

(define-public texlive-diabetes-logbook
  (package
    (name "texlive-diabetes-logbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diabetes-logbook/"
                                     "tex/latex/diabetes-logbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kadfz9vq0awzdzp829rri1kw77awi9x96vfqn3nxjwwkdba7nd5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diabetes-logbook")
    (synopsis "Logbook for people with type one diabetes")
    (description
     "Initally a logbook for me, a person with type one diabetes mellitus, this
evolved over time into a TeX project, making it prettier and easier to use.
I've made it simple to use, while not forgoing the document's beauty or the
speed of input.  The logbook, with slight commenting out and editing, could be
used as a journal by anybody, although the template and graphing functionality
are set up for people using insulin injections and blood glucose teststrips,
as well as counting/estimating carbs, protein, and fat.")
    (license license:gpl3)))

(define-public texlive-diagnose
  (package
    (name "texlive-diagnose")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/diagnose/" "tex/latex/diagnose/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qvnl8cvyh7000191akgx15mdhqwmabfm7bdwwsn1kdq091csa4a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/diagnose")
    (synopsis "Diagnostic tool for a TeX installation")
    (description
     "This package provides macros to assist evaluation of the capabilities of
a TeX installation (i.e., what extensions it supports).  An example document
that examines the installation is available.")
    (license license:gpl3+)))

(define-public texlive-dialogl
  (package
    (name "texlive-dialogl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dialogl/" "source/latex/dialogl/"
                                     "tex/latex/dialogl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vhv7jkc1ll9f4rzg8db83ksbispy7lqvjfywplpx7k1va1qp816"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/dialogl")
    (synopsis "Macros for constructing interactive LaTeX scripts")
    (description
     "This package gathers together a bunch of code and examples about how
to write macros to carry on a dialogue with the user.")
    (license license:lppl)))

(define-public texlive-dichokey
  (package
    (name "texlive-dichokey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dichokey/" "tex/latex/dichokey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ncfxvkky0p0ff5bl378464zxvjdq3wg2acy0dmgvxh3zyc8925k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dichokey")
    (synopsis "Construct dichotomous identification keys")
    (description
     "The package can be used to construct dichotomous identification keys (used
especially in biology for species identification), taking care of numbering
and indentation of successive key steps automatically.")
    (license license:public-domain)))

(define-public texlive-dimnum
  (package
    (name "texlive-dimnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dimnum/" "source/latex/dimnum/"
                                     "tex/latex/dimnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kknxp8b64z9h5xpazb1684x1hy1431nv6wcc89h0knf7pimdizj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dimnum")
    (synopsis "Commands for dimensionless numbers")
    (description
     "This package simplifies the calling of dimensionless numbers in math or text
mode.")
    (license license:lppl1.3+)))

(define-public texlive-directory
  (package
    (name "texlive-directory")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/directory/"
                                     "bibtex/bst/directory/"
                                     "doc/latex/directory/"
                                     "tex/latex/directory/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03h3vskri5hcvna92spvagig4na8pmr52jmdclis58d903pmm6wp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/directory")
    (synopsis "Address book using BibTeX")
    (description
     "This package for LaTeX and BibTeX facilitates the construction,
maintenance and exploitation of an address book-like database.")
    (license license:lppl)))

(define-public texlive-dirtytalk
  (package
    (name "texlive-dirtytalk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dirtytalk/"
                                     "source/latex/dirtytalk/"
                                     "tex/latex/dirtytalk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rm3y5bwxg7s8db10pzkskgcp54qlkz93g6kif732n9j5c17d9ca"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dirtytalk")
    (synopsis "Typeset quotations easier")
    (description
     "The package provides a macro to typeset quotations, using the command
@code{\\say}.  The quotation mark glyphs are inserted by the macro; nested
quotations are detected.")
    (license license:public-domain)))

(define-public texlive-dlfltxb
  (package
    (name "texlive-dlfltxb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/dlfltxb/" "doc/latex/dlfltxb/"
                                     "tex/latex/dlfltxb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "036szsm6al1b5vrkcvabjwlz465j3bp63fdqsisb1j7153wqfc0g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dlfltxb")
    (synopsis "Macros related to @emph{Introdktion til LaTeX}")
    (description
     "The bundle contains various macros either used for creating the author's book
@emph{Introduktion til LaTeX} (in Danish), or presented in the book as code
tips.  The bundle comprises:

@itemize

@item @code{dlfltxbcodetips}: various macros helpful in typesetting
mathematics;

@item @code{dlfltxbmarkup}: provides macros used throughout, for registering
macro names, packages etc., in the text, in the margin and in the index, all
by using categorised keys;

@item @code{dlfltxbtocconfig}: macros for the two tables of contents that the
book has;

@item @code{dlfltxbmisc}: various macros for typesetting LaTeX arguments, and
the macro used in the bibliography that can wrap a URL up into a BibTeX entry.

@end itemize")
    (license license:lppl)))

(define-public texlive-dnaseq
  (package
    (name "texlive-dnaseq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dnaseq/" "source/latex/dnaseq/"
                                     "tex/latex/dnaseq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07g0197v6kyvzmxa3xl96adjki19whmmsj4pjqprpbaqm6nlhn19"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dnaseq")
    (synopsis "Format DNA base sequences")
    (description
     "This package defines a means of specifying sequences of bases.  The bases may
be numbered (per line) and you may specify that subsequences be coloured.  For
a more vanilla-flavoured way of typesetting base sequences, the user might
consider the @code{seqsplit} package.")
    (license license:lppl)))

(define-public texlive-doclicense
  (package
    (name "texlive-doclicense")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/doclicense/"
                                     "source/latex/doclicense/"
                                     "tex/latex/doclicense/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19198684m1088jlnjcn8ahxq6v933ahs9vmjf20h1csz2yqvvc4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/doclicense")
    (synopsis "Support for putting documents under a license")
    (description
     "This package allows you to put your document under a license and include
a link to read about the license or include an icon or image of the license.
Currently, only Creative Commons is supported, but this package is designed to
handle all kinds of licenses.")
    (license (list license:cc0 license:lppl1.3c))))

(define-public texlive-docmfp
  (package
    (name "texlive-docmfp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/docmfp/" "source/latex/docmfp/"
                                     "tex/latex/docmfp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bqjgd7pj14bxxi37mlqvwp30zmslg019h9bihh3kjp26iz813yr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/docmfp")
    (synopsis "Document non-LaTeX code")
    (description
     "This package extends the @code{doc} package to cater for documenting
non-LaTeX code, such as Metafont or MetaPost, or other programming languages.")
    (license license:lppl)))

(define-public texlive-docmute
  (package
    (name "texlive-docmute")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/docmute/" "source/latex/docmute/"
                                     "tex/latex/docmute/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r1anq3hcddsnzj2vxa8kiax7vazl4zd4ny1a03jzmaljlildrjq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/docmute")
    (synopsis "Input files ignoring LaTeX preamble, etc")
    (description
     "This package inputs or includes stand-alone LaTeX documents, ignoring
everything but the material between @code{\\begin@{document@}} and
@code{\\end@{document@}}.")
    (license license:lppl1.3+)))

(define-public texlive-docshots
  (package
    (name "texlive-docshots")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/docshots/"
                                     "source/latex/docshots/"
                                     "tex/latex/docshots/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19y556cipczh8ihc3zz63ciq07vspgm5w769wj7zc8an1yh0pkx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-fancyvrb texlive-iexec texlive-pdfcrop
                             texlive-pgf texlive-pgf-blur))
    (home-page "https://ctan.org/pkg/docshots")
    (synopsis "TeX samples next to their PDF Snapshots")
    (description
     "This LaTeX package helps you show TeX code next to the corresponding PDF
snapshots, in two-column formatting.  You can use it either in @file{.dtx}
documentation or in @file{.tex} files.")
    (license license:expat)))

(define-public texlive-doctools
  (package
    (name "texlive-doctools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/doctools/"
                                     "source/latex/doctools/"
                                     "tex/latex/doctools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zsw9cj27lmjjsqibskfxizbsbcqwrdbd87s283j8pkdsqda8fc4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/doctools")
    (synopsis "Tools for the documentation of LaTeX code")
    (description
     "The package provides a collection of tools for use either in an ordinary
LaTeX document, or within a @file{.dtx} file.")
    (license license:lppl1.3+)))

(define-public texlive-documentation
  (package
    (name "texlive-documentation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/documentation/"
                                     "source/latex/documentation/"
                                     "tex/latex/documentation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05f93m7sjjml6cdzw7j02vjxr9ij0079iql6vn5d3xwfx51l9pzl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/documentation")
    (synopsis "Documentation support for C, Java and assembler code")
    (description
     "The package provides a simple means of typesetting computer programs such
that the result is acceptable for inclusion in reports, etc.")
    (license license:lppl1.2+)))

(define-public texlive-docutils
  (package
    (name "texlive-docutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/docutils/" "tex/latex/docutils/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01rh5w1dicjszp51vkk5zcs5lzrdmgddfm6dy3nv666gxq12jrf7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/docutils")
    (synopsis
     "Helper commands and element definitions for Docutils LaTeX output")
    (description
     "The package is intended for use with LaTeX documents generated from
reStructuredText sources with Docutils.  When generating LaTeX documents,
specify this package with the stylesheet configuration option, e.g.,
@samp{rst2latex --stylesheet=docutils exampledocument.txt}.")
    (license license:bsd-2)))

(define-public texlive-dotarrow
  (package
    (name "texlive-dotarrow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dotarrow/"
                                     "source/latex/dotarrow/"
                                     "tex/latex/dotarrow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10zw1j5adkw0nz2ym1kll47sv1wxmwxkbas5cnyhpg818wzagckf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dotarrow")
    (synopsis "Extendable dotted arrows")
    (description
     "The package can draw dotted arrows that are extendable, in the same was as
@code{\\xrightarrow}.")
    (license license:lppl)))

(define-public texlive-dotlessi
  (package
    (name "texlive-dotlessi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dotlessi/" "tex/latex/dotlessi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "096xlk6r297y4qpwqvpas38anw2q33g9g3xv3msq5qs0xyirask9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dotlessi")
    (synopsis "Provides dotless @samp{i} and @samp{j} for use in any math font")
    (description
     "The package provides two commands: @code{\\dotlessi} and @code{\\dotlessj},
which give access to dotless @samp{i} and @samp{j} in math mode.  They are
intended for symbols in non English languages.")
    (license license:expat)))

(define-public texlive-dotseqn
  (package
    (name "texlive-dotseqn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dotseqn/" "source/latex/dotseqn/"
                                     "tex/latex/dotseqn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ggi0zsnd1prfnvwx41hb37rvmwyq95p4a5qyjq1pms2haniija4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      ;; "dotseqn.ins" is a partial file, so use ".dtx" instead.
      #:build-targets #~(list "dotseqn.dtx")
      #:tex-format "latex"
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'non-interactive-build
            (lambda _
              (substitute* "source/latex/dotseqn/dotseqn.dtx"
                (("(\\\\type(in|out)|\\\\edef\\\\answer).*") "")
                (("\\\\ifodd\\\\answer\n")
                 "\\ifodd89\n")         ;create "dotseqn.sty"
                (("\\\\ifodd\\\\answer \\\\else \\\\OnlyDescription \\\\fi")
                 "\\OnlyDescription"))))))) ;no documentation.
    (home-page "https://ctan.org/pkg/dotseqn")
    (synopsis "Flush left equations with dotted leaders to the numbers")
    (description
     "The package provides a different format for typesetting equations,
one reportedly used in old style Britsh books: equations aligned on the left,
with dots on the right leading to the equation number.  In default of an
equation number, the package operates much like the @code{fleqn} class
option (no leaders).")
    (license license:knuth)))

(define-public texlive-download
  (package
    (name "texlive-download")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/download/"
                                     "source/latex/download/"
                                     "tex/latex/download/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08zkmj9n9k6d2nx4b3q8579f1jgz6mqyxvzx81hi6l3qi4f01phs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/download")
    (synopsis "Allow LaTeX to download files using an external process")
    (description
     "The package allows the user to download files, from within a document.  To
run the external commands, LaTeX (or whatever) needs to be run with the
@code{--shell-escape} flag.")
    (license license:lppl1.3+)))

(define-public texlive-dox
  (package
    (name "texlive-dox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dox/" "source/latex/dox/"
                                     "tex/latex/dox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vzvrr45npkl86bwqc216b0wcsj8rm9dz4ms1b8ydqpg8nv6594d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/dox")
    (synopsis "Extend the doc package")
    (description
     "The @code{doc} package provides LaTeX developers with means to describe the
usage and the definition of new macros and environments.  However, there is no
simple way to extend this functionality to other items (options or counters,
for instance).  The DoX package is designed to circumvent this limitation.")
    (license license:lppl1.3+)))

(define-public texlive-dpfloat
  (package
    (name "texlive-dpfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dpfloat/" "tex/latex/dpfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xkdnjc3b65kq558yyb2yj1xb0r1cqfyxfgsvmxj79p6naxw7jnc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dpfloat")
    (synopsis "Support for double-page floats")
    (description
     "This package provides @code{fullpage} and @code{leftfullpage} environments,
that may be used inside a @code{figure}, @code{table}, or other float
environment.  If the first of a 2-page spread uses a @code{leftfullpage}
environment, the float will only be typeset on an even-numbered page, and the
two floats will appear side-by-side in a two-sided document.")
    (license license:lppl)))

(define-public texlive-dprogress
  (package
    (name "texlive-dprogress")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dprogress/"
                                     "source/latex/dprogress/"
                                     "tex/latex/dprogress/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g3x1pqbpm6krv9p21jslbprrz9zxmjj33qa62cnpyd4sp1h5ppn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dprogress")
    (synopsis "LaTeX-relevant log information for debugging")
    (description
     "The package logs LaTeX's progress through the file, making the LaTeX output
more verbose.  This helps to make LaTeX debugging easier, as it is simpler to
find where exactly LaTeX failed.  The package outputs the typesetting of
section, subsection and subsubsection headers and (if @code{amsmath} is
loaded) details of the @code{align} environment.")
    (license license:lppl)))

(define-public texlive-drac
  (package
    (name "texlive-drac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/drac/" "source/latex/drac/"
                                     "tex/latex/drac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0clkdwjk28vqqzvzby9v28ysmhg7avfqkf093844p8bfjs2i3csw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/drac")
    (synopsis "Declare active character substitution, robustly")
    (description
     "The package provides macros @code{\\DeclareRobustActChar} and
@code{\\ReDeclareRobActChar}.  One uses @code{\\DeclareRobustActChar} in the
same way one would use @code{\\DeclareRobustCommand}; the macro
@code{\\protects} the active character when it appears in a moving argument.
@code{\\ReDeclareRobActChar} redefines an active character previously defined
with @code{\\DeclareRobustActChar}, in the same way that @code{\\renewcommand}
works for ordinary commands.")
    (license license:lppl)))

(define-public texlive-draftcopy
  (package
    (name "texlive-draftcopy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/draftcopy/"
                                     "source/latex/draftcopy/"
                                     "tex/latex/draftcopy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vxmpwmyqmzijp73akianjci6kw27dh6hsahh8b3glxh38mz3qm7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; Build process generates the package from
               ;; "draftcopy.doc", located in "doc/".  Bring it in the
               ;; working directory.
               (add-after 'unpack 'move-data
                 (lambda _
                   (install-file "doc/latex/draftcopy/draftcopy.doc"
                                 "build/"))))))
    (home-page "https://ctan.org/pkg/draftcopy")
    (synopsis "Identify draft copies")
    (description
     "Places the word @samp{DRAFT} (or other words) in light grey diagonally across
the background (or at the bottom) of each (or selected) pages of the document.
The package uses PostScript @code{\\special} commands, and may not therefore
be used with pdfLaTeX.  For that usage, consider the @code{wallpaper} or
@code{draftwatermark} packages.")
    (license license:lppl)))

(define-public texlive-draftfigure
  (package
    (name "texlive-draftfigure")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/draftfigure/"
                                     "tex/latex/draftfigure/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08akqd8hw2f5rybl1yj7gb8jv0z3ipwvr1gc6bz5rk1676vyfwdz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/draftfigure")
    (synopsis "Replace figures with a white box and additional features")
    (description
     "With this package you can control the outcome of a figure which is set to
draft and modify the display with various options.")
    (license license:lppl1.3+)))

(define-public texlive-dtk
  (package
    (name "texlive-dtk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dtk/" "tex/latex/dtk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17gi7f8mzgss7hzb3fw3apbv6dlrpa6n9i8zqqyqrdwyabk7cwq9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dtk")
    (synopsis "Document class for the journal of DANTE")
    (description
     "The bundle provides a class and style file for typesetting @emph{Die
TeXnische Komodie} --- the communications of the German TeX Users Group DANTE
e.V.  The arrangement means that the class may be used by article writers to
typeset a single article, as well as to produce the complete journal.")
    (license license:lppl1.3c)))

(define-public texlive-dtxdescribe
  (package
    (name "texlive-dtxdescribe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dtxdescribe/"
                                     "source/latex/dtxdescribe/"
                                     "tex/latex/dtxdescribe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "190xwr38b403fy5l56yg51r940izs7cv0ixk8h1jwjkcvjw6inyd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dtxdescribe")
    (synopsis "Describe additional object types in @file{.dtx} source files")
    (description
     "The @code{doc} package includes tools for describing macros and environments
in LaTeX source @file{.dtx} format.  The @code{dtxdescribe} package adds tools
for describing booleans, lengths, counters, keys, packages, classes, options,
files, commands, arguments, and other objects, and also works with the
standard document classes as well, for those who do not wish to use the
@file{.dtx} format.

Each item is given a margin tag similar to @code{\\DescribeEnv}, and is listed
in the index by itself and also by category.  Each item may be sorted further
by an optional class.  All index entries except code lines are hyperlinked.
The dtxexample environment is provided for typesetting example code and its
results.  Contents are displayed verbatim along with a caption and
cross-referencing.  They are then input and executed, and the result is shown.
Environments are also provided for displaying verbatim or formatted source
code, user-interface displays, and sidebars with titles.  Macros are provided
for formatting the names of inline LaTeX objects such as packages and
booleans, as well as program and file names, file types, internet objects, the
names of certain programs, a number of logos, and inline dashes and slashes.")
    (license license:lppl1.3+)))

(define-public texlive-dtxgallery
  (package
    (name "texlive-dtxgallery")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dtxgallery/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07c403zbx7sxkhhrwrfw3np20xlqhdk893b4bd6r8lqb0zipp5b5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dtxgallery")
    (synopsis "Small collection of minimal @file{.dtx} examples")
    (description
     "This package provides a collection of files that demonstrate simple things
that are possible with the flexible and under-appreciated @code{docstrip} file
format.  Each file of the collection is provided as a @file{.dtx} file and as
the corresponding @file{.pdf}.")
    (license license:lppl)))

(define-public texlive-ducksay
  (package
    (name "texlive-ducksay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ducksay/" "source/latex/ducksay/"
                                     "tex/latex/ducksay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qq3iw1bbxjlc0yc6lcz6wpmgkbmx02sagfal4rima6gg06yp346"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ducksay")
    (synopsis "Draw ASCII art of animals saying a specified message")
    (description
     "The package draws ASCII art of animals saying a specified message.  The
following macros are available: @code{\\ducksay}, @code{\\duckthink},
@code{\\DefaultAnimal}, @code{\\AddAnimal}, and @code{\\DucksayOptions}.
Multi-line messages are fully supported.")
    (license license:lppl1.3c)))

(define-public texlive-duckuments
  (package
    (name "texlive-duckuments")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/duckuments/"
                                     "source/latex/duckuments/"
                                     "tex/latex/duckuments/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03yp3icmzg9plvr3pdjv7qkad528mv0lw95b90a9rq16smkhqnw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/duckuments")
    (synopsis "Create duckified dummy content")
    (description
     "The package provides facilities to create duckified dummy contents.  The
following macros are available:

@itemize

@item @code{\\duckument} prints a short duckument;

@item @code{\\blindduck} prints a paragraph;

@item @code{\\ducklist} creates a list of a given type;

@item @code{\\ducklistlist} creates nested lists;

@item @code{\\duckitemize}, @code{\\duckenumerate} and
@code{\\duckdescription} are shortcuts for, respectively,
@code{\\ducklist@{itemize@}}, @code{\\ducklist@{enumerate@}} and
@code{\\ducklist@{description@}};

@item @code{\\duckumentsCreateExampleFile};

@item  @code{\\duckumentsDrawRandomDucks}.

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-dvdcoll
  (package
    (name "texlive-dvdcoll")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/dvdcoll/" "doc/latex/dvdcoll/"
                                     "tex/latex/dvdcoll/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vjsv46yffnibsr1g5wzg0bim3db1wqrxqvwp7fm6bxskfsvy4mq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dvdcoll")
    (synopsis "Class for typesetting DVD archives")
    (description
     "Having lost the overview of my DVD archives, I simply could not remember if
I already recorded the documentary running on TV that day.  I chose to
recreate the index using LaTeX: the design aim was a hyperlinked and fully
searchable PDF-document, listing my DVDs with all titles, lengths and so on.
Further requirements were support for seasons of TV series and a list with all
faulty or missing programs for rerecording.  The @code{dvdcoll} class supports
all these requirements.

@file{dvdcoll.cls} follows the structure @samp{<number><title><length>}.  As
a result, the class is not limited to DVDs --- you can of course typeset
archives of CD-ROMs, Audio-CDs and so on.  Supported languages at the moment:
English, French, German, Italian, Polish, Portuguese, Spanish.")
    (license license:lppl)))

(define-public texlive-dynamicnumber
  (package
    (name "texlive-dynamicnumber")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dynamicnumber/"
                                     "source/latex/dynamicnumber/"
                                     "tex/latex/dynamicnumber/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15fxlihdsnv2mqivv9bjzhdlzprdjgfkcmpa0v2gy60c4nvymi6x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dynamicnumber")
    (synopsis
     "Dynamically typeset numbers and values in LaTeX through ``symbolic links''")
    (description
     "This package dynamically typesets values generated by different kinds of
scripts in LaTeX through the use of ``symbolic links'' (which are not in any
way related to the symbolic links used in UNIX systems!).  The aim is to
reduce errors resulting from out-of-date numbers by directly setting them in
the number generating file and importing a ``symbolic link'' into the LaTeX
source file.  It can be used to import not only numerical values, but strings
and pieces of code are also possible.  Currently only MATLAB and Python are
supported to produce dynamic number list files.")
    (license license:expat)))

(define-public texlive-dynblocks
  (package
    (name "texlive-dynblocks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/dynblocks/"
                                     "tex/latex/dynblocks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jmwkxa4s37cqanpfnzvcq80ic3dvnal5x0g5749c0b410f7x3im"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/dynblocks")
    (synopsis "Simple way to create dynamic blocks for Beamer")
    (description
     "The package provides full customisation of the aspect and dimensions of
blocks inside a presentation.")
    (license license:lppl1.3+)))

(define-public texlive-ean13isbn
  (package
    (name "texlive-ean13isbn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ean13isbn/"
                                     "tex/latex/ean13isbn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ls2i412f2kmipm9ibir8mazy3jhg1plcbzwf780r3hsc8i68fib"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ean13isbn")
    (synopsis "Print EAN13 for ISBN")
    (description
     "The package provides the means to typeset ISBN codes with EAN-13; it uses the
(generic) package @file{ean13.tex} to typeset the actual barcode.")
    (license license:lppl1.3+)))

(define-public texlive-easy
  (package
    (name "texlive-easy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easy/" "tex/latex/easy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dig68199whwprq1g4fdn504vlzyrcmdjdy6y1fvpsz9qfhvkgq7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easy")
    (synopsis "Collection of easy-to-use macros")
    (description
     "This package provides a collection of macros:

@itemize

@item @code{easybib}, support for customising bibliographies;

@item @code{easybmat}, support for composing block matrices;

@item @code{easyeqn}, support for various aspects of equations;

@item @code{easymat}, support for composing matrices;

@item @code{easytable}, support for writing tables;

@item @code{easyvector}, a C-like syntax for writing vectors.

@end itemize")
    (license license:lppl)))

(define-public texlive-easy-todo
  (package
    (name "texlive-easy-todo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easy-todo/"
                                     "tex/latex/easy-todo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wzpqd8pq5cpxdaqfwz5knpvrjjhwpvl6yq25h86zk3jxmyag88r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easy-todo")
    (synopsis "To-do notes in a document")
    (description
     "The package provides to-do notes throughout a document, and will provide an
index of things to do.")
    (license license:asl2.0)))

(define-public texlive-easybook
  (package
    (name "texlive-easybook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easybook/"
                                     "source/latex/easybook/"
                                     "tex/latex/easybook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g4waqpkdswlimmnd4cxla5x1sjd1rig0wxczknxjl5b4lw8bh74"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easybook")
    (synopsis "Easily typesetting Chinese theses or books")
    (description
     "@code{easybook} is a pure academic template based on the @code{ctexbook} book
document class.  It also has the functions of @code{book} and @code{article}
document class, combined with the general framework design of the dissertation
of many universities in China.  It provides multiple commands and interfaces
allowing users to easily customize the thesis template.  Its basic macro
package @code{easybase} can also be used with CTeX and standard document
classes.")
    (license license:lppl1.3c)))

(define-public texlive-easyfig
  (package
    (name "texlive-easyfig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easyfig/" "source/latex/easyfig/"
                                     "tex/latex/easyfig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xkc0syipviic3cfc4y3lx5zza13cs8ykmbcvcn30ls17y50rmkm"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/easyfig")
    (synopsis "Simplifying the use of common figures")
    (description
     "The package provides the command @code{\\Figure} to simplify the business of
including an image as figure in the most common form (centred and with caption
and label).  The package uses the package @code{adjustbox} to center an image
and to simplify further modifications.  As @code{adjustbox} now provides keys
to turn images or other material into floats or non-floats, including
captions, @code{easyfig} has become quite redundant.")
    (license license:lppl1.3+)))

(define-public texlive-easyfloats
  (package
    (name "texlive-easyfloats")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easyfloats/"
                                     "source/latex/easyfloats/"
                                     "tex/latex/easyfloats/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lp0bflj0m05rxbg5514mg87ipkanrpypvijhqa6qwj08c7gvahk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-caption texlive-environ texlive-etoolbox
                             texlive-float texlive-pgf))
    (home-page "https://ctan.org/pkg/easyfloats")
    (synopsis
     "Easier interface to insert figures, tables and other objects in LaTeX")
    (description
     "In standard LaTeX inserting objects like figures or tables requires too
much knowledge for beginners and too much typing effort and hardcoding for
people like me.  This package aims to make insertion of figures and tables
easier for both beginners and experts.  Despite the term floats in it's name it
also allows to disable floating of such objects.")
    (license license:lppl1.3+)))

(define-public texlive-easyformat
  (package
    (name "texlive-easyformat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easyformat/"
                                     "tex/latex/easyformat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y7064ckcbc70a921m8q1rjqz7y9ahmg0dihvf1jqvnhwbjrnxmi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easyformat")
    (synopsis "Easily add boldface, italics and smallcaps")
    (description
     "This package allows the use of underscores and circumflexes to begin,
respectively, end, italic, bold or small-caps formatting.  The meaning of
underscore and circumflex in math mode remain the same.")
    (license license:gpl3+)))

(define-public texlive-easylist
  (package
    (name "texlive-easylist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easylist/" "tex/latex/easylist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sj2sn0hwk16819qqyy2bfxslpqxhd4i7zbng2abqbmw1vdvqb2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easylist")
    (synopsis "Lists using a single active character")
    (description
     "This package allows you to create lists of numbered items with a single
active character as the only command.  A variety of parameters are available
to configure the appearance of the list; lists may be nested (effectively to
unlimited depth).")
    (license license:lppl)))

(define-public texlive-easyreview
  (package
    (name "texlive-easyreview")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/easyreview/"
                                     "source/latex/easyreview/"
                                     "tex/latex/easyreview/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r0mqqvqn0sd3cv0lhch3v0lkh68z8qx7887zh7i828fkm5x29sm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/easyreview")
    (synopsis
     "Provide a way to review (or perform editorial process) in LaTeX")
    (description
     "The easyReview package provides a way to review (or perform editorial
process) in LaTeX.  You can use the provided commands to claim attention in
different ways to part of the text, or even to indicate that a text was added,
needs to be removed, needs to be replaced and add comments to the text.")
    (license license:lppl)))

(define-public texlive-ebezier
  (package
    (name "texlive-ebezier")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ebezier/" "source/latex/ebezier/"
                                     "tex/latex/ebezier/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cmmlm6sx9xc3ail8dfcwx7afx6by0384ac5hhxp6mry52x0j9ki"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ebezier")
    (synopsis "Device independent picture environment enhancement")
    (description
     "Ebezier is a device independent extension for the standard @code{picture}
environment.  Linear, quadratic, and cubic bezier curves are supplied in
connection with higher level circle drawing commands.  Additionally some
macros for the calculation of curve lenghts are part of this package.")
    (license license:lppl)))

(define-public texlive-ecclesiastic
  (package
    (name "texlive-ecclesiastic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecclesiastic/"
                                     "source/latex/ecclesiastic/"
                                     "tex/latex/ecclesiastic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14kd3f3adf5c5x2aw38rq95m9cbsy675jq4dmpaqhzz9mxy3f1wh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecclesiastic")
    (synopsis "Typesetting ecclesiastic Latin")
    (description
     "The package modifies the way the @code{latin} option to Babel operates when
typesetting Latin.  The style is somewhat frenchified in respect of
punctuation spacings and footnote style; shortcuts are available in order to
set accents on all vowels, including y and the diphthongs @samp{ae} and
@samp{oe}.")
    (license license:lppl1.3+)))

(define-public texlive-econlipsum
  (package
    (name "texlive-econlipsum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/econlipsum/"
                                     "source/latex/econlipsum/"
                                     "tex/latex/econlipsum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14ijwmfvxcf9lnd1g8ywyn49jl074fsvj5nzfpyb37k3392qhhs8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/econlipsum")
    (synopsis "Generate sentences from economic articles")
    (description
     "This package is a blind text generator that ouputs sentences inferred from
abstracts of economic articles.  All the paragraphs are taken with permission
from @url{https://ipsum.mwt.me/}.")
    (license license:lppl1.3c)))

(define-public texlive-ecv
  (package
    (name "texlive-ecv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ecv/" "source/latex/ecv/"
                                     "tex/latex/ecv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17y590j1sp228g9ma7a8i3rr6c4yrnwdzln9j0vzj1fnddvf9n0l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ecv")
    (synopsis "Fancy curriculum vitae class")
    (description
     "The class provides an environment for creating a fancily laid out tabular
curriculum vitae inspired by the european curriculum vitae.  The distribution
comes with a German and an English template.")
    (license license:lppl1.3+)))

(define-public texlive-ed
  (package
    (name "texlive-ed")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ed/" "source/latex/ed/"
                                     "tex/latex/ed/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i6nc3k58f81gk3dg4cgnvccj951p3ffc6xan8j644a4bxlclr8z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ed")
    (synopsis "Editorial notes for LaTeX documents")
    (description
     "This package defines a couple of editorial notes that simplify collaboration
on a LaTeX text.  These allow authors to annotate status information in the
source.  In draft mode, the annotations are shown for communication, and in
publication mode these are suppressed.")
    (license license:lppl1.0+)))

(define-public texlive-edichokey
  (package
    (name "texlive-edichokey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/edichokey/"
                                     "tex/latex/edichokey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hc04ckwiw2kwy2r7cs517wlig594fczlmags1yd8hw3wlxcz17n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/edichokey")
    (synopsis "Typeset dichotomous identification keys")
    (description
     "This is a LaTeX package for typesetting dichotomous identification key in
indented style.  It can be considered as an extended version of package
@code{dichokey}, as @code{edichokey} is more capable of dealing with complex
keys.")
    (license license:lppl1.3c)))

(define-public texlive-edmargin
  (package
    (name "texlive-edmargin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/edmargin/"
                                     "source/latex/edmargin/"
                                     "tex/latex/edmargin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04wcwf60jdnw09cg02qb85q7ca1f4pm87h9f67k0pdm9rb4kbbs0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/edmargin")
    (synopsis "Multiple series of endnotes for critical editions")
    (description
     "Edmargin provides a very simple scheme for endnote sections for critical
editions.  Endnotes can either be marked in the text, or with marginal
references to the page in the note sections where the note is to be found.
Notes can be set in individual paragraphs, or in block paragraph mode (where
there are many short notes).")
    (license license:lppl)))

(define-public texlive-eemeir
  (package
    (name "texlive-eemeir")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eemeir/" "source/latex/eemeir/"
                                     "tex/latex/eemeir/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gqj1rmagd4vy8pw9c6w5bsxbicq1in8ksp3vprj8c0akskndnzp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eemeir")
    (synopsis "Adjust the gender of words in a document")
    (description
     "This package defines macros for third-person singular pronouns
(@code{\\E}, @code{\\Em}, @code{\\Eir}, @code{\\Eirs}), which expand
differently according to a masculine/feminine switch. (If the switch is
masculine, they would expand to @samp{he}, @samp{him}, @samp{his} and
@samp{his}; if feminine, they would expand to @samp{she}, @samp{her},
@samp{her} and @samp{hers}.  Apart from the pronouns, one can define word
pairs, such as mother/father, daughter/son, and so on.  Gender may be defined
once per document, as an environment, or may be flipped on the fly.")
    (license license:lppl)))

(define-public texlive-efbox
  (package
    (name "texlive-efbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/efbox/" "source/latex/efbox/"
                                     "tex/latex/efbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qjm824njz81fp0v91vgid8zlgaj9r4cx2z0i44rlall31z26vpm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/efbox")
    (synopsis "Extension of @code{\\fbox}, with controllable frames and colours")
    (description
     "The package defines the @code{\\efbox} command, which creates a box just wide
enough to hold the text created by its argument.  The command optionally puts
a (possibly partial) frame around the box, and allows setting the box
background colour.")
    (license license:lppl1.3+)))

(define-public texlive-egplot
  (package
    (name "texlive-egplot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/egplot/" "source/latex/egplot/"
                                     "tex/latex/egplot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i6wqnskp55i6gfkiz6gj4flq4mcah9vyqxvf2knrwly6s362pwj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/egplot")
    (synopsis "Encapsulate Gnuplot sources in LaTeX documents")
    (description
     "This package provides a package to encapsulate Gnuplot commands in a LaTeX
source file, so that a document's figures are maintained in parallel with the
document source itself.")
    (license license:gpl3+)))

(define-public texlive-ehhline
  (package
    (name "texlive-ehhline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ehhline/" "tex/latex/ehhline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11xyd7qj0k9rvggslpx762x0g2x2y5y3rw36580ih5mj8z9n217n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ehhline")
    (synopsis "Extend the @code{\\hhline} command")
    (description
     "This package extends the @code{\\hhline} command with a @samp{!@{...@}}
token, which allows to create lines with arbitrary LaTeX commands.")
    (license license:expat)))

(define-public texlive-elements
  (package
    (name "texlive-elements")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elements/" "tex/latex/elements/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z08kqxgdnqwdpzrnixy4rdb0jmyvzy7kvxsm1d6whc0nraiza0j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elements")
    (synopsis "Provides properties of chemical elements")
    (description
     "The package provides means for retrieving properties of chemical elements
like atomic number, element symbol, element name, electron distribution or
isotope number.  Properties are defined for the elements up to the atomic
number 112.")
    (license license:lppl1.3c)))

(define-public texlive-ellipsis
  (package
    (name "texlive-ellipsis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ellipsis/"
                                     "source/latex/ellipsis/"
                                     "tex/latex/ellipsis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0saxqs2g911w7fqz8k1vs54wg61pjaqivryx9nvy5ik8p2pb30bs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ellipsis")
    (synopsis "Fix uneven spacing around ellipses in LaTeX text mode")
    (description
     "This is a simple package that fixes a problem in the way LaTeX handles
ellipses: it always puts a tiny bit more space after @code{\\dots} in text
mode than before it, which results in the ellipsis being off-center when used
between two words.")
    (license license:lppl1.3c)))

(define-public texlive-elmath
  (package
    (name "texlive-elmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elmath/" "source/latex/elmath/"
                                     "tex/latex/elmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jrykbfpi1iq6zdfq5263676szj9xv6gqh94qfg22jhga7ckgpma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elmath")
    (synopsis "Mathematics in Greek texts")
    (description
     "This package has been designed to facilitate the use of Greek letters in
mathematical mode.  The package allows one to directly type in Greek letters (in
ISO 8859-7 encoding) in math mode.")
    (license license:lppl)))

(define-public texlive-elpres
  (package
    (name "texlive-elpres")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elpres/" "tex/latex/elpres/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mx36x88rcgjga1pqqf0rnyyq81lc4728gzjkp2scwz26yn6b6zv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elpres")
    (synopsis "Simple class for electronic presentations")
    (description
     "The @code{elpres} class is intended to be used for presentations on a screen
or with a beamer/projector.  It is derived from LaTeX's @code{article} class
and can be used with with LaTeX, pdfLaTeX, and LuaLaTeX.  The default
``virtual paper size'' of presentations generated by this class corresponds to
a 4:3 (width:height) aspect ratio.  Other aspect ratios for widescreen
monitors (16:9, 16:10) may be selected.")
    (license license:lppl)))

(define-public texlive-elzcards
  (package
    (name "texlive-elzcards")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/elzcards/"
                                     "source/latex/elzcards/"
                                     "tex/latex/elzcards/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r0n3l55wsf8zmdzxwljh13np8y9sigrn051yijnhxrn2y83mj4v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/elzcards")
    (synopsis "Typeset business cards, index cards and flash cards easily")
    (description
     "This package provides a LaTeX package for typesetting business cards,
index cards, and flash cards in an easy and flexible way, optionally also the
reverse side.  You will have to furnish the paper size, the desired size of
your card, the printable area of your printer, and the design of the card.
Everything else is taken care of by @code{elzcards}.")
    (license license:lppl1.3+)))

(define-public texlive-emarks
  (package
    (name "texlive-emarks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emarks/" "source/latex/emarks/"
                                     "tex/latex/emarks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0snd4wc0fl64b9k4mzdjklcw6z549rx3l7jw34fa2ibmf5zcmr2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emarks")
    (synopsis "Named mark registers with e-TeX")
    (description
     "E-TeX provides 32 768 mark registers; using this facility is far more
comfortable than LaTeX tricks with @code{\\markright}, @code{\\markboth},
@code{\\leftmark} and @code{\\rightmark}.  The package provides two commands
for marking: @code{\\marksthe} and @code{\\marksthecs}, which have starred
forms which disable expansion; new mark registers are allocated as needed.
Syntax is closely modelled on the @code{\\marks} primitive.  Four commands are
provided for retrieving the marks registers content: @code{\\thefirstmarks},
@code{\\thebotmarks}, @code{\\thetopmarks} and @code{\\getthemarks}; and the
command @code{\\ifmarksequal} is available for comparing the content of marks
registers.  The package requires an e-TeX enabled engine, and the @code{etex}
package.")
    (license license:lppl1.3+)))

(define-public texlive-embedall
  (package
    (name "texlive-embedall")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/embedall/"
                                     "source/latex/embedall/"
                                     "tex/latex/embedall/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03q3qkgbl3yqnk84gpnp9421vbxrjk6fvnvhaxqn8wqz6v3wijk0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/embedall")
    (synopsis "Embed source files into the generated PDF")
    (description
     "The package provides a means of storing a project, without losing anything.
It uses the @code{embedfile} package to attach to the generated PDF all files
used in creating your project.  In particular, it can embed images, external
TeX files, and external codes.")
    (license license:lppl1.2+)))

(define-public texlive-embedfile
  (package
    (name "texlive-embedfile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/embedfile/"
                                     "source/latex/embedfile/"
                                     "tex/generic/embedfile/"
                                     "tex/latex/embedfile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0khpr65fap1rr7rgyv9wbfjpiij2wpazf9xarkzn62wp25yzplag"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/embedfile")
    (synopsis "Embed files into PDF")
    (description
     "This package embeds files in a PDF document, using the PDF format's embedding
operation (note the contrast with the attach operation used by the
@code{attachfile} and @code{attachfile2} packages).  Currently only pdfTeX, in
PDF mode, is supported.")
    (license license:lppl1.3c)))

(define-public texlive-embrac
  (package
    (name "texlive-embrac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/embrac/" "tex/latex/embrac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hdgh9gqhb18xj3y203v1prpvc8lhkzjzbgzq1xxb0gvj2bsy187"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/embrac")
    (synopsis "Upright brackets in emphasised text")
    (description
     "The package redefines the commands @code{\\emph} and @code{\\textit} so that
parentheses and square brackets are typeset in an upright font in their
arguments.")
    (license license:lppl1.3+)))

(define-public texlive-emptypage
  (package
    (name "texlive-emptypage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emptypage/"
                                     "source/latex/emptypage/"
                                     "tex/latex/emptypage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dwf5x4260wa1zl3zn7zl3jlk5jr3jlgflc943lx4m5mpdr85wvj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emptypage")
    (synopsis "Make empty pages really empty")
    (description
     "This package prevents page numbers and headings from appearing on empty
pages.")
    (license license:lppl1.2+)))

(define-public texlive-emulateapj
  (package
    (name "texlive-emulateapj")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/emulateapj/"
                                     "tex/latex/emulateapj/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13d84pxy67qwdb9wnma05ivk9iv7ky8pfmi8801cw8sc2c2sfz9j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/emulateapj")
    (synopsis "Produce output similar to that of APJ")
    (description
     "This package provides a LaTeX class (based on current RevTeX) to produce
preprints with the page layout similar to that of the @emph{Astrophysical
Journal}.")
    (license license:lppl)))

(define-public texlive-endheads
  (package
    (name "texlive-endheads")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endheads/"
                                     "source/latex/endheads/"
                                     "tex/latex/endheads/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pbqp5bkak62bqfnh9glk9g37ciachi80m1aavl9s9ahj1dk6af8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endheads")
    (synopsis "Running headers of the form @samp{Notes to pp.xx-yy}")
    (description
     "Endheads provides running headers of the form @samp{Notes to pp.  xx-yy} for
endnotes sections.  It also enables one to reset the endnotes counter, and put
a line marking the chapter change in the endnotes, at the beginning of every
chapter.")
    (license license:lppl)))

(define-public texlive-endnotes-hy
  (package
    (name "texlive-endnotes-hy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/endnotes-hy/"
                                     "source/latex/endnotes-hy/"
                                     "tex/latex/endnotes-hy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05mr1i91znfvgv94rma445s497663qbapv2fx9399kr0kp5zmxyx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/endnotes-hy")
    (synopsis
     "Patches the @code{endnotes} package to create hypertext links to the correct
anchors")
    (description
     "The package supports the creation of hypertext links in support of the
@code{endnotes} package.  The package modifies the syntax of the
@code{\\endnote} command.")
    (license license:lppl1.2+)))

(define-public texlive-engpron
  (package
    (name "texlive-engpron")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/engpron/" "source/latex/engpron/"
                                     "tex/latex/engpron/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gj67i6snlfhkycmrjkn16qw664qi59z5wgmrr22m44hv495yf47"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/engpron")
    (synopsis "Helps to type the pronunciation of English words")
    (description
     "This package provides macros beginning with the PS character, made active,
which enable us to write the British or American English pronunciation as one
can find it in the @emph{English Pronouncing Dictionary} by Daniel Jones.
There is an option to typeset the pronunciation in the style of Harrap's
dictionary.")
    (license license:lppl)))

(define-public texlive-engrec
  (package
    (name "texlive-engrec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/engrec/" "source/latex/engrec/"
                                     "tex/latex/engrec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qal8bildiah9h67p69ixy9q2c11v6x8p9lsl4fwyhjm3zvmz8qb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/engrec")
    (synopsis "@code{enumerate} with lower- or uppercase Greek letters")
    (description
     "This package provides two macros @code{\\engrec} and @code{\\EnGrec} to
convert number arguments to lower case or upper case Greek letters.  Options
are provided to work with the @code{upgreek} and @code{fourier} packages.")
    (license license:lppl)))

(define-public texlive-enumitem-zref
  (package
    (name "texlive-enumitem-zref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/enumitem-zref/"
                                     "source/latex/enumitem-zref/"
                                     "tex/latex/enumitem-zref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05chqdbbis649b1dgclz0hylgp8nbhapc6p16aqb91bpbcms7a6b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/enumitem-zref")
    (synopsis "Extended references to items for @code{enumitem} package")
    (description
     "The package is a companion for the @code{enumitem} package; it makes it
possible to reference any item in lists formatted by @code{enumitem} lists,
viz., @code{enumerated}, @code{itemize} and @code{description} lists, and any
list defined (or customised) with @code{\\newlist} or @code{\\setlist}.
References may be typeset differently with options/properties and even
arbitrary text.  With @code{hyperref}, anchors are added for each item to
enable hyperlinks within the document or even to external documents.  Three
schemes are provided to make reference names (including the standard
@code{\\label} command).

The package is currently broken, cf.@:
@url{https://tex.stackexchange.com/q/664886/1090}.")
    (license license:lppl1.3+)))

(define-public texlive-envbig
  (package
    (name "texlive-envbig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/envbig/" "tex/latex/envbig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s09py3cdrhpx4p23zax9lc45bjgv08wkvpp9kw6k7j9wpqgdskf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/envbig")
    (synopsis "Printing addresses on envelopes")
    (description
     "This simple package prints both from and to addresses.")
    (license license:lppl)))

(define-public texlive-envlab
  (package
    (name "texlive-envlab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/envlab/" "source/latex/envlab/"
                                     "tex/latex/envlab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08qqvbs12b5fbx2wa86591nr6jhzh42f6y0ch06lxywpy1lgrqrb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:build-targets #~(list "envlab.ins")))
    (home-page "https://ctan.org/pkg/envlab")
    (synopsis "Addresses on envelopes or mailing labels")
    (description
     "This LaTeX package produces mailing envelopes and labels, including barcodes
and address formatting according to the US Postal Service rules.")
    (license license:lppl)))

(define-public texlive-epigraph
  (package
    (name "texlive-epigraph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epigraph/"
                                     "source/latex/epigraph/"
                                     "tex/latex/epigraph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0swqk1wad1ipv4ki8innsgvij88b6mrmrcjshxv3jb9s6j2w5b7g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epigraph")
    (synopsis "Typeset epigraphs")
    (description
     "Epigraphs are the pithy quotations often found at the start (or end) of
a chapter.  Both single epigraphs and lists of epigraphs are catered for.
Various aspects are easily configurable.")
    (license license:lppl1.3c)))

(define-public texlive-epigraph-keys
  (package
    (name "texlive-epigraph-keys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epigraph-keys/"
                                     "tex/latex/epigraph-keys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0agba7zsi2yafihbwfk40k4rbdalq945n3c6racg4gvi6a5wk2kh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epigraph-keys")
    (synopsis "Epigraphs using key values")
    (description
     "This package lays out epigraphs: quotations across a page, usually to open or
close a chapter.  It is intended as a simple replacement for the more
sophisticated @code{epigraph} package.")
    (license license:lppl1.3c)))

(define-public texlive-epiolmec
  (package
    (name "texlive-epiolmec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/epiolmec/"
                                     "fonts/map/dvips/epiolmec/"
                                     "fonts/tfm/public/epiolmec/"
                                     "fonts/type1/public/epiolmec/"
                                     "source/latex/epiolmec/"
                                     "tex/latex/epiolmec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vz61v5hdkwsdcjcbq7z7gzszxd3liib52sndyas10fqk675hs60"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/epiolmec")
    (synopsis "Typesetting the Epi-Olmec language")
    (description
     "The package contains all the necessary files to typeset Epi-Olmec documents,
in a script used in Southern Middle America until about 500 AD.")
    (license license:lppl)))

(define-public texlive-eq-pin2corr
  (package
    (name "texlive-eq-pin2corr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eq-pin2corr/"
                                     "source/latex/eq-pin2corr/"
                                     "tex/latex/eq-pin2corr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gh9r6f9l3dxd5fldglnnrx3c0x4s2s4r10igg8crqd4zzas5kp1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eq-pin2corr")
    (synopsis
     "Add PIN security to the ``Correct'' button of a quiz created by
@code{exerquiz}")
    (description
     "This package is an add-on to the @code{quiz} environment of the
@code{exerquiz} package.  It adds PIN security to a quiz created by the
@code{quiz} environment.  To correct a quiz, the document consumer must press
the ``Correct'' button of the quiz and successfully enter the correct PIN
number.  The PIN security is designed for the instructor to mark and record
the student's effort on that quiz.")
    (license license:lppl1.2+)))

(define-public texlive-eqell
  (package
    (name "texlive-eqell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqell/" "tex/latex/eqell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x50b4yfph5707d9xw94fyjrhnih3rp31g4ay4mp7p7m6dgq2q32"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqell")
    (synopsis "Sympathetically spaced ellipsis after punctuation")
    (description
     "The package provides commands that give a well-spaced ellipsis after
@samp{!}, @samp{?}, @samp{!?} or @samp{?!}.")
    (license license:gpl3+)))

(define-public texlive-eqlist
  (package
    (name "texlive-eqlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqlist/" "source/latex/eqlist/"
                                     "tex/latex/eqlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13gsz9ixw55mq2i43d80pn967jl3j86l5gkarzqliwc5ni6yn71c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqlist")
    (synopsis "@code{description} lists with equal indentation")
    (description
     "This package provides a list environment which sets a @code{description}-like
list in which the indentation corresponds to the longest item of the list.")
    (license license:lppl)))

(define-public texlive-eqnalign
  (package
    (name "texlive-eqnalign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/eqnalign/"
                                     "source/latex/eqnalign/"
                                     "tex/latex/eqnalign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fnpis9yr7b3h4rnxcgap96fr8dxpk2ziiil9vk3xf18fmzr6b8d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqnalign")
    (synopsis "Make @code{eqnarray} behave like @code{align}")
    (description
     "The package makes @code{eqnarray} environment behave like @code{align} from
@code{amsmath}.  It is intended for quick-fixing documents that use
@code{eqnarray}.  In cases where it fails, manual conversion to @code{align}
is required, but these cases should be seldom.")
    (license license:lppl1.3+)))

(define-public texlive-eqname
  (package
    (name "texlive-eqname")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/eqname/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qryjgmn2cw2indmmybgzrcrakqi6a3crvdcyvj769mciz8lsdwy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eqname")
    (synopsis "Name tags for equations")
    (description
     "The @code{\\eqname} command provides a name tag for the current equation, in
place of an equation number.  The name tag will be picked up by a subsequent
@code{\\label} command.")
    ;; "You may freely use, modify and/or distribute this file."
    (license (license:non-copyleft "file://tex/latex/eqname/eqname.sty"))))

(define-public texlive-errata
  (package
    (name "texlive-errata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/errata/" "source/latex/errata/"
                                     "tex/latex/errata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lslyh03p99zwkrfr5fj099wpcn6gbymnmx5dw4gmb4a1lab82fk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/errata")
    (synopsis "Error markup for LaTeX documents")
    (description
     "This package provides a simple infrastructure for recording errata in LaTeX
documents.  This allows the user to maintain an updated version of the
document (with all errors corrected) and to automatically generate an errata
document highlighting the difference to the published version.")
    (license license:lppl1.0+)))

(define-public texlive-erw-l3
  (package
    (name "texlive-erw-l3")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/erw-l3/" "source/latex/erw-l3/"
                                     "tex/latex/erw-l3/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m1bynihwzrwzs2mxa3w1rg6b8f9lb17p7j6j9a0g9g0f117hrlp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/erw-l3")
    (synopsis "Utilities based on LaTeX3")
    (description
     "This package provides utilities based on LaTeX3, in particular
@code{\\erw_merge_sort}.")
    (license license:lppl1.3c)))

(define-public texlive-esami
  (package
    (name "texlive-esami")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esami/" "tex/latex/esami/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fhl6y96s2g0rz9p2r1gcbrpbrhcapqnq7ksryg7q796h1ixd1iw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/esami")
    (synopsis "Typeset exams with scrambled questions and answers")
    (description
     "The package enables the user to typeset exams with multiple choice, open
questions and many other types of exercise.  Both questions and answers may be
randomly distributed within the exam, and the solutions are typeset
automatically.  Exercises may contain a wide number of random parameters and
it is possible to do arithmetical operations on them.  The package is
localised in Italian, English, French, German, Greek, Serbian, and Spanish.")
    (license license:lppl)))

(define-public texlive-esdiff
  (package
    (name "texlive-esdiff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esdiff/" "source/latex/esdiff/"
                                     "tex/latex/esdiff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p55w91d08r3r7x1kjapbgfpq94n40c09nv0cf2ivmwqvrr1qr0a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/esdiff")
    (synopsis "Simplify typesetting of derivatives")
    (description
     "The package makes writing derivatives very easy.  It offers macros for
derivatives, partial derivatives and multiple derivatives, and allows
specification of the point at which the value is calculated.  Some typographic
alternatives may be selected by package options")
    (license license:lppl1.0+)))

(define-public texlive-esieecv
  (package
    (name "texlive-esieecv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esieecv/" "source/latex/esieecv/"
                                     "tex/latex/esieecv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d3dx97q7lq5sgixki18vpgjlkgvkljbydi03r10ypnjxidrcxcf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/esieecv")
    (synopsis "Curriculum vitae for French use")
    (description
     "The package allows the user to set up a curriculum vitae as a French employer
will expect.")
    (license license:lppl)))

(define-public texlive-esindex
  (package
    (name "texlive-esindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esindex/" "tex/latex/esindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jirxg7nijnagn8gszi0bj3sdiyvb9sb2sdpjpj1yk2ngfb41m1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/esindex")
    (synopsis "Typset index entries in Spanish documents")
    (description
     "This package helps you to create indexes in Spanish.  With @code{esindex} you
can write, say, @code{\\esindex@{canon@}} and the entry will be correctly
alphabetized in the index.  This release of @code{esindex} works with accented
characters in any encoding, and without Babel.")
    (license license:expat)))

(define-public texlive-esint
  (package
    (name "texlive-esint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/esint/"
                                     "fonts/source/public/esint/"
                                     "fonts/tfm/public/esint/"
                                     "source/latex/esint/" "tex/latex/esint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "172c4ggjkpysfvg0kgcx77lr8md58nvppv0pj6fnrx3lnrvpzvzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/esint")
    (synopsis "Extended set of integrals for Computer Modern")
    (description
     "The esint package permits access to alternate integral symbols when you are
using the Computer Modern fonts.  In the original set, several integral
symbols are missing, such as @code{\\oiint}.  Many of these symbols are
available in other font sets (@code{pxfonts}, @code{txfonts}, etc.), but there
is no good solution if you want to use Computer Modern.  The package provides
Metafont source and LaTeX macro support.")
    (license license:lppl)))

(define-public texlive-esint-type1
  (package
    (name "texlive-esint-type1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/esint-type1/"
                                     "dvips/esint-type1/"
                                     "fonts/map/dvips/esint-type1/"
                                     "fonts/type1/public/esint-type1/"
                                     "tex/plain/esint-type1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qxdbp6xlychk4rxypc52s5qyf6p3fzzqzw5077lwkwgqx89jfhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-esint))
    (home-page "https://ctan.org/pkg/esint-type1")
    (synopsis "Font @code{esint10} in Type 1 format")
    (description
     "This is Eddie Saudrais's font @code{esint10} in Adobe Type 1 format.")
    (license license:public-domain)))

(define-public texlive-etaremune
  (package
    (name "texlive-etaremune")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etaremune/"
                                     "source/latex/etaremune/"
                                     "tex/latex/etaremune/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12ljghlhh7li8pgpaa39gnsvvn4l4bmww74zik4q3qmirkhvi949"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-filecontents
                  texlive-footmisc
                  texlive-fourier
                  texlive-hypdoc
                  texlive-listings
                  texlive-xcolor
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/etaremune")
    (synopsis "Reverse-counting @code{enumerate} environment")
    (description
     "The package implements the @code{etaremune} environment which is an
@code{enumerate} environment in which the labels decrease instead of
increasing.  The package is noticeably more efficient than the @code{revnum}
package, which uses painfully many counters.")
    (license license:lppl)))

(define-public texlive-etl
  (package
    (name "texlive-etl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/etl/" "source/latex/etl/"
                                     "tex/latex/etl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aln59faads7yh432q62kd44idlhc0wfwrxk5y8sbdhql5s6hk7l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/etl")
    (synopsis "Expandable token list operations")
    (description
     "This package provides expandable token list operations for which @code{l3tl}
only has unexpandable variants.  These expandable versions are typically
slower than the unexpandable code.  Unlike the @code{l3tl} versions, the
functions in this module may contain braces and macro parameter tokens in
their arguments, but as a drawback they cannot distinguish some tokens and do
not consider the character code of group-begin and group-end tokens.
Additionally a general map to token lists is provided, modelled after the
@code{expl3} internal @code{__tl_act:NNNn} but with additional features.  The
package has no immediate use for document authors; it only contains
@code{expl3} functions intended for programmers.")
    (license license:lppl1.3c)))

(define-public texlive-eulerpx
  (package
    (name "texlive-eulerpx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/eulerpx/" "tex/latex/eulerpx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lwyi35vzx21cg9kmg94c9z73af3dqf63klzzs86ahbz4f7lvp66"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/eulerpx")
    (synopsis "Modern interface for the Euler math fonts")
    (description
     "This package provides the @code{eulerpx} font, which started as a hybrid of
multiple other font packages, notably @code{eulervm} and @code{newpxmath}.
This package was put together with the intent to use it with the Palatino and
Optima fonts, but it may work with other combinations, too.")
    (license license:lppl1.3+)))

(define-public texlive-europasscv
  (package
    (name "texlive-europasscv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/europasscv/"
                                     "tex/latex/europasscv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q9nj9p87np8p55p3fl0ffhaqlazvn2xh82lmk4fdlhc593mbhpy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/europasscv")
    (synopsis
     "Unofficial class for the new version of the Europass curriculum vitae")
    (description
     "This class is an unofficial LaTeX implementation of the Europass CV, the
standard model for curriculum vitae as recommended by the European Commission.
It includes the major style updates that came out in 2013, featuring a neater,
more compact and somewhat fancier layout.")
    (license license:lppl1.3+)))

(define-public texlive-europecv
  (package
    (name "texlive-europecv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/europecv/" "tex/latex/europecv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mm90scibziailf1a6w9bhncfc9i73lh8hdpsjdzy2fqp73442q4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/europecv")
    (synopsis "Unofficial class for European curricula vitae")
    (description
     "The europecv class is an unofficial LaTeX implementation of the standard
model for curricula vitae (the ``Europass CV'') as recommended by the European
Commission.  Although primarily intended for users in the European Union, the
class is flexible enough to be used for any kind of curriculum vitae.  The
class has localisations for all the official languages of the EU (plus
Catalan), as well as options permitting input in UTF-8 and koi8-r.")
    (license license:lppl)))

(define-public texlive-exam
  (package
    (name "texlive-exam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exam/" "tex/latex/exam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bsckrvhrhjv1gsa5d8z8gqbchw9zay4kh74mjvdp02k3154zklg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exam")
    (synopsis "Typeset exam scripts")
    (description
     "This package provides a class @file{exam.cls}, which eases production of
exams.  Simple commands are provided to:

@itemize

@item create questions, parts of questions, subparts of parts, and subsubparts
of subparts, all with optional point values;

@item create a grading table, indexed either by question number (listing each
question and the total possible points for that question) or by page
number (listing each page with points and the total possible points for that
page);

@item create headers and footers that are each specified in three parts: one
part to be left justified, one part to be centered, and one part to be right
justified, in the manner of @code{fancyhdr}.

@end itemize

Headers and/or footers can be different on the first page of the exam, can be
different on the last page of the exam, and can vary depending on whether the
page number is odd or even, or on whether the current page continues
a question from a previous page, or on whether the last question on the
current page continues onto the following page.

Multiple line headers and/or footers are allowed, and it's easy to increase
the part of the page devoted to headers and/or footers to allow for this.

Note that the bundle @code{exams} also provides a file @file{exam.cls}; the
two bundles therefore clash, and should not be installed on the same system.")
    (license license:lppl1.3+)))

(define-public texlive-exam-lite
  (package
    (name "texlive-exam-lite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exam-lite/"
                                     "tex/latex/exam-lite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nbwlpj68cc6vqg9bmlwwc1vax6fi3rl885a0dvbqmlznrga5ach"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exam-lite")
    (synopsis "Quicker preparation of exams in LaTeX")
    (description
     "This template is devoted to the quicker preparation of exams in LaTeX.
Its main features are:

@itemize

@item minimalistic design;

@item include the custom logo of the affiliation;

@item predefined commands for a subject, study year, study program, exam type,
place of exam, date;

@item many macros contained in this package speed up the process of preparing
the necessary ingredients for the exam;

@item automatic calculation of total points.

@end itemize")
    (license license:cc-by-sa4.0)))

(define-public texlive-exam-n
  (package
    (name "texlive-exam-n")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exam-n/" "source/latex/exam-n/"
                                     "tex/latex/exam-n/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nzg6w0rd3hlpkihkg44qljavha1zkp8wggpivd7q54l1hyib07s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exam-n")
    (synopsis "Exam class, focused on collaborative authoring")
    (description
     "The class design offers:

@itemize

@item direct support for collaborative development of an exam, using a model
in which a departmental exams convener or exam chair coordinates multiple
authors writing individual questions (the class file and associated process is
in regular use within a physics and astronomy department);

@item all of the traditional exam paper features such as sectioning, per-part
running marks, ``Question n continued'' catchwords, and so on;

@item readily configured local adaptation.

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-exam-randomizechoices
  (package
    (name "texlive-exam-randomizechoices")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exam-randomizechoices/"
                                     "tex/latex/exam-randomizechoices/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zaiaxvz91qsjxfiyzfn9i6nrmf95qwdl28s81az20kyn45k18x4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exam-randomizechoices")
    (synopsis
     "Randomize multiple choices questions using the @code{exam} class")
    (description
     "This package is an extension to the @code{exam} document class.
It provides the user with four new multiple choice typesetting environments
which place their content in a random order.  It can (only) be used in
combination with the @code{exam} class.  The questions themselves cannot be
randomized with this package.  Furthermore, the package provides a simple
answer key table typesetter and has a command for writing the answer keys to
an external file.")
    (license license:lppl1.3+)))

(define-public texlive-examdesign
  (package
    (name "texlive-examdesign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/examdesign/"
                                     "source/latex/examdesign/"
                                     "tex/latex/examdesign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xj1n67rnlfwila22bbx1wbv1ffawln7ncnmrr35j92wxykd6vw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/examdesign")
    (synopsis "LaTeX class for typesetting exams")
    (description
     "This bundle provides a class @code{examdesign}.  The class provides several
features useful for designing tests or question sets: it allows for explicit
markup of questions and answers; the class will, at the user's request,
automatically generate answer keys; multiple versions of the same test can be
generated automatically, with the ordering of questions within each section
randomly permuted so as to minimize cheating; the generated answer keys can be
constructed either with or without the questions included; environments are
provided to assist in constructing the most common types of test question:
matching, true/false, multiple-choice, fill-in-the-blank, and short
answer/essay questions.")
    (license license:gpl3+)))

(define-public texlive-example
  (package
    (name "texlive-example")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/example/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06ld0b9gi8s7y6igijylfvj2qvj3d45z2ml9wd1zfzkpf32pghmy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/example")
    (synopsis "Typeset examples for TeX courses")
    (description
     "The package makes it easier to produce examples for TeX course.  It provides
an example environment, which typesets its contents on the left of the page,
and prints it verbatim on the right.")
    (license license:gpl3+)))

(define-public texlive-exceltex
  (package
    (name "texlive-exceltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exceltex/" "scripts/exceltex/"
                                     "tex/latex/exceltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i5l1a7ay63b0lqzqsc10ywlqqi1byng7zr4fn7g28v99831wmp4"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "exceltex")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/exceltex")
    (synopsis "Get data from Excel files into LaTeX")
    (description
     "@code{exceltex} is a LaTeX package combined with a helper program
written in Perl.  It provides an easy to use yet powerful and flexible way to
get data from spreadsheets into LaTeX. In contrast to other solutions,
@code{exceltex} does not seek to make the creation of tables in LaTeX easier,
but to get data from spreadsheets into LaTeX as easily as possible.  The Excel
file format only acts as an interface between the spreadsheet application and
@code{exceltex} beacause it is easily accessible (via the
@code{Spreadsheet::ParseExcel} Perl module) and because most spreadsheet
applications are able to read and write Excel files.")
    (license license:gpl3+)))

(define-public texlive-excludeonly
  (package
    (name "texlive-excludeonly")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/excludeonly/"
                                     "tex/latex/excludeonly/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ya7f51h9m207nqiacb1a2kvrlrla8q0gyrv9dzm9k0k01458iyz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/excludeonly")
    (synopsis "Prevent files being @code{\\include}-ed")
    (description
     "The package defines an @code{\\excludeonly} command, which is the opposite of
@code{\\includeonly}.  If both @code{\\includeonly} and @code{\\excludeonly}
exist in a document, only files allowed by both will be included.  The package
redefines the internal @code{\\@@include} command, so it conflicts with
packages that do the same.")
    (license license:public-domain)))

(define-public texlive-exercise
  (package
    (name "texlive-exercise")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exercise/"
                                     "source/latex/exercise/"
                                     "tex/latex/exercise/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01i4gagm7d3fqjp6cczw7xsvavlir7wm1i2qxrdxc9fa1xsixq1z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exercise")
    (synopsis "Typeset exercises, problems, etc. and their answers")
    (description
     "The package helps to typeset exercises or list of exercises within any
document.  Exercises, questions and sub-questions are automatically numbered.
It is possible to put answers in the same document, and display them
immediatly, later in the document or not to print answers at all.  The layout
of exercises is fully customisable.  It is possible to typeset long problems,
short exercises, questionnaires, etc.  Usage of the Babel package is detected,
but not fully supported yet (only English and French are implemented).")
    (license license:gpl2)))

(define-public texlive-exercisebank
  (package
    (name "texlive-exercisebank")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exercisebank/"
                                     "tex/latex/exercisebank/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1im5c6xgf89nk9bx5vrjlhwrgdj9ih23kgvc46lk9qa91ivsa3h9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exercisebank")
    (synopsis
     "Creating and managing exercises, and reusing them as composed sets")
    (description
     "This package makes it easier to maintain and edit your exercise sets.
Exercises are saved as separate files containing part problems.  These files
can be used to make sets, and you can cherry-pick or exclude certain part
problems as you see fit.")
    (license license:lppl1.3c)))

(define-public texlive-exercisepoints
  (package
    (name "texlive-exercisepoints")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exercisepoints/"
                                     "tex/latex/exercisepoints/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1309j3aafkkzxpn2sy109xp7vgwn5hrsa35xxcq203lgh58x12ff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exercisepoints")
    (synopsis "A LaTeX package to count exercises and points")
    (description
     "The package can be used to facilitate exercise counting and exercise point
counting in a LaTeX document.  It counts the number of exercises and it sums
all the points of the exercises in a document.  Especially for exams it is
also common to have an overview of all exercises and their maximal points.
This is also supported by this package by providing a macro to retrieve the
points of each exercise.")
    (license license:lppl1.3+)))

(define-public texlive-exercises
  (package
    (name "texlive-exercises")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exercises/"
                                     "source/latex/exercises/"
                                     "tex/latex/exercises/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rvlink5l3nqz9x5vvjxh9xgijxba3c1sdzynx86bhxynb0ffnx1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exercises")
    (synopsis
     "Typeset exercises and solutions with automatic addition of points")
    (description
     "This package defines the environments exercise and solution.
The layout of these environments can be customized.  The -- optional -- points
in the exercises can be added automatically.  The package also permits to hide
the solutions.")
    (license license:lppl1.2+)))

(define-public texlive-exesheet
  (package
    (name "texlive-exesheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exesheet/"
                                     "source/latex/exesheet/"
                                     "tex/latex/exesheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h8sckkw29fzyk4ssr7aywxd05qj7nj1i4qiv05g3mkzdx8bva44"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exesheet")
    (synopsis "Typesetting exercise or exam sheets")
    (description
     "This package is used for typesetting exercise or exam sheets.  In addition,
the @code{exesheet} class loads the @code{schooldocs} package.  The package
provides: macros to mark out exercises and subparts, specific settings for
enumeration lists, environments for questions and answers, with conditional
display, macros for marking schemes with detailed comments.")
    (license license:lppl1.3+)))

(define-public texlive-exframe
  (package
    (name "texlive-exframe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exframe/" "source/latex/exframe/"
                                     "tex/latex/exframe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rbmhnn5ndy5dsjlfc2v7l88ryxi854z6ifd8m7w99x1akrif379"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exframe")
    (synopsis "Framework for exercise problems")
    (description
     "This LaTeX2e package provides a general purpose framework to describe and
typeset exercises and exam questions along with their solutions.  The package
features mechanisms to hide or postpone solutions, to assign and handle
points, to collect problems on exercise sheets, to store and use metadata, and
to implement a consistent numbering.  It also provides a very flexible
interface for configuring and customising the formatting, layout, and
representation of the exercise content.")
    (license license:lppl1.3+)))

(define-public texlive-exp-testopt
  (package
    (name "texlive-exp-testopt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exp-testopt/"
                                     "source/latex/exp-testopt/"
                                     "tex/latex/exp-testopt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b28paxhpnl7s2yi6dlf81z2hpyg7hjd8ixs04wygk6q5ll4bcds"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exp-testopt")
    (synopsis "Expandable @code{\\@@testopt} (and related) macros")
    (description
     "The package provides an expandable variant of the LaTeX kernel command
@code{\\@@testopt}, named @code{\\@@expandable@@testopt}, and a more general
@code{\\@@expandable@@ifopt}, both intended for package writers.  Also we have
a variant of @code{\\newcommand} which uses these macros to check for optional
arguments.")
    (license license:lppl)))

(define-public texlive-export
  (package
    (name "texlive-export")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/export/" "source/latex/export/"
                                     "tex/latex/export/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0axk0z4pdypwg0bdxyyrk0wvwby9xzq7im0a0r62lriimy53cfdw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/export")
    (synopsis "Import and export values of LaTeX registers")
    (description
     "The package allows the user to export/import the values of LaTeX
registers (counters, rigid and rubber lengths only).  It is not for
faint-hearted users.  The package may be used, for example, to communicate
between documents for the purposes of Dvipaste.")
    (license license:lppl)))

(define-public texlive-exsheets
  (package
    (name "texlive-exsheets")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exsheets/" "tex/latex/exsheets/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wyld65ghidmiivvx7yan3x8wbx6ma5baw4w6imzdbkvdbp4dxms"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exsheets")
    (synopsis "Create exercise sheets and exams")
    (description
     "The package provides the means to create exercises or questions and their
corresponding solutions.  The questions may be divided into classes and/or
topics and may be printed selectively.  Meta-data to questions can be added
and recovered.  The solutions may be printed where they are, or collected and
printed at a later point in the document all together, section-wise or
selectively by ID. The package provides the means to selectively include
questions from an external file, and to control the style of headings of both
questions and solutions.

This package has been superseded by its official successor @code{xsim}.
@code{exsheets} itself is now considered obsolete, but will stay alive, and
will continue to receive bugfix releases.  However, new features will not be
added any more.")
    (license license:lppl1.3+)))

(define-public texlive-exsol
  (package
    (name "texlive-exsol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/exsol/" "source/latex/exsol/"
                                     "tex/latex/exsol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mygabr121dmm65wc4klmq0v6v0lqjvy9klqami125ffhxs5r8al"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/exsol")
    (synopsis "Exercises and solutions from the same source, into a book")
    (description
     "This package provides macros to allow for embedding exercises and solutions
in the LaTeX source of an instructional text (e.g., a book or a course text)
while generating the following separate documents: your original text that
only contains the exercises, and a solution book that contains only the
solutions to the exercises (optionally, the exercises themselves can also be
copied to the solution book).  The exercise data are generated when running
LaTeX on your document; the first run also writes the solutions to a secondary
file that may be included in a simple document harness, may be processed by
LaTeX, to generate a nice solution book.")
    (license license:lppl1.3+)))

(define-public texlive-extract
  (package
    (name "texlive-extract")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/extract/" "source/latex/extract/"
                                     "tex/latex/extract/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w2nsgfyhjzg0gwr3rzhq13jh7lj63lh36qjv16hayd2kxrcpb62"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-float
                  texlive-fourier
                  texlive-hypdoc
                  texlive-listings
                  texlive-pgf
                  texlive-pst-text
                  texlive-pstricks
                  texlive-xcolor
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/extract")
    (synopsis "Extract parts of a document and write to another document")
    (description
     "The package provides the means to extract specific content from a source
document and write that to a target document.  One could, for instance, use
this to extract all exercises from lecture notes and generate an exercises
book on the fly.  The package also provides an environment which writes its
body entirely to the target file.  Another environment will write to the
target file, but will also execute the body.  This allows to share code (for
instance, a preamble) between the source document and the target file.
Finally, the package provides an interface to conditionally extract content.
With a single package option, one can specify exactly which commands (counted
from the start of the document) should be extracted and which not.  This might
be useful for extracting specific slides from a presentation and use them in
a new file.")
    (license license:lppl1.3+)))

(define-public texlive-facsimile
  (package
    (name "texlive-facsimile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/facsimile/"
                                     "source/latex/facsimile/"
                                     "tex/latex/facsimile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sr4avyrkqwq6gh7f5alclnj0z2n8p2q7263jdqb8jlvq80b9pdd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/facsimile")
    (synopsis "Document class for preparing faxes")
    (description
     "The @code{facsimile} class provides a simple interface for creating
a document for sending as a fax, with LaTeX.  The class covers two areas.
First, a title page is created with a detailed fax header; second, every page
gets headers and footers so that the recipient can be sure that every page has
been received and all pages are complete, and in the correct order.  The class
evolved from the @code{fax} package, and provides much better language
support.")
    (license license:lppl)))

(define-public texlive-factura
  (package
    (name "texlive-factura")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/factura/" "source/latex/factura/"
                                     "tex/latex/factura/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kv6lqfd75lsbj413wxjx7zvxhs0s466263g1p4wik1ry3h0bj71"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/factura")
    (synopsis "Typeset and calculate invoices according to Venezuelan law")
    (description
     "@code{factura} is a LaTeX class for typesetting and calculating invoices,
taking into account requirements of SENIAT legislation (tax collector entity
on the Bolivarian Republic of Venezuela).  However, its use is not restricted
to Venezuela because all variables and the displayed text can be redefined by
invoking commands or editing.")
    (license license:lppl1.3c)))

(define-public texlive-familytree
  (package
    (name "texlive-familytree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/familytree/"
                                     "source/latex/familytree/"
                                     "tex/latex/familytree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p3rivync409ngvpyp8x754d704rkczpg793hbxh2ws96c73ljw5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/familytree")
    (synopsis "Draw family trees")
    (description
     "This package draws family trees.  Boxes describe individuals; lines
connecting boxes represent sibling or parent-child relationships, or
marriages.  Excluding the marriage box, you can get a maleline/patrilineal
tree, or a femaleline/matrilineal tree.  For Japanese, the @file{jlreq.cls}
vertical option (@emph{tate}) is supported.")
    (license license:gpl2+)))

(define-public texlive-fancyhandout
  (package
    (name "texlive-fancyhandout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyhandout/"
                                     "tex/latex/fancyhandout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y59v6kivaqbzc2zms1bzjvkz6xz13rmiqzsm6w9diw5wbfd2q9m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyhandout")
    (synopsis "LaTeX class for producing nice-looking handouts")
    (description
     "This package breaks with some of LaTeX's principles and redefines basic LaTeX
commands with the aim of producing well-designed and clearly structured
handouts: a sans-serif font is used by default; sections are not numbered, but
highlighted by underlining; head- and footline display document information;
and in order to avoid too much whitespace around the text the margin sizes are
adjusted to smaller values.  All in all, @code{fancyhandout} provides a means
of typesetting documents not exclusively consisting of running text in
a beautiful way.")
    (license license:lppl1.3c)))

(define-public texlive-fancylabel
  (package
    (name "texlive-fancylabel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancylabel/"
                                     "source/latex/fancylabel/"
                                     "tex/latex/fancylabel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0haf3jjdrfxqnrzahq073j3sv9h7q4wmrxg30xay5w1dq6pkvp4r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancylabel")
    (synopsis "Complex labelling with LaTeX")
    (description
     "The package provides a complex labelling scheme.  It is designed to support
the needs of the @code{chemschemex} package")
    (license license:lppl1.2+)))

(define-public texlive-fancynum
  (package
    (name "texlive-fancynum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancynum/"
                                     "source/latex/fancynum/"
                                     "tex/latex/fancynum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15l6sq848pppcp67gg36y0aa2z7vhgxs59ggcpkgfck21g73i28a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancynum")
    (synopsis "Typeset numbers")
    (description
     "This package provides a LaTeX package for typesetting numbers, in particular
floating point numbers, such as you find in program output.")
    (license license:lppl1.0+)))

(define-public texlive-fancypar
  (package
    (name "texlive-fancypar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancypar/"
                                     "source/latex/fancypar/"
                                     "tex/latex/fancypar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10m9l4wm8vhzzafvsn1yqan5bv79jm339wznh2w0dxrc82rbzgv6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancypar")
    (synopsis "Decoration of individual paragraphs")
    (description
     "Decorates individual paragraphs of a document, offering five pre-defined styles.
 The command offers an optional key-value argument with the user may define
parameters of the selected style.  Predefined styles offer a spiral-notebook,
a zebra-like, a dashed, a marked design, and an underlined style.  Users may
also define their own styles.  Decorated paragraphs may not include displayed
mathematics.")
    (license license:lppl1.3+)))

(define-public texlive-fancyqr
  (package
    (name "texlive-fancyqr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyqr/" "tex/latex/fancyqr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p5dpk1cr8wssakylmnghjd965dr4grcs8gahmcigjsbwib97ksm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyqr")
    (synopsis "Fancy QR-Codes with TikZ")
    (description
     "This package provides a simple package to create fancy QR-codes with the help
of the @code{qrcode} package.")
    (license license:gpl3)))

(define-public texlive-fancyslides
  (package
    (name "texlive-fancyslides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancyslides/"
                                     "tex/latex/fancyslides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z233j16v6rgrz7y3wlsnp8ff93ybp0154vayh8p0pwh9vvvmkzw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancyslides")
    (synopsis "Custom presentation class built upon LaTeX Beamer")
    (description
     "This class is prepared for short presentations with a modern look & feel.  It
offers the following features: custom background for each slide, predefined
types of slides, simplified commands (e.g. for starting and ending slide).
The class is built upon LaTeX Beamer, so all Beamer commands should work.")
    (license license:lppl1.3+)))

(define-public texlive-fancytabs
  (package
    (name "texlive-fancytabs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancytabs/"
                                     "source/latex/fancytabs/"
                                     "tex/latex/fancytabs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09d293nl925sp1nfgnbpqb0xps6d0wa3q566p458qxyzadvfadvk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancytabs")
    (synopsis "Fancy page border tabs")
    (description
     "The package can typeset tabs on the side of a page.  It requires TikZ from
the PGF bundle.")
    (license license:lppl1.3+)))

(define-public texlive-fancytooltips
  (package
    (name "texlive-fancytooltips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fancytooltips/"
                                     "source/latex/fancytooltips/"
                                     "tex/latex/fancytooltips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f5kznmg8pdsnfyn90pc9kns7fw05p3yr59wrdhrvfdl3nmz76xx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fancytooltips")
    (synopsis "Include a wide range of material in PDF tooltips")
    (description
     "The package was inspired by the @code{cooltooltips} package.  In contrast to
@code{cooltooltips}, @code{fancytooltips} allows inclusion of tooltips which
contain arbitrary TeX material or a series of TeX materials (animated
graphics) from an external PDF file.  To see the tooltips, you have to open
the files in Adobe Reader.  The links and JavaScripts are inserted using
@code{eforms} package from the AcroTeX bundle.")
    (license license:lppl1.2+)))

(define-public texlive-fbox
  (package
    (name "texlive-fbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fbox/" "tex/latex/fbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hr0dz0vwp2131mb58nyqm6smpzb7729ywzxp4mvwgsihxdwxq9w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fbox")
    (synopsis "Extended @code{\\fbox} macro from standard LaTeX")
    (description
     "This package redefines @code{\\fbox} to allow an optional argument for
different frames.  It can be any combination of l)eft, r)ight, t)op, and
b)ottom, for example: @samp{\\fbox[lt]@{foo@}}.  Using uppercase letters or
a combination of lowercase and uppercase is also possible.")
    (license license:lppl1.3c)))

(define-public texlive-fcolumn
  (package
    (name "texlive-fcolumn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fcolumn/" "source/latex/fcolumn/"
                                     "tex/latex/fcolumn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0szvwky690pfm2z80vl01gxxn645zh5hyzy1bwmkisn7lia3k4jr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fcolumn")
    (synopsis "Typesetting financial tables")
    (description
     "In financial reports, text and currency amounts are regularly put in one
table, e.g., a year balance or a profit-and-loss overview.  This package
provides the settings for automatically typesetting such columns, including
the sum line (preceded by a rule of the correct width) using the specifier
@samp{f}.")
    (license license:lppl1.3+)))

(define-public texlive-fetchcls
  (package
    (name "texlive-fetchcls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fetchcls/"
                                     "source/latex/fetchcls/"
                                     "tex/latex/fetchcls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03wiyp91x2y93l50rbla4b6qpc3h5zjz36j392r1slxlhplm6m7p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/fetchcls")
    (synopsis "Fetch the current class name")
    (description
     "With standard LaTeX you are able to check for the class in use invoking the
kernel command @code{\\@@ifclassloaded}.  However, doing so you cannot get the
explicit class name, unless you want to loop over every possible class name
until @code{\\@@ifclassloaded} returns true --- don't do that!  With the help
of the present package you can obtain the name of the current class with
significantly less effort.  Just load the package as usual, then, the control
sequence @code{\\classname} will hold the name you were looking for.")
    (license license:lppl1.3c)))

(define-public texlive-fewerfloatpages
  (package
    (name "texlive-fewerfloatpages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fewerfloatpages/"
                                     "source/latex/fewerfloatpages/"
                                     "tex/latex/fewerfloatpages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qvyjgigrm3nqcn795v992zifnhs77nhxj9hgxsalf2r668nlw2v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fewerfloatpages")
    (synopsis "Reduce the number of unnecessary float pages")
    (description
     "This package implements a float algorithm extension for handling float pages.
It attempts to reduce the number of unnecessary (fairly empty) float pages
while making sure that floats nevertheless stay close to their call-outs.
Several aspects of the algorithm behavior are adjustable.")
    (license license:lppl1.3c)))

(define-public texlive-ffcode
  (package
    (name "texlive-ffcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ffcode/" "source/latex/ffcode/"
                                     "tex/latex/ffcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13aia1yffaz1y4k2r4q4pw67bs8isqjd7jsmffysgvm0pbh2p8a0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-environ
           texlive-microtype
           texlive-minted
           texlive-pgf
           texlive-tcolorbox
           texlive-xkeyval))
    (home-page "https://ctan.org/pkg/ffcode")
    (synopsis "Fixed-font code blocks formatted nicely")
    (description
     "This LaTeX package helps you write source code in your academic papers and
make it looks neat.  It uses @code{minted} and @code{tcolorbox}, configuring
them the right way, to ensure that code fragments and code blocks look nicer.")
    (license license:expat)))

(define-public texlive-ffslides
  (package
    (name "texlive-ffslides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ffslides/" "tex/latex/ffslides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yd6hy15gr1la5wdxl726xdp0nbnh1agf1w0nrixjfr95qidapxf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ffslides")
    (synopsis "Freeform slides based on the @code{article} class")
    (description
     "The @code{ffslides} (``freeform slides'') class is intended to make it easier
to place various types of content freely on the page, and therefore easier to
design documents with a strong visual component: presentations, posters,
research or lecture notes, and so on.  The goal of the class is to be less
rigid and less complex than some of the popular presentation-making options.
It is essentially a small set of macros added to the @code{article} class.")
    (license license:lppl1.3+)))

(define-public texlive-fgruler
  (package
    (name "texlive-fgruler")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fgruler/" "source/latex/fgruler/"
                                     "tex/latex/fgruler/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drp8s7hlfbyy5ndam5jqhn8ihy7pm64zz40q8vv2v9a1h0z0p8k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fgruler")
    (synopsis "Draw rulers on the foreground or in the text")
    (description
     "This package draws horizontal and vertical rulers on the foreground of
every (or the current) page at absolute positions.  In this way, you can check
the page layout dimensions.  You can also draw various rulers in the text.")
    (license license:lppl1.3+)))

(define-public texlive-fifo-stack
  (package
    (name "texlive-fifo-stack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fifo-stack/"
                                     "source/latex/fifo-stack/"
                                     "tex/latex/fifo-stack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h0s0dfw0p94n2rf5bng2i79cv76vkz0xjwb5pm2gzwimshm0anw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fifo-stack")
    (synopsis "FIFO and stack implementation for package writers")
    (description
     "This package provides a LaTeX implementation of a combined FIFO Stack
modified from the existing @code{stack} package.  The package renames the
original's @code{\\Push} and @code{\\Pop} commands @code{\\FSPush} and
@code{\\FSPop} (which work on the top/end of the FIFO/Stack), and adds the
ability to @code{\\FSUnshift} and @code{\\FSShift} from the bottom (front) of
the FIFO/Stack.")
    (license license:lppl)))

(define-public texlive-figsize
  (package
    (name "texlive-figsize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/figsize/" "tex/latex/figsize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10gy0r3dcrl3ghc7rxwfvklanygv2qg6wqh6m96nybnzibgcirxw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/figsize")
    (synopsis "Auto-size graphics")
    (description
     "The FigSize package enables automatic sizing of graphics, especially when
including graphics with the @code{graphicx} package.  The user only has to
specify the number of graphics that should fit to a page or fraction there of
and the package will dynamically calculate the correct graphics sizes relative
to the page size.  Thus, graphics can be auto-sized to fill a whole page or
fraction and manual changes of graphic sizes are never needed when changing
document layouts.  Finally, the package's dynamic lengths can be used to allow
other document element sizes to be dynamic.")
    (license license:lppl)))

(define-public texlive-filedate
  (package
    (name "texlive-filedate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/filedate/"
                                     "source/latex/filedate/"
                                     "tex/latex/filedate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j7ccirlpda8rqzjpfqlgj6r72z0693y02anaf1izvhyk339fxg2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/filedate")
    (synopsis "Access and compare info and modification dates")
    (description
     "The package provides basic access to the date of a LaTeX source file
according to its @code{\\Provides}...  entry (the ``info date'') as well as to
its modification date according to @code{\\pdffilemoddate} if the latter is
available.")
    (license license:lppl)))

(define-public texlive-fileinfo
  (package
    (name "texlive-fileinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fileinfo/"
                                     "source/latex/fileinfo/"
                                     "tex/latex/fileinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i6nvxkzh67bkkqhd64bl2ivqd9v3y1qkw4qxy8pk49hc57mpc4b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fileinfo")
    (synopsis "Enhanced display of LaTeX File Information")
    (description
     "The bundle provides two packages, @code{readprov} and @code{myfilist}.  The
@code{readprov} package provides a means of reading file information without
loading the body of the file.  The @code{myfilist} package uses
@code{readprov} and controls what @code{\\listfiles} will report.")
    (license license:lppl1.3+)))

(define-public texlive-fink
  (package
    (name "texlive-fink")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fink/" "source/latex/fink/"
                                     "tex/latex/fink/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mj7hjmyx83wv9hm8qsz889bh8p0kdx5a01nbgx0qdxm9wqqyxx0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/fink")
    (synopsis "LaTeX2e file name keeper")
    (description
     "This package keeps track of files included in your document, with
@code{\\input} or @code{\\include}.  You then have permanent access to the
name of the file currently being processed through the macro
@code{\\finkfile}.

FiNK has been deprecated and is not maintained anymore.  People
interested in FiNK's functionality are invited to use a package named
@code{currfile} instead.")
    (license license:lppl)))

(define-public texlive-finstrut
  (package
    (name "texlive-finstrut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/finstrut/"
                                     "source/latex/finstrut/"
                                     "tex/latex/finstrut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zpyn492xq5h50jh6wwdlj10xwvnkdhxnljqjfkiw429lgaw7qfi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/finstrut")
    (synopsis "Adjust behaviour of the ends of footnotes")
    (description
     "The LaTeX internal command @code{\\@@finalstrut} is used automatically used
at the end of footnote texts to insert a strut to avoid mis-spacing of
multiple footnotes.  Unfortunately the command can cause a blank line at the
end of a footnote.  The package provides a solution to this problem.")
    (license license:lppl1.3+)))

(define-public texlive-fistrum
  (package
    (name "texlive-fistrum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fistrum/" "source/latex/fistrum/"
                                     "tex/latex/fistrum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12jqys8aa6cjyw1g7hf61hcmn5psvhdr7nxdgq03wx11263ci6zf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fistrum")
    (synopsis "Access to 150 paragraphs of Lorem Fistrum very dummy text")
    (description
     "Fistrum is a LaTeX package forked from @code{lipsum} that produces dummy text
for use in documents and examples.  The paragraphs were taken with permission
from @url{https://www.chiquitoipsum.com/}.")
    (license license:lppl1.3+)))

(define-public texlive-fithesis
  (package
    (name "texlive-fithesis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fithesis/"
                                     "source/latex/fithesis/"
                                     "tex/latex/fithesis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jc179rwax3kpg5a8r3ly197f8z5kvac194r151whkg2zgijl02s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      ;; "fithesis.ins" expects some directories in "build".  Create them
      ;; first to prevent an error.
      #~(modify-phases %standard-phases
          (add-before 'build 'fix-build
            (lambda _
              (mkdir-p "build/mu")
              (with-directory-excursion "build/mu"
                (for-each mkdir-p
                          '("econ"
                            "fi"
                            "fsps"
                            "fss"
                            "law"
                            "med"
                            "ped"
                            "pharm"
                            "phil"
                            "sci"))))))))
    (home-page "https://ctan.org/pkg/fithesis")
    (synopsis
     "Thesis class and template for Masaryk University (Brno, Czech Republic)")
    (description
     "This package provides a document class for the typesetting of theses at the
Masaryk University (Brno, Czech Republic).  The class has been designed for
easy extensibility by style and locale files of other academic institutions.")
    (license license:lppl1.3+)))

(define-public texlive-fixcmex
  (package
    (name "texlive-fixcmex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixcmex/" "source/latex/fixcmex/"
                                     "tex/latex/fixcmex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00wrjvy0n8181a5ki644z40l8i4f2vlhbwkg0zc9yqsby17dl43r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixcmex")
    (synopsis "Fully scalable version of Computer Modern Math Extension font")
    (description
     "This package provides a fully scalable version of the Computer Modern Math
Extension font for curing sizing problems mainly with @code{lmodern}.  It can
be used when the main font of the document is Computer Modern (or European
Modern, if T1 encoding is selected), or Latin Modern.  It redefines the math
extension font so that it becomes arbitrarily scalable, using the optical size
fonts provided by the AMS together with the original @code{cmex10} font.")
    (license license:lppl1.3c)))

(define-public texlive-fixme
  (package
    (name "texlive-fixme")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixme/" "source/latex/fixme/"
                                     "tex/latex/fixme/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mgx9v7c0l572lz6ysbpg0hrqk4lpy5sn9kcyrpf71zp28szf81s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           #:phases
           ;; Build process requires some directories to be created
           ;; beforehand.  Create those to prevent an error.
           #~(modify-phases %standard-phases
               (add-before 'build 'fix-build
                 (lambda _
                   (for-each mkdir-p
                             '("build/layouts/env"
                               "build/layouts/target"
                               "build/themes/")))))))
    (home-page "https://ctan.org/pkg/fixme")
    (synopsis "Collaborative annotation tool for LaTeX")
    (description
     "FiXme is a collaborative annotation tool for LaTeX documents.
Annotating a document here refers to inserting meta-notes, that is, notes that
do not belong to the document itself, but rather to its development or
reviewing process.  Such notes may involve things of different importance
levels, ranging from simple ``fix the spelling'' flags to critical ``this
paragraph is a lie'' mentions.  Annotations like this should be visible during
the development or reviewing phase, but should normally disappear in the final
version of the document.  FiXme is designed to ease and automate the process
of managing collaborative annotations, by offering a set of predefined note
levels and layouts, the possibility to register multiple authors, to reference
annotations by listing and indexing etc.")
    (license license:lppl1.3+)))

(define-public texlive-fixmetodonotes
  (package
    (name "texlive-fixmetodonotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fixmetodonotes/"
                                     "source/latex/fixmetodonotes/"
                                     "tex/latex/fixmetodonotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "100rxmm6v99v02n76rfiahmv5947v1cfnkch4ylax11ipd3s9jnk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fixmetodonotes")
    (synopsis "Add notes on document development")
    (description
     "The package provides tools to highlight @samp{FIXME} and @samp{TODO}
annotations.  The command @code{\\listofnotes} prints a list of outstanding
notes, with links to the pages on which they appear.")
    (license license:public-domain)))

(define-public texlive-fjodor
  (package
    (name "texlive-fjodor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fjodor/" "tex/latex/fjodor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s0aaf5h1rm18hyav988rqvsq4xzyszr41p7sqnl92xxi5xzg86h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fjodor")
    (synopsis "Selection of layout styles")
    (description
     "The package provides several page layouts, selectable by package options.")
    (license license:gpl3+)))

(define-public texlive-flabels
  (package
    (name "texlive-flabels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flabels/" "source/latex/flabels/"
                                     "tex/latex/flabels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s2yggjvbsbbzryxqy8kdy6yw38q0wnzr82hjwfcpip83f4mm123"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flabels")
    (synopsis "Labels for files and folders")
    (description
     "This package provides macros for typesetting pretty labels (optionally
colored) for the back of files or binders (currently only the special A4
@emph{Leitz-Ordner} ring binder is supported).")
    (license license:lppl)))

(define-public texlive-flacards
  (package
    (name "texlive-flacards")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flacards/" "tex/latex/flacards/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "048fl0hhd0vh558wzi4lbsnhaxwzg77x5c4x94pn7pmqfn8zlcz0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flacards")
    (synopsis "Generate flashcards for printing")
    (description
     "The @code{flacards} class provides an easy interface to produce flashcards.
It will print several cards per page, on both sides of the paper.")
    (license license:gpl3+)))

(define-public texlive-flagderiv
  (package
    (name "texlive-flagderiv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flagderiv/"
                                     "source/latex/flagderiv/"
                                     "tex/latex/flagderiv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gzcanvbpz8scnlkchs2fyw3mphzmswp8p723kwifncvab41i9nk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flagderiv")
    (synopsis "Flag style derivation package")
    (description
     "The @code{flagderiv} package is used to create mathematical derivations using
the flag/flagpole notation.  The package features an intuitive command syntax,
opening and closing multiple flagpoles, different comment styles, customizable
symbols and label namespaces.")
    (license license:gpl3+)))

(define-public texlive-flashcards
  (package
    (name "texlive-flashcards")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flashcards/"
                                     "source/latex/flashcards/"
                                     "tex/latex/flashcards/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l70bz1dng1drilp6mk9998n38zbd5d9jlxnw0g5gp1p0hrlmzmb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flashcards")
    (synopsis "Class for typesetting flashcards")
    (description
     "The FlashCards class provides for the typesetting of flash cards.  By flash
card, we mean a two sided card which has a prompt or a question on one side
and the response or the answer on the flip (back) side.  Flash cards come in
many sizes depending on the nature of the information they contain.")
    (license license:gpl2+)))

(define-public texlive-flashmovie
  (package
    (name "texlive-flashmovie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flashmovie/"
                                     "tex/latex/flashmovie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16m9ql650w70vi3iwqf4988v9yz14pimr88c87cgxwdmvzz0ak3j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flashmovie")
    (synopsis "Directly embed flash movies into PDF files")
    (description
     "The package allows direct embedding of flash movies into PDF files.  It is
designed for use with pdfLaTeX.  The package takes advantage of the embedded
Adobe Flash player in Adobe Reader 9; the reader is invoked with the rich
media annotation feature.  This method of embedding movies is attractive since
it removes all platform dependencies; however, the user is required to use
Acrobat 9.")
    (license license:lppl1.3+)))

(define-public texlive-flexipage
  (package
    (name "texlive-flexipage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flexipage/"
                                     "source/latex/flexipage/"
                                     "tex/latex/flexipage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j9ffmvb5yrkcf3f1yily6a44jivpzblss9psj6ycba88wnj5ccj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flexipage")
    (synopsis "Flexible page geometry with marginalia")
    (description
     "The package @code{flexipage} allows easy page layout if marginalia is
required.  Mid document changes are possible such as: new marginal width, full
width text, and landscape text without marginal.  It partners well with the
package @code{sidenotesplus}.  The package also aids the layout for book
printing, allowing for binding corrections and adding page bleed, if
required.")
    (license license:lppl1.3c)))

(define-public texlive-flipbook
  (package
    (name "texlive-flipbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flipbook/" "tex/latex/flipbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jy388pxrlmw1spvhznrggwz76b0nfmigp954skm74fpdzhwalmd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flipbook")
    (synopsis "Typeset flipbook animations, in the corners of documents")
    (description
     "The package provides techniques for adding flip book animations in the corner
of your LaTeX documents (using images or ASCII art).  Animations are defined
as a set of numbered files (e.g., @file{im1.pdf}, @file{im2.pdf}, ...).  The
package relies on @code{fancyhdr} to control the corners.")
    (license license:lppl)))

(define-public texlive-flippdf
  (package
    (name "texlive-flippdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flippdf/" "source/latex/flippdf/"
                                     "tex/latex/flippdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bjac3nddii4g9q8b02z43slab1wnl707jqpyy8f8zmns4l04ws5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flippdf")
    (synopsis "Horizontal flipping of pages with pdfLaTeX")
    (description
     "The package allows the production of a document with pages mirrored.  This is
sometimes required by publishers who want camera-ready documents to be printed
on transparent film (to be viewed from the ``wrong'' side).  The package only
works with pdfLaTeX or LuaLaTeX in PDF output mode.")
    (license license:lppl1.3c)))

(define-public texlive-floatrow
  (package
    (name "texlive-floatrow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/floatrow/"
                                     "source/latex/floatrow/"
                                     "tex/latex/floatrow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wqg4qikbrmf2q1f4nxv3lfqg6w03n06v3gzxm7xdda4nj7ppc07"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/floatrow")
    (synopsis "Modifying the layout of floats")
    (description
     "The @code{floatrow} package provides many ways to customize layouts of
floating environments and has code to cooperate with the @code{caption}
package.  The package offers mechanisms to put floats side by side, and to put
the caption beside its float.  The @code{floatrow} settings could be expanded
to the floats created by packages @code{rotating}, @code{wrapfig},
@code{subfig} (in the case of rows of subfloats), and @code{longtable}.")
    (license license:lppl)))

(define-public texlive-flowfram
  (package
    (name "texlive-flowfram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/flowfram/" "scripts/flowfram/"
                                     "source/latex/flowfram/"
                                     "tex/latex/flowfram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y3r1g9ycxq7r839ca7xzjpk628jvnc1fc0qgp6f6wb99ps79pzc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/flowfram")
    (synopsis "Create text frames for posters, brochures or magazines")
    (description
     "The @code{flowfram} package enables you to create frames in a document such
that the contents of the document environment flow from one frame to the next
in the order in which they were defined.  This is useful for creating posters
or magazines, indeed any form of document that does not conform to the
standard one or two column layout.")
    (license license:lppl1.3+)))

(define-public texlive-fmp
  (package
    (name "texlive-fmp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fmp/" "source/latex/fmp/"
                                     "tex/latex/fmp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sccyi1bnz882qyvxjrzl988fgkip5dv64fn3ns377vq4sydcx2m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:build-targets #~(list "fmp.sty")))
    (home-page "https://ctan.org/pkg/fmp")
    (synopsis "Include functional MetaPost in LaTeX")
    (description "This package allows including functional MetaPost in LaTeX.")
    (license license:lppl)))

(define-public texlive-fn2end
  (package
    (name "texlive-fn2end")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fn2end/" "tex/latex/fn2end/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d1gpl3inhimzylrkx0pjl1xjczf2qp9m3823kj8s8kw0y54bg61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fn2end")
    (synopsis "Convert footnotes to endnotes")
    (description
     "This package defines macros @code{\\makeendnotes}, which converts
@code{\\footnote} to produce endnotes; and @code{\\theendnotes} which prints
them out.")
    (license license:public-domain)))

(define-public texlive-fnbreak
  (package
    (name "texlive-fnbreak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fnbreak/" "source/latex/fnbreak/"
                                     "tex/latex/fnbreak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06in9iq69iyhvs3rc5hfdbqay8p955hraa5lln2fzl6p17xgr3r3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fnbreak")
    (synopsis "Warn for split footnotes")
    (description
     "This package detects footnotes that are split over several pages, and writes
a warning to the log file.")
    (license license:lppl)))

(define-public texlive-fncylab
  (package
    (name "texlive-fncylab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fncylab/" "tex/latex/fncylab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yk1byhczzjnig7x5g0aidsk64nh4shbwn66v4j0bm0ps6ya2b9v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fncylab")
    (synopsis "Alter the format of @code{\\label} references")
    (description
     "LaTeX provides a mechanism for altering the appearance of references to
labels, but it's somewhat flawed, and requires that the user manipulate
internal commands.  The package solves the problem, by providing
a @code{\\labelformat} command for changing the format of references to
labels.  The package also provides a @code{\\Ref} command to make reference to
such redefined labels at the start of a sentence.")
    (license license:lppl)))

(define-public texlive-fnpara
  (package
    (name "texlive-fnpara")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fnpara/" "tex/latex/fnpara/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rc8r9dq23fvjygk44mpk74fzcdl55134sql91wc663z7yaz35xc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fnpara")
    (synopsis "Footnotes in paragraphs")
    (description
     "Typeset footnotes in run-on paragraphs, instead of one above another; this is
a re-seating, for the LaTeX environment, of an example in the @emph{TeXbook}.
The same basic code, improved for use in e-TeX-based LaTeX, appears in the
comprehensive footnote package @code{footmisc}, and superior versions are also
available in the @code{manyfoot} and @code{bigfoot} packages.")
    (license license:lppl1.3+)))

(define-public texlive-fnpct
  (package
    (name "texlive-fnpct")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fnpct/" "tex/latex/fnpct/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z1r5q6j5gb4x6sw579irasymk52wr4fdjh4rbgz118h0z4izivk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fnpct")
    (synopsis "Manage footnote marks interaction with punctuation")
    (description
     "The package moves footnote marks after following punctuation (comma or full
stop), and adjusts kerning as appropriate.  As a side effect, a change to the
handling of multiple footnotes is provided.")
    (license license:lppl1.3c)))

(define-public texlive-fnumprint
  (package
    (name "texlive-fnumprint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fnumprint/"
                                     "source/latex/fnumprint/"
                                     "tex/latex/fnumprint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ni19n3g4qhj1cf5602jrrwkzfz89jz2yfvplynk3dsfrxnrm78x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fnumprint")
    (synopsis "Print a number in ``appropriate'' format")
    (description
     "The package defines two macros which decide to typeset a number either as an
Arabic number or as a word (or words) for the number.  If the number is
between zero and twelve (including zero and twelve) then words will be used;
if the number is outside that range, it will be typeset using the package
numprint Words for English representation of numbers are generated within the
package, while those for German are generated using the package
@code{zahl2string}.")
    (license license:lppl1.3+)))

(define-public texlive-foilhtml
  (package
    (name "texlive-foilhtml")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/foilhtml/"
                                     "source/latex/foilhtml/"
                                     "tex/latex/foilhtml/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zrz5jgqm0wwii8bbi8z4pmvs4qk23lw3yklzhrbw1q5wkzdc0ng"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/foilhtml")
    (synopsis "Interface between FoilTeX and LaTeX2HTML")
    (description
     "This package provides integration between FoilTeX and LaTeX2HTML,
adding sectioning commands and elements of logical formatting to FoilTeX and
providing support for FoilTeX commands in LaTeX2HTML.")
    (license license:lppl)))

(define-public texlive-foliono
  (package
    (name "texlive-foliono")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/foliono/" "tex/latex/foliono/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ldp7cp3s75yyzn5wkdp5rw8q5aii6rnpflw13xj0h5hvv0a6h0y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/foliono")
    (synopsis "Use folio numbers to replace page numbers")
    (description
     "This package adds functionality to create several styles of folio numbers.
Folio numbering preceded the modern page numbering convention and was in
common use until the 18th century.  In folio numbering the numbers are placed
only on odd (right-side) pages and the numbers typically comprise of two
parts: quire and folio numbers.  The intended use for this package is to help
creating old-style books.")
    (license license:lppl1.3c)))

(define-public texlive-fontsetup
  (package
    (name "texlive-fontsetup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fontsetup/"
                                     "tex/latex/fontsetup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b0xydxscgzz1d9mjv3lv0kyfkdf7jrxazsl9dfdyssb3mnjgsag"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fontsetup")
    (synopsis
     "Front-end to @code{fontspec}, for selected fonts with math support")
    (description
     "This package facilitates the use of @code{fontspec} for users who do not wish
to bother with details, with a special focus on quality fonts supporting
mathematics.")
    (license license:gpl3)))

(define-public texlive-footmisx
  (package
    (name "texlive-footmisx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footmisx/"
                                     "source/latex/footmisx/"
                                     "tex/latex/footmisx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17gkxi48nr52dcvm2x7zbf81h57aryy64f77y8gj1l4gvkh7ylbm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footmisx")
    (synopsis "Range of footnote options")
    (description
     "This a fork of @code{footmisc} package allowing to use @code{hyperref}.
The package provides means of changing the layout of the footnotes themselves,
a way to number footnotes per page, to make footnotes disappear in a moving
argument and to deal with multiple references to footnotes from the same
place.  The package also has a range of techniques for labelling footnotes
with symbols rather than numbers.  Some of the functions of the package are
overlap with the functionality of other packages.

Don't be seduced by @code{fnpara}, whose implementation is improved by the
present package.")
    (license license:lppl1.3+)))

(define-public texlive-footnotebackref
  (package
    (name "texlive-footnotebackref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footnotebackref/"
                                     "tex/latex/footnotebackref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ns4kdqkpirv1n8kc52n9qymbk6z0pczihxz3n26fl4acnz3nsmy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footnotebackref")
    (synopsis "Back-references from footnotes")
    (description
     "The package provides the means of creating hyperlinks, from a footnote at the
bottom of the page, back to the occurence of the footnote in the main text.")
    (license license:lppl1.3+)))

(define-public texlive-footnoterange
  (package
    (name "texlive-footnoterange")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footnoterange/"
                                     "source/latex/footnoterange/"
                                     "tex/latex/footnoterange/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sc3m2hy4hgc3mxsaby9say1hsad4flchs7wv2xxv4wzss3g2kgh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footnoterange")
    (synopsis "References to ranges of footnotes")
    (description
     "The package provides the environments @code{footnoterange} and
@code{footnoterange*}.  Multiple footnotes inside these environments are not
referenced as (e.g.) @samp{1 2 3} but as @samp{1-3}, i.e., the range (from
first to last referred footnote at that place) is given.  If the
@code{hyperref} package is loaded with enabled @code{hyperfootnotes} option,
then the references are hyperlinked.  (References to footnotes in
@code{footnoterange*} environments are never hyperlinked.)")
    (license license:lppl1.3c)))

(define-public texlive-footnpag
  (package
    (name "texlive-footnpag")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/footnpag/"
                                     "source/latex/footnpag/"
                                     "tex/latex/footnpag/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qf12zr9qs54wpih691290l9jnf3cjdfpym6g8p0w06al8x797zs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/footnpag")
    (synopsis "Per-page numbering of footnotes")
    (description
     "This package allows footnotes on individual pages to be numbered from @samp{1},
rather than being numbered sequentially through the document.")
    (license license:gpl3+)))

(define-public texlive-forarray
  (package
    (name "texlive-forarray")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/forarray/"
                                     "source/latex/forarray/"
                                     "tex/latex/forarray/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xbl5lzyd264avy3dkqz7yq8imk6pziaalhi7smh9d4jra6412a3"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; FIXME: I couldn't find how to build this package without error.
          (delete 'build))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-breakurl
                  texlive-caption
                  texlive-examplep
                  texlive-hypdoc
                  texlive-ragged2e
                  texlive-subfig
                  texlive-varwidth
                  texlive-vntex
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/forarray")
    (synopsis "Using array structures in LaTeX")
    (description
     "The package provides functionality for processing lists and array structures
in LaTeX.  Arrays can contain characters as well as TeX and LaTeX commands,
nesting of arrays is possible, and arrays are processed within the same brace
level as their surrounding environment.  Array levels can be delimited by
characters or control sequences defined by the user.  Practical uses of this
package include data management, construction of lists and tables, and
calculations based on the contents of lists and arrays.")
    (license license:lppl)))

(define-public texlive-foreign
  (package
    (name "texlive-foreign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/foreign/" "source/latex/foreign/"
                                     "tex/latex/foreign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06mbm7j754w44acpvx2miaa3py5gvmjxjq9wh9nq3xv8b7v7a7n3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/foreign")
    (synopsis "Systematic treatment of foreign words in documents")
    (description
     "The package supports authors use of consistent typesetting of foreign words
in documents.")
    (license license:lppl1.3+)))

(define-public texlive-formlett
  (package
    (name "texlive-formlett")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/formlett/"
                                     "tex/generic/formlett/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nbg8g7hyxanyx2jkv7nz2iwz4x25wh9y8licz4zg8vcz99izn1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/formlett")
    (synopsis "Letters to multiple recipients")
    (description
     "This package provides a package for multiple letters from the same basic
source; the package offers parametrisation of the letters actually sent.")
    (license license:gpl3+)))

(define-public texlive-forms16be
  (package
    (name "texlive-forms16be")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/forms16be/"
                                     "source/latex/forms16be/"
                                     "tex/latex/forms16be/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07lj38mwkj1g0gba8sk435474g417lp815byci691xskr84fy33x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/forms16be")
    (synopsis "Initialize form properties using big-endian encoding")
    (description
     "This package provides support for UTF-16BE Unicode character encoding (called
a big-endian character string) for the text string type (PDF Reference,
version 1.7, beginning on page 158).  Text strings are used in ``text
annotations, bookmark names, article threads, document information, and so
forth'' (to partially quote page 158).  The particular application is to set
property values of form fields, at least those properties that take the text
strings as its value.  The package contains support for Basic Latin plus the
ability to enter any Unicode character using the notation
@code{\\u@var{XXXX}}, where @var{XXXX} are four hex digits.")
    (license license:lppl1.2+)))

(define-public texlive-formular
  (package
    (name "texlive-formular")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/formular/"
                                     "source/latex/formular/"
                                     "tex/latex/formular/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vjqb9r9c9vwxwnn87zwpd2m94ygaqgvi8pzp37hc9kqxbpx1wkx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/formular")
    (synopsis "Create forms containing field for manual entry")
    (description
     "When typesetting forms there often arises the need for defining fields which
consist of one or more lines where the customer can write something down
manually.  This package offers some commands for defining such fields in
a distinctive way.")
    (license license:lppl)))

(define-public texlive-fragments
  (package
    (name "texlive-fragments")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fragments/"
                                     "tex/latex/fragments/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p2s3nmq25ypvnbfmgr70cw0b3y7s2i40xig9ddjcd1f8q1i1nyq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fragments")
    (synopsis "Fragments of LaTeX code")
    (description
     "This package provides a collection of fragments of LaTeX code, suitable for
inclusion in packages, or (possibly) in users documents.  Included are:
@code{checklab}, for modifying the label checking code at
@code{\\end@{document@}}; @code{overrightarrow}, defining a doubled over-arrow
macro; @code{removefr}, for removing reset relations between counters; and
@code{subscript}, defining a @code{\\textsubscript} command.")
    ;; It contains a collection of packages, with different licenses.
    (license (list license:public-domain license:lppl))))

(define-public texlive-frame
  (package
    (name "texlive-frame")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/frame/" "tex/generic/frame/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02n15mi5amvrm6pnr3hkrw6rww2an437b6nff8j4gh6x7vhapygn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frame")
    (synopsis "Framed boxes for Plain TeX")
    (description
     "This package provides a jiffy file (taken from @code{fancybox}) for placing
a frame around a box of text.  The macros also provide for typesetting an
empty box of given dimensions.")
    (license license:lppl)))

(define-public texlive-frege
  (package
    (name "texlive-frege")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/frege/" "tex/latex/frege/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "090qsdimmgkmq9xba1kjaxy941y1bkbxlirkx5sn117kfl3v98mq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/frege")
    (synopsis "Typeset fregean @emph{Begriffsschrift}")
    (description
     "The package defines a number of new commands for typesetting fregean
@emph{Begriffsschrift} in LaTeX.  It is loosely based on the package
@code{begriff}, and offers a number of improvements including better relative
lengths of the content stroke with respect to other strokes, content strokes
that point at the middle of lines rather than the bottom, a greater width for
the assertion stroke as compared to the content stroke, a more intuitive
structure for the conditional, greater care taken to allow for the line width
in the spacing of formulas.")
    (license license:gpl3+)))

(define-public texlive-froufrou
  (package
    (name "texlive-froufrou")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/froufrou/"
                                     "source/latex/froufrou/"
                                     "tex/latex/froufrou/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d1ifplkdxb7s8mr7zisbzkr9r5hvn7hk0q5dpzpyx8zwhzyvkss"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/froufrou")
    (synopsis "Fancy section separators")
    (description
     "This package provides fancy separators, which are visual cues that indicate
a change of subject or context without actually starting a new chapter or
section.")
    (license license:lppl1.3c)))

(define-public texlive-ftcap
  (package
    (name "texlive-ftcap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ftcap/" "tex/latex/ftcap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z5ydpf7gxpmfmkaxim5jg32drpaqqb0f58jsbdpiap666lhsb34"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ftcap")
    (synopsis
     "Allows @code{\\caption} at the beginning of a @code{table} environment")
    (description
     "For several reasons a @code{\\caption} may be desirable at the top of
a @code{table} environment.  This package changes the @code{table} environment
such that @code{\\abovecaptionskip} and @code{\\belowcaptionskip} are swapped.
The package should also work with a non-standard table environment.")
    (license license:gpl3+)))

(define-public texlive-ftnxtra
  (package
    (name "texlive-ftnxtra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ftnxtra/" "source/latex/ftnxtra/"
                                     "tex/latex/ftnxtra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fyf6gvyn91i3r8jsfcs6wka0ygkdvcll2lbpaigm355mzvm9xnl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ftnxtra")
    (synopsis "Extend the applicability of the @code{\\footnote} command")
    (description
     "The package treats footnotes in @code{\\caption}, the tabular environment,
and @code{\\chapter} and other @code{\\section}-like commands.")
    (license license:lppl)))

(define-public texlive-fullblck
  (package
    (name "texlive-fullblck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fullblck/"
                                     "source/latex/fullblck/"
                                     "tex/latex/fullblck/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1prr2arwxx6bdzbl9pyhcw25d5jillq1jy6mnyag23rzp2izywrl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fullblck")
    (synopsis "Left-blocking for @code{letter} class")
    (description
     "This package can be used with the @code{letter} document class to set the
letter in a fullblock style (everything at the left margin).")
    (license license:lppl)))

(define-public texlive-fullminipage
  (package
    (name "texlive-fullminipage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fullminipage/"
                                     "source/latex/fullminipage/"
                                     "tex/latex/fullminipage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "040vavcp48fvif39ypnl5hxvalmbywkqy6vvxxwd1pnmmcl17ccf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fullminipage")
    (synopsis "Minipage spanning a complete page")
    (description
     "This package provides the environment @code{fullminipage}, which generates
a minipage spanning a new, complete page with page style empty.  The
environment provides options to set margins around the minipage and configure
the background.")
    (license license:gpl3)))

(define-public texlive-fullwidth
  (package
    (name "texlive-fullwidth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fullwidth/"
                                     "tex/latex/fullwidth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04wy2sxsbkyg62bhg5av9zg6q07snabwrxv776x3m1mlwi4fw7nh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fullwidth")
    (synopsis "Adjust margins of text block")
    (description
     "The package provides the environment @code{fullwidth}, which sets the left
and right margins in a simple way.  There is no constraint about page breaks;
if you are using the two-side mode, you can set the inner and outer margins to
avoid the effects of the different margins.")
    (license license:lppl)))

(define-public texlive-functional
  (package
    (name "texlive-functional")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/functional/"
                                     "tex/latex/functional/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11l58cw1pjx19kvqnh6vmglza913jc2vgbx6zk0zzs5j82kb8p38"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/functional")
    (synopsis "Intuitive functional programming interface for LaTeX2")
    (description
     "This package provides an intuitive functional programming interface for
LaTeX2, which is an alternative choice to @code{expl3} or LuaTeX, if you want
to do programming in LaTeX.  Although there are functions in LaTeX3
programming layer (@code{expl3}), the evaluation of them is from outside to
inside.  With this package, the evaluation of functions is from inside to
outside, which is the same as other programming languages such as Lua.  In
this way, it is rather easy to debug code too.")
    (license license:lppl1.3c)))

(define-public texlive-fundus-calligra
  (package
    (name "texlive-fundus-calligra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fundus-calligra/"
                                     "source/latex/fundus-calligra/"
                                     "tex/latex/fundus-calligra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1575ag7z1ydcpi8bpda5lhn4gil5vdcb442vn50acpdml9zdf1a7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fundus-calligra")
    (synopsis "Support for the Calligra font in LaTeX documents")
    (description
     "The package offers support for the Calligra handwriting font, in LaTeX
documents.  The package is part of the @code{fundus} bundle.")
    (license license:lppl1.3c+)))

(define-public texlive-fundus-cyr
  (package
    (name "texlive-fundus-cyr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/fundus-cyr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02zz37h71nqq0f4sf00fiw80pq1q3yadnhqm2j3niz13gms9ydl2"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fundus-cyr")
    (synopsis "Support for Washington University Cyrillic fonts")
    (description
     "The package supports the use of the Washington Cyrillic fonts with LaTeX
(Note that standard LaTeX has support, too, as encoding OT2).  The package is
distributed as part of the @code{fundus} bundle.")
    (license license:lppl1.3+)))

(define-public texlive-fundus-sueterlin
  (package
    (name "texlive-fundus-sueterlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fundus-sueterlin/"
                                     "source/latex/fundus-sueterlin/"
                                     "tex/latex/fundus-sueterlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yk6djd3yiwsk20z86b3w9wkfbh7xb3i5r5az6br8aivqqp72fvp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fundus-sueterlin")
    (synopsis "Support for Sueterlin fonts")
    (description
     "The package supports use, in LaTeX, of the Metafont emulation of the
Sueterlin handwriting fonts.  The package is distributed as part of the
@code{fundus} bundle..")
    (license license:lppl1.3+)))

(define-public texlive-fwlw
  (package
    (name "texlive-fwlw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/fwlw/" "tex/latex/fwlw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10phasf69lcd9rs6yn997ng1z1g460wzgi3rda45rdjvc0mw336v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/fwlw")
    (synopsis "Get first and last words of a page")
    (description
     "The package extracts the first and last words of a page, together with the
first word of the next page, just before the page is formed into the object to
print.  The package defines a couple of page styles that use the words that
have been extracted.")
    ;; "This software package may be freely used, transmitted, reproduced, or
    ;; modified provided that this notice is left intact."
    (license (license:fsf-free "file://doc/latex/fwlw/README"))))

(define-public texlive-gatherenum
  (package
    (name "texlive-gatherenum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gatherenum/"
                                     "source/latex/gatherenum/"
                                     "tex/latex/gatherenum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y379ikgz3phvz88h50w1l6ab4sgx3hcs0wz9q6f9g6zv5hbh7fn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gatherenum")
    (synopsis "Crossover of @code{align*} and @code{enumerate}")
    (description
     "This package (ab)uses the inline enumeration capabilities of @code{enumitem}
to add a displayed enumeration mode, triggered by adding @code{gathered} to
the key-value option list of the @code{enumerate} environment.  The end result
is similar to a regular @code{enumerate} environment wrapped in
a @code{multicols} environment, with the following advantages:

@itemize

@item it can pack items depending on their actual width rather than a fixed,
constant number per line;

@item it fills items in a line-major order (instead of column-major order).

@end itemize")
    (license license:gpl3+)))

(define-public texlive-gauss
  (package
    (name "texlive-gauss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gauss/" "tex/latex/gauss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y36dywlf2i13im8msqgwdg41p5pf8c5k7cch4z3cvl5kzgsfpm6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gauss")
    (synopsis "Package for Gaussian operations")
    (description
     "The @code{gauss} package provides configurable tools for producing row and
column operations on matrices (a.k.a.@: Gaussian operations).")
    (license license:lppl)))

(define-public texlive-gcard
  (package
    (name "texlive-gcard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gcard/" "tex/latex/gcard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ps2iiwzcgka7h75mvpw1g0c63qw6x440bl31dlgnzcwczhk64h3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gcard")
    (synopsis "Arrange text on a sheet to fold into a greeting card")
    (description
     "The package provides a simple means of producing greeting cards.
It arranges four panels onto a single sheet so that when the sheet is folded
twice the four panels are arranged as front cover, inside left and right
pages, and back cover.  The four panels are set in minipages for formatting by
the user.")
    (license license:lppl)))

(define-public texlive-gender
  (package
    (name "texlive-gender")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gender/" "source/latex/gender/"
                                     "tex/latex/gender/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16srrl535ynv2zn6kg6w4rkywznrznjn5zwyhpclv4dhd48p6z27"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gender")
    (synopsis "Gender neutrality for languages with grammatical gender")
    (description
     "Many languages --- like German or French --- use masculine and feminine
grammatical genders.  There are many ideas how to promote gender neutrality in
those languages.  The @code{gender} package uses alternately masculine and
feminine forms.  It is also possible to use just one form out of a template.")
    (license license:lppl1.3+)))

(define-public texlive-genmpage
  (package
    (name "texlive-genmpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/genmpage/"
                                     "source/latex/genmpage/"
                                     "tex/latex/genmpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mk55x85kn7v38l4pa5l8yv8axyfgn01vdxk51iahyzzmlw4fm6f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/genmpage")
    (synopsis "Generalization of LaTeX's minipages")
    (description
     "The GenMPage package generalizes LaTeX's minipages.  @code{Keyval} options
and styles can be used to determine their appearance in an easy and consistent
way.  It includes options for paragraph indentation and vertical alignment
with respect to the visual top and bottom margins.")
    (license license:lppl)))

(define-public texlive-gensymb
  (package
    (name "texlive-gensymb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gensymb/" "source/latex/gensymb/"
                                     "tex/latex/gensymb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k4pkls5yp538s55mck65xm5l15mn6qjz89f0vd92iiljbd2b5z8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gensymb")
    (synopsis "Generic symbols for both text and math mode")
    (description
     "This package provides generic commands @code{\\degree}, @code{\\celsius},
@code{\\perthousand}, @code{\\micro} and @code{\\ohm}, which work both in text
and maths mode.  Various means are provided to fake the symbols or take them
from particular symbol fonts, if they are not available in the default fonts
used in the document.  This should be perfectly transparent at user level, so
that one can apply the same notation for units of measurement in text and math
mode and with arbitrary typefaces.

Note that the package has been designed to work in conjunction with
@file{units.sty}.")
    (license license:lppl1.3+)))

(define-public texlive-getfiledate
  (package
    (name "texlive-getfiledate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/getfiledate/"
                                     "tex/latex/getfiledate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m1fz3g2xxwballmka3qvc58wkgzbn9srvn3w4ij79pnffk89l6r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/getfiledate")
    (synopsis "Find the date of last modification of a file")
    (description
     "The package fetches from the system the date of last modification or opening
of an existing file, using the function @code{\\pdffilemoddate}; the user may
specify how the date is to be presented.")
    (license license:lppl)))

(define-public texlive-getitems
  (package
    (name "texlive-getitems")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/getitems/"
                                     "source/latex/getitems/"
                                     "tex/latex/getitems/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zwdb7hqfr0jzd2shz80wby2x8yqn74yw6im5qiiwgmmzrnvp48m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/getitems")
    (synopsis "Gathering items from a list-like environment")
    (description
     "This package provides a @code{\\gatheritems} command to parse a list of data
separated by @code{\\item} tokens.  This makes it easier to define custom
environments which structure their data in the same way that @code{itemize} or
@code{enumerate} do.")
    (license license:lppl1.3+)))

(define-public texlive-gindex
  (package
    (name "texlive-gindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gindex/" "makeindex/gindex/"
                                     "tex/latex/gindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15rk5wbh0xysri3zqd3l0a0z3hcj5fc7g6k3v3li093hfbrzm81q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gindex")
    (synopsis "Formatting indexes")
    (description
     "This package provides a way to generate the format of index entries from
within LaTeX.")
    (license license:expat)))

(define-public texlive-ginpenc
  (package
    (name "texlive-ginpenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ginpenc/" "source/latex/ginpenc/"
                                     "tex/latex/ginpenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15kqbgdngw19pnkl9vh94sbdq261lnbi522gxb5h4djsih9pp14p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ginpenc")
    (synopsis "Modification of @code{inputenc} for German")
    (description
     "If @code{inputenc} is used and German umlauts are input directly, they are
converted to the LICR representation such as @samp{\\\"a}.  This breaks the
sort algorithm of MakeIndex, for instance.  Ginpenc converts umlauts and the
sharp-s to the short forms defined by Babel, e.g., @samp{\"a} instead, if the
text is typeset in German.")
    (license license:lppl)))

(define-public texlive-gitfile-info
  (package
    (name "texlive-gitfile-info")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/gitfile-info/"
                                     "source/support/gitfile-info/"
                                     "tex/latex/gitfile-info/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05bfzaralkx3rvz63c2i29v49fp2ki5smwx5gya1lxzlhmv1krmv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gitfile-info")
    (synopsis "Get Git metadata for a specific file")
    (description
     "If you are using @command{git} to control versions of LaTeX files, you may
want to show yourself or other users or devs the current version of the file,
information about the author and last edited date.  All packages for Git known
make that kind of information available for the whole repository.  But
sometimes you have a lot of files within the same repository in different
versions, from different authors etc.  Perhaps you also split up a big project
in small files and want to show within the document who had edited what.  This
package gives you the opportunity to do so.")
    (license license:lppl1.3+)))

(define-public texlive-gitinfo
  (package
    (name "texlive-gitinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gitinfo/" "tex/latex/gitinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lchsz3800wzz9f4mxy60n2f5qnn78ia9z1hldhh59j5a18h2p1h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gitinfo")
    (synopsis
     "Access metadata from the Git distributed version control system")
    (description
     "The package makes it possible to incorporate git version control metadata
into documents.  For @code{memoir} users, the package provides the means to
tailor page headers and footers to use the metadata.

Note this version is now deprecated, but is kept on the archive, pro tem, for
continuity for existing users.  All new repositories should use
@code{gitinfo2}.")
    (license license:lppl1.3+)))

(define-public texlive-gitinfo2
  (package
    (name "texlive-gitinfo2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gitinfo2/" "tex/latex/gitinfo2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bbzxb4p4nh7hyrh1888srbh3w9ncyj09jsq0q5yfscn6gbx8gx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gitinfo2")
    (synopsis
     "Access metadata from the Git distributed version control system")
    (description
     "The package makes it possible to incorporate git version control metadata
into documents.  For @code{memoir} users, the package provides the means to
tailor page headers and footers to use the metadata.")
    (license license:lppl1.3+)))

(define-public texlive-gitlog
  (package
    (name "texlive-gitlog")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gitlog/" "tex/latex/gitlog/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fbr0jwiv9g9vifc55y17i36vmfgqlr27p17fg41mxcfcna4nxvs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gitlog")
    (synopsis "Typesetting @command{git} changelogs")
    (description
     "This package allows @command{git} change log history to be incorporated into
LaTeX documents; the log data is obtained from the Git distributed version
control system.")
    (license license:lppl1.3+)))

(define-public texlive-gitstatus
  (package
    (name "texlive-gitstatus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gitstatus/"
                                     "source/latex/gitstatus/"
                                     "tex/latex/gitstatus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01lcqm7r0a95bpfdvdv25dqxj9j0cnj1vihq54a9iqwd8hq196hb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gitstatus")
    (synopsis
     "Include Git information in the document as watermark or via variables")
    (description
     "If your LaTeX document is version-controlled with Git, you might encounter
situations, where you want to include some information of your Git repository
into your LaTeX document, e.g., to keep track on who gave you feedback on
which version of your document.  This Git information can be included on every
page by a watermark or (for custom needs) via provided variables.")
    (license license:lppl1.3+)))

(define-public texlive-gitver
  (package
    (name "texlive-gitver")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gitver/" "tex/latex/gitver/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z2amfxc59zdzhvqdqrxnjxr0qgymc384bnm6w0m00p2mhj5pbvy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gitver")
    (synopsis
     "Get the current Git hash of a project and typeset it in the document")
    (description
     "This package will get a description of the current Git version of the
document and store it in a command @code{\\gitVer}.  If @code{memoir} or
@code{fancyhdr} are in use, it will also add this to the document footers
unless the option @code{noheader} is passed.  The package also defines
a command @code{\\versionBox} which outputs a box containing the version and
date of compilation.")
    (license license:lppl1.3c)))

(define-public texlive-globalvals
  (package
    (name "texlive-globalvals")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/globalvals/"
                                     "tex/latex/globalvals/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wrkkxphwd7ka31ylr27b06854x221gadw2bijj1r18x2vl0n4xb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/globalvals")
    (synopsis "Declare global variables")
    (description
     "This package allows the user to declare a variable which can then be used
anywhere else in a document, including before it was declared.")
    (license license:lppl1.3c)))

(define-public texlive-gloss
  (package
    (name "texlive-gloss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/gloss/" "bibtex/bst/gloss/"
                                     "doc/latex/gloss/" "tex/latex/gloss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yma5l861lrl31v435mhmlbkvsp47bfyy8sg5wrf3s2bad89qix5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gloss")
    (synopsis "Create glossaries using BibTeX")
    (description
     "This package provides a glossary package using BibTeX with @code{\\cite}
replaced by @code{\\gloss}.")
    (license license:lppl)))

(define-public texlive-glossaries-danish
  (package
    (name "texlive-glossaries-danish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-danish/"
                                     "source/latex/glossaries-danish/"
                                     "tex/latex/glossaries-danish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z5b71k881qz0649hd9rr5n0cgm8yvckv7jxmk1kh0y6nd9i4k6l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-danish")
    (synopsis "Danish language module for @code{glossaries} package")
    (description
     "This package provides a Danish language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-dutch
  (package
    (name "texlive-glossaries-dutch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-dutch/"
                                     "source/latex/glossaries-dutch/"
                                     "tex/latex/glossaries-dutch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q6szswbbz2lkiknmvv53mxwvl0nrxrmbz5pw8ppgf2d13xs6c9f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-dutch")
    (synopsis "Dutch language module for @code{glossaries} package")
    (description
     "This package provides a Dutch language module for @code{glossaries} package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-english
  (package
    (name "texlive-glossaries-english")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-english/"
                                     "source/latex/glossaries-english/"
                                     "tex/latex/glossaries-english/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kj2h74ib9ngywmy2f7cq0w3qjjqlh29f285jpnd31awrcp8si5i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-english")
    (synopsis "English language module for @code{glossaries} package")
    (description
     "This package provides a English language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-estonian
  (package
    (name "texlive-glossaries-estonian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-estonian/"
                                     "source/latex/glossaries-estonian/"
                                     "tex/latex/glossaries-estonian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dkgzcj9ba0l0lvyg1kq8byw9r1lc6l13m0c4hiqcr73srpj7ms9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-estonian")
    (synopsis "Estonian language module for @code{glossaries} package")
    (description
     "This package provides the Estonian language module for the @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-extra
  (package
    (name "texlive-glossaries-extra")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/glossaries-extra/"
                                     "doc/latex/glossaries-extra/"
                                     "source/latex/glossaries-extra/"
                                     "tex/latex/glossaries-extra/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wngb88dqjjli6hfak9kinbw4bwqlw2342rfzznsnbypr2crpw44"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-extra")
    (synopsis "Extension to the @code{glossaries} package")
    (description
     "This package provides improvements and extra features to the
@code{glossaries} package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-finnish
  (package
    (name "texlive-glossaries-finnish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-finnish/"
                                     "source/latex/glossaries-finnish/"
                                     "tex/latex/glossaries-finnish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mk4x897s1kw0hiiaxxji53b4fx60f0r3x0a5z3fg9fy2pnm4f91"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-finnish")
    (synopsis "Finnish language module for @code{glossaries} package")
    (description
     "This package provides a Finnish language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-french
  (package
    (name "texlive-glossaries-french")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-french/"
                                     "source/latex/glossaries-french/"
                                     "tex/latex/glossaries-french/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q20vf43fbjbx3jq4w3d6jvk1z0rigdnl85bc6gwis7hxpj63ji9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-french")
    (synopsis "French language module for @code{glossaries} package")
    (description
     "This package provides a French language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-german
  (package
    (name "texlive-glossaries-german")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-german/"
                                     "source/latex/glossaries-german/"
                                     "tex/latex/glossaries-german/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yg9i4fdmxm67nrs5mpijx1vhvfiqzblhca94qylr5ylp8dwxhfc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-german")
    (synopsis "German language module for @code{glossaries} package")
    (description
     "This package provides a German language module for the @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-irish
  (package
    (name "texlive-glossaries-irish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-irish/"
                                     "source/latex/glossaries-irish/"
                                     "tex/latex/glossaries-irish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ks91d428h48kwqhqcflz4z1qx61fn85hi0sm8z35dwxg308h8jw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-irish")
    (synopsis "Irish language module for @code{glossaries} package")
    (description
     "This package provides an Irish language module for @code{glossaries} package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-italian
  (package
    (name "texlive-glossaries-italian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-italian/"
                                     "source/latex/glossaries-italian/"
                                     "tex/latex/glossaries-italian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z707spqm7i77f0p2vb576z7m2xbi84fk46sxp41if6hdq1ic30k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-italian")
    (synopsis "Italian language module for @code{glossaries} package")
    (description
     "This package provides an Italian language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-magyar
  (package
    (name "texlive-glossaries-magyar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-magyar/"
                                     "source/latex/glossaries-magyar/"
                                     "tex/latex/glossaries-magyar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lha8h8bl2wqw22jy7nznzh908pg4vwk3s4lsd7cnbpiv46c2g1i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-magyar")
    (synopsis "Magyar language module for @code{glossaries} package")
    (description
     "This package provides a Magyar language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-nynorsk
  (package
    (name "texlive-glossaries-nynorsk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-nynorsk/"
                                     "source/latex/glossaries-nynorsk/"
                                     "tex/latex/glossaries-nynorsk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17491x9pa8phvh6drp5yf6j5dcagx6qiymdhy6gs5j1jhczhpx21"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-nynorsk")
    (synopsis "Nynorsk language module for the glossaries package")
    (description
     "Norwegian Nynorsk language module for the glossaries package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-polish
  (package
    (name "texlive-glossaries-polish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-polish/"
                                     "source/latex/glossaries-polish/"
                                     "tex/latex/glossaries-polish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11m958cr2db908hmlcbkfn0jvnc6c5sgvjzc4aca0cf41ds77xl7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-polish")
    (synopsis "Polish language module for @code{glossaries} package")
    (description
     "This package provides a Polish language module for the @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-portuges
  (package
    (name "texlive-glossaries-portuges")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-portuges/"
                                     "source/latex/glossaries-portuges/"
                                     "tex/latex/glossaries-portuges/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r6a8g12dv99fgq6ky3w9z238q575i8z5nhciv6f8bwbjrw5q6sn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-portuges")
    (synopsis "Portuges language module for @code{glossaries} package")
    (description
     "This package provides a Portuges language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-serbian
  (package
    (name "texlive-glossaries-serbian")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-serbian/"
                                     "source/latex/glossaries-serbian/"
                                     "tex/latex/glossaries-serbian/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fa85pwxpk5yggic7dwfagprj0daklpznipli07hynxhwcp0nwna"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-serbian")
    (synopsis "Serbian language module for @code{glossaries} package")
    (description
     "This package provides a Serbian language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-slovene
  (package
    (name "texlive-glossaries-slovene")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-slovene/"
                                     "source/latex/glossaries-slovene/"
                                     "tex/latex/glossaries-slovene/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16lp6vgkdz49kjc2axzzpa43iv20xlnm1fg1jafyx8d600ys4szw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-slovene")
    (synopsis "Slovene language module for @code{glossaries} package")
    (description
     "This package provides a Slovene language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-glossaries-spanish
  (package
    (name "texlive-glossaries-spanish")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/glossaries-spanish/"
                                     "source/latex/glossaries-spanish/"
                                     "tex/latex/glossaries-spanish/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wdlm1h7si2fsrfi56pf9kv5wxa6yv1w47vafm0qlhkwbz4z5f7l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/glossaries-spanish")
    (synopsis "Spanish language module for @code{glossaries} package")
    (description
     "This package provides a Spanish language module for @code{glossaries}
package.")
    (license license:lppl1.3+)))

(define-public texlive-gmdoc
  (package
    (name "texlive-gmdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmdoc/" "makeindex/gmdoc/"
                                     "tex/latex/gmdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09rjn4jn217l0y84jvp8j66nkw1f0bhd7by6m9v5f5v2m7vv9wz5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmdoc")
    (synopsis "Documentation of LaTeX packages")
    (description
     "This package provides a LaTeX package and an example class for
documenting (La)TeX packages, document classes, @file{.dtx} etc., providing
hyperlinks.  The package is believed to be compatible with @code{doc} and
permits minimal markup of code.  The package provides automatic detection of
definitions (detecting such things as @code{\\def}, @code{\\newcommand},
@code{\\DeclareOption} etc.).")
    (license license:lppl)))

(define-public texlive-gmdoc-enhance
  (package
    (name "texlive-gmdoc-enhance")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmdoc-enhance/"
                                     "source/latex/gmdoc-enhance/"
                                     "tex/latex/gmdoc-enhance/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yw7nzadhq6175z69fss9y7ivjjinhffd197lpivdryxyc27kpwm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmdoc-enhance")
    (synopsis "Some enhancements to the @code{gmdoc} package")
    (description
     "This package provides some enhancements for the @code{gmdoc} package: nicer
formatting for multiple line inline comments, an ability to comment out some
code, and a macro to input other files in ``normal'' LaTeX mode.")
    (license license:lppl)))

(define-public texlive-gmiflink
  (package
    (name "texlive-gmiflink")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmiflink/" "tex/latex/gmiflink/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c84gnb946z45gn7vswp1fyjxzs1fm15g2w64qi7g257y7ycxi5q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmiflink")
    (synopsis "Simplify usage of @code{\\hypertarget} and @code{\\hyperlink}")
    (description
     "This package provides three @code{hyperref}-based macros that simplify usage
of @code{\\hypertarget} and @code{\\hyperlink}, calling them with one argument
instead of the same one twice.  Also @code{\\gmiflink} and @code{\\gmifref}
typeset plain text instead of generating an error or printing @samp{??}  if
there is no respective hypertarget or label.")
    (license license:lppl)))

(define-public texlive-gmutils
  (package
    (name "texlive-gmutils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmutils/" "tex/latex/gmutils/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qaxxhf75rm9jz8bpw1nwfay8vik6i366pqi2yksnplbsnnb46m5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmutils")
    (synopsis "Support macros for other packages")
    (description
     "This package provides miscellaneous macros used by others of the author's
packages.  The package includes: @code{\\newgif} and other globals;
@code{\\@@ifnextcat} and @code{\\@@ifXeTeX}; @code{\\(Re)storeMacro(s)} to
override redefinitions; @code{\\afterfi} and friends; commands from
@code{relsize}, etc.; ``almost an environment'' or redefinition of
@code{\\begin} (@code{\\begin*} doesn't check if the @code{argument}
environment is defined).")
    (license license:lppl)))

(define-public texlive-gmverb
  (package
    (name "texlive-gmverb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gmverb/" "tex/latex/gmverb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00paaf5s919bfr3g3znv9baa0lswm5aaxdzmp1fl2kr4rcgk8d3v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gmverb")
    (synopsis
     "Variant of LaTeX @code{\\verb}, @code{verbatim} and @code{shortvrb}")
    (description
     "This package provides a redefinition of @code{\\verb} and @code{verbatim} so
that long lines are breakable before @samp{\\} and after @samp{@{} with
@samp{%} as hyphen.  It allows you to define your own @code{verbatim}-like
environments (subject to a size limit) and allows you to declare any single
character as a shorthand as in the @code{\\MakeShortVerb} command of the
@code{shortvrb} package.")
    (license license:lppl)))

(define-public texlive-grabbox
  (package
    (name "texlive-grabbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grabbox/" "source/latex/grabbox/"
                                     "tex/latex/grabbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c1p9980nvxs182cyy56q11vcb0czrs2sa4bc0jgqvs4a25lpicj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grabbox")
    (synopsis "Read an argument into a box and execute the code afterwards")
    (description
     "The package provides the command @code{\\grabbox}, which grabs an argument
into a box and executes the code afterwards.")
    (license license:lppl1.3c)))

(define-public texlive-gradient-text
  (package
    (name "texlive-gradient-text")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gradient-text/"
                                     "tex/latex/gradient-text/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00gnv7gbs583mwviajlfpr0m748s1ysc9h7aig8bwhn8v1rrjxqw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gradient-text")
    (synopsis "Decorate text with linear gradient colors")
    (description
     "This package enables writers to conveniently decorate text with linear
gradient colors.  The RGB values of the first and the last character are
specified as parameters while the rest of the text is colored automatically.")
    (license license:lppl1.3c)))

(define-public texlive-grading-scheme
  (package
    (name "texlive-grading-scheme")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grading-scheme/"
                                     "source/latex/grading-scheme/"
                                     "tex/latex/grading-scheme/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1drxrhkqwg5pz1macxqs11jx06w0myiynqkamrvfzpww0jfij36i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grading-scheme")
    (synopsis "Typeset grading schemes in tabular format")
    (description
     "This package aims at an easy-to-use interface to typeset grading schemes in
tabular format, in particular grading-schemes of exercises of mathematical
olympiads where multiple solutions have to be graded and might offer mutual
exclusive ways of receiving points.")
    (license license:lppl1.3c)))

(define-public texlive-graphbox
  (package
    (name "texlive-graphbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphbox/"
                                     "source/latex/graphbox/"
                                     "tex/latex/graphbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s5zgfc6c0sanqsc2ww4fr5iphs9zg6388dr5l0x00bwks1579l6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphbox")
    (synopsis "Extend graphicx to improve placement of graphics")
    (description
     "Graphbox is an extension of the standard @code{graphicx} LaTeX2e package to
allow the placement of graphics relative to the ``current position'' using
additional optional arguments of @code{\\includegraphics}.  For example,
changing the vertical alignment is convenient for using graphics as elements
of (mathematical) formulae.  Options for shifting, smashing and hiding the
graphics may be useful in support, for example, of the Beamer framework.")
    (license license:lppl1.3+)))

(define-public texlive-graphicscache
  (package
    (name "texlive-graphicscache")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphicscache/"
                                     "source/latex/graphicscache/"
                                     "tex/latex/graphicscache/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wi1ls3x934f6nifa25rcxl2jicihvgfh3sn5mjiwb15pxv2hmpd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphicscache")
    (synopsis "Cache @code{\\includegraphics} calls")
    (description
     "This LaTeX package provides caching of @code{\\includegraphics} calls,
therefore recompilations are much faster.  Also, images can be post-processed
with Ghostscript before inclusion, with the following consequences:

@itemize

@item automatic downscaling to specified DPI;

@item automatic JPEG compression with configurable quality;

@item much smaller files.

@end itemize

@code{graphicscache} supports pdfLaTeX and LuaLaTeX; XeLaTeX is not
supported.")
    (license license:bsd-3)))

(define-public texlive-graphicx-psmin
  (package
    (name "texlive-graphicx-psmin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphicx-psmin/"
                                     "source/latex/graphicx-psmin/"
                                     "tex/latex/graphicx-psmin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vppjv24cwnizg96pyhj68g2wx8dd4193c6bm2k4visqwpnwh95p"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-footmisc
                  texlive-fourier
                  texlive-hypdoc
                  texlive-listings
                  texlive-pgf
                  texlive-pst-text
                  texlive-pstricks
                  texlive-xcolor
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/graphicx-psmin")
    (synopsis "Reduce size of PostScript files by not repeating images")
    (description
     "The package is an extension of the standard @code{graphics} bundle and
provides a way to include repeated PostScript graphics (PS, EPS) only once in
a PostScript document.  This leads to smaller PostScript documents when
having, for instance, a logo on every page.  The package only works when
post-processed with Dvips.")
    (license license:lppl)))

(define-public texlive-graphicxbox
  (package
    (name "texlive-graphicxbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphicxbox/"
                                     "source/latex/graphicxbox/"
                                     "tex/latex/graphicxbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qamnhnr06qa24g7vlrhzr92p00zz82in4jk64al0dahv18rpnkc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphicxbox")
    (synopsis "Insert a graphical image as a background")
    (description
     "The package defines two new commands @code{\\graphicxbox} and
@code{\\fgraphicxbox}, which are companions to @code{\\colorbox} and
@code{\\fcolorbox} of the standard LaTeX @code{color} package.  The
@code{\\graphicxbox} command inserts a graphical image as a background rather
than a background color, while @code{\\fgraphicxbox} does the same thing, but
also draws a colored frame around the box.")
    (license license:lppl)))

(define-public texlive-graphpaper
  (package
    (name "texlive-graphpaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/graphpaper/"
                                     "source/latex/graphpaper/"
                                     "tex/latex/graphpaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vi9fhgczi9g0i8wvvd8q4kh558nlnww5y6bvihsajs65p44h638"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/graphpaper")
    (synopsis "LaTeX class to generate several types of graph papers")
    (description
     "Graphpaper is a LaTeX document class which allows to print several types of
graph papers: bilinear (millimeter paper), semilogarithmic, bilogarithmic,
polar, log-polar, Smith charts.  It is based on the @code{picture} environment
and its extensions.")
    (license license:lppl1.3c)))

(define-public texlive-grayhints
  (package
    (name "texlive-grayhints")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grayhints/"
                                     "source/latex/grayhints/"
                                     "tex/latex/grayhints/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vgdqapcy0iahm7yh5cwlzmq9pq6ra763lgc9rc7sw5s25j1wzvx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grayhints")
    (synopsis "Produce gray hints to a variable text field")
    (description
     "The package provides JavaScript code snippets to create gray hints.
Gray hints, as the author terms them, are text that appears initially in
a text field that gives a short hint as to what the contents of the text field
should be.  For example, a text field might contain the hint @samp{First
Name}, or a date field might read @samp{yyyy/mm/dd}.  As soon as the field
comes into focus, the hint disappears.  It reappears when the field is blurred
and the user did not enter any text into the field.  The package works for
Dvips/Distiller, pdfLaTeX, LuaLaTeX, and XeLaTeX.")
    (license license:lppl1.2+)))

(define-public texlive-grfpaste
  (package
    (name "texlive-grfpaste")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grfpaste/" "tex/latex/grfpaste/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fkf8vxaznqmdqjwdixxs56cwi4pdrzqb7rcn09kaq6dhj3a79kl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grfpaste")
    (synopsis "Include fragments of a DVI file")
    (description
     "This package provides a mechanism to include fragments of DVI files with the
@code{graphicx} package, so that you can use @code{\\includegraphics} to
include DVI files.  The package requires the @command{dvipaste} program.")
    (license license:lppl)))

(define-public texlive-grid
  (package
    (name "texlive-grid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grid/" "source/latex/grid/"
                                     "tex/latex/grid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gli4izscbk4mvgsr4v9vvf8pbsd56sqa261944jy1smiyni7nwc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grid")
    (synopsis "Grid typesetting in LaTeX")
    (description
     "The package helps to enables grid typesetting in double column documents.
Grid typesetting (vertical aligning of lines of text in adjacent columns) is
a difficult task in LaTeX, and the present package is no more than an attempt
to help users to achieve it in a limited way.")
    (license license:lppl)))

(define-public texlive-grid-system
  (package
    (name "texlive-grid-system")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/grid-system/"
                                     "tex/latex/grid-system/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07sald7i8i5vl1ibw3an3kxxk4rhjnnrgi6c571x9xjwz5qvqbnw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/grid-system")
    (synopsis "Page organisation, modelled on CSS facilities")
    (description
     "The package provides the means for LaTeX to implement a grid system as known
from CSS grid systems.  The facility is useful for creating box layouts as
used in brochures.")
    (license license:asl2.0)))

(define-public texlive-gridpapers
  (package
    (name "texlive-gridpapers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gridpapers/"
                                     "source/latex/gridpapers/"
                                     "tex/latex/gridpapers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0csc8dzgvc36p1c5gcfg0k6s5812vq4vpzjm3ybaph9y8cy0vd64"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gridpapers")
    (synopsis "Graph paper backgrounds and color schemes")
    (description
     "This package provides many preset yet customizable graph paper backgrounds.
Some of the preset patterns include standard quadrille or graph pattern, dot
grid, hexagons, isometric or triangular grid, squares with 45deg ``light
cone'' lines, ruled, and more.  Pattern sizes can be controlled via package
options.  There are several preset color palletes, and colors can be
overridden.")
    (license license:lppl1.3+)))

(define-public texlive-gridset
  (package
    (name "texlive-gridset")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gridset/" "source/latex/gridset/"
                                     "tex/latex/gridset/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r1hkkgr0f4r2j1h68ljnlza1zag4jm3jzkb5zk6ga393xcn056c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gridset")
    (synopsis "Grid, a.k.a.@: in-register, setting")
    (description
     "Grid setting --- also known as strict in-register setting --- is something,
that should be done for a lot of documents but is not easy using LaTeX.  The
package helps to get the information needed for grid setting.  It does not
implement auto grid setting, but there is a command @code{\\vskipnextgrid},
that moves to the next grid position.  This may be enough under some
circumstances, but in other circumstances it may fail.  Thus gridset is only
one more step for grid setting, not a complete solution.")
    (license license:lppl1.3c)))

(define-public texlive-gridslides
  (package
    (name "texlive-gridslides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gridslides/"
                                     "tex/latex/gridslides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bnv9sgl7gxa8j92b04x30v3wkwgfg7nz9f8jkr1qk7rk215igmn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gridslides")
    (synopsis "Free form slides with blocks placed on a grid")
    (description
     "This package allows creating free form slides with blocks placed on a grid.
The blocks can be filled with text, equations, figures etc.  The resulting
slides are similar to the ones produced with LaTeX beamer, but more flexible.
Sequential unconvering of elements is supported.  A compiler script is
provided which compiles each slide separately, this way avoiding long compile
times.")
    (license (list license:lppl1.3+ license:gpl2))))

(define-public texlive-gs1
  (package
    (name "texlive-gs1")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/gs1/" "source/latex/gs1/"
                                     "tex/latex/gs1/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r8lqj5gd349b1blgqq6c5v9mm7s9h6jb131fij1mmm7vrnr1vrc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/gs1")
    (synopsis "Typeset EAN barcodes using TeX rules, only")
    (description
     "The (LaTeX3) package typesets EAN-8 and EAN-13 barcodes, using the facilities
of the @code{rule-D} package.")
    (license license:lppl1.3c)))

(define-public texlive-xcomment
  (package
    (name "texlive-xcomment")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/xcomment/"
                                     "tex/generic/xcomment/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fkk619drqvadm7ixdbn2hrfnjddqylwpnqv383g0b4jjnl5x7p4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcomment")
    (synopsis "Allows selected environments to be included/excluded")
    (description
     "The package defines an environment that only typesets specified environments
within its scope.  So, for example, if you want nothing but the @code{figure}
and @code{table} environments in your document, you can enclose the whole
document with an @code{xcomment} environment that excludes everything but
those.  This is a lot easier than excluding the chunks of text between the
environments you want, or creating an entire document containing only those
environments.")
    (license license:lppl)))

(define-public texlive-ha-prosper
  (package
    (name "texlive-ha-prosper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ha-prosper/"
                                     "source/latex/ha-prosper/"
                                     "tex/latex/ha-prosper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xszyc03vf7h160gxqfd8yfs4aya7s17av4ylf9nc6abbvwipapk"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-eepic
                  texlive-etoolbox
                  texlive-hypdoc
                  texlive-pgf
                  texlive-pst-3d
                  texlive-pst-node
                  texlive-pstricks
                  texlive-xcolor
                  texlive-xcomment
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/ha-prosper")
    (synopsis "Patches and improvements for Prosper")
    (description
     "HA-prosper is a patch for Prosper that adds new functionality to Prosper
based presentations.  Among the new features you will find automatic
generation of a table of contents on each slide, support for notes and
portrait slides.  The available styles demonstrate how to expand the
functionality of Prosper even further.")
    (license license:lppl)))

(define-public texlive-hackthefootline
  (package
    (name "texlive-hackthefootline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hackthefootline/"
                                     "tex/latex/hackthefootline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0896maf9g2hmahfgp06aw3ibfy4az4bkvdypdp55padzy6qng9rn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hackthefootline")
    (synopsis
     "Footline selection and configuration for LaTeX Beamer's standard themes")
    (description
     "This package is taking over, defining and redefining different footlines.
Configuration is provided via using key-value syntax.")
    (license license:lppl1.3c)))

(define-public texlive-handin
  (package
    (name "texlive-handin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/handin/" "tex/latex/handin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xxh7419yv2rfzpl9z28dxpb1jvfxdyap1zc3i32y1fl1c7n2naq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/handin")
    (synopsis
     "Light weight template for creating school submissions using LaTeX")
    (description
     "This package is for students creating school submissions using LaTeX.  It is
especially suitable for math, physics, statistics and the like.  It can easily
be used for creating exercises, too.")
    (license license:lppl1.3c)))

(define-public texlive-handout
  (package
    (name "texlive-handout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/handout/" "tex/latex/handout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08jmgzfrb17b6kv4d6na7i0a9amapgf5bhs29b8ajh46rdijckym"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/handout")
    (synopsis "Create handout for auditors of a talk")
    (description
     "In some fields of scholarship, a beamer does not offer good support when
giving a talk in a proceeding.  For example, in classical philology, the main
sources are text, and it will be better to distribute a handout to the
audience with extracts of the texts about which we will talk.  The package
supports preparation of such handouts when writing the talk.")
    (license license:lppl1.3+)))

(define-public texlive-handoutwithnotes
  (package
    (name "texlive-handoutwithnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/handoutwithnotes/"
                                     "source/latex/handoutwithnotes/"
                                     "tex/latex/handoutwithnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qb1av9f95wlnpmc33j497mvpzqy3w62mrvqnj4qnyhfdsas3ik2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/handoutwithnotes")
    (synopsis "Create handouts with notes from your LaTeX Beamer presentation")
    (description
     "This package provides @code{pgfpages} layouts to place notes next to the
scaled slides.")
    (license license:lppl1.3c)))

(define-public texlive-hang
  (package
    (name "texlive-hang")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hang/" "tex/latex/hang/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19b7sff10b1w2acnrp3kgg6wpspw29qqphrdxj805s88wmf3vv57"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hang")
    (synopsis "Environments for hanging paragraphs and list items")
    (description
     "This package provides environments for hanging paragraphs and list items.  In
addition, it defines environments for labeled paragraphs and list items.")
    (license license:lppl1.3+)))

(define-public texlive-harnon-cv
  (package
    (name "texlive-harnon-cv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/harnon-cv/"
                                     "tex/latex/harnon-cv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "142f1rzj4nfplpag7rcphyd7wlvmav01n516z458gdiby9vxm390"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harnon-cv")
    (synopsis "CV document class with a vertical timeline for experience")
    (description
     "The class offers another modern, neat, design, and provides a simple means of
adding an experience timeline'.")
    (license license:public-domain)))

(define-public texlive-harpoon
  (package
    (name "texlive-harpoon")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/harpoon/" "tex/latex/harpoon/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "163457fhnpc11r2r3lvf4zfcqdvjrahwgjfxl3xa7zhhdx9ai4v7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/harpoon")
    (synopsis "Extra harpoons, using the @code{graphics} package")
    (description
     "This package provides over- and under-harpoon symbol commands; the harpoons
may point in either direction, with the hook pointing up or down.  The covered
object is provided as an argument to the commands, so that they have the look
of accent commands.")
    (license license:public-domain)))

(define-public texlive-hc
  (package
    (name "texlive-hc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/hc/" "doc/latex/hc/"
                                     "source/latex/hc/" "tex/latex/hc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14f794rn7qzrb4g5l4k3chp7r66dg7nyn25byis8hjca0rbd0gcs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hc")
    (synopsis "Replacement for the LaTeX classes")
    (description
     "This package provides a set of replacements for the default LaTeX classes,
based upon the Koma-Script bundle and the @code{seminar} class.  It includes
@code{hcart}, @code{hcreport}, @code{hcletter}, and @code{hcslides}.")
    (license license:gpl2+)))

(define-public texlive-he-she
  (package
    (name "texlive-he-she")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/he-she/" "tex/latex/he-she/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13vkrg4a4czq2l1ngn1y4sc6pa1dljzr4qzh8kgsbdnf48s38nrm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/he-she")
    (synopsis "Alternating pronouns to aid gender-neutral writing")
    (description
     "The package implements a version of semi-automatic pronoun switching for
writing gender-neutral (and possibly annoying) prose.  It has upper- and
lowercase versions of switching pronouns for all case forms, plus anaphoric
versions that reflect the current gender choice.")
    (license license:lppl1.3+)))

(define-public texlive-hep-acronym
  (package
    (name "texlive-hep-acronym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-acronym/"
                                     "source/latex/hep-acronym/"
                                     "tex/latex/hep-acronym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hf1ldbbqn6a096fc2wdfl6jn1bihw0nb278309px3lzrhkzcri7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-acronym")
    (synopsis "@code{acronym} extension for glossaries")
    (description
     "The hep-acronym package provides an @code{\\acronym} macro based on the
@code{glossaries} package.")
    (license license:lppl1.3c)))

(define-public texlive-hep-float
  (package
    (name "texlive-hep-float")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-float/"
                                     "source/latex/hep-float/"
                                     "tex/latex/hep-float/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16b6cwjinm4abk8vak9q87axx92l2hcqrk4k95wjdybx6si9mg52"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-float")
    (synopsis "Convenience package for float placement")
    (description
     "The @code{hep-float} package redefines some LaTeX float placement defaults
and defines convenience wrappers for floats.")
    (license license:lppl1.3c)))

(define-public texlive-hep-math
  (package
    (name "texlive-hep-math")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-math/"
                                     "source/latex/hep-math/"
                                     "tex/latex/hep-math/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08idp6pc1gqsrbwqlmgxc5k4sljasbrnj5jz48b5hh0xka567ifs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-math")
    (synopsis "Extended math macros")
    (description
     "The @code{hep-math} package provides some additional features beyond the
@code{mathtools} and @code{amsmath} packages.")
    (license license:lppl1.3c)))

(define-public texlive-hep-text
  (package
    (name "texlive-hep-text")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-text/"
                                     "source/latex/hep-text/"
                                     "tex/latex/hep-text/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qwwgh6bdvglnk5kxz4jsknx5gwdmqpnmlwxz6nk9ks6pvb72yxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-text")
    (synopsis "List and text extensions")
    (description
     "The @code{hep-text} package extends LaTeX lists using the @code{enumitem}
package and provides some text macros.")
    (license license:lppl1.3c)))

(define-public texlive-hep-title
  (package
    (name "texlive-hep-title")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hep-title/"
                                     "source/latex/hep-title/"
                                     "tex/latex/hep-title/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s634x8f233qnc1ib8kl2n0srnlj96vgfkbsx0i08nwaa9xzl6sw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hep-title")
    (synopsis "Extensions for the title page")
    (description
     "The hep-title package extends the title macros of the standard classes with
macros for a preprint, affiliation, editors, and endorsers.")
    (license license:lppl1.3c)))

(define-public texlive-hereapplies
  (package
    (name "texlive-hereapplies")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hereapplies/"
                                     "tex/latex/hereapplies/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gw9lqvkqpplzvr5m93y4qngyf51hcpaq8b7a154nsym39kdn8c3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hereapplies")
    (synopsis "Reference groups of pages that share something in common")
    (description
     "Here Applies is a LaTeX package that allows to collect groups of labels and
reference them altogether.  It can be used for creating informal glossaries
that cross-link concepts to their applications, or simply mentioning multiple
pages that share something in common.")
    (license license:gpl3+)))

(define-public texlive-hhtensor
  (package
    (name "texlive-hhtensor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hhtensor/"
                                     "source/latex/hhtensor/"
                                     "tex/latex/hhtensor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ghqfyhq5467jc506j0wa0nlxxrlm28mx1wp963rgqkynzlflv4j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hhtensor")
    (synopsis "Print vectors, matrices, and tensors")
    (description
     "This package provides commands for vectors, matrices, and tensors with
different styles --- arrows (as the LaTeX default), underlined, and bold.")
    (license license:lppl)))

(define-public texlive-hideanswer
  (package
    (name "texlive-hideanswer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hideanswer/"
                                     "tex/latex/hideanswer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1difjhxs4nssis3gjgq809h26zppk0cda40mnm8ry9fc0ij362if"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hideanswer")
    (synopsis
     "Generate documents with and without answers by toggling a switch")
    (description
     "This package can generate documents with and without answers from a single
file by toggling a switch.  However, it can only be used to create documents
to be printed on paper.")
    (license license:expat)))

(define-public texlive-highlightlatex
  (package
    (name "texlive-highlightlatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/highlightlatex/"
                                     "tex/latex/highlightlatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "078gfncpx7nxwz2xxhdb1a294bwmf3rh9rcqp664c5aj2q7ynvz0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/highlightlatex")
    (synopsis "Syntax highlighting for LaTeX")
    (description
     "This package provides extensive colored syntax highlighting for LaTeX.
For this purpose it builds on the generic @code{listings} package.")
    (license license:expat)))

(define-public texlive-histogr
  (package
    (name "texlive-histogr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/histogr/" "source/latex/histogr/"
                                     "tex/latex/histogr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1flg3r64zlwxhkxr4np7p5nzsfshyy4bzxspqpkzz08lvj8q7imz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/histogr")
    (synopsis "Draw histograms with the LaTeX @code{picture} environment")
    (description
     "This is a collection of macros to draw histogram bars inside a LaTeX
@code{picture} environment.")
    (license license:lppl1.3+)))

(define-public texlive-hitec
  (package
    (name "texlive-hitec")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hitec/" "tex/latex/hitec/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16c5jk7950nl1b6qa67as8iscm9nk8nlcq6v4c7ib8zm9qf68z29"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hitec")
    (synopsis "Class for documentation")
    (description
     "This package provides an article-based class designed for use for
documentation in high-technology companies.")
    (license license:lppl)))

(define-public texlive-hitreport
  (package
    (name "texlive-hitreport")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hitreport/"
                                     "source/latex/hitreport/"
                                     "tex/latex/hitreport/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sn4xa1y4i71qxw42w6q2l9z3039k2n57b05sfawmy656yjcvqpz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hitreport")
    (synopsis "Harbin Institute of Technology Report LaTeX template")
    (description
     "This package provides an assignment and experiment report template free of
configuration designed for undergraduates on the three campuses of Harbin
Institute of Technology.")
    (license license:lppl1.3c)))

(define-public texlive-hletter
  (package
    (name "texlive-hletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hletter/" "tex/latex/hletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dlin6p96w01bwc8jdbajjj1rhrsq27fnjmap1ry4sa7y62gaqxm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hletter")
    (synopsis "Flexible letter typesetting with flexible page headings")
    (description
     "The package permits the user to specify easily, with the aid of self defined
key-words, letters (with a logo and private) and headings.  The heading may
include a footer and the letter provides commands to include a scanned
signature and two signees.")
    (license license:lppl1.2+)))

(define-public texlive-hobsub
  (package
    (name "texlive-hobsub")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hobsub/" "tex/latex/hobsub/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cc5m4kqlx3m0qyjgxrbhgib2qza7a25vrp9rb8b8mpc5n5ycpn8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hobsub")
    (synopsis "Construct package bundles")
    (description
     "Heiko Oberdiek's @code{hobsub} package (and @code{hobsub-hyperref} and
@code{hobsub-generic} packages) defined a mechanism for concatenating multiple
files into a single file for faster loading.  The disadvantage is that it
introduces hard dependencies between the source files that are included and
complicates distribution and updates.  It was principally used with
@code{hyperref} but is not currently used in any standard packages in TeX
Live.  The packages are still distributed as simple stubs that reference the
included packages via @code{\\RequirePackage} rather than copying their
source.")
    (license license:lppl1.3c)))

(define-public texlive-hpsdiss
  (package
    (name "texlive-hpsdiss")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hpsdiss/" "source/latex/hpsdiss/"
                                     "tex/latex/hpsdiss/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15md2rk5bimgy7fjsiq9jvgg18i4ajnrljpzyvy0cc7rfla1myks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hpsdiss")
    (synopsis "Dissertation class")
    (description
     "The class was developed to typeset a dissertation at ETH Zurich.  The
requirements were to use A5 paper and 10pt type.")
    (license license:gpl3+)))

(define-public texlive-href-ul
  (package
    (name "texlive-href-ul")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/href-ul/" "source/latex/href-ul/"
                                     "tex/latex/href-ul/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01sav2158ipgkkfadmc3j3sbfly4hliizvpj3flb5m644zhcx1y3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-hyperref texlive-ulem))
    (home-page "https://ctan.org/pkg/href-ul")
    (synopsis "Underscored LaTeX hyperlinks")
    (description
     "This LaTeX package makes hyperlinks underscored, just like on the web.")
    (license license:expat)))

(define-public texlive-hrefhide
  (package
    (name "texlive-hrefhide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hrefhide/"
                                     "source/latex/hrefhide/"
                                     "tex/latex/hrefhide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1smbklq7cyjzvd2kryv97kwvyh2alpd6gn2j6pbj6v9bcsyc3lmx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hrefhide")
    (synopsis "Suppress hyper links when printing")
    (description
     "This package provides the command @code{\\hrefdisplayonly} (additionally to
@code{\\href} provided by the @code{hyperref} package).  While
the (hyperlinked) text appears like an ordinary @code{\\href} in the compiled
PDF file, the same text will be hidden when printing the text.  Hiding is
actually achieved by making the text the same colour as the background, thus
preserving the layout of the rest of the text.

Further, the commands @code{\\hycon} and @code{\\hycoff} can be used to
simulate switching option @code{ocgcolorlinks} of the @code{hyperref} package
on and off.  This package is possibly obsolete.")
    (license license:lppl1.3+)))

(define-public texlive-huawei
  (package
    (name "texlive-huawei")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/huawei/" "source/latex/huawei/"
                                     "tex/latex/huawei/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05g75hs6j0fw95a12mjvzfdam7xs7n00d8cbm6rz7s2ln3nhf52r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-anyfontsize
           texlive-biblatex
           texlive-caption
           texlive-catchfile
           texlive-changepage
           texlive-currfile
           texlive-datetime
           texlive-enumitem
           texlive-environ
           texlive-fancyhdr
           texlive-ffcode
           texlive-filehook
           texlive-fmtcount
           texlive-fontsize
           texlive-footmisc
           texlive-geometry
           texlive-hyperref
           texlive-lastpage
           texlive-libertine
           texlive-listings
           texlive-listingsutf8
           texlive-makecell
           texlive-microtype
           texlive-pagecolor
           texlive-paralist
           texlive-pdfcol
           texlive-pgf
           texlive-pgfopts
           texlive-ragged2e
           texlive-setspace
           texlive-svg
           texlive-tcolorbox
           texlive-textpos
           texlive-tikzfill
           texlive-titling
           texlive-transparent
           texlive-trimspaces
           texlive-wrapfig
           texlive-xcolor))
    (home-page "https://ctan.org/pkg/huawei")
    (synopsis "Template for Huawei documents")
    (description
     "This unofficial package provides a class for creating documents for people
working with Huawei Technologies Co., Ltd.")
    (license license:expat)))

(define-public texlive-hvextern
  (package
    (name "texlive-hvextern")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvextern/" "tex/latex/hvextern/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cw8gpfxljc53p4nxb13rzdqhxc7qss16968qcnqdxjc76ikxqmc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvextern")
    (synopsis "Write and execute external code, and insert the output")
    (description
     "This package allows to write MetaPost, TeX, ConTeXt, LaTeX, LuaTeX,
LuaLaTeX, XeTeX, XeLaTeX, Lua, Perl, or Python source code into an external
file, run that file via shell escape to create PDF, PNG, or text output, and
include that output automatically into the main LaTeX document.")
    (license license:lppl1.3c)))

(define-public texlive-hvindex
  (package
    (name "texlive-hvindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvindex/" "tex/latex/hvindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vy5x6ws4kq68g6k9bprxnhk41w63v035ippsc3wq2mfp6s29hif"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvindex")
    (synopsis "Support for indexing")
    (description
     "The package simplifies the indexing of words using the @code{\\index} command
of @code{makeidx}.  With the package, to index a word in a text, you only have
to type it once; the package makes sure it is both typeset and indexed.")
    (license license:lppl)))

(define-public texlive-hvlogos
  (package
    (name "texlive-hvlogos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvlogos/" "tex/latex/hvlogos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15qsh73dpxw8ifkp3fxq0fqn1p23w7n1icxxa3505a8mf6ga1aba"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvlogos")
    (synopsis "Print TeX-related names as logo")
    (description
     "This package is more or less an extension to Heiko Oberdiek's package
@code{hologo}.  It prints TeX-related names as logos.")
    (license license:lppl)))

(define-public texlive-hvpygmentex
  (package
    (name "texlive-hvpygmentex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvpygmentex/"
                                     "tex/latex/hvpygmentex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i63wq2bshswxg0ccxn18bqcs1v79wziazihs2bg6jcs4ns12y40"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvpygmentex")
    (synopsis "Syntax-highlighting of program code")
    (description
     "The package is based on @code{pygmentex} but provides an automatic run from
within the document itself, with the option @code{--shell-escape}.  It does
not need the additional action by the user to run the external program
pygmentize to create the code snippets.")
    (license license:lppl1.3c)))

(define-public texlive-hvqrurl
  (package
    (name "texlive-hvqrurl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hvqrurl/" "tex/latex/hvqrurl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "037ylh723l8zvi1lz6idfr1sjx270wwfm2qiswy7iwsmzail2xb7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hvqrurl")
    (synopsis "Insert a QR code in the margin")
    (description
     "This package allows to draw an URL as a QR code into the margin of a one- or
two-sided document.")
    (license license:lppl1.3+)))

(define-public texlive-hwemoji
  (package
    (name "texlive-hwemoji")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hwemoji/" "tex/latex/hwemoji/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k0w0y2qm8a4pflsyv5fmw9yrm19zgic041w6si7aaz6k6mvjcvh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hwemoji")
    (synopsis "Unicode emoji support for pdfLaTeX with sequences")
    (description
     "This package provides direct support for Unicode emoji in pdfLaTeX, with full
access to emoji sequences including but not limited to flag sequences,
diversity modifier sequences, and tag sequences.")
    (license (list license:lppl1.3c license:cc-by4.0))))

(define-public texlive-hypdestopt
  (package
    (name "texlive-hypdestopt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hypdestopt/"
                                     "tex/latex/hypdestopt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pzzgjdwxz7hxhkwc663dbqp0kc831353yrzsm8av1qcnl3mmrk9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hypdestopt")
    (synopsis "@code{hyperref} destination optimizer")
    (description
     "This package supports @code{hyperref}'s pdfTeX driver.  It removes
unnecessary destinations and shortens the destination names or uses numbered
destinations to get smaller PDF files.")
    (license license:lppl1.3+)))

(define-public texlive-hypdvips
  (package
    (name "texlive-hypdvips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hypdvips/" "tex/latex/hypdvips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03zpciwfzcp7mrr7mq60i0fwx10spgvyc5hjz490k0p2ha95l8i6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hypdvips")
    (synopsis "@code{hyperref} extensions for use with Dvips")
    (description
     "The @code{hypdvips} package fixes some problems when using @code{hyperref}
with Dvips.  It also adds support for breaking links, file attachments,
embedded documents and different types of GoTo-links.  The cooperation of
@code{hyperref} with @code{cleveref} is improved, which in addition allows an
enhanced back-referencing system.")
    (license license:lppl1.3+)))

(define-public texlive-hyper
  (package
    (name "texlive-hyper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hyper/" "source/latex/hyper/"
                                     "tex/latex/hyper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z01dlbsjdppvfjgggnla1l7v9a0l3zy2j8fa56g757jcidi1s1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hyper")
    (synopsis "Hypertext cross referencing")
    (description
     "This package redefines LaTeX cross-referencing commands to insert
@code{\\special} commands for HyperTeX DVI viewers, such as recent versions of
@command{xdvi}.  The package is now largely superseded by @code{hyperref}.")
    (license license:lppl)))

(define-public texlive-hyperbar
  (package
    (name "texlive-hyperbar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hyperbar/"
                                     "source/latex/hyperbar/"
                                     "tex/latex/hyperbar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v059dqmjfp0bv4b3w7bd99z7b5cip4zrr2qll4fw9fq4w36gxzy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hyperbar")
    (synopsis "Add interactive barcode fields to PDF forms")
    (description
     "The package extends the hyperref functionality for creating interactive forms
to allow adding Barcode form fields supported by some modern PDF readers.
Currently, only pdfTeX is supported.")
    (license license:lppl1.3c)))

(define-public texlive-hypernat
  (package
    (name "texlive-hypernat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/hypernat/" "tex/latex/hypernat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16kdllcc7ab9hy5d3gnacxha4kkn20x7v1j7j30flg2vrgfphvmf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/hypernat")
    (synopsis "Allow @code{hyperref} and @code{natbib} to work together")
    (description
     "This package allows @code{hyperref} package and the @code{natbib} package
with options @code{numbers} and @code{sort&compress} to work together.  This
means that multiple sequential citations, e.g., @samp{[3,2,1]}, will be
compressed to @samp{[1-3]}, where the @samp{1} and the @samp{3} are
(color-)linked to the bibliography.")
    (license license:gpl3+)))

(define-public texlive-identkey
  (package
    (name "texlive-identkey")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/identkey/" "tex/latex/identkey/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h9am5zwjmpy8wrszldiwfwqx2z310s7mv3mnk4ra2hhllkpdvgy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/identkey")
    (synopsis "Typesetting bracketed dichotomous identification keys")
    (description
     "The package is for typesetting bracketed dichotomous identification keys.")
    (license license:gpl3)))

(define-public texlive-idxcmds
  (package
    (name "texlive-idxcmds")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/idxcmds/" "tex/latex/idxcmds/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i4jb86dlawqc4nxwrz5h3wc5h1mp0zav2f349f83hhf5gaf6y5x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/idxcmds")
    (synopsis "Semantic commands for adding formatted index entries")
    (description
     "The package provides commands for adding formatted index entries.")
    (license license:lppl1.3+)))

(define-public texlive-idxlayout
  (package
    (name "texlive-idxlayout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/idxlayout/"
                                     "source/latex/idxlayout/"
                                     "tex/latex/idxlayout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d3ir3rqyr62db82mad09z2xpyyczflrgkjgnkgj45ahd0mhdplr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/idxlayout")
    (synopsis
     "Configurable index layout, responsive to KOMA-Script and @code{memoir}")
    (description
     "The @code{idxlayout} package offers a key-value interface to configure index
layout parameters, e.g. allowing for three-column indexes or for parent items
and their affiliated subitems being typeset as a single paragraph.  The
package is responsive to the index-related options and commands of the
KOMA-Script and @code{memoir} classes.")
    (license license:lppl)))

(define-public texlive-ifallfalse
  (package
    (name "texlive-ifallfalse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifallfalse/"
                                     "source/latex/ifallfalse/"
                                     "tex/latex/ifallfalse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0alv6y4pphbsz04hqj51gsh99xnn38srx6hz9y96gvkq0v66bx1d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifallfalse")
    (synopsis "Compare a string against a set of other strings")
    (description
     "This package allows you to check whether a string is contained within another
set of strings, and perform an action if it is not.  This is done by using the
@code{allfalse} environment and passing in a string and an action to be
performed if the string is not contained in the set.  Then, passing in
a string to the @code{\\orcheck} macro inside the respective @code{allfalse}
environment adds that to the set of strings.  This package does not work with
the LuaTeX engine.")
    (license license:lppl1.3+)))

(define-public texlive-iffont
  (package
    (name "texlive-iffont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iffont/" "source/latex/iffont/"
                                     "tex/latex/iffont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l18ggmcp87r22d99vnnpfb5iaahplylm0gm70hschr71nkl7bgz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iffont")
    (synopsis "Conditionally load fonts with @code{fontspec}")
    (description
     "This package provides a macro to select the first font XeLaTeX or LuaTeX can
find in a comma separated list and, additionally, a number of macro tests.")
    (license license:lppl1.3+)))

(define-public texlive-ifmslide
  (package
    (name "texlive-ifmslide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifmslide/" "tex/latex/ifmslide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qwf9bx7im71nr04y4im47lh29m8s7w772y077m70fbr5mbila9n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifmslide")
    (synopsis "Presentation slides for screen and printouts")
    (description
     "This package is used to produce printed slides with LaTeX and online
presentations with pdfLaTeX.")
    (license license:lppl1.2+)))

(define-public texlive-ifnextok
  (package
    (name "texlive-ifnextok")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifnextok/"
                                     "source/latex/ifnextok/"
                                     "tex/latex/ifnextok/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hlf4vn8ki9p425s9wki2b86jx9kxcmbk12h3cljmy32f6bxs7bh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifnextok")
    (synopsis "Utility macro: peek ahead without ignoring spaces")
    (description
     "The package deals with the behaviour of the LaTeX internal command
@code{\\@@ifnextchar}, which skips blank spaces.  This has the potential to
surprise users, since it can produce really unwanted effects.  A common
example occurs with brackets starting a line following @code{\\\\}: the
command looks for an optional argument, whereas the user wants the brackets to
be printed.  The package offers commands and options for modifying this
behaviour, maybe limited to certain parts of the document source.")
    (license license:lppl1.3+)))

(define-public texlive-ifthenx
  (package
    (name "texlive-ifthenx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ifthenx/" "tex/latex/ifthenx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10ii2p56c088m786grsidq2l9cvk52jp10nmah3xamlix7nx10lm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ifthenx")
    (synopsis "Extra tests for \\ifthenelse")
    (description
     "The package extends the @code{ifthen} package, providing extra predicates for
the package's @code{\\ifthenelse} command.  The package is complementary to
@code{xifthen}, in that they provide different facilities; the two may be
loaded in the same document, as long as @code{xifthen} is loaded first.")
    (license license:lppl)))

(define-public texlive-iitem
  (package
    (name "texlive-iitem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iitem/" "source/latex/iitem/"
                                     "tex/latex/iitem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wizydpgy1xghwy18l0ywwi5r3mkiw8m37dafa8pg1k5rvffz4zq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iitem")
    (synopsis "Multiple level of lists in one list-like environment")
    (description
     "The package defines multiple level lists within one list-like environment,
with the help of the @code{\\iitem}, @code{\\iiitem}, ... macros.")
    (license license:lppl)))

(define-public texlive-image-gallery
  (package
    (name "texlive-image-gallery")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/image-gallery/"
                                     "tex/latex/image-gallery/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19n9ll9gbqv56f14vd9sqn85wl726z8rhs7ba2631qlpskj9qb1v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/image-gallery")
    (synopsis
     "Create an overview of pictures from a digital camera or other sources")
    (description
     "The class may be used to create an overview of pictures from a digital camera
or from other sources.  It is possible to adjust the size of the pictures and
all the margins.")
    (license license:lppl)))

(define-public texlive-indextools
  (package
    (name "texlive-indextools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/indextools/"
                                     "source/latex/indextools/"
                                     "tex/latex/indextools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l6pkpgyvlgk0wri54m52rr5j313qfrsifmx8x5jhjihy68hrm2j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/indextools")
    (synopsis "Producing multiple indices")
    (description
     "This package enables the user to produce and typeset one or more indices
simultaneously.  The package is known to work in LaTeX documents processed
with pdfLaTeX, XeLaTeX and LuaLaTeX. If @command{makeindex} is used for
processing the index entries, no particular setup is needed.  Using
@command{xindy} or other programs, it is necessary to enable shell escape.
Shell escape is also needed if @command{splitindex} is used.  This is a fork
of @code{imakeidx}, with new features and fixed bugs.")
    (license license:lppl1.3+)))

(define-public texlive-inline-images
  (package
    (name "texlive-inline-images")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inline-images/"
                                     "tex/latex/inline-images/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00bmn7fi72wyk202lii51r0gflqsrnxjlddpd0hq7j1j06rkpyvg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inline-images")
    (synopsis "Inline images in base64 encoding")
    (description
     "The package provides a command @code{\\inlineimg} to dynamically create
a file containing the inline image in base64 format, which is decoded and
included in the source file.")
    (license license:lgpl3)))

(define-public texlive-inlinelabel
  (package
    (name "texlive-inlinelabel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inlinelabel/"
                                     "tex/latex/inlinelabel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rsngfllng3qajm2rpdjpyf88iizd1nshbwriawh3d6g8b0yi82r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inlinelabel")
    (synopsis "Assign equation numbers to inline equations")
    (description
     "This package can assign equation numbers to inline equations.  When Japanese
is supported, you can switch to circled equation numbers.")
    (license license:expat)))

(define-public texlive-inputtrc
  (package
    (name "texlive-inputtrc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inputtrc/"
                                     "source/latex/inputtrc/"
                                     "tex/latex/inputtrc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nmflwlf1ydrrb1n6gy8b6zfh18c02z0iyfv91m6c674spaiplsr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inputtrc")
    (synopsis "Trace which file loads which")
    (description
     "The package produces screen/log messages of the form @samp{<current>
INPUTTING <next>} reporting LaTeX input commands (@samp{<current>} and
@samp{<next}> being file names).  The message is indented to reflect the level
of input nesting.  Tracing may be turned on and off, and the unit of
indentation may be adjusted.")
    (license license:lppl1.3+)))

(define-public texlive-interactiveworkbook
  (package
    (name "texlive-interactiveworkbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list
                                "doc/latex/interactiveworkbook/documentation/"
                                "doc/latex/interactiveworkbook/epsfiles/"
                                "doc/latex/interactiveworkbook/samplefiles/"
                                "tex/latex/interactiveworkbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yvavrbnmq8azzl6yijxah0sqcp1p9xm58n1r006zlpixkhq7d6g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/interactiveworkbook")
    (synopsis "LaTeX-based interactive PDF on the Web")
    (description
     "The package @code{interactiveworkbook} gives the user the ability to write
LaTeX documents which, ultimately, create interactive question-and-answer
Portable Document Format (PDF) tutorials meant to be used by internet students
and that, in particular, freely use mathematical notation.")
    (license license:lppl)))

(define-public texlive-interfaces
  (package
    (name "texlive-interfaces")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/interfaces/"
                                     "source/latex/interfaces/"
                                     "tex/latex/interfaces/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fq0fld4j0z3pi9sczv8iisigbvv64j3bnfg478dx2sqnn6maybp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/interfaces")
    (synopsis "Set parameters for other packages, conveniently")
    (description
     "The package provides a small number of convenient macros that access features
in other frequently-used packages, or provide interfaces to other useful
facilities such as the pdfTeX @code{\\pdfelapsedtime} primitive.")
    (license license:lppl1.3+)))

(define-public texlive-intopdf
  (package
    (name "texlive-intopdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/intopdf/" "source/latex/intopdf/"
                                     "tex/latex/intopdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04mys6v63mahinv08cjd71yvs1d93ly7hqw5n4m0pkljjihdjyf7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/intopdf")
    (synopsis "Embed non-PDF files into PDF with hyperlink")
    (description
     "The package allows to embed non-PDF files (e.g., BibTeX} into PDF with an
hyperlink.")
    (license license:lppl1.3c)))

(define-public texlive-inversepath
  (package
    (name "texlive-inversepath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/inversepath/"
                                     "source/latex/inversepath/"
                                     "tex/latex/inversepath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mbvx1lj1h0p2li4qjc5s238iiwnp9cg0vsdlxxwdlng8ahc62p0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/inversepath")
    (synopsis "Calculate inverse file paths")
    (description
     "The package calculates inverse relative paths.  Such things may be useful,
for example, when writing an auxiliary file to a different directory.")
    (license license:lppl1.3+)))

(define-public texlive-invoice
  (package
    (name "texlive-invoice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/invoice/" "tex/latex/invoice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12c7kqnra2mv98xjqb0rba8xqnhvvqfd2712y8j2y47zf0r7a26k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/invoice")
    (synopsis "Generate invoices")
    (description
     "The package may be used for generating invoices.  The package can deal with
invisible expense items and deductions; output may be presented in any of 10
different languages.")
    (license license:lppl1.3c)))

(define-public texlive-invoice-class
  (package
    (name "texlive-invoice-class")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/invoice-class/"
                                     "tex/latex/invoice-class/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0078i0vv2qxfxgn45rxxzll7f7b0h33jcigm9zkx6hcmq62sv0rz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/invoice-class")
    (synopsis "Produces a standard US invoice from a CSV file")
    (description
     "This class produces a standard US commercial invoice using data from a CSV file.
Invoices can span multiple pages.  The class is configurable for different
shipping addresses.")
    (license license:lppl1.3+)))

(define-public texlive-invoice2
  (package
    (name "texlive-invoice2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/invoice2/"
                                     "source/latex/invoice2/"
                                     "tex/latex/invoice2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "133v3jk4lhbp17i1435jf4n3gnb7r892qiylzpd65pxdwivi3k0n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-booktabs
                             texlive-l3kernel
                             texlive-l3packages
                             texlive-siunitx
                             texlive-tools
                             texlive-translations
                             texlive-xcolor))
    (home-page "https://ctan.org/pkg/invoice2")
    (synopsis "Intelligent invoices with LaTeX3")
    (description
     "This package typesets invoices with automatic VAT and calculation of totals.
It supports internationalization, invoices are typeset with @code{booktabs}
for readability.  It does not support separate projects per invoice.  It can
be used as a replacement for @code{invoice} in most cases.")
    (license license:gpl3+)))

(define-public texlive-iso
  (package
    (name "texlive-iso")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iso/" "makeindex/iso/"
                                     "source/latex/iso/" "tex/latex/iso/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rzxf4nykw6ar9dhn4vanwdryx7hapfjmqqjnlpg0ly05fckqd4i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iso")
    (synopsis "Generic ISO standards typesetting macros")
    (description
     "This package provide generic class and package files for typesetting ISO
International Standard documents.  Several standard documents have been
printed by ISO from camera-ready copy prepared using LaTeX and these files.")
    (license license:lppl)))

(define-public texlive-iso10303
  (package
    (name "texlive-iso10303")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/iso10303/"
                                     "source/latex/iso10303/"
                                     "tex/latex/iso10303/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04yackrrjba2ddgl8ps3ka6mmh09cw5b9rz69vczvgfdc9cr6krx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/iso10303")
    (synopsis "Typesetting the STEP standards")
    (description
     "This package provides class and package files building on @code{iso} for
typesetting the ISO 10303 (STEP) standards.  Standard documents prepared using
these packages have been published by ISO.")
    (license license:lppl)))

(define-public texlive-isodoc
  (package
    (name "texlive-isodoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isodoc/" "source/latex/isodoc/"
                                     "tex/latex/isodoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04p3rjxd636k270cy4mqzfmmhp54s69rdr2rjynvvf84p3l2573q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "luatex"))
    (home-page "https://ctan.org/pkg/isodoc")
    (synopsis "Latex class for typesetting letters and invoices")
    (description
     "The @code{isodoc} class can be used for the preparation of letters and
invoices.  Documents are set up with options, thus making the class easily
adaptable to user's wishes and extensible for other document types.  The class
is based on the NTG @code{brief} class, which implements the NEN1026
standard.")
    (license license:lppl1.3c)))

(define-public texlive-isonums
  (package
    (name "texlive-isonums")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isonums/" "tex/latex/isonums/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lm47qxvhdw3mc7549bw32k978cl7gik0inkmin8x0w9mdg22lm5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isonums")
    (synopsis "Display numbers in maths mode according to ISO 31-0")
    (description
     "The package makes a quick hack to ziffer to display numbers in maths mode
according to ISO 31-0, regardless of input format (European $1.235,7$ or
Anglo-American $1,235.7$).")
    (license license:lppl)))

(define-public texlive-isopt
  (package
    (name "texlive-isopt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isopt/" "tex/latex/isopt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i4zhjqknx74ki7hq55j2qn02kw17fnagb49p59bk3ifs03z4w9s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isopt")
    (synopsis "Writing a TeX length with a space between number and unit")
    (description
     "Writing a TeX length with @code{\\the} writes the value and the unit without
a space.  Package @code{isopt} provides a macro @code{\\ISO} which inserts
a user defined space between number and unit.")
    (license license:lppl)))

(define-public texlive-isorot
  (package
    (name "texlive-isorot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isorot/" "source/latex/isorot/"
                                     "tex/latex/isorot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mpph7pvcw6l65zkq641gc0c0j0vq593mqsqhbb6zq3cmvc00dkr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isorot")
    (synopsis "Rotation of document elements")
    (description
     "The package is for rotation of document elements.  It is a combination of the
@code{lscape} package and an extension of the @code{rotating} package.  The
package is designed for use with the @code{iso} class but may be used with any
normal class.")
    (license license:lppl)))

(define-public texlive-isotope
  (package
    (name "texlive-isotope")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/isotope/" "source/latex/isotope/"
                                     "tex/latex/isotope/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16828laxqjbq5303c649j9nb36ci3rjdki8zds6pw2y9sdiy2kki"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/isotope")
    (synopsis "Typeset isotopes")
    (description
     "The package provides a command @code{\\isotope} for setting the atomic weight
and atomic number indications of isotopes.")
    (license license:lppl)))

(define-public texlive-issuulinks
  (package
    (name "texlive-issuulinks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/issuulinks/"
                                     "source/latex/issuulinks/"
                                     "tex/latex/issuulinks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lawg1l5q0c6vblwmj9nyszqk9q3ivmk05bpczwycc28xsmr6rd6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/issuulinks")
    (synopsis "Produce external links instead of internal ones")
    (description
     "The PDF visualizer @url{http://issuu.com/ISSUU} is a popular service which
shows PDF documents ``a page a time''.  Due to the way it is implemented,
internal links in these documents are not allowed.  Instead, they must be
converted to external ones in the form
@url{http://issuu.com/action/page?page=PAGENUMBER}. The package patches
@code{hyperref} to produce external links in the required form instead of
internal links created by @code{\\ref}, @code{\\cite} and other commands.

Since the package redefines the internals of @code{hyperref}, it must be
loaded after @code{hyperref}.")
    (license license:lppl1.3+)))

(define-public texlive-jlabels
  (package
    (name "texlive-jlabels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jlabels/" "tex/latex/jlabels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p12sr2i44mmn4cr3vsmrbaixx17c53qx4jh4k3mscwj7rkf3af1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jlabels")
    (synopsis "Make letter-sized pages of labels")
    (description
     "The package makes letter-sized pages of labels.  It provides controls for the
numbers of rows and columns.")
    (license license:lppl)))

(define-public texlive-jmsdelim
  (package
    (name "texlive-jmsdelim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jmsdelim/"
                                     "source/latex/jmsdelim/"
                                     "tex/latex/jmsdelim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xi2gijzl747ixhl7nwam0ldzvq834j70cmqbz8sik75gwmisdj9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jmsdelim")
    (synopsis "Package for compositional delimiter sizing")
    (description
     "Correctly sizing delimiters is very difficult, particularly in
well-architected documents: a correctly engineered mathematical document will
include macros for all operations, and these macros necessarily will include
delimiters (such as parentheses).  However, the correct size for the delimiter
cannot be chosen ahead of time, because it will depend on the arguments; two
options are available: Provide optional arguments to each notation macro for
choosing delimiter sizes.  This is nearly intractable to do in practice.
Ignore delimiter sizes.  With @code{jmsdelim} we offer an alternative: the
correct delimiter sizes can be set at the leaf nodes of a mathematical
expression, and magically bubble upward through the delimiters.")
    (license license:lppl1.3c)))

(define-public texlive-jobname-suffix
  (package
    (name "texlive-jobname-suffix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jobname-suffix/"
                                     "tex/latex/jobname-suffix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qyb61pzfwdqna53akjpwwbaab1w827rjv83hrq8ss1cd754v2ka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jobname-suffix")
    (synopsis "Compile differently based on the filename")
    (description
     "This package allows to compile a document differently depending on the
portion of the document's file name (internally, the @code{\\jobname}) that
comes after the first @samp{-} character.  This allows one to have one source
file and multiple links to this source file that each compile differently.")
    (license license:lppl1.3+)))

(define-public texlive-jslectureplanner
  (package
    (name "texlive-jslectureplanner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jslectureplanner/"
                                     "tex/latex/jslectureplanner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "060dzg66zh3zfynjh514p9szw03k9xld16y4nzh2wjh8ib41m519"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jslectureplanner")
    (synopsis "Creation and management of university course material")
    (description
     "The @code{jslectureplanner} package facilitates the generation and management
of university course material.  It provides an interface to set up and access
centralized course data that can be reused in all course documents.
Furthermore, the package is able to calculate the session dates of a whole
semester and generate course programs, if the course is held weekly and the
date of the first lecture is specified.  Moreover, the package can be used to
generate a sectioned course bibliography via BibLaTeX.  The bundle also
includes a package @file{jsmembertable.sty} that helps in generating course
member and presence lists.")
    (license license:lppl1.3+)))

(define-public texlive-jumplines
  (package
    (name "texlive-jumplines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jumplines/"
                                     "tex/latex/jumplines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vih9bayflngvsx0q0pfqzp04vbp5mjjgc7m8yhs4drr27nh75j2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jumplines")
    (synopsis "Articles with teasers and continuation later on")
    (description
     "Jumplines is a package for typesetting (newspaper) articles that show a teaser
(some few lines of text/content) and are continued at a later place, with
optional hyperlinking and a list of articles.  It requires LuaLaTeX for colour
support in split boxes.")
    (license license:lppl1.3+)))

(define-public texlive-jvlisting
  (package
    (name "texlive-jvlisting")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/jvlisting/"
                                     "source/latex/jvlisting/"
                                     "tex/latex/jvlisting/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0isbn35x3228bhkp77q3agy380w7akryam3p5i3rvi7bmk1s5958"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/jvlisting")
    (synopsis "Replacement for LaTeX's @code{verbatim} package")
    (description
     "This package provides a LaTeX environment @code{listing}, an alternative to
the built-in @code{verbatim} environment.  The @code{listing} environment is
tailored for including listings of computer program source code into
documents.  The main advantages over the original @code{verbatim} environment
are: environments automatically fixes leading whitespace so that the
environment and program listing can be indented with the rest of the document
source, and; @code{listing} environments may easily be customised and
extended.")
    (license license:lppl)))

(define-public texlive-kalendarium
  (package
    (name "texlive-kalendarium")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kalendarium/"
                                     "source/latex/kalendarium/"
                                     "tex/latex/kalendarium/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08cj503m0v69a3fz5n2i6y8ga3xkp79nxp3cnc5g2bk4fqq1mv7l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kalendarium")
    (synopsis "Print dates according to the classical Latin calendar")
    (description
     "@code{kalendarium} is a LaTeX3 package that provides several macros with
which to print dates in classical Latin given days on the Julian or Gregorian
calendars, using the same syntax used by ancient Roman authors.  The format of
these dates may be customised either in the package options or on
a per-command basis; these options also allow for the generation of date
strings according to different eras of the Classical period.")
    (license license:lppl1.3c)))

(define-public texlive-kerntest
  (package
    (name "texlive-kerntest")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kerntest/"
                                     "source/latex/kerntest/"
                                     "tex/latex/kerntest/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08g814zv8cq6q1174wdx4z2p5lpyyp1s5mpzk4dmzsz7rzr4gdhm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kerntest")
    (synopsis "Print tables and generate control files to adjust kernings")
    (description
     "This class makes it easy to generate tables that show many different kerning
pairs of an arbitrary font, usable by LaTeX.  It shows the kerning values that
are used in the font by default.  In addition, this class enables the user to
alter the kernings and to observe the results.  Kerning pairs can be defined
for groups of similar glyphs at the same time.  An @file{.mtx} file is
generated automatically.  The @file{.mtx} file may then be loaded by
@code{fontinst} to introduce the user-made kernings into the virtual font for
later use in LaTeX.")
    (license license:lppl)))

(define-public texlive-keycommand
  (package
    (name "texlive-keycommand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keycommand/"
                                     "source/latex/keycommand/"
                                     "tex/latex/keycommand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0if07qinrxr798xin04rhf6g6chq0lj1p684zi40rrlkwgrc5br5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keycommand")
    (synopsis "Simple creation of commands with key-value arguments")
    (description
     "The package (which requires e-TeX) provides a natural way to define commands
with optional keys.  The package provides @code{\\newkeycommand},
@code{\\renewkeycommand}, @code{\\providekeycommand},
@code{\\newkeyenvironment} and @code{\\renewkeyenvironment}, together with
@code{\\keycmd} for a more advanced interface.")
    (license license:lppl)))

(define-public texlive-keyfloat
  (package
    (name "texlive-keyfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keyfloat/"
                                     "source/latex/keyfloat/"
                                     "tex/latex/keyfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0122nsxrdvqz3nxbv2wiz80im4in6q964q4havk00m94zy8iybvl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keyfloat")
    (synopsis "Provides a key/value interface for generating floats")
    (description
     "The @code{keyfloat} package provides a key/value user interface for quickly
creating figures with a single image each, figures with arbitrary contents,
tables, subfloats, rows of floats, floats located ``here'', floats in the
margin, and floats with text wrapped around them.  Key/value combinations may
specify a caption and label, a width proportional to @code{\\linewidth},
a fixed width and/or height, rotation, scaling, a tight or loose frame, an
@code{\\arraystretch}, a continued float, additional supplemental text, and an
artist/author's name with automatic index entry.  When used with the
@code{tocdata} package, the name also appears in the list of figures.  Floats
may be placed into a @code{row} environment, and are typeset to fit within the
given number of columns, continuing to the next row if necessary.  Nested
sub-rows may be used to generate layouts such as two small figures placed
vertically next to one larger figure.  Subfloats are supported by two
environments.")
    (license license:lppl1.3+)))

(define-public texlive-keyindex
  (package
    (name "texlive-keyindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keyindex/"
                                     "source/latex/keyindex/"
                                     "tex/latex/keyindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zw2sj3qq0v0kp68mmb72x44mpwfj0hnzxwqdv92m5528k1ylyr9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keyindex")
    (synopsis "Index entries by key lookup")
    (description
     "The package provides functionality for producing an index without directly
entering index entries into the text using the @code{\\index} command, but
instead by looking up short keys and printing a predefined string in the main
text and adding a corresponding index entry.  The standard use case is the
production of an index of names.")
    (license license:lppl1.3c)))

(define-public texlive-keyparse
  (package
    (name "texlive-keyparse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keyparse/"
                                     "source/latex/keyparse/"
                                     "tex/latex/keyparse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11g2knzck2g1j8mcqy3821p8a7xz1a0krz2s3ak7jn060aim72hi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keyparse")
    (synopsis "Key based parser")
    (description
     "This LaTeX package provides an interface to define and evaluate key-based
replacement rules.  It can be used to parse the argument specification of
a document command.")
    (license license:lppl1.3c)))

(define-public texlive-keyreader
  (package
    (name "texlive-keyreader")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keyreader/"
                                     "tex/latex/keyreader/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zw0qkg4lbqk260fmdsdz0j3044dph7f1ypx81yflwj2hvinsr3z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keyreader")
    (synopsis "Robust interface to @code{xkeyval}")
    (description
     "The package provides a robust interface to controlling keys in @code{xkeyval},
removing some of that package's restrictions.  The package also addresses some
of the issues now covered by @code{ltxkeys} package, which was assumed to be
a replacement for @code{keyreader}.  Since @code{keyreader} has remained
a favourite with users, it has been reinstated.")
    (license license:lppl1.3+)))

(define-public texlive-keystroke
  (package
    (name "texlive-keystroke")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keystroke/"
                                     "tex/latex/keystroke/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vgzbh02aadnwmhfvysijxxy4bkf3wv6hxmghb8kz8g7sam4f5p1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keystroke")
    (synopsis "Graphical representation of keys on keyboard")
    (description
     "This package provides a LaTeX package which provides macros for the
graphical representation of the keys on a computer keyboard.")
    (license license:gpl3+)))

(define-public texlive-keyval2e
  (package
    (name "texlive-keyval2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keyval2e/" "tex/latex/keyval2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8clf8xy8lw3zairdr8x5v4yv904ffibcva54ckbnvzls48ka6m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keyval2e")
    (synopsis "Lightweight and robust key-value parser")
    (description
     "The package provides lightweight and robust facilities for creating and
managing keys.  Its machinery isn't as extensive as that of, e.g., the
@code{ltxkeys} package, but it is equally robust; ease of use and speed of
processing are the design aims of the package.")
    (license license:lppl1.3+)))

(define-public texlive-keyvaltable
  (package
    (name "texlive-keyvaltable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/keyvaltable/"
                                     "source/latex/keyvaltable/"
                                     "tex/latex/keyvaltable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c1wgdh83b673ay0ak18iyqpwdmfyhpfqlpbk30fjrkxf78bmw83"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/keyvaltable")
    (synopsis "Re-usable table layouts separating content and presentation")
    (description
     "The main goal of this package is to offer means for typesetting tables easily
and yet still looking rather nicely in a way that separates content from
presentation and with re-usable layout for tables of the same type.  For this
purpose, the package provides the environment @code{KeyValTable}, which allows
one to typeset tables that have a previously defined column layout and whose
rows can be produced in a key-value fashion.")
    (license license:lppl1.2+)))

(define-public texlive-kix
  (package
    (name "texlive-kix")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/kix/" "tex/latex/kix/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sbvvjmrz61il4xy6vv7n0zsbv42s5g65grn4bn14sc60sfa968h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/kix")
    (synopsis "Typeset KIX codes")
    (description
     "This package implements KIX codes as used by the Dutch PTT for bulk mail
addressing. (Royal Mail 4 State Code.)")
    (license license:lppl1.0+)))

(define-public texlive-knowledge
  (package
    (name "texlive-knowledge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/knowledge/"
                                     "source/latex/knowledge/"
                                     "tex/latex/knowledge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "033kk7xr5js3p3khv33xvqb59y2aa1nq0mr7jf922q8i9bja9brl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/knowledge")
    (synopsis "Displaying, hyperlinking, and indexing notions in a document")
    (description
     "The package offers a systematic way to handle notions/concepts/terms
throughout a document.  It helps building an index.  In combination with
@code{hyperref} it makes it easy to have every reference of a concept linked
to its introduction.  It also offers simple notations.")
    (license license:lppl1.2+)))

(define-public texlive-koma-moderncvclassic
  (package
    (name "texlive-koma-moderncvclassic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/koma-moderncvclassic/"
                                     "tex/latex/koma-moderncvclassic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "169z8jvbsg8c9czf9p5lkcffm3nic6vvp7l4s1my0rqbvyyqs795"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/koma-moderncvclassic")
    (synopsis
     "Combine @code{moderncv} classic style and @code{koma-script} classes")
    (description
     "This package provides an imitation of the @code{moderncv} class with the
classic style, to be used in conjunction with the @code{koma-script} classes.
Thus it is possible to configure pagelayout, headings etc., the way it is done
in @code{koma-scripts} classes.  Moreover, it is possible to use BibLaTeX,
while the original @code{moderncv} class is incompatible with it.")
    (license license:lppl1.3+)))

(define-public texlive-koma-script-sfs
  (package
    (name "texlive-koma-script-sfs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/koma-script-sfs/"
                                     "tex/latex/koma-script-sfs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1awzff92bmc0gh5sycs5646cn15kzk7v2l79zjm27f2mpahd65l8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/koma-script-sfs")
    (synopsis "@code{koma-script} letter class option for Finnish")
    (description
     "This package provides a @code{koma-script} parameter set for letters on A4
paper, complying with Finnish standards SFS 2486, 2487 and 2488; suitable for
window envelopes with window on the left size in the sizes C5, C65, E5 and E65
(although, because the address window is smaller, for sizes E5 and E65 the
address may not fit within the window, but ordinary 3-line address should
fit).")
    (license license:lppl)))

(define-public texlive-komacv
  (package
    (name "texlive-komacv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/komacv/" "source/latex/komacv/"
                                     "tex/latex/komacv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17830drzdsk3nhd1n9fcmc4dbcm2lwia3jp2asi3g73yvzkjx7sz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/komacv")
    (synopsis "Typesetting a beautiful CV with various style options")
    (description
     "The class simplifies the creation of beautiful CV. The user may choose
between different styles, and may adjust settings to tune the output.")
    (license license:lppl1.3+)))

(define-public texlive-komacv-rg
  (package
    (name "texlive-komacv-rg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/komacv-rg/"
                                     "source/latex/komacv-rg/"
                                     "tex/latex/komacv-rg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13r94krp1mylj09pi800mxdv0q3f0r7zd31rw8wblfkqrzhh7gw2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/komacv-rg")
    (synopsis
     "Aid in creating CVs and related documents with the @code{komacv} class")
    (description
     "The @code{komacv-rg} bundle provides packages that aid in creating CVs based
on the @code{komacv} class and creating related documents, such as cover
letters and cover sheets for job applications.

Concretely, the bundle consists of three packages: @code{komacv-addons},
@code{komacv-lco}, and @code{komacv-multilang}.  @code{komacv-addons} is
a small collection of add-ons and fixes for the @code{komacv} class;
@code{komacv-lco} enables the use of @code{letter} class options from
@code{scrlttr2} also in @code{komacv}-based and other
non-@code{scrlttr2}-based documents; @code{komacv-multilang} enables the
provisioning of CVs in multiple languages and the selection of a language via
Babel or Polyglossia.")
    (license license:lppl1.2+)))

(define-public texlive-ktv-texdata
  (package
    (name "texlive-ktv-texdata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ktv-texdata/"
                                     "source/latex/ktv-texdata/"
                                     "tex/latex/ktv-texdata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1flmshqyjjh5m6s51rym9rn92pgqlkjvsxlvifgxj5blc4p8gmhi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ktv-texdata")
    (synopsis "Extract subsets of documents")
    (description
     "The package defines an exercice environment which numbers every exercise, and
a command @code{\\get} to extract a collection whose argument is
a comma-separated set of exercise index numbers.  While the package was
designed for teachers constructing tables of exercises, it plainly has more
general application.")
    (license license:gpl3+)))

(define-public texlive-labbook
  (package
    (name "texlive-labbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/labbook/" "source/latex/labbook/"
                                     "tex/latex/labbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zc1mlfyjxwrq60ch6inwkryygcg5fmj90bc6w6wfzrvb0gm2yw8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/labbook")
    (synopsis "Typeset laboratory journals")
    (description
     "This class is designed to typeset laboratory journals that contain
chronologically ordered records about experiments.  From the sectioning
commands, an experiment index is generated.  The class is based on the
KOMA-Script class @file{scrbook.cls}.  There can be several index entries for
one experiment.")
    (license license:lppl)))

(define-public texlive-labels
  (package
    (name "texlive-labels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/labels/" "source/latex/labels/"
                                     "tex/latex/labels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ldvd3d5c1g2hm4h02px1gzvv3kkkx834nwp3m3skh80nbhd3hcz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/labels")
    (synopsis "Print sheets of sticky labels")
    (description
     "This package provides a LaTeX package to print a regular grid of ragged-right
labels on a page, suitable for sheets of labels which can be fed through
a printer.  Macros are provided to allow easy input of names and addresses in
a form free of TeX markup.  Equally useful is a feature for making multiple
copies of a single label, e.g., return address stickers to go with the labels.
Rows, columns, borders can all be specified to match the label sheet being
used.")
    (license license:lppl1.2+)))

(define-public texlive-labels4easylist
  (package
    (name "texlive-labels4easylist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/labels4easylist/"
                                     "tex/latex/labels4easylist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1igsf1lqvmfp1yjynwcr3w6lpwsckq3gcx44j6jh65425sfn7mxy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/labels4easylist")
    (synopsis "Add reference labels to @code{easylist} items")
    (description
     "This package provides the @code{\\itemLabel} macro for adding configurable
reference labels to @code{easylist} items.")
    (license license:expat)))

(define-public texlive-labelschanged
  (package
    (name "texlive-labelschanged")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/labelschanged/"
                                     "source/latex/labelschanged/"
                                     "tex/latex/labelschanged/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "116xpva8icdnxbaq5j8k080yl38cl5lwx5rs45kmnxz6246akg3y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/labelschanged")
    (synopsis
     "Identify labels which cause endless ``may have changed'' warnings")
    (description
     "Several conditions can cause LaTeX labels to keep changing, no matter how
many times a document is recompiled.  This package helps diagnose the cause of
repeated ``Label(s) may have changed'' warnings.  The names and before/after
definitions of changing labels are printed at the end of each compile.
Multiply-defined labels are printed as well.")
    (license license:public-domain)))

(define-public texlive-lambdax
  (package
    (name "texlive-lambdax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lambdax/" "source/latex/lambdax/"
                                     "tex/latex/lambdax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lmqayjzzpamvwnff65iqaqjp6x5v926p5nw4yvrd7j0nnwmz0wg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lambdax")
    (synopsis "Use Lambda expression within LaTeX")
    (description
     "This package provides Lambda expressions.  It is an interface to specify the
parameters and replacement code of a document-command, and then to evaluate it
with compatible arguments.  Optionally, it can be used recursively.")
    (license license:lppl1.3c)))

(define-public texlive-lastpackage
  (package
    (name "texlive-lastpackage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lastpackage/"
                                     "source/latex/lastpackage/"
                                     "tex/latex/lastpackage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wa0cdrig4zivblalxx9q935yyd9z36jy26f8chj8skva25dhbz8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lastpackage")
    (synopsis "Indicates the last loaded package")
    (description
     "This package may be used to define the last point where some code shall be
executed.")
    (license license:lppl1.3+)))

(define-public texlive-latex-uni8
  (package
    (name "texlive-latex-uni8")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latex-uni8/"
                                     "tex/latex/latex-uni8/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c5x8v40gvw9q35xjmpndmklkc37ry4idld0657h0xrw0b5ljnh6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latex-uni8")
    (synopsis
     "Universal @code{inputenc}, @code{fontenc}, and @code{babel} for pdfLaTeX and
LuaLaTeX")
    (description
     "This package provides a LaTeX style file which makes it easy to use input
encoding (UTF-8 by default, can be changed), @file{fontspec.sty} (optional),
font encoding (T1 if @file{fontspec.sty} is not used), @code{babel} (English
language by default), hyphenation, underline (with @file{soul.sty}), default
text and math fonts (Computer Modern or Times), and paper sizes correctly with
both pdfLaTeX and LuaLaTeX.")
    (license license:lppl)))

(define-public texlive-latexcolors
  (package
    (name "texlive-latexcolors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexcolors/"
                                     "source/latex/latexcolors/"
                                     "tex/latex/latexcolors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y3wvf8jvcb9i1dvkgnm2gd8pvxg538mxpchhw930gaf4rwi5xyp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexcolors")
    (synopsis "Use color definitions from @url{latexcolor.com}")
    (description
     "Built on top of the @code{xcolor} package, the @code{latexcolors} package
defines the set of colors shown on @url{latexcolor.com} for use in documents
typeset with LaTeX and friends.")
    (license license:lppl1.3+)))

(define-public texlive-latexdemo
  (package
    (name "texlive-latexdemo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexdemo/"
                                     "source/latex/latexdemo/"
                                     "tex/latex/latexdemo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bans4djr58ym72ippjbrxd8hjabpq735hb4b0cq285k24wa8h98"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexdemo")
    (synopsis "Demonstrate LaTeX code with its resulting output")
    (description
     "The package provides configurable tools to print out LaTeX code and the
resulting output in the same document.  It also supports printing the result
inside a conditional sequence; thus one may suppress printing if the code
would not compile.")
    (license license:lppl1.3+)))

(define-public texlive-latexgit
  (package
    (name "texlive-latexgit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/latexgit/"
                                     "source/latex/latexgit/"
                                     "tex/latex/latexgit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c2407abynq00hllpiyg5m6dbbmy8rz9s4jgr227l6ynfnjd8mir"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/latexgit")
    (synopsis "A LaTeX git wrapper")
    (description
     "This package provides several macros to fetch git information and typeset it.
The macros defined by LaTeXgit can be helpful to documentation authors and
others to whom clear document versioning is important.")
    (license license:gpl3)))

(define-public texlive-layouts
  (package
    (name "texlive-layouts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/layouts/" "source/latex/layouts/"
                                     "tex/latex/layouts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bmkqld4rc0pw8ha54b1z4ycy5rj5alr9n1yv7qj5b0a4jadynf3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/layouts")
    (synopsis "Display various elements of a document's layout")
    (description
     "This package displays information about a document, including: text
positioning on a page; disposition of floats; layout of paragraphs, lists,
footnotes, table of contents, and sectional headings; font boxes.  Facilities
are provided for a document designer to experiment with the layout
parameters.")
    (license license:lppl1.3+)))

(define-public texlive-lazylist
  (package
    (name "texlive-lazylist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lazylist/" "tex/latex/lazylist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pyz8p3m25ccna6w8bahg29nqivryzygq62mzl1ybls90h9pls1p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lazylist")
    (synopsis "Lists in TeX's mouth")
    (description
     "The package was developed to provide flexible lists, whose ordering can be
altered on the fly.  The implementation involves a pile of lambda-calculus and
list-handling macros of an incredibly obtuse nature.  The TUGboat paper serves
as a manual for the macros.  Having said all of which, confidence is enhanced
by the knowledge that the TeX code was formally verified.")
    (license license:lppl1.2+)))

(define-public texlive-lccaps
  (package
    (name "texlive-lccaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lccaps/" "source/latex/lccaps/"
                                     "tex/latex/lccaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a56p7c7ldyhhrin1dm9lq1pjjblx32kyjs5005pkl35h8fl2gd2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/lccaps")
    (synopsis "Lowercased (spaced) small capitals")
    (description
     "This little package serves the purpose of providing a uniform method to use
lowercased small capitals and spaced lowercased small capitals.  It comes with
four new user macros:

@itemize

@item @code{\\textlcc}, the main feature: lowercased small capitals;

@item @code{\\spacedcaps}, a prefix to small capitals text commands to
slightly increase their spacing;

@item @code{\\textslcc} and @code{\\textssc}, which are shortcuts for
@code{\\spacedcaps\\textlcc} and @code{\\spacedcaps\\textsc} (respectively).

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-lcd
  (package
    (name "texlive-lcd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lcd/" "source/latex/lcd/"
                                     "tex/latex/lcd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iglq9rcdx2m9b7k2k2m10mc1k0xylxyqk4gwz3q1avp9vxdqpd8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; Do not stop build to ask about building part of the
          ;; documentation.
          (add-after 'unpack 'non-interactive-build
            (lambda _
              (substitute* "source/latex/lcd/lcd.ins"
                (("\\\\generateexampletrue") "\\generateexamplefalse")))))))
    (home-page "https://ctan.org/pkg/lcd")
    (synopsis "Alphanumerical LCD-style displays")
    (description
     "This is a LaTeX package that will display text as on an
(early) LCD display (the output is very visibly pixellated).  It assumes 8-bit
input in its internal verbatim-style environment.")
    (license license:lppl)))

(define-public texlive-lcg
  (package
    (name "texlive-lcg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lcg/" "source/latex/lcg/"
                                     "tex/latex/lcg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gj2bpw7fpa47dbs7myx6ch5lk2yc59qp3f6wv1b69gi0kg873cv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lcg")
    (synopsis "Generate random integers")
    (description
     "The @code{lcg} package generates random numbers (integers) via a linear
congruential generator (Schrage's method).  The random numbers are written to
a counter.  The @code{keyval} package is used for the user to provide values
for the range and a seed, and for the name of the counter to be used.")
    (license license:lppl)))

(define-public texlive-leading
  (package
    (name "texlive-leading")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/leading/" "source/latex/leading/"
                                     "tex/latex/leading/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fhdld6bagjyg0fs6c4gy0yp1p6wcrldqrs4hkrhylgrs2ilana9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/leading")
    (synopsis "Define leading with a length")
    (description
     "The package defines a command @code{\\leading}, whose argument specifies the
nominal distance between consecutive baselines of typeset text.  The command
replaces the rather more difficult LaTeX command @code{\\linespread}, where
the leading is specified by reference to the font size.")
    (license license:lppl)))

(define-public texlive-leaflet
  (package
    (name "texlive-leaflet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/leaflet/" "source/latex/leaflet/"
                                     "tex/latex/leaflet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vgcywhq8llskfsxxhld9jgzdjlmz0gijs9xcv3sqcz6cw6sis68"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/leaflet")
    (synopsis "Create small handouts (flyers)")
    (description
     "This package provides a document class to create small hand-outs (flyers)
that fit on a single sheet of paper which is then folded twice.  Pages are
rearranged by LaTeX so that they print correctly on a single sheet --- no
external script is necessary.")
    (license license:lppl1.3+)))

(define-public texlive-colorist
  (package
    (name "texlive-colorist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/colorist/" "tex/latex/colorist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vdwvn3v93n7x2nfp65rnsprahvhf0frgj2j1viz7g68njnl4j1f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-projlib))
    (home-page "https://ctan.org/pkg/colorist")
    (synopsis "Write your articles or books in a colorful way")
    (description
     "This package offers you a LaTeX style file and two classes to typeset
articles or books in a colorful way.  These classes currently have native
support for English, French, German, Italian, Portuguese (European and
Brazilian), and Spanish typesetting.  They compile with any major TeX engine.")
    (license license:lppl1.3c)))

(define-public texlive-lebhart
  (package
    (name "texlive-lebhart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lebhart/" "tex/latex/lebhart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r1d8jxdwgagc6ljmwi45q58np3lhjbz1njh27j3n31sx4y43w69"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-colorist))
    (home-page "https://ctan.org/pkg/lebhart")
    (synopsis "Write your articles in a colorful way")
    (description
     "This package provides a LaTeX class for typesetting articles with a colorful
design.  Currently, it has native support for Chinese (simplified and
traditional), English, French, German, Italian, Japanese, Portuguese (European
and Brazilian), Russian and Spanish typesetting.  It compiles with either
XeLaTeX or LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-lectures
  (package
    (name "texlive-lectures")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lectures/" "tex/latex/lectures/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05x3dc40n83v7faw789iw5nzwn43zx6vjl58iqwdsqchkmd8alrv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lectures")
    (synopsis
     "Document class for quickly drafting nice looking lecture notes")
    (description
     "This LaTeX document class provides a number of gimmicks to draft nice looking
lecture notes, such as a number of theorem environments, automatic spacing and
alignment of figures and much more.")
    (license license:expat)))

(define-public texlive-lectureslides
  (package
    (name "texlive-lectureslides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lectureslides/"
                                     "tex/latex/lectureslides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "189sm3vxgi1qf6xf07f98p16bah8siwz0q97dpsjrpzx7m32bbiw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lectureslides")
    (synopsis "Combine single PDF files into one file")
    (description
     "This package makes it easy to combine and index individual PDF files into one
large PDF file.")
    (license license:cc-by4.0)))

(define-public texlive-leftidx
  (package
    (name "texlive-leftidx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/leftidx/" "source/latex/leftidx/"
                                     "tex/latex/leftidx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "031vrri30b0ccg44ia9i06mraamv3mr9184vmyqipcmsd2glpyla"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/leftidx")
    (synopsis "Left and right subscripts and superscripts in math mode")
    (description
     "Using this package, left and right subscripts and superscripts are
automatically raised for better fitting to the symbol they belong to.")
    (license license:lppl)))

(define-public texlive-leftindex
  (package
    (name "texlive-leftindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/leftindex/"
                                     "tex/latex/leftindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "034a5jgb220g7xc45ls62x725195ac3k1y7ix0fs8sqh8a2xmxl0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/leftindex")
    (synopsis "Left indices with better spacing")
    (description
     "This package provides commands for typesetting left indices.  Unlike other
similar packages, @code{leftindex} also indents the left superscript,
providing much better spacing in general.")
    (license license:lppl1.3c)))

(define-public texlive-leipzig
  (package
    (name "texlive-leipzig")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/leipzig/" "makeindex/leipzig/"
                                     "source/latex/leipzig/" "tex/latex/leipzig/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iwra0yvalprgxqk4vdbh4wr17pla94x5lnjnwg3jh8nlb1887a6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/leipzig")
    (synopsis "Typeset and index linguistic gloss abbreviations")
    (description
     "The @code{leipzig} package provides a set of macros for standard glossing
abbreviations, with options to create new ones.  They are mnemonic.  These
abbreviations can be used alone or on top of the @code{glossaries} package for
easy indexing and glossary printing.")
    (license license:lppl1.3+)))

(define-public texlive-lengthconvert
  (package
    (name "texlive-lengthconvert")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lengthconvert/"
                                     "source/latex/lengthconvert/"
                                     "tex/latex/lengthconvert/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19j6ls0jh0s8is0sizc9r3m6x715zblk3rb3cp4nwicf526vnfg3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lengthconvert")
    (synopsis "Express lengths in arbitrary units")
    (description
     "The package provides a command to convert a length to any of a large
selection of units.")
    (license license:lppl1.3+)))

(define-public texlive-lettre
  (package
    (name "texlive-lettre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lettre/" "tex/latex/lettre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ahcsx9ds5vw3cf9jxs277jcckhbslpcs9ahhj40ycygfrlkw4p8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lettre")
    (synopsis "Letters and faxes in French")
    (description
     "This class is for writing letters and faxes in French.")
    (license license:lppl1.3+)))

(define-public texlive-lettrine
  (package
    (name "texlive-lettrine")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lettrine/"
                                     "source/latex/lettrine/"
                                     "tex/latex/lettrine/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gg1a4z89jqcsznizksn2hcpphg37dcqdbh9fvf6a887qa8apaab"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lettrine")
    (synopsis "Typeset dropped capitals")
    (description
     "The @code{lettrine} package supports various dropped capitals styles,
typically those described in the French typographic books.  In particular, it
has facilities for the paragraph text's left edge to follow the outline of
capitals that have a regular shape (such as @samp{A} and @samp{V}).")
    (license license:lppl1.3+)))

(define-public texlive-lewis
  (package
    (name "texlive-lewis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lewis/" "tex/latex/lewis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13w585adasl0ss9mfvpnx8f55iy18748zv66x038nw2i25yrs0ly"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lewis")
    (synopsis "Draw Lewis structures")
    (description
     "The package provides rudimentary support for drawing Lewis Structures.
Support is limited to elements that support the octet rule.")
    (license license:public-domain)))

(define-public texlive-lhelp
  (package
    (name "texlive-lhelp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lhelp/" "source/latex/lhelp/"
                                     "tex/latex/lhelp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yr9mv7vihizrra37dy1d0xvrkhbkyg5fvzbhgd1lh25wgpsmi92"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lhelp")
    (synopsis "Miscellaneous helper packages")
    (description
     "This package defines macros which are useful for many documents.  It is
a large collection of simple little helpers which do not really warrant
a separate package on their own.  Included are, among other things,
definitions of common units with preceeding thinspaces, framed boxes where
both width and height can be specified, starting new odd or even pages, draft
markers, notes, conditional includes, including EPS files, and versions of
enumerate and itemize which allow the horizontal and vertical spacing to be
changed.")
    (license license:gpl3+)))

(define-public texlive-libgreek
  (package
    (name "texlive-libgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/libgreek/"
                                     "source/latex/libgreek/"
                                     "tex/latex/libgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ma56mn0b2wh0kja3p275w94vhss3anv7djnil2gx3k7878kjpgy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/libgreek")
    (synopsis
     "Greek letters in math mode from Libertinus or Linux Libertine/Biolinum")
    (description
     "This package allows LaTeX users (especially if using traditional
@code{LaTeX/pdfLaTeX)} to set the Greek letters in math mode using the glyphs
from the Libertinus Serif or Sans font via the font support files provided by
Bob Tennent's libertinus-type1 package.  All Greek letters are defined both in
\\...up and \\...it variants.  The style (ISO, TeX, or French i.e., upright)
can be modified midway in the document.  A legacy mode uses font support from
the (obsolete) @code{libertine-legacy} package which maps to the Linux
Libertine or Biolinum fonts.  This package is for users who only want to
customize Greek letters in math mode.")
    (license license:lppl1.3c)))

(define-public texlive-limap
  (package
    (name "texlive-limap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/limap/" "source/latex/limap/"
                                     "tex/latex/limap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v81wckm2g0c67shgwxvci6lfsfjhilwrigy22hcpmszfk1czasm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/limap")
    (synopsis
     "Typeset maps and blocks according to the Information Mapping(r) method")
    (description
     "The Information Mapping method provides a methodology for structuring and
presenting information.  It claims to be useful for readers who are more
concerned about finding the right information than reading the document as
a whole.  Thus short, highly structured, and context free pieces of
information are used.  A LaTeX style and a LaTeX class are provided.  The
style contains definitions to typeset maps and blocks according to the
Information Mapping method.  The class provides all definitions to typeset
a whole document.")
    (license license:lppl1.3c)))

(define-public texlive-linegoal
  (package
    (name "texlive-linegoal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/linegoal/"
                                     "source/latex/linegoal/"
                                     "tex/latex/linegoal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aipk7y42gkibpaqicbw8myfyj94qs736m2sk3l390xidz81fmw8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/linegoal")
    (synopsis "@emph{dimen} that returns the space left on the line")
    (description
     "The @code{linegoal} package provides a macro @code{\\linegoal} to be used
with @code{\\setlength}: @samp{\\setlength<some dimen>\\linegoal} will set
@samp{<some dimen>} to the horizontal length of the remainder of the line.")
    (license license:lppl1.3+)))

(define-public texlive-linop
  (package
    (name "texlive-linop")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/linop/" "tex/latex/linop/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0w8g6xfmk2y04xzn6la96ykvv2y0lz9lib6gcnz7p8cbh24fjxa5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/linop")
    (synopsis
     "Typeset linear operators as they appear in quantum theory or linear algebra")
    (description
     "This small package aims to provide two simple commands and many options to
easily write linear operators as they appear in many-body physics, quantum
theory, and linear algebra, in any of the ways commonly in use.")
    (license license:lppl1.3+)))

(define-public texlive-lisp-on-tex
  (package
    (name "texlive-lisp-on-tex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lisp-on-tex/"
                                     "tex/latex/lisp-on-tex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07d4bw1hs3vl8yrix13cski3gzdv6sd3s32amdnca7sjjbfp9b0l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lisp-on-tex")
    (synopsis "Execute LISP code in a LaTeX document")
    (description
     "The package provides a LISP interpreter written using TeX macros; it is
provided as a LaTeX package.  The interpreter static scoping, dynamic typing,
and eager evaluation.")
    (license license:bsd-2)))

(define-public texlive-listing
  (package
    (name "texlive-listing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listing/" "tex/latex/listing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f74bff3dk9v316hznjqnlfljkbbdshqj3s8b4arvf2jipg96npd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/listing")
    (synopsis "Produce formatted program listings")
    (description
     "The @code{listing} environment is provided and is similar to figure and
table, although it is not a floating environment.  Includes support for
@code{\\caption}, @code{\\label}, @code{\\ref}, and introduces
@code{\\listoflistings}, @code{\\listingname}, @code{\\listlistingname}.  It
produces a @file{.lol} file.  It does not change
@code{\\@@makecaption} (unless the option @code{bigcaptions} is used), so
packages that change the layout of @code{\\caption} still work.")
    (license license:lppl)))

(define-public texlive-listlbls
  (package
    (name "texlive-listlbls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listlbls/"
                                     "source/latex/listlbls/"
                                     "tex/latex/listlbls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hdcaf817fyz37n3ib8b425rfkiriyhn6lliprjsvq8jdv8hmdxa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/listlbls")
    (synopsis "Creates a list of all labels used throughout a document")
    (description
     "The package aims to help a LaTeX author to keep track of all defined
labels by typesetting a complete list of labels wherever the author requests it.
(Of course, the user may need to have additional LaTeX runs to get the
references right.)")
    (license license:lppl1.3+)))

(define-public texlive-listliketab
  (package
    (name "texlive-listliketab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listliketab/"
                                     "source/latex/listliketab/"
                                     "tex/latex/listliketab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gmd78nnjgq8ka4x9a7zmbq9f9345lcpms9pk9dhiz9a5kwpi7ii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/listliketab")
    (synopsis "Typeset lists as tables")
    (description
     "The @code{listliketab} package helps the user make list-like tabulars, i.e.,
a tabular that is indistinguishable from an @code{itemize} or @code{enumerate}
environment.  The advantage of using a tabular is that the user can add
additional columns to each entry in the list.")
    (license license:lppl)))

(define-public texlive-listofsymbols
  (package
    (name "texlive-listofsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/listofsymbols/"
                                     "source/latex/listofsymbols/"
                                     "tex/latex/listofsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1srbs3hfymyzxf9jz9zsvjladzkc27k7r4lb50aqypry9x2m0p04"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/listofsymbols")
    (synopsis "Create and manipulate lists of symbols")
    (description
     "Listofsymbols provides commands to automatically create a list of
symbols (also called notation or nomenclature), and to handle symbols
logically, i.e., define a macro that is expanded to the desired output and use
the macro in the text rather than hard-coding the output into the text.  This
helps to ensure consistency throughout the text, especially if there is
a chance that symbols will be changed at some stage.  The package is more or
less a combination of what the packages @code{nomencl} and @code{formula} do.
The concept of creating the list of symbols, though, is different from the way
@file{nomencl.sty} does it.")
    (license license:lppl)))

(define-public texlive-lkproof
  (package
    (name "texlive-lkproof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lkproof/" "tex/latex/lkproof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hlf5wgvkbi12p52dy1jh7fq9d6sw8vma1hcv9s6b9fzk03h21v4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lkproof")
    (synopsis "LK Proof figure macros")
    (description
     "The package defines a pair of commands @code{\\infer} and @code{\\deduce},
that are used in constructing LK proof diagrams.")
    (license license:gpl3+)))

(define-public texlive-lmake
  (package
    (name "texlive-lmake")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lmake/" "source/latex/lmake/"
                                     "tex/latex/lmake/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d3bn1rbnmv1ai7ciiym6z10yrpca3c7f5phsf49hbrpp3x4whpj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lmake")
    (synopsis "Process lists to do repetitive actions")
    (description
     "The package provides commands to simplify processing of sequential list-like
structures, such as making a series of similar commands from a list of names.")
    (license license:lppl1.2+)))

(define-public texlive-locality
  (package
    (name "texlive-locality")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/locality/"
                                     "source/latex/locality/"
                                     "tex/latex/locality/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q26jb8x9ik3wfv224yxdfj651pxq49qvbz45f0x0iw6vxqllx1n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/locality")
    (synopsis "Various macros for keeping things local")
    (description
     "This package provides a toolbox of macros designed to allow the LaTeX
programmer to work around some of the restrictions of the TeX grouping
mechanisms.  The present release offers a preliminary view of the package; not
all of its facilities are working optimally")
    (license license:lppl1.3+)))

(define-public texlive-logbox
  (package
    (name "texlive-logbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logbox/" "source/latex/logbox/"
                                     "tex/latex/logbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qpywgp8nl2s43cmq8xxdm8jlcbglmvif0fp28zi4psapdr0kybi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logbox")
    (synopsis "e-TeX @code{showbox} facilities for exploration purposes")
    (description
     "The command @code{\\logbox} does @code{\\showbox} without stopping the
compilation.  The package's main command is @code{\\viewbox*}: the box is
typeset (copied) with its dimensions, and its contents are logged in the
@file{.log} file.")
    (license license:lppl1.3+)))

(define-public texlive-logical-markup-utils
  (package
    (name "texlive-logical-markup-utils")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logical-markup-utils/"
                                     "tex/latex/logical-markup-utils/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rklvva3gxifb5j1i0bswh0hra2rkmavk5v88pcxqp6jmzps9zpd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/logical-markup-utils")
    (synopsis "Packages for language-dependent inline quotes and dashes")
    (description
     "The bundle contains two packages: @code{quoted}, for inserting quotation
marks; and @code{onedash}, for inserting dashes.  Each package takes
a language name as an option; accepted language options are @code{american},
@code{british}, @code{german} and @code{polish}.")
    (license license:gpl3)))

(define-public texlive-logpap
  (package
    (name "texlive-logpap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/logpap/" "source/latex/logpap/"
                                     "tex/latex/logpap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jg7jp40h80bmdjwhm9pz2ipz3r4r5rz1ksnac5ssybxp6psnhkq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; Do not stop build to ask about building part of the
          ;; documentation.
          (add-after 'unpack 'non-interactive-build
            (lambda _
              (substitute* "source/latex/logpap/logpap.ins"
                (("\\\\generateexampletrue") "\\generateexamplefalse")))))))
    (home-page "https://ctan.org/pkg/logpap")
    (synopsis "Generate logarithmic graph paper with LaTeX")
    (description
     "The logpap package provides four macros for drawing logarithmic-logarithmic,
logarithmic-linear, linear-logarithmic and (because it was easy to implement)
linear-linear graph paper with LaTeX.")
    (license license:lppl)))

(define-public texlive-longfbox
  (package
    (name "texlive-longfbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/longfbox/" "tex/latex/longfbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yqjn1xmn10g5rhd1prbndzxyccy3z8piab5aribzgl5kw466zyn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/longfbox")
    (synopsis
     "Draw framed boxes with standard CSS attributes that can break over multiple
pages")
    (description
     "The @code{longfbox} package provides framed boxes that can be customized
using standard CSS attributes.  It was written to support precise rendering of
Madoko documents in LaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-longfigure
  (package
    (name "texlive-longfigure")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/longfigure/"
                                     "source/latex/longfigure/"
                                     "tex/latex/longfigure/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01km3597c6anzy6psq9i502bn3cz5hdybgm4aypi6a59w4y2fp6p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/longfigure")
    (synopsis "Provides a @code{figure}-like environment that break over pages")
    (description
     "The @code{longfigure} package uses and relabels components of the well-known
@code{longtable} package to provide a @code{table}-like environment that can
display a stream of figures as a single figure that can break across pages.")
    (license license:lppl1.3+)))

(define-public texlive-longnamefilelist
  (package
    (name "texlive-longnamefilelist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/longnamefilelist/"
                                     "source/latex/longnamefilelist/"
                                     "tex/latex/longnamefilelist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05bjbn4l45ydyj2npaxki3k5kd4d2pwlbp672xg0mbh6aj1bnanr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/longnamefilelist")
    (synopsis "Tidy @code{\\listfiles} with long file names")
    (description
     "The package equips LaTeX's @code{\\listfiles} command with an optional
argument for the number of characters in the longest base filename.  This way
you get a neatly aligned file list even when it contains files whose base
names have more than 8 characters.  The package can be combined with the
@code{myfilist} package as explained in the documentation.")
    (license license:lppl1.3+)))

(define-public texlive-loops
  (package
    (name "texlive-loops")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/loops/" "tex/latex/loops/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09r744s5v87a18h51idy59slhjqqal85wh8xl9axjkwky9ar6dk7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/loops")
    (synopsis "General looping macros for use with LaTeX")
    (description
     "The package provides efficient looping macros for processing both CSV
(separated-values) and NSV/TSV (non-separated values) lists.  CSV lists which
have associated parsers may be processed with the tools of the package.")
    (license license:lppl1.3+)))

(define-public texlive-lsc
  (package
    (name "texlive-lsc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/lsc/" "doc/latex/lsc/"
                                     "tex/latex/lsc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jxxcngaqxcgm1q4z2zq88xlsa9h3ij61icqpjk0gp7w5r0qcbpm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lsc")
    (synopsis "Typesetting @acronym{LSC, Live Sequence Charts}")
    (description
     "This package is similar to the @code{msc} package in that it provides macros
for typesetting a variant of sequence diagrams, in this case the Live Sequence
Charts of Damm and Harel.  The package supports the full LSC language of the
original LSC paper, the Klose-extensions for formal verification and some of
the Harel-extensions for the Play-In/Play-Out approach.")
    (license license:lppl)))

(define-public texlive-lstaddons
  (package
    (name "texlive-lstaddons")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lstaddons/"
                                     "source/latex/lstaddons/"
                                     "tex/latex/lstaddons/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0frav8hr2xwpdpkb0qlz3sdiy3vhpln36rk58grvzqdiissa1azg"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/lstaddons")
    (synopsis "Add-on packages for @code{listings}")
    (description
     "The bundle contains a small collection of add-on packages for the
@code{listings} package.  Current packages are: @code{lstlinebgrd}: colour the
background of some or all lines of a listing; and @code{lstautogobble}: set
the standard @code{gobble} option to the indent of the first line of the
code.")
    (license license:lppl1.3+)))

(define-public texlive-lstfiracode
  (package
    (name "texlive-lstfiracode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lstfiracode/"
                                     "tex/latex/lstfiracode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l2v3ir0yj3kgavijny03d10zgm273rnnn3317cnrpjjlb1gwxv1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lstfiracode")
    (synopsis "Use Fira Code font for listings")
    (description
     "The @code{lstfiracode} package defines @code{FiraCodeStyle} for the use with
the @code{listings} package.  This style contains almost all ligatures in Fira
Code family of fonts.")
    (license license:lppl1.3c)))

(define-public texlive-lt3graph
  (package
    (name "texlive-lt3graph")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lt3graph/" "tex/latex/lt3graph/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n68mxgidr5kb5qz8mgdc3i6qk6bmirbvs6wij6b04a3b9d0fkh0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lt3graph")
    (synopsis "Provide a graph datastructure for experimental LaTeX3")
    (description
     "The package defines a graph data structure, for use in documents that are
using the experimental LaTeX 3 syntax.")
    (license license:lppl1.3+)))

(define-public texlive-lt3rawobjects
  (package
    (name "texlive-lt3rawobjects")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/lt3rawobjects/"
                                     "source/latex/lt3rawobjects/"
                                     "tex/latex/lt3rawobjects/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "027sx3v7sg8rjkkpxcsv1p7q2wgyyazrhhpnlj2pf55sdky8zjxh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lt3rawobjects")
    (synopsis "Objects and proxies in LaTeX3")
    (description
     "This package introduces a new mechanism to create objects like the well known
C structures.  The functions exported by this package are quite low level, and
many important mechanisms like member protection and name resolution aren't
already defined and should be introduced by intermediate packages.")
    (license license:gpl3+)))

(define-public texlive-ltabptch
  (package
    (name "texlive-ltabptch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltabptch/" "tex/latex/ltabptch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jk16qkgvpi1jjw82gcn34p4wqry8sl5ybjv5vfhc820871fwfbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltabptch")
    (synopsis "Bug fix for longtable")
    (description
     "This package provides a patch for LaTeX bugs tools/3180 and tools/3480.
The patch applies to version 4.11 of @code{longtable}.")
    (license license:lppl)))

(define-public texlive-ltxguidex
  (package
    (name "texlive-ltxguidex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltxguidex/"
                                     "tex/latex/ltxguidex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wi2v8fvp12vqrhfmbj16mgi9lph0jdf9gks6z3p0kwp0l9jn5cy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltxguidex")
    (synopsis "Extended @code{ltxguide} class")
    (description
     "The @code{ltxguidex} document class extends @code{ltxguide} with a set of
environments and commands that make writing beautiful LaTeX documentation
easier and more natural.")
    (license license:lppl1.3c)))

(define-public texlive-ltxkeys
  (package
    (name "texlive-ltxkeys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltxkeys/" "tex/latex/ltxkeys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "169hm5v3rr7nl06f3qlpf7x4cpchs69r37q0xdzvpjm184s0r03n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltxkeys")
    (synopsis "Robust key parser for LaTeX")
    (description
     "The package provides facilities for creating and managing keys in the sense
of the @code{keyval} and @code{xkeyval} packages, but it is intended to be
more robust and faster.  Its robustness comes from its ability to preserve
braces in key values throughout parsing.  The need to preserve braces in key
values arises often in parsing keys (for example, in the @code{xwatermark}
package).  The package also provides functions for defining and managing
keys.")
    (license license:lppl)))

(define-public texlive-ltxnew
  (package
    (name "texlive-ltxnew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltxnew/" "source/latex/ltxnew/"
                                     "tex/latex/ltxnew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c60x0qmjxxi3l8zbc12xv4hyj3apr9m3knjl0vsj8dyl9iyan0s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltxnew")
    (synopsis "Simple means of creating commands")
    (description
     "The package @code{ltxnew} provides @code{\\new}, @code{\\renew} and
@code{\\provide} prefixes for checking definitions.  It is designed to work
with e-TeX distributions of LaTeX and relies on the LaTeX internal macro
@code{\\@@ifdefinable}.  Local allocation of counters, dimensions, skips,
muskips, boxes, tokens and marks are provided by the etex package.
@code{\\new} and @code{\\renew} as well as @code{\\provide} may be used for
all kind of control sequences.")
    (license license:lppl1.3+)))

(define-public texlive-ltxtools
  (package
    (name "texlive-ltxtools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ltxtools/" "tex/latex/ltxtools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rvwdnx33k805xb72vdi6r3gw6kmw1apjiqrf0ggvi9dl2r4pfbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ltxtools")
    (synopsis "Collection of LaTeX API macros")
    (description
     "This is a bundle of macros that the author uses in the coding of others of
his macro files.")
    (license license:lppl1.3+)))

(define-public texlive-lua-check-hyphen
  (package
    (name "texlive-lua-check-hyphen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lua-check-hyphen/doc/"
                                     "tex/lualatex/lua-check-hyphen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pxqz93izg5xpzp4p923mi97jr7y2ng9mxa8fqyxdbzvl92q48ni"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lua-check-hyphen")
    (synopsis "Mark hyphenations in a document, for checking")
    (description
     "The package looks at all hyphenation breaks in the document, comparing them
against a white-list prepared by the author.  If a hyphenation break is found,
for which there is no entry in the white-list, the package flags the line
where the break starts.  The author may then either add the hyphenation to the
white-list, or adjust the document to avoid the break.")
    (license license:expat)))

(define-public texlive-lua-physical
  (package
    (name "texlive-lua-physical")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/lua-physical/"
                                     "scripts/lua-physical/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bkzlzbpa26iw78qpp00svrzndcw78kcw1zv39hwbsyk9lz2a39s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/lua-physical")
    (synopsis
     "Functions and objects for the computation of physical quantities")
    (description
     "This is a pure Lua library, which provides functions and objects for the
computation of physical quantities.  The package provides units of the SI and
the imperial system.  In order to display the numbers with measurement
uncertainties, the package is able to perform Gaussian error propagation.")
    (license license:expat)))

(define-public texlive-luatodonotes
  (package
    (name "texlive-luatodonotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/luatodonotes/"
                                     "source/lualatex/luatodonotes/"
                                     "tex/lualatex/luatodonotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0skkr16d6kpn811nwqifsypc14p9m0q0jza8lmmk609bq8r7qvf1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/luatodonotes")
    (synopsis "Add editing annotations in a LuaLaTeX document")
    (description
     "The package allows the user to insert comments into a document that
suggest (for example) further editing that may be needed.  The comments are
shown in the margins alongside the text; different styles for the comments may
be used; the styles are selected using package options.  The package is based
on the package @code{todonotes}, and depends heavily on Lua, so it can only be
used with LuaLaTeX.")
    (license license:lppl1.2+)))

(define-public texlive-macrolist
  (package
    (name "texlive-macrolist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/macrolist/"
                                     "source/latex/macrolist/"
                                     "tex/latex/macrolist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lirq03dnz9pf454njqc9fmq9ra0pkkyx28lx3qjz1wph9g7cayv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/macrolist")
    (synopsis "List operations for LaTeX2e")
    (description
     "This package provides a list data structure and common list functions such as
@code{\\macrolistadd}, @code{\\macrolistremove}, @code{\\macrolistforeach}, as
well as @code{\\macrolistremovelast} and @code{\\macrolistjoin}.  Unlike most
programming languages, the lists in this package are 1-indexed, meaning the
first element is numbered 1, the second element numbered 2, and so on.")
    (license license:lppl1.3+)))

(define-public texlive-macroswap
  (package
    (name "texlive-macroswap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/macroswap/"
                                     "source/latex/macroswap/"
                                     "tex/latex/macroswap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06qj68pi24rblmx16wm76p5cy791p9whmglwi384k3vikb91qjrl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/macroswap")
    (synopsis "Swap the definitions of two LaTeX macros")
    (description
     "The package provides simple utility methods to swap the meaning (token
expansion) of two macros by name.")
    (license license:lppl1.2+)))

(define-public texlive-magaz
  (package
    (name "texlive-magaz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/magaz/" "tex/latex/magaz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "142hclmrvja2pp7iks25mga099k9vp219m32b1b6vds5dzqnxc63"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/magaz")
    (synopsis "Magazine layout")
    (description
     "The current version does special formatting for the first line of text in
a paragraph.  The package is part of a larger body of tools which remain in
preparation.")
    ;; "This software may be freely used, transmitted, reproduced, or
    ;; modified provided that the copyright notice and this permission
    ;; is retained."
    (license (license:fsf-free "file://tex/latex/magaz/magaz.sty"))))

(define-public texlive-magicnum
  (package
    (name "texlive-magicnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/magicnum/" "scripts/magicnum/"
                                     "source/latex/magicnum/"
                                     "tex/generic/magicnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "004zwr1qgk1cmhrxj0qb6i4p3dilh1mzbaaif03zr4wj6bb25dq3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/magicnum")
    (synopsis "Access TeX systems' ``magic numbers''")
    (description
     "This package allows access to the various parameter values in TeX
(catcode values), e-TeX (group, if and node types, and interaction mode), and
LuaTeX (@code{pdfliteral} mode) by a hierarchical name system.")
    (license license:lppl1.3c)))

(define-public texlive-magicwatermark
  (package
    (name "texlive-magicwatermark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/magicwatermark/"
                                     "source/latex/magicwatermark/"
                                     "tex/latex/magicwatermark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1abi3xvy123alpgv0z7h7gyfj2ynz462vfsxpx0q5pnbv8648y3h"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/magicwatermark")
    (synopsis "Flexible way to set watermarks")
    (description
     "This package can flexibly set and clear watermarks.  All watermark content is
placed inside a TikZ node in the center of the page.")
    (license license:lppl1.3c)))

(define-public texlive-mailing
  (package
    (name "texlive-mailing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mailing/" "source/latex/mailing/"
                                     "tex/latex/mailing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16x4s7cql6ckcfplmxx2wc52625wyg0nr0vkdyp7r2kh3j1xci1w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mailing")
    (synopsis "Macros for mail merging")
    (description
     "This package is for use when sending a large number of letters, all with the
same body text.  The package's @code{\\addressfile} command is used to specify
who the letter is to be sent to; the body of the @code{\\mailingtext} command
specifies the text of the letters, possibly using macros defined in the
@code{\\addressfile}.")
    (license license:lppl)))

(define-public texlive-mailmerge
  (package
    (name "texlive-mailmerge")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mailmerge/"
                                     "source/latex/mailmerge/"
                                     "tex/latex/mailmerge/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b2kixzf42ylyicibdzfqw0d8fwsqllfpa90xs9xxvaiz13pfiyj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mailmerge")
    (synopsis "Repeating text field substitution")
    (description
     "The package @code{mailmerge} provides an interface to produce text from
a template, where fields are replaced by actual data, as in a database.  The
package may be used to produce several letters from a template, certificates
or other such documents.  It allows access to the entry number, number of
entries and so on.")
    (license license:lppl1.2+)))

(define-public texlive-makebarcode
  (package
    (name "texlive-makebarcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makebarcode/"
                                     "tex/latex/makebarcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02vqhf33bnmag5q08q4r2n41j04c73i40zz54wknrhhs2w6ksp20"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makebarcode")
    (synopsis "Print various kinds 2/5 and Code 39 bar codes")
    (description
     "The package contains macros for printing various 2/5 bar codes and Code 39
bar codes.  The macros do not use fonts but create the bar codes directly
using vertical rules.  It is therefore possible to vary width to height ratio,
ratio of thin and thick bars.  The package is therefore convenient for
printing ITF bar codes as well as bar codes for identification labels for HP
storage media.")
    (license license:lppl)))

(define-public texlive-makebase
  (package
    (name "texlive-makebase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makebase/"
                                     "source/latex/makebase/"
                                     "tex/latex/makebase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rqgfxfardp4z000zxfmnh231vi4wffyzsd3wfvyz9j7jd543pip"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makebase")
    (synopsis "Typeset counters in a different base")
    (description
     "This package typesets a LaTeX counter such as page in an arbitrary base
(default 16).  It does not change font or typeface.")
    (license license:lppl1.3+)))

(define-public texlive-makebox
  (package
    (name "texlive-makebox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makebox/" "source/latex/makebox/"
                                     "tex/latex/makebox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0n7gxbqlx88bigcrw2z8jqwaakhisdzxx2lzn0ddjnpvslhm4hl9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makebox")
    (synopsis "Defines a @code{\\makebox*} command")
    (description
     "This package defines a @code{\\makebox*} command that does the same as
a @code{\\makebox} command, except that the width is given by a sample text
instead of an explicit length measure.")
    (license license:lppl)))

(define-public texlive-makecirc
  (package
    (name "texlive-makecirc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/metapost/makecirc/"
                                     "metapost/makecirc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17l4gd9ipbgfcpiy980dlp7zzbrsy9qfcci1ajig2l23gqa50j52"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makecirc")
    (synopsis "MetaPost library for drawing electrical circuit diagrams")
    (description
     "MakeCirc is a MetaPost library that contains diverse symbols for use in
circuit diagrams.  MakeCirc offers a high quality tool, with a simple syntax.
MakeCirc is completely integrated with LaTeX documents and with other MetaPost
drawing/graphic.  Its output is a PostScript file.")
    (license license:lppl)))

(define-public texlive-makecookbook
  (package
    (name "texlive-makecookbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/makecookbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1abzwzsm2jh11qj2qr31bznfc344ynjrdagqayrcgifg4725fa0f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makecookbook")
    (synopsis "Make a cookbook")
    (description
     "The @code{makecookbook} bundle contains the files needed to create a nice
quality family cookbook in a form ready to submit to most print-on-demand
companies.  Modifiable choices have been made regarding standard book features
such as trim size, margins, headers/footers, chapter heading formatting, front
matter (copyright page, table of contents, etc.) and back matter (index).
Commands and environments have been created to format the food stories and
recipes.  The user will need to: supply their own food stories and recipes(!),
and install the needed fonts.  We assume a LuaTeX compile.

Please note that no new document class or package is included here.  Rather,
we provide a modifiable preamble and a small number of other files that,
together, fully support creation of all of the internal pages of
a cookbook (i.e., everything except the cover art).")
    (license license:lppl1.3c)))

(define-public texlive-makedtx
  (package
    (name "texlive-makedtx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/support/makedtx/" "scripts/makedtx/"
                                     "source/support/makedtx/"
                                     "tex/latex/makedtx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g20p9n834b8a55rp3l4ybwxvz2w1pp27fmak2wn8zz62nmxl4lf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "makedtx.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/makedtx")
    (synopsis "Perl script to help generate @file{.dtx} and @file{.ins} files")
    (description
     "The @code{makedtx} bundle is provided to help LaTeX2e developers to write the
code and documentation in separate files, and then combine them into a single
@file{.dtx} file for distribution.  It automatically generates the character
table, and also writes the associated installation (@file{.ins}) script.")
    (license license:lppl)))

(define-public texlive-makeglos
  (package
    (name "texlive-makeglos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makeglos/" "tex/latex/makeglos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10d74vw46y5ckkr2s5rpkv6cf4z1cxp8idqx4gjm6zxfr3arp2ss"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makeglos")
    (synopsis "Include a glossary into a document")
    (description
     "The package provides the means to include a glossary into a document.  The
glossary is prepared by an external program, such as @command{xindy} or
@command{makeindex}, in the same way that an index is made.")
    (license license:gpl3+)))

(define-public texlive-makelabels
  (package
    (name "texlive-makelabels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makelabels/"
                                     "source/latex/makelabels/"
                                     "tex/latex/makelabels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0aplzmyvdkyqkzwhyjcjp11dnmf2v1xm4b4qbyrvmhjbldrmzsps"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makelabels")
    (synopsis
     "Add a @code{\\makelabels} feature to KOMA-Script letter classes and package")
    (description
     "The standard letter class @code{letter} has a label feature.  You can
activate it using @code{\\makelabels}.  While in Germany window envelopes are
common, printing labels is not common, and @code{scrlttr2} has never supported
label printing.  Using @file{makelabels.lco} does implement
a @code{\\makelabels} feature similar to the standard letter classes.
Currently there are (almost) no configuration features for
@file{makelabels.lco}.  But you may use the @code{envlab} package after
loading @file{makelabels.lco} to get various configuration features.")
    (license license:lppl1.3c)))

(define-public texlive-makerobust
  (package
    (name "texlive-makerobust")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/makerobust/"
                                     "tex/latex/makerobust/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a5360vda131jh1qvwarbqc9riwksxjrzamqkcf3a2zg1ps13w59"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/makerobust")
    (synopsis "Making a macro robust (legacy package)")
    (description
     "Heiko Oberdiek's @code{makerobust} package defined a command with name
@code{\\MakeRobustCommand} that could be used to make fragile commands robust.
The LaTeX format has, since 2015, included a command @code{\\MakeRobust} with
the same syntax and behaviour.  Also by 2019, almost all commands in LaTeX
that may be used in a moving argument are already robust.  This package is now
just a simple one-liner defining the name @code{\\MakeRobustCommand} as an
alias for @code{\\MakeRobust}.  This package should not be used in any new
documents.")
    (license license:lppl1.3c)))

(define-public texlive-mandi
  (package
    (name "texlive-mandi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mandi/" "source/latex/mandi/"
                                     "tex/latex/mandi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jzg9i4kw58b00w35f0q7ymb2pyvmhy7hkp2bbaxgbpicxxb9aqy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mandi")
    (synopsis "Macros for introductory physics and astronomy")
    (description
     "The package contains commands for students and teachers of introductory physics.
Commands for physical quantities intelligently handle SI units so the user
need not do so.  There are other features that should make LaTeX easy for
introductory physics students.")
    (license license:lppl1.3+)))

(define-public texlive-manuscript
  (package
    (name "texlive-manuscript")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/manuscript/"
                                     "source/latex/manuscript/"
                                     "tex/latex/manuscript/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1idb43b4c74mdyzypvq5izfv2jf91b33d8qhva12bd7njz3wnpg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/manuscript")
    (synopsis "Emulate look of a document typed on a typewriter")
    (description
     "This package is designed for those who have to submit dissertations, etc., to
institutions that still maintain the typewriter is the summit of
non-professional printing.")
    (license license:lppl)))

(define-public texlive-manyind
  (package
    (name "texlive-manyind")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/manyind/" "tex/latex/manyind/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0szsdqxl962c5bsqhg9qvqx8ls5rfpxq7yp8cwlpn11rmp77jbca"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/manyind")
    (synopsis "Provides support for many indexes")
    (description
     "This package provides support for many indexes, leaving all the bookkeeping
to LaTeX and MakeIndex.  No extra programs or files are needed.  One runs
@command{latex} and @command{makeindex} as if there is just one index.  In the
main file one puts commands like @samp{\\setindex@{main@}} to steer the flow.
Some features of MakeIndex may no longer work.")
    (license license:lppl1.2+)))

(define-public texlive-marginfit
  (package
    (name "texlive-marginfit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/marginfit/"
                                     "source/latex/marginfit/"
                                     "tex/latex/marginfit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hw87d6f6r23f9ri9j7r51v6vbq4naycldqjach2snv19s6a2855"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/marginfit")
    (synopsis "Improved margin notes")
    (description
     "This package fixes various bugs with the margin paragraph implementation of
LaTeX. Those bugs include margin notes that are attached to the wrong side as
well as those that stick out of the bottom of the page.  This package provides
a drop-in replacement solution.")
    (license license:lppl1.3+)))

(define-public texlive-mathexam
  (package
    (name "texlive-mathexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathexam/"
                                     "source/latex/mathexam/"
                                     "tex/latex/mathexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jw06n6cghs3s2s0yz3w0y5zx39hx7f74qs797lfki57bic34mla"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathexam")
    (synopsis "Package for typesetting exams")
    (description
     "The package can help you typeset exams (mostly in mathematics and related
disciplines where students are required to show their calculations followed by
one or more short answers).  It provides commands for inclusion of space for
calculations, as well as commands for automatic creation of answer spaces.  In
addition, the package will automatically create page headers and footers, and
will let you include instructions and space for students to put their name.")
    (license license:lppl)))

(define-public texlive-mathfam256
  (package
    (name "texlive-mathfam256")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathfam256/"
                                     "tex/latex/mathfam256/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "170hjgam55xgfrmznqmqycr5iwk76s1gknfdjjg8jxqd0z8z55i9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathfam256")
    (synopsis "Extend math family up to 256 for pLaTeX/upLaTeX/Lamed")
    (description
     "This package increases the upper limit of math symbols up to 256, using
@code{\\omath}...  primitives.  These primitives were originally introduced in
Omega and are currently available in the following formats: pLaTeX (runs on
e-pTeX), upLaTeX (runs on e-upTeX), and Lamed (runs on Aleph, successor of
Omega).")
    (license license:bsd-3)))

(define-public texlive-mathfont
  (package
    (name "texlive-mathfont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mathfont/"
                                     "source/latex/mathfont/"
                                     "tex/latex/mathfont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xyd3lw95qr117g1m0wl37l6ilfnl304lg7vcx840j1gd2sakkcm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mathfont")
    (synopsis "Use TrueType and OpenType fonts in math mode")
    (description
     "The @code{mathfont} package adapts unicode text fonts for math mode.  The
package allows the user to specify a default unicode font for different
classes of math symbols, and it provides tools to change the font locally for
math alphabet characters.  When typesetting with LuaTeX, @code{mathfont} adds
resizable delimiters, big operators, and a @code{MathConstants} table to text
fonts.")
    (license license:lppl1.3c)))

(define-public texlive-maybemath
  (package
    (name "texlive-maybemath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/maybemath/"
                                     "tex/latex/maybemath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07xg0kljl4pj5hx6490yxsl3i4hi1mcmy0g69jpv80zizbgx3004"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/maybemath")
    (synopsis "Make math bold or italic according to context")
    (description
     "The @code{\\maybebm} and @code{\\maybeit} macros can be used in maths
expressions to make the arguments typeset as bold or italic respectively if
the surrounding context is appropriate.  They are useful for writing user
macros for use in general contexts.  @code{\\maybebm} is especially
appropriate when section titles contain math expressions, since the title will
appear bold but the header and table of contents usually replicate the title
in normal width.  @code{\\maybeit} performs a similar role to @code{\\mathrm}
but the maths expression will be italicised if the surrounding text is.
@code{\\maybeitsubscript} is provided to shift subscripts to the left if the
expression is italicised.")
    (license license:lppl)))

(define-public texlive-mcaption
  (package
    (name "texlive-mcaption")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mcaption/"
                                     "source/latex/mcaption/"
                                     "tex/latex/mcaption/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ibg7k05mcwjkb6ln4w6nlbp9f4iybqhs7wrc1smf6f7dh14d0np"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mcaption")
    (synopsis "Put captions in the margin")
    (description
     "The @code{mcaption} package provides an @code{mcaption} environment which
puts figure or table captions in the margin.  The package works with the
standard classes and with the KOMA-Script document classes @code{scrartcl},
@code{scrreprt} and @code{scrbook}.")
    (license license:lppl)))

(define-public texlive-mceinleger
  (package
    (name "texlive-mceinleger")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mceinleger/"
                                     "tex/latex/mceinleger/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fkg8hz11nl7xfg1d4w4yxc2wf2ffry0jcv48phcxsjm50hw7wv2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mceinleger")
    (synopsis "Creating covers for music cassettes")
    (description
     "This package provides a package for creating MC-covers on your own.  It
allows the creation of simple covers as well as covers with an additional page
for more information about the cassette (e.g., table of contents).")
    (license license:gpl3+)))

(define-public texlive-mcexam
  (package
    (name "texlive-mcexam")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mcexam/" "tex/latex/mcexam/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j16v67rq9vlyaxjc49lbl7xawas0m2l4vkfnkl47va4091dcq29"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mcexam")
    (synopsis "Create randomized multiple choice questions")
    (description
     "This LaTeX package automatically randomly permutes the order of questions as
well as the answer options in different versions of a multiple choice
exam/test.  Next to the exam versions themselves, the package also allows
printing a concept version of the exam, a key table with the correct answers
or points, and a document with solutions and explanations per exam version.
The package also allows writing an R code which processes the results of the
exam and calculates the grades.")
    (license license:lppl1.3c)))

(define-public texlive-mcite
  (package
    (name "texlive-mcite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mcite/" "source/latex/mcite/"
                                     "tex/latex/mcite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hr8hc5d7ha249a817rgc64jx3nh8k1assbvknd14gbbp3x8wqx7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mcite")
    (synopsis "Multiple items in a single citation")
    (description
     "The mcite package allows the user to collapse multiple citations into one, as
is customary in physics journals.  The package requires a customised BibTeX
style for its work; the documentation explains how to do that customisation.")
    (license license:gpl3+)))

(define-public texlive-mciteplus
  (package
    (name "texlive-mciteplus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/mciteplus/"
                                     "doc/latex/mciteplus/"
                                     "tex/latex/mciteplus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j6dhj5rcxlx7824060yq5fixhbccz6qjns52d8v2vrs11rgw2q5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mciteplus")
    (synopsis "Enhanced multiple citations")
    (description
     "The @code{mciteplus} LaTeX package is an enhanced reimplementation of
@code{mcite} package which provides support for the grouping of multiple
citations together as is often done in physics journals.  An extensive set of
features provide for other applications such as reference sublisting.")
    (license license:lppl)))

(define-public texlive-media4svg
  (package
    (name "texlive-media4svg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/media4svg/"
                                     "tex/latex/media4svg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01a9p1c4mqvs07qn5gign7d389q856mkh9rszw26d5czxc2rb6kh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/media4svg")
    (synopsis "Multimedia inclusion for the @code{dvisvgm} backend")
    (description
     "This package implements an interface for embedding video and audio files in
@acronym{SVG, Scalable Vector Graphics} output.  SVG with embedded media is
very portable, as it is supported by all modern Web browsers across a variety
of operating systems and platforms, including portable devices.  All DVI
producing TeX engines can be used.  The @command{dvisvgm} utility converts the
intermediate DVI to SVG.  By default, media files are embedded into the SVG
output to make self-sufficient SVG files.")
    (license license:lppl)))

(define-public texlive-medstarbeamer
  (package
    (name "texlive-medstarbeamer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/medstarbeamer/"
                                     "tex/latex/medstarbeamer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08psazzrskzf1wspzjxfl9wlsafm0v5cjmfyn8wwmmwngzz87bwj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/medstarbeamer")
    (synopsis "Beamer document class for MedStar Health Research Institute")
    (description
     "This is a Beamer template for MedStar Health presentations.  It includes
sample presentations using both @file{.tex} files and @file{.rnw} files.  The
document class is obviously compatible with both.")
    (license license:lppl1.3+)))

(define-public texlive-meetingmins
  (package
    (name "texlive-meetingmins")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/meetingmins/"
                                     "source/latex/meetingmins/"
                                     "tex/latex/meetingmins/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x5w8iwxhf6cyl5iimrsddfi38ijgydhcg5sh5vb3spzf7dfjl64"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           ;; Build process writes files to a sub-directory.  Create it first
           ;; to prevent an error.
           #~(modify-phases %standard-phases
               (add-before 'build 'fix-build
                 (lambda _ (mkdir-p "build/samples/"))))))
    (home-page "https://ctan.org/pkg/meetingmins")
    (synopsis "Format written minutes of meetings")
    (description
     "The class allows formatting of meeting minutes using @code{\\section}
commands (which provide hierarchical structure).  An agenda can also
be produced for distribution prior to the meeting, with user-selected
portions suppressed from printing.")
    (license license:lppl1.3+)))

(define-public texlive-memexsupp
  (package
    (name "texlive-memexsupp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/memexsupp/"
                                     "tex/latex/memexsupp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ckgin457bskn3iih0fzyy2jnh7w4xyyx7nspcpk2bc6ncslmbpj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memexsupp")
    (synopsis "Experimental @code{memoir} support")
    (description
     "This package provides a package of code proposed as supporting material for
@code{memoir}.  The package is intended as a test bed for such code, which may
in the fullness of time be adopted into the main @code{memoir} release.")
    (license license:lppl)))

(define-public texlive-memory
  (package
    (name "texlive-memory")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/memory/" "source/latex/memory/"
                                     "tex/latex/memory/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04rkyi3kb90hcbhy124yw2akzsy5ws36bh2pva0zxncq62l60lj4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/memory")
    (synopsis "Containers for data in LaTeX")
    (description
     "The package allows the user to declare single object or array containers.")
    (license license:lppl1.3+)))

(define-public texlive-mensa-tex
  (package
    (name "texlive-mensa-tex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mensa-tex/"
                                     "tex/latex/mensa-tex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09g0dafp3xfsndvff9mrapsy35zg9jax04jwwslyd7rvh2cl37fg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mensa-tex")
    (synopsis "Typeset simple school cafeteria menus")
    (description
     "This package provides a flexible LaTeX2e class for typesetting school
cafeteria menus consisting of two lunches (with dessert), and dinner.  It
supports two different layouts.  The first layout is optimized for printing
the menu on A4 paper.  The second layout is optimized for smartphone screens
and uses one (A6 sized) page per day.  Supported localizations are
English (GB/US) and German.")
    (license license:lppl1.3c)))

(define-public texlive-menu
  (package
    (name "texlive-menu")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/menu/" "source/latex/menu/"
                                     "tex/latex/menu/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qlwrkqnj59s9c5qqp65xagv834wh6ak4aafc7hk97m29jyndygr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/menu")
    (synopsis "Typesetting menus")
    (description
     "The package defines command @code{\\menu} which assists typesetting of a path
through a program's menu.")
    (license license:lppl)))

(define-public texlive-menucard
  (package
    (name "texlive-menucard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/menucard/"
                                     "source/latex/menucard/"
                                     "tex/latex/menucard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01n1n4yamx6z1bs2drqqr7sjbarans1llqlkyaisxcrbv9hn47sa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/menucard")
    (synopsis "Typesetting menu cards with LaTeX")
    (description
     "This LaTeX package can be used for typesetting simple restaurant menus.")
    (license license:lppl1.3+)))

(define-public texlive-menukeys
  (package
    (name "texlive-menukeys")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/menukeys/"
                                     "source/latex/menukeys/"
                                     "tex/latex/menukeys/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cscn6mafm08459amgacy2awa5disqjlr0nbg0zwb0wfkgk5iqln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/menukeys")
    (synopsis "Format menu sequences, paths and keystrokes from lists")
    (description
     "This package is designed to format menu sequences, paths and keyboard
shortcuts automatically.  There are several predefined styles and one can
define one's own styles in a flexible way.")
    (license license:lppl1.3c)))

(define-public texlive-metalogox
  (package
    (name "texlive-metalogox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metalogox/"
                                     "source/latex/metalogox/"
                                     "tex/latex/metalogox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xqc6r6ii2dwz8sc3xrg40xqcpb01zp0337n2ixmmpnnp2khiw90"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metalogox")
    (synopsis "Adjust TeX logos, with font detection")
    (description
     "This package extends the @code{metalogo} package to automatically adjust the
appearance of the logos TeX, LaTeX, LaTeX2e, XeLaTeX, and LuaLaTeX, depending
on the font detected or the option given to @code{metalogox}.")
    (license license:lppl1.3+)))

(define-public texlive-metanorma
  (package
    (name "texlive-metanorma")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metanorma/"
                                     "tex/latex/metanorma/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b0f2sz7229q3nkv8ch1b72ima32jjh3ji5i4j3fwrsa0ck8gjw6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metanorma")
    (synopsis "Write Metanorma standardization documents using LaTeX")
    (description
     "This work includes a LaTeX document class, a LaTeXML script and
a @code{latexmlpost} stylesheet which allow you to write a LaTeX document and
transcode it into Metanorma's ADOC format.")
    (license license:expat)))

(define-public texlive-metastr
  (package
    (name "texlive-metastr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metastr/" "source/latex/metastr/"
                                     "tex/latex/metastr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ljsprddbdfqp9iy6dahlf8nym7x66l2yjx4x3yhdqx0ir8562jl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metastr")
    (synopsis "Store and compose strings")
    (description
     "This is a package to store and compose strings in a structured way.
This can serve various purposes, for example: manage and write document
metadata; use templates for formatting document data; assist in assembling and
displaying document license information; facilitate basic internationalisation
and localisation.")
    (license license:lppl1.3+)))

(define-public texlive-method
  (package
    (name "texlive-method")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/method/" "source/latex/method/"
                                     "tex/latex/method/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x8lqdj245jpkqywjwql34l0qvhvbx38qk02kcf03icdy1szfdlr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/method")
    (synopsis "Typeset method and variable declarations")
    (description
     "The package supports typesetting of programming language method and variable
declarations.  It supports declarations in German, French and English.")
    (license license:lppl)))

(define-public texlive-metre
  (package
    (name "texlive-metre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/metre/" "source/latex/metre/"
                                     "tex/latex/metre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "033q7ikg7fcvfqjy8p3xhnmgr0gxvs2qgw7nmpzs1wcd8xvp2qmh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/metre")
    (synopsis "Support for the work of classicists")
    (description
     "The package provides classicists with some of the tools that are needed for
typesetting scholarly publications dealing with Greek and Latin texts, with
special emphasis on Greek verse.  As the package's name suggests, its core is
a comprehensive set of commands for generating metrical schemes and for
placing prosodical marks on text set in the Latin or the Greek alphabet.  The
rest of the package provides a miscellany of commands for symbols (most of
them not directly related to metre) that are often used in critical editions
of classical texts.")
    (license license:lppl)))

(define-public texlive-mftinc
  (package
    (name "texlive-mftinc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mftinc/" "source/latex/mftinc/"
                                     "tex/latex/mftinc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kixm45whs2160yg8kw0anyvhrklwr342zdqhxkdpvqb5qp957mr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mftinc")
    (synopsis "Pretty-print Metafont source")
    (description
     "The @code{mft} program pretty-prints Metafont source code into a TeX file.
The @code{mftinc} package facilitates incorporating such files into a LaTeX2e
document.  In addition, @code{mftinc} provides routines for improved comment
formatting and for typesetting font tables.")
    (license license:lppl)))

(define-public texlive-mi-solns
  (package
    (name "texlive-mi-solns")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mi-solns/"
                                     "source/latex/mi-solns/"
                                     "tex/latex/mi-solns/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s8p7cibai4mc0pw9cqz87v3frq556wjh3kvvrxqs216s6wg9n53"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mi-solns")
    (synopsis "Extract solutions from exercises and quizzes")
    (description
     "This package is designed to mark a solution environment of an exercise or
quiz and insert it into the same or a different document.  Solutions are ones
created by either the @code{exerquiz} or @code{eqexam} package.")
    (license license:lppl1.2+)))

(define-public texlive-midpage
  (package
    (name "texlive-midpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/midpage/" "tex/latex/midpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ky1p8y4vc30p6395yw820qw6i3rs0fhjrylf0szfbd969qk50yv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/midpage")
    (synopsis "Environment for vertical centering")
    (description
     "The environment will center text, if immediately preceded and followed by
@code{\\clearpage}.")
    (license license:lppl)))

(define-public texlive-mindflow
  (package
    (name "texlive-mindflow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mindflow/"
                                     "source/latex/mindflow/"
                                     "tex/latex/mindflow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1js0w4xgw7485c78cdakckg7jkl9q86m17xw2iqzq21ip97pr03q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mindflow")
    (synopsis "Write your ideas in a clear way")
    (description
     "This package provides an environment that has its own line numbers or markers
and can be well distinguished from the main text, for writing your ideas or
annotations.")
    (license license:lppl1.3c)))

(define-public texlive-minibox
  (package
    (name "texlive-minibox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minibox/" "source/latex/minibox/"
                                     "tex/latex/minibox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z53r59771rdkbqxyjxn37r2ra67kw0ir0fnggmza90h3vidq5yg"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-filecontents")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list texlive-filecontents))
    (home-page "https://ctan.org/pkg/minibox")
    (synopsis "Simple type of box for LaTeX")
    (description
     "This small package provides a convenient input syntax for boxes that don't
break their text over lines automatically, but do allow manual line breaks.
The boxes shrink to the natural width of the longest line they contain.")
    (license license:lppl)))

(define-public texlive-minidocument
  (package
    (name "texlive-minidocument")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minidocument/"
                                     "source/latex/minidocument/"
                                     "tex/latex/minidocument/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04nz6c7prm2icbkcjzxxd53wqaqxbc52damnny13b1jlcj7c9kn9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minidocument")
    (synopsis "Creates miniature documents inside other LaTeX documents")
    (description
     "This package can be used to create miniature documents inside other LaTeX
documents.  Inside the minidocument all features of the outer vertical mode like
page breaking, floats, marginpars, etc., are available.")
    (license license:lppl1.3+)))

(define-public texlive-minifp
  (package
    (name "texlive-minifp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/minifp/"
                                     "source/generic/minifp/"
                                     "tex/generic/minifp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kan8c7v4y7b56wxxap64x13a22dl04xq4w5aaq9lyd1v55d4cyh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minifp")
    (synopsis "Fixed-point real computations to 8 decimals")
    (description
     "The package provides basic arithmetic operations to 8 decimal places for
plain TeX or LaTeX.  Results are exact when they fit within the digit limits.
Along with the basic package is an optional extension that adds computation of
sin, cos, log, sqrt, exp, powers and angles.  These are also exact when
theoretically possible and are otherwise accurate to at least 7 decimal
places.  In addition, the package provides a stack-based programming
environment.")
    (license license:lppl1.3+)))

(define-public texlive-minipage-marginpar
  (package
    (name "texlive-minipage-marginpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minipage-marginpar/"
                                     "source/latex/minipage-marginpar/"
                                     "tex/latex/minipage-marginpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0k6ygpbb8ym45z7r4zk6wbywaamxk5kclk01i7pryg9wk1j6kwwi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minipage-marginpar")
    (synopsis "Minipages with marginal notes")
    (description
     "This package allows @code{\\marginpar}-commands inside of minipages and other
boxes.  The package defines an environment @code{minipagewithmarginpars} (to
be used like minipage) --- and the internal commands may be used by other
packages to define similar environments or commands.")
    (license license:lppl)))

(define-public texlive-minorrevision
  (package
    (name "texlive-minorrevision")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minorrevision/"
                                     "tex/latex/minorrevision/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ijamqhl709877z3rcfbvcsgjsw611ag7swx1brk2rgzz4llyjqj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minorrevision")
    (synopsis "Quote and refer to a manuscript for minor revisions")
    (description
     "The package supports those who publish articles in peer-reviewed journals.
In the final stages of the review process, the authors typically have to
provide an additional document (such as a letter to the editors), in which
they provide a list of modifications that they made to the manuscript.  The
package automatically provides line numbers and quotations from the
manuscript, for this letter.")
    (license license:lppl1.2+)))

(define-public texlive-minutes
  (package
    (name "texlive-minutes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/minutes/" "source/latex/minutes/"
                                     "tex/latex/minutes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ln6lxw8sf9wyqii7v8w7cjw7byhkasyvmwivkwszwqjn054431b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/minutes")
    (synopsis "Typeset the minutes of meetings")
    (description
     "This package supports the creation of a collection of minutes.  Its features
include:

@itemize

@item support of tasks (who, schedule, what, time of finishing; possibility of
creating a list of open tasks; inclusion of open tasks from other minutes);

@item support for attachments;

@item support of schedule dates (in planning: support for the @code{calendar}
package);

@item different versions, such as secret parts;

@item macros for votes and decisions (list of decisions).

@end itemize

Support for minutes in German, Dutch and English is provided.")
    (license license:lppl)))

(define-public texlive-mla-paper
  (package
    (name "texlive-mla-paper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mla-paper/"
                                     "tex/latex/mla-paper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0i8phimwfdg29njkvnk8p7rcybqsfxv5d90sfpbba990h4knz95y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mla-paper")
    (synopsis "Proper MLA formatting")
    (description
     "The package formats articles using the @acronym{MLA, Modern Language
Association} style.  The aim is that students and other academics in the
humanities should be able to typeset their materials, properly, with minimal
effort on their part.")
    (license license:lppl)))

(define-public texlive-mleftright
  (package
    (name "texlive-mleftright")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mleftright/"
                                     "source/latex/mleftright/"
                                     "tex/generic/mleftright/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17rx9kndll8iwbkh07swjv5dn78wm74hd2qiga3gc7xbq9zmiczs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mleftright")
    (synopsis "Variants of delimiters that act as maths open/close")
    (description
     "The package defines variants @code{\\mleft} and @code{\\mright} of
@code{\\left} and @code{\\right}, that make the delimiters act as
@code{\\mathopen} and @code{\\mathclose}.  These commands address spacing
difficulties in sub-formulas.")
    (license license:lppl1.3+)))

(define-public texlive-mlist
  (package
    (name "texlive-mlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mlist/" "source/latex/mlist/"
                                     "tex/latex/mlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r5pi557f75k4z3f4dfs52hid98g2ly5nqgg8jpya0qrxcfgj1mp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mlist")
    (synopsis "Logical markup for lists")
    (description
     "The package defines commands that create macros for typesetting vectors,
matrices and functions, in a logical way.  For example, logical indexing can
then be used to refer to elements or arguments without hard-coding the symbols
in the document.")
    (license license:lppl)))

(define-public texlive-mmap
  (package
    (name "texlive-mmap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mmap/" "tex/latex/mmap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gzkpsgfiqkazjrcnr5bvrjs9fa220sxdq761mspvsw80aglagy5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mmap")
    (synopsis "Include CMap resources in PDF files from pdfTeX")
    (description
     "The package is an extension of @code{cmap} with improved flexibility and coverage,
including the ability to re-encode Knuth's basic mathematics fonts.")
    (license license:lppl)))

(define-public texlive-mnotes
  (package
    (name "texlive-mnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mnotes/" "source/latex/mnotes/"
                                     "tex/latex/mnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01bd57f9k0g1dp866jj66m6mrcp6483imqxp4nx05s5m6pivs2ff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mnotes")
    (synopsis "Margin annotation for collaborative writing")
    (description
     "The package provides a flexible mechanism for annotating, and commenting upon,
collaboratively-written documents.")
    (license license:lppl1.3+)))

(define-public texlive-moderncv
  (package
    (name "texlive-moderncv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/moderncv/" "tex/latex/moderncv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g4syan63zycw07ixy7qk1qmwb8gfwb3mpj7lg65514k80jh8nbi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-etoolbox
           texlive-fancyhdr
           texlive-graphics
           texlive-hyperref
           texlive-iftex
           texlive-l3packages
           texlive-microtype
           texlive-tools
           texlive-url
           texlive-xcolor))
    (home-page "https://ctan.org/pkg/moderncv")
    (synopsis "Modern curriculum vitae class")
    (description
     "The class provides facilities for typesetting modern curriculums vitae, both
in a classic and in a casual style.  It is fairly customizable, allowing you
to define your own style by changing the colours, the fonts, etc.")
    (license license:lppl1.3c)))

(define-public texlive-modernposter
  (package
    (name "texlive-modernposter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modernposter/"
                                     "tex/latex/modernposter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ihkzzq141k2pw3qdyz808vsj59wx4zs7qs0qq0qwawcdv1q7bl9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modernposter")
    (synopsis "Modern LaTeX poster theme")
    (description
     "This class extends the a0poster class in that it adds support to easily
create posters without the need for taking care of the layout at all.  It
allows to use @code{\\maketitle} to generate a fancy header containing the
title information and also provides macros to position various different types
of text boxes in a two-column layout.  The color scheme is inspired by the
@code{metropolis} Beamer theme.")
    (license license:cc-by-sa4.0)))

(define-public texlive-moderntimeline
  (package
    (name "texlive-moderntimeline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/moderntimeline/"
                                     "source/latex/moderntimeline/"
                                     "tex/latex/moderntimeline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bn0kcgrr76slg93fp8zqlcwawk8a38galknyr6dv79lilmldx8h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/moderntimeline")
    (synopsis "Timelines for use with @code{moderncv}")
    (description
     "The package provides commands to configure and to draw time line diagrams;
such diagrams are designed to fit into Curriculum Vitae documents written
using the @code{moderncv} class.")
    (license license:lppl1.3+)))

(define-public texlive-modref
  (package
    (name "texlive-modref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modref/" "source/latex/modref/"
                                     "tex/latex/modref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1az7lkvazjn5yqkmxi6h60yk18nm16arl5glv0bcslwhagn63lfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modref")
    (synopsis "Customisation of cross-references in LaTeX")
    (description
     "The package contains macros which allow authors to easily customise how
cross-references appear in their document, both in general (across all
cross-references) and for particular types of references (identified by
a prefix in the reference label), in a very generic manner.")
    (license license:lppl)))

(define-public texlive-modroman
  (package
    (name "texlive-modroman")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modroman/"
                                     "source/latex/modroman/"
                                     "tex/latex/modroman/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sjj98a2qwwknlznrvjzpblp3kxs5l3kzw2rg09l73xn2kj91jwh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modroman")
    (synopsis "Write numbers in lower case roman numerals")
    (description
     "This package provides only two macros: @code{\\modromannumeral} which writes
the number given as argument in lower case roman numeral with a @samp{j}
instead of a @samp{i} as the final letter of numbers greater than 1, and
@code{\\modroman}, which writes the value of a counter in the same way.

You use the first in the same way as the TeX primitive @code{\\romannumeral}
and the second as LaTeX command @code{\\roman}.  The default option is
@code{vpourv} with which @samp{5} is translated as @samp{v} and option
@samp{upourv} with which the same @samp{5} is given as @samp{u}.")
    (license license:lppl)))

(define-public texlive-modular
  (package
    (name "texlive-modular")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/modular/" "tex/latex/modular/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "050z4181br4npg413xbb7wngssyj5mvfc3nc7wwagijd0c6n7l1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/modular")
    (synopsis "Relative section headings for modular documents")
    (description
     "LaTeX sections have absolute depth, e.g., @code{\\section},
@code{\\subsection}, etc.  When composing modular documents, we want relative
depths.  The @code{coseoul} package provides relative headings, but does not
get things right when composing a document modularly from multiple parts.
This package provides the missing piece.")
    (license license:lppl1.3+)))

(define-public texlive-monofill
  (package
    (name "texlive-monofill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/monofill/"
                                     "source/latex/monofill/"
                                     "tex/latex/monofill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v6inr7q7bx7x2asyky7qx6ccrvyminr1sbb97xkxy2z064j11n7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/monofill")
    (synopsis "Alignment of plain text")
    (description
     "The package provides horizontal alignment, as in the LaTeX command
@code{\\listfiles}.  Uses may include in-text tables, or even code listings.")
    (license license:lppl1.3+)))

(define-public texlive-moodle
  (package
    (name "texlive-moodle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/moodle/" "source/latex/moodle/"
                                     "tex/latex/moodle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zi30nl5zqhz3291i2fvkra2bx5ysi9lsmkybcl9kzw63nzrnvwf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/moodle")
    (synopsis "Generating Moodle quizzes via LaTeX")
    (description
     "This package provides a package for writing Moodle quizzes in LaTeX.  In
addition to typesetting the quizzes for proofreading, the package compiles an
XML file to be uploaded to a Moodle server.")
    (license license:lppl1.3+)))

(define-public texlive-moreenum
  (package
    (name "texlive-moreenum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/moreenum/" "tex/latex/moreenum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v0wvnshsva5z2ll9y204rxfqp334v1dxwz015y5v4kzf0wgi826"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/moreenum")
    (synopsis "More enumeration options")
    (description
     "The package provides the following new @code{enumerate} styles: @code{\\greek},
@code{\\Greek}, @code{\\enumHex}, @code{\\enumhex}, @code{\\enumbinary},
@code{\\enumoctal},, @code{\\levelnth}, @code{\\raisenth}, @code{\\Nthwords},
@code{\\NTHWORDS}, @code{\\nwords}, @code{\\Nwords}, and @code{\\NWORDS}.
Each of these works with @code{enumitem}'s starred variant feature.  So
@samp{\\begin@{enumerate@}[label=\\enumhex*]} will output a hex enumerated
list.")
    (license license:lppl1.3+)))

(define-public texlive-morehype
  (package
    (name "texlive-morehype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/morehype/"
                                     "source/latex/morehype/"
                                     "tex/latex/morehype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h7pp2j43b3ks78js3dcs9213piazscc44ylwjsd1vsm0yg7xscd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/morehype")
    (synopsis "Hypertext tools for use with LaTeX")
    (description
     "The bundle provides three packages:

@itemize

@item @code{texlinks}: shorthand macros for TeX-related external hyperlinks
with @code{hyperref}, the @code{blog} package in the present bundle, etc;

@item @code{hypertoc}: adjust the presentation of coloured frames in
@code{hyperref} tables of contents (@code{article} class only);

@item @code{blog}: fast generation of simple HTML by expanding LaTeX macros,
using the @code{fifinddo} package.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-moresize
  (package
    (name "texlive-moresize")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/moresize/"
                                     "source/latex/moresize/"
                                     "tex/latex/moresize/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wa1pp7k5s8xcxjw37543jdjclnx5hzcx4gnivhsb34s9nhwcjzn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/moresize")
    (synopsis "Allows font sizes up to 35.83pt")
    (description
     "This package provides a package for using font sizes up to 35.88pt, for
example with the EC fonts.  New commands @code{\\HUGE} and @code{\\ssmall} for
selecting font sizes are provided together with some options working around
current LaTeX2e shortcomings in using big font sizes.  The package also
provides options for improving the typesetting of paragraphs (or headlines)
with embedded math expressions at font sizes above 17.28pt.")
    (license license:lppl)))

(define-public texlive-movie15
  (package
    (name "texlive-movie15")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/movie15/" "tex/latex/movie15/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q1l099s84cnp7byh889mi322vjs8nivw7zljgffngjpzinccgbm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/movie15")
    (synopsis "Multimedia inclusion package")
    (description
     "The package provides an interface to embed movies, sounds and 3D objects into
PDF documents for use with LaTeX as well as pdfLaTeX.  The package defines
a command @code{\\includemovie} with PDF-1.5 compatibility.  Option
@code{autoplay} causes the media clip to be started right after the page has
loaded.  This is useful for side by side movie clips to be played back
synchronously.  The package is now superseded by @code{media9}.")
    (license license:lppl)))

(define-public texlive-mpostinl
  (package
    (name "texlive-mpostinl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mpostinl/"
                                     "source/latex/mpostinl/"
                                     "tex/latex/mpostinl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02micxsgrhry1ii5ih070rd014c3vxvz8mrzzd5qh2pf32zzfwa4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mpostinl")
    (synopsis "Embed MetaPost figures within LaTeX documents")
    (description
     "This LaTeX2e package enables the embedding of MetaPost figures within LaTeX
documents.  The package automatically collects the embedded definitions and
figures in a @file{.mp} file, adds an appropriate LaTeX document structure,
and compiles it to @file{.mps} files.  It also allows for various
configuration options to manage the generation of files and compilation.")
    (license license:lppl1.3+)))

(define-public texlive-msc
  (package
    (name "texlive-msc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/msc/" "tex/latex/msc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hsxvqk0nhx8zwmlzws8xl47syg993k044sbj0w22kvk3kqf0cqc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/msc")
    (synopsis "Draw MSC diagrams")
    (description
     "The package should be useful to all people that prepare their texts with
LaTeX and want to draw @acronym{MSC, Message Sequence Charts} in their texts.
The package is not an MSC editor; it simply takes a textual description of an
MSC and draws the corresponding MSC. The current version of the MSC macro
package supports the full MSC2000 language.")
    (license license:lppl1.3+)))

(define-public texlive-msg
  (package
    (name "texlive-msg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/msg/" "source/latex/msg/"
                                     "tex/latex/msg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l6imkzdnygfsqzx75qj9j5rk2qvjgqhclvj54mai9rs6dfrcvk9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/msg")
    (synopsis "Package for LaTeX localisation")
    (description
     "The package is designed to localise any document class or package.  This
should be very useful for end-users who could obtain messages in their own
preferred language.")
    (license license:lppl)))

(define-public texlive-mslapa
  (package
    (name "texlive-mslapa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/mslapa/" "doc/latex/mslapa/"
                                     "tex/latex/mslapa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c3bw05gaqdwzvs40z1481gn6dr4rf71h520pplrcp1mgbxabzhv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mslapa")
    (synopsis "Michael Landy's APA citation style")
    (description
     "This package provides LaTeX and BibTeX style files for a respectably close
approximation to @acronym{APA, American Psychological Association} citation
and reference style.")
    (license license:public-domain)))

(define-public texlive-mtgreek
  (package
    (name "texlive-mtgreek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mtgreek/" "source/latex/mtgreek/"
                                     "tex/latex/mtgreek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c4npkwx6apdg22ivkvc16scdlr06499idax351s1jq6sdw0yzpb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mtgreek")
    (synopsis "Use italic and upright greek letters with mathtime")
    (description
     "This package is an add-on to the MathTime a style to provide TeX support for
the use of the MathTime fonts.  The MathTime package has uppercase Greek
letters hardwired to be upright and only upright; this package provides
a switch to choose between the two kinds of Greek uppercase letters.")
    (license license:lppl)))

(define-public texlive-multenum
  (package
    (name "texlive-multenum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multenum/" "tex/latex/multenum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18nvnxs5gpaxz82kbfxc7yj8vc7vh0ki1yc0y91xchfnc88hcdhs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multenum")
    (synopsis "Multi-column enumerated lists")
    (description
     "This package defines an environment @code{multienumerate}, that produces an
enumerated array in which columns are vertically aligned on the counter.")
    (license license:lppl1.0+)))

(define-public texlive-multiaudience
  (package
    (name "texlive-multiaudience")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multiaudience/"
                                     "source/latex/multiaudience/"
                                     "tex/latex/multiaudience/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j0lh7pwaqccg68x1j938c69b05x7qbj1i70ka4ywh3pi6ilqw9i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multiaudience")
    (synopsis "Several versions of output from the same source")
    (description
     "This package allows to generate several versions of the same document for
different audiences.")
    (license license:lppl1.3+)))

(define-public texlive-multibbl
  (package
    (name "texlive-multibbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multibbl/"
                                     "source/latex/multibbl/"
                                     "tex/latex/multibbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06abaw5disihnjg1x5zd7y413rrqmwq10pqjw2hkn9frak2xmhaw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multibbl")
    (synopsis "Multiple bibliographies")
    (description
     "The package @code{multibbl} redefines the standard bibliographic commands so
that one can generate multiple reference sections.  Each section has it own
auxiliary file (for use with BibTeX) and title.")
    (license license:lppl)))

(define-public texlive-multicap
  (package
    (name "texlive-multicap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multicap/"
                                     "source/latex/multicap/"
                                     "tex/latex/multicap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hczlj5hhk3qigbq09k8b8s4sgn526lm72a99r14frblpc3177qr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    ;; "multicap.dtx" only generates documentation, not
    ;; "multicap.sty".
    (arguments (list #:build-targets #~'()))
    (home-page "https://ctan.org/pkg/multicap")
    (synopsis "Format captions inside @code{multicols}")
    (description
     "This is a package for formatting captions of column figures and column
tabular material, which cannot be standard floats in a @code{multicols}
environment.  The package also provides a convenient way to customise your
captions, whether they be in @code{multicols} or not.")
    (license license:lppl)))

(define-public texlive-multicolrule
  (package
    (name "texlive-multicolrule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multicolrule/"
                                     "source/latex/multicolrule/"
                                     "tex/latex/multicolrule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l58120c9pfizsqxjhwn7jsd9mhp7b5hmwjliyjw91xb0z1agz9x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multicolrule")
    (synopsis "Decorative rules between columns")
    (description
     "This package lets you customize the appearance of the vertical rule that
appears between columns of multicolumn text.  It is primarily intended to work
with the @code{multicol} package, hence its name, but also supports the
@code{twocolumn} option and @code{\\twocolumn} macro provided by the standard
classes (and related classes such as the KOMA-Script equivalents).")
    (license license:lppl1.3c)))

(define-public texlive-multidef
  (package
    (name "texlive-multidef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multidef/"
                                     "source/latex/multidef/"
                                     "tex/latex/multidef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cicj54nkl6b4f10j3zr5n1hjakrb8nq7lah4cf4l6qy68d11ias"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multidef")
    (synopsis "Quickly define several similar macros")
    (description
     "@code{multidef} provides a simple way of defining several macros having
similar definitions.")
    (license license:lppl1.3+)))

(define-public texlive-multienv
  (package
    (name "texlive-multienv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multienv/"
                                     "source/latex/multienv/"
                                     "tex/latex/multienv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3p6ql3mqipay9caif3n92687jwnrnhbvwdwa5y5ibrqqpnxi59"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/multienv")
    (synopsis "Multiple environments using a @samp{key=value} syntax")
    (description
     "The package provides a @code{multienv} environment which permits easy
addition of multiple environments using a @samp{key=value} syntax.
Macros to define environments using this syntax are also provided.")
    (license license:lppl1.3+)))

(define-public texlive-multiexpand
  (package
    (name "texlive-multiexpand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/multiexpand/"
                                     "source/generic/multiexpand/"
                                     "tex/generic/multiexpand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gvdmz8sahwb1idnivn21wvl1zkaywqianl813hrxji4gvm2ifg1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multiexpand")
    (synopsis "Variations on the primitive command @code{\\expandafter}")
    (description
     "The package provides two user commands; one that performs multiple expansions,
and one that does multiple @code{\\expandafter} operations, in a single macro
call.")
    (license license:lppl1.3c)))

(define-public texlive-multifootnote
  (package
    (name "texlive-multifootnote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multifootnote/"
                                     "tex/latex/multifootnote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d4xn8ks3wdl59qyx2hlnljkxa7d5k22xlqqlrizmmlyb743inbl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multifootnote")
    (synopsis "Multiple numbers for the same footnote")
    (description
     "This package provides several commands for generating footnotes with multiple
numbers (resp., marks).")
    (license license:lppl1.3c)))

(define-public texlive-multilang
  (package
    (name "texlive-multilang")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multilang/"
                                     "source/latex/multilang/"
                                     "tex/latex/multilang/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ssh6c0hsdbghy56pxv8wnjlpan5f9wn5748ahwnjr8vnkrq3ixp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multilang")
    (synopsis
     "LaTeX package for maintaining multiple translations of a document")
    (description
     "Maintaining a LaTeX document with translations for multiple languages can be
cumbersome and error-prone.  This package provides a set of macros for
defining macros and environments as wrappers around existing macros and
environments.  These wrappers allow one to clearly specify multiple
translations for the arguments to the wrapped macros and environments while
only the translation of the document's language is actually shown.  Choosing
a translation then is as simple as choosing the document's language via Babel
or Polyglossia.")
    (license license:lppl1.2+)))

(define-public texlive-multiple-choice
  (package
    (name "texlive-multiple-choice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/multiple-choice/"
                                     "tex/latex/multiple-choice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g99ggspnab763jil1xdapnpi6bzwdpa4f9qdxm9iy5vvwhdzc1i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/multiple-choice")
    (synopsis "LaTeX package for multiple-choice questions")
    (description
     "This package adjusts the choices of the multiple-choice question
automatically.")
    (license license:lppl1.3c)))

(define-public texlive-mversion
  (package
    (name "texlive-mversion")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mversion/"
                                     "source/latex/mversion/"
                                     "tex/latex/mversion/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04s7lhqs3hznjai9by61p4i2kycxypc8rs02zay14cl1glhwh21a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mversion")
    (synopsis "Keeping track of document versions")
    (description
     "The package enables the user to keep track of different versions of a LaTeX
document.  The command @code{\\version} prints the version and build numbers;
each time you compile your document, the build number is increased by one.  By
placing @code{\\version} in the header or footer, each page can be marked with
the unique build number describing the progress of your document.")
    (license license:lppl1.2+)))

(define-public texlive-mwe
  (package
    (name "texlive-mwe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mwe/" "source/latex/mwe/"
                                     "tex/latex/mwe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ak9zq3mcz2bla9vwvlbvj8h6k64n0wpsvjbbdql51jrqa1r4dj"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ydoc))
    (home-page "https://ctan.org/pkg/mwe")
    (synopsis "Packages and image files for MWEs")
    (description
     "The bundle provides several files useful when creating a @acronym{MWE,
Minimal Working Example}.  The package itself loads a small set of packages
often used when creating MWEs.  In addition, a range of images are provided,
so that they may be used in any (La)TeX document.  This allows different users
to share MWEs which include image commands, without the need to share image
files or to use replacement code.")
    (license license:lppl1.3+)))

(define-public texlive-mycv
  (package
    (name "texlive-mycv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mycv/" "scripts/mycv/"
                                     "source/latex/mycv/" "tex/latex/mycv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qz2n8iqp87xnfa0w6a0hq6k2b6kzf9cbl722h5yc0msrp635nfs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mycv")
    (synopsis "List-driven CV class, allowing TikZ decorations")
    (description
     "The class provides a set of functionality for writing @acronym{CV, Curriculum
Vitae} with different layouts.  The idea is that a user can write some custom
configuration directives, by means of which is possible both to produce
different CV layouts and quickly switch among them.  In order to process such
directives, the class uses a set of lists, provided by the package
@code{etextools}.  Basic support for using TikZ decorations is also provided.")
    (license license:lppl1.3+)))

(define-public texlive-mylatex
  (package
    (name "texlive-mylatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mylatex/" "tex/latex/mylatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18a2mswspg6m02mx1nkbsrqh82cky6yyywbrjv423z09w95s3nks"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mylatex")
    (synopsis "Make a format containing a document's preamble")
    (description
     "The file @file{mylatex.ltx} permits you to create a format that pre-loads
a set of package files (and/or other macros) that you regularly use.")
    (license license:lppl)))

(define-public texlive-mylatexformat
  (package
    (name "texlive-mylatexformat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/mylatexformat/"
                                     "source/latex/mylatexformat/"
                                     "tex/latex/mylatexformat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kas0rgpim2dw3ym3wxslvmi8y08wmxp0ypl2zx3r4agb2fcy1jn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/mylatexformat")
    (synopsis "Build a format based on the preamble of a LaTeX file")
    (description
     "The use of formats helps to speed up compilations: packages which have been
dumped in the format are loaded at very high speed.  This is useful when
a document loads many packages.")
    (license license:lppl1.3+)))

(define-public texlive-nag
  (package
    (name "texlive-nag")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nag/" "source/latex/nag/"
                                     "tex/latex/nag/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7b31wbd3cxixm9dqw4pkn9r9ghsdzqz2rb4mbp5va6yrmiz1sw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nag")
    (synopsis "Detecting and warning about obsolete LaTeX commands")
    (description
     "There are commands, classes and packages which are outdated and superseded.
The @code{nag} package provides routines to warn the user about the use of
such obsolete things.")
    (license license:lppl)))

(define-public texlive-nameauth
  (package
    (name "texlive-nameauth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nameauth/"
                                     "source/latex/nameauth/"
                                     "tex/latex/nameauth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vfs6k3vqy2zpsmk4d39138kxmhqs6dsrzj2z56rxw4f7kx76k0m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nameauth")
    (synopsis
     "Name authority mechanism for consistency in body text and index")
    (description
     "Publications, that reference many names, require editors and proofreaders to
track those names in the text and index.  The package offers name authority
macros that allow authors and compilers to normalize occurrences of names,
variant name forms, and pen names in the text and index.  This may help
minimize writing and production time and cost.")
    (license license:lppl1.3+)))

(define-public texlive-namespc
  (package
    (name "texlive-namespc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/namespc/" "source/latex/namespc/"
                                     "tex/latex/namespc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k4j0rjfl0cy0in272k3dyiqzq5nc31zhygqckfvaw328mkkagz9"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox texlive-hypdoc texlive-ntgclass))))
    (home-page "https://ctan.org/pkg/namespc")
    (synopsis "Rudimentary C++-like namespaces in LaTeX")
    (description
     "The @code{namespc} package adds rudimentary C++-like namespace functionality
to LaTeX.  It may be used to declare local LaTeX commands, which can be made
accessible in a later contexts without defining them globally.")
    (license license:lppl)))

(define-public texlive-ncclatex
  (package
    (name "texlive-ncclatex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ncclatex/" "tex/latex/ncclatex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10jv9da81472x33bhjqhxan4f4hzbl5pbf1p3xj0fnidd8440nk2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ncclatex")
    (synopsis "Extended general-purpose class")
    (description
     "The @code{ncc} class provides a framework for a common class to replace the
standard @code{article}, @code{book} and @code{report} classes, and providing
a @code{preprint} class.  The class's extensions are provided in a number of
small packages, some of which may also be used with the standard classes.")
    (license license:lppl)))

(define-public texlive-nestquot
  (package
    (name "texlive-nestquot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/nestquot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l2glc6aykd492rspxphgscx0ykc8cakvqkm8z99jq7xxi80l1x8"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nestquot")
    (synopsis "Alternate quotes between double and single with nesting")
    (description
     "This package provides two new commands: @code{\\nlq} and @code{\\nrq} for
nesting left and right quotes that properly change between double and single
quotes according to their nesting level.")
    (license license:bsd-3)))

(define-public texlive-newcommand
  (package
    (name "texlive-newcommand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newcommand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vlxm26393psl4kjfh533q03sb4klnfq84nld9ggs8l5x08dks58"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newcommand")
    (synopsis "Generate new LaTeX command definitions")
    (description
     "Generating any other than the simple @code{\\newcommand}-style commands, in
LaTeX, is tedious.  This script allows the specification of commands in
a natural style; the script then generates macros to define the command.")
    (license license:lppl)))

(define-public texlive-newenviron
  (package
    (name "texlive-newenviron")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newenviron/"
                                     "tex/latex/newenviron/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "193qxw4mck3sngjf1p63c65sbysji15j3hbvq0mbmg6xrjw2im7j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newenviron")
    (synopsis "Processing an environment's body")
    (description
     "The package offers tools for collecting and executing an environment's body.")
    (license license:lppl1.3+)))

(define-public texlive-newfile
  (package
    (name "texlive-newfile")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newfile/" "source/latex/newfile/"
                                     "tex/latex/newfile/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sqn7yylhzi6q2bvnbcvh79ljk7afqn99hjnqk3l6ys48vq2cgkc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newfile")
    (synopsis "User level management of LaTeX input and output")
    (description
     "This package defines commands to manage the limited pool of input and output
handles provided by TeX.  The streams so provided are mapped to various of the
LaTeX input and output mechanisms.  Some facilities of the @code{verbatim}
package are also mapped.")
    (license license:lppl)))

(define-public texlive-newlfm
  (package
    (name "texlive-newlfm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newlfm/" "source/latex/newlfm/"
                                     "tex/latex/newlfm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1psscqagy9p1gv208dwv0xd053afpaa6s3rxasv69ni6inm3wlln"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newlfm")
    (synopsis "Write letters, facsimiles, and memos")
    (description
     "This package integrates the @code{letter} class with @code{fancyhdr} and
@code{geometry} to automatically make letterhead stationery.  It is useful for
writing letters, fax, and memos.  You can set up an address book using wrapper
macros.  You put all the information for a person into a wrapper and then put
the wrapper in a document.  The class handles letterheads automatically.  You
place the object for the letterhead (picture, information, etc.) in a box and
all sizing is set automatically.")
    (license license:gpl3+)))

(define-public texlive-newspaper
  (package
    (name "texlive-newspaper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newspaper/"
                                     "source/latex/newspaper/"
                                     "tex/latex/newspaper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1naa0w3bvnj709msfq9kk6yb7b5qf1sahisjr7z8bfs1q17ml8xc"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list
      #:tex-format "pdflatex"
      #:phases
      #~(modify-phases %standard-phases
          ;; Build process requires images from "doc/"; we need to
          ;; point to them.
          (add-before 'build 'fix-build
            (lambda _
              (substitute* "source/latex/newspaper/newspaper.dtx"
                (("\\{Figure(1|2)\\}" _ n)
                 (string-append "{"
                                (getcwd) "/doc/latex/newspaper/Figure" n ".pdf"
                                "}"))))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox texlive-hypdoc texlive-pdflscape))))
    (home-page "https://ctan.org/pkg/newspaper")
    (synopsis "Typeset newsletters to resemble newspapers")
    (description
     "The @code{newspaper} package redefines the page style and
@code{\\maketitle} command to produce a typeset page similar to that
of a newspaper.  It also provides several commands that (when used
with other packages) simplify the writing of articles in
a newspaper-style column format.")
    (license license:lppl)))

(define-public texlive-newvbtm
  (package
    (name "texlive-newvbtm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/newvbtm/" "source/latex/newvbtm/"
                                     "tex/latex/newvbtm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cvm24v80f40yi2mx6w33kaznlng3gj8b385f5imzd8qrgwkf3f2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/newvbtm")
    (synopsis "Define your own verbatim-like environment")
    (description
     "Defines general purpose macro named @code{\\newverbatim} to define your own
verbatim-like environment.  It also has a supplementary style file
@file{varvbtm.sty} to provide set of macros for variants of verbatim, such as
@samp{Tab} emulation.")
    (license license:lppl)))

(define-public texlive-nextpage
  (package
    (name "texlive-nextpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/nextpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p9dvw7fqspkg6hk6rdmsb5k5m9mkj0kz5a47wg5dgfqgrqpixf8"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nextpage")
    (synopsis "Generalisations of the page advance commands")
    (description
     "This package provides @code{\\clearpage} and @code{\\newpage} variants that
guarantee to end up on even/odd numbered pages; these four commands all have
an optional argument whose content will be placed on any empty page
generated.")
    (license license:lppl)))

(define-public texlive-nfssext-cfr
  (package
    (name "texlive-nfssext-cfr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nfssext-cfr/"
                                     "tex/latex/nfssext-cfr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jbxqkcn84ldap7j6ln64763wy73z3acp52a3zjgadx9m3rfp27r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nfssext-cfr")
    (synopsis "Extensions to the LaTeX NFSS")
    (description
     "The package is a development of @file{nfssext.sty}, distributed with the
examples for the font installation guide.")
    (license license:lppl1.3+)))

(define-public texlive-nicefilelist
  (package
    (name "texlive-nicefilelist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nicefilelist/"
                                     "source/latex/nicefilelist/"
                                     "tex/latex/nicefilelist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wylqgqrwdsyqx16whksgpvm3f1d83cssz5qk7nk3k7vn3da81mn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nicefilelist")
    (synopsis "Provide @code{\\listfiles} alignment")
    (description
     "The package extends @code{longnamefilelist}, keeping separate columns for
date, version and caption.  Alignment is not disturbed by short file name
extensions, such as @file{.fd}.")
    (license license:lppl1.3c)))

(define-public texlive-niceframe
  (package
    (name "texlive-niceframe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/niceframe/"
                                     "fonts/source/public/niceframe/"
                                     "fonts/tfm/public/niceframe/"
                                     "source/latex/niceframe/"
                                     "tex/latex/niceframe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0an86fr2crlxxz84d325jhpccal0ilbkhscqzl6dhk91cysdzrij"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           ;; FIXME: This phase fails with "! Strange path
           ;; (turning number is zero)" error.
           #~(modify-phases %standard-phases
               (delete 'generate-font-metrics))))
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/niceframe")
    (synopsis "Support for fancy frames")
    (description
     "The package defines means of drawing frames around boxes, using dingbat fonts.
Some (Metafont) font sources are included; the fonts are available separately
in Type 1 format.")
    (license license:lppl)))

(define-public texlive-nicetext
  (package
    (name "texlive-nicetext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nicetext/"
                                     "source/latex/nicetext/"
                                     "tex/latex/nicetext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1si1slffnw957h6bmyvgnhivbcdz32wcj7s1r5myq7rjhq1dg9ar"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nicetext")
    (synopsis
     "Minimal markup for simple text (Wikipedia style) and documentation")
    (description
     "The bundle offers minimal markup syntax for various simple kinds of text.
The user will typically involve little more than is printed, and will still
get LaTeX quality.The bundle provides four packages:

@itemize

@item @code{wiki} addresses general texts, marked up in the simple style used
on Wikipedia;

@item @code{niceverb} is yet another means of documenting LaTeX packages: it
offers syntax-aware typesetting of meta-variables (macro arguments) and for
referring to commands (and their syntax) in footnotes, section titles etc.;

@item @code{fifinddo} aims to parse plain text or (La)TeX files using TeX, and
to write the results to an external file;

@item @code{makedoc} provides the means to produce typeset documentation
direct from package files.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-nidanfloat
  (package
    (name "texlive-nidanfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nidanfloat/"
                                     "source/latex/nidanfloat/"
                                     "tex/latex/nidanfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18c58k4f2vq6ys7dq8b4xcl0yxvwn4maazb51fyf4mnl8cd2sl6f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nidanfloat")
    (synopsis
     "Bottom placement option for double float in two column mode (nidan-kumi)")
    (description
     "This package enables a bottom placement option for double floats in two
column mode (@emph{nidan-kumi}).")
    (license license:bsd-3)))

(define-public texlive-ninecolors
  (package
    (name "texlive-ninecolors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ninecolors/"
                                     "tex/latex/ninecolors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00y4csamr0nrrjmf9xjcym95a4rkg2a8dncdwgjc39il3ql0za9c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ninecolors")
    (synopsis "Select colors with proper WCAG color contrast")
    (description
     "This package carefully selects and defines 9 colors for 13 hues each.  All
colors with the same suffix number have equal luminance level.  Also the color
black is of level 0, and the color white is of level 10.  By simply choosing two
colors in the above list, which differ in level by at least 5, as foreground and
background colors, you will get proper WCAG Color Contrast.")
    (license license:lppl1.3+)))

(define-public texlive-nlctdoc
  (package
    (name "texlive-nlctdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nlctdoc/" "tex/latex/nlctdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "17anqqcdjlrl9c3scbjz5d5dzy2q9y5r0l0v6y490p3sdflizgak"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nlctdoc")
    (synopsis "Package documentation class")
    (description
     "The class provides support for the documentation of the author's packages,
using KOMA-Script.  This class is provided as is solely for the benefit of
anyone who wants to compile the documentation of those packages.")
    (license license:lppl)))

(define-public texlive-noconflict
  (package
    (name "texlive-noconflict")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/noconflict/"
                                     "tex/latex/noconflict/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bsn56qy21j8iqrk0cz522ad7x9sn67gfrk5xzjf6y9yhyach44p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/noconflict")
    (synopsis "Resolve macro name conflict between packages")
    (description
     "The package provides several commands to prefix (and hence obscure) a macro's
(or a sequence of macros') name, and to restore the original macro(s) at places
in a document where they are needed.")
    (license license:lppl1.3+)))

(define-public texlive-noindentafter
  (package
    (name "texlive-noindentafter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/noindentafter/"
                                     "source/latex/noindentafter/"
                                     "tex/latex/noindentafter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16kg9x8s1kk9spa91vdnkgc4v69919w4n378kyyxy33pd64cyzzx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/noindentafter")
    (synopsis "Prevent paragraph indentation after environments or macros")
    (description
     "The package, as the name suggests, supplies tools to automatically suppress
indentations in following paragraphs, specifically those following a particular
macro or environment.")
    (license license:lppl1.3c)))

(define-public texlive-noitcrul
  (package
    (name "texlive-noitcrul")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/noitcrul/"
                                     "source/latex/noitcrul/"
                                     "tex/latex/noitcrul/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c06ziixcmfmfqq23gi71vingk3f6c19ggbsj1zm5l78nyk2s48v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/noitcrul")
    (synopsis "Improved underlines in mathematics")
    (description
     "The package provides a (maths mode) @code{\\underline} variant which doesn't
impose italics correction at the end.")
    (license license:lppl)))

(define-public texlive-nolbreaks
  (package
    (name "texlive-nolbreaks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nolbreaks/"
                                     "tex/latex/nolbreaks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00hpb5zzr3v342a7vgx3cgwhzsiywqp4w8qrj3w042h0ix17q7ja"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nolbreaks")
    (synopsis "No line breaks in text")
    (description
     "Using this package, @samp{\\nolbreaks@{some text@}} to prevent line breaks in
@samp{some text}.  This has the advantage over @code{\\mbox} that glue (rubber
space) remains flexible.  Most common cases are handled
here (@code{\\linebreak} is disabled, for example) but spaces hidden in macros
or @samp{@{} and @samp{@}} can still create break-points.")
    (license license:public-domain)))

(define-public texlive-nomentbl
  (package
    (name "texlive-nomentbl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nomentbl/" "makeindex/nomentbl/"
                                     "source/latex/nomentbl/"
                                     "tex/latex/nomentbl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q44gay0a701sn99ripip2h4p4g95p10958vkxxc3cs5hhlqv9s5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nomentbl")
    (synopsis "Nomenclature typeset in a longtable")
    (description
     "@code{nomentbl} typeset nomenclatures in a longtable instead of the
@code{makeindex} style of @code{nomencl}.  A nomenclature entry may have three
arguments: the symbol, description and physical unit.")
    (license license:lppl)))

(define-public texlive-nonfloat
  (package
    (name "texlive-nonfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nonfloat/"
                                     "source/latex/nonfloat/"
                                     "tex/latex/nonfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "085mas0as5p1bk4d2ffk01xc6fm1n52iidcdlzrw9d2s5cf8kc8y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nonfloat")
    (synopsis "Non-floating table and figure captions")
    (description
     "This package adjusts the @code{figure} and @code{table} environments to
ensure that centered objects as one line captions are centered as well.  Also
the vertical spaces for table captions above the table are changed.")
    (license license:public-domain)))

(define-public texlive-nonumonpart
  (package
    (name "texlive-nonumonpart")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nonumonpart/"
                                     "source/latex/nonumonpart/"
                                     "tex/latex/nonumonpart/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dn7y32yzzv6wy5z6v96q0cbhrdgadqj6hdcla2k7cfrnvh3lc1k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nonumonpart")
    (synopsis "Prevent page numbers on part pages")
    (description
     "The package removes page numbers on @code{\\part} pages.  The package accepts
no options and defines no user commands; the user needs only to load it, and
the requirement is met.")
    (license license:lppl1.2+)))

(define-public texlive-nopageno
  (package
    (name "texlive-nopageno")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nopageno/" "tex/latex/nopageno/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1az5hq793q20h73vay67pyxk6bhmi1xxbp7gw5nbyy7jcyq39389"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nopageno")
    (synopsis "No page numbers in LaTeX documents")
    (description
     "LaTeX's standard styles use two page styles, one on normal pages and one on
opening pages with @code{\\maketitle} or @code{\\chapter}, etc.  Unfortunately
there is only easy access to changing one of these two so if you want
something other than plain on the opening pages you must use
@code{\\thispagestyle} on each such page.  The @code{fancyhdr} package does
provide a more flexible interface, but if you just want an empty page style on
all pages then this package will do the job.")
    (license license:lppl)))

(define-public texlive-normalcolor
  (package
    (name "texlive-normalcolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/normalcolor/"
                                     "source/latex/normalcolor/"
                                     "tex/latex/normalcolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p8718q0jc451m812wfgkj8i7dip49hhyba73s36c7vbnmk3wmfg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/normalcolor")
    (synopsis "Changing @code{\\normalcolor}")
    (description
     "This package provides a command @code{\\setnormalcolor} with the same syntax
as the command @code{\\color}.  However, @code{\\setnormalcolor} will not
change the current colour but the normal or default color.")
    (license license:lppl1.3+)))

(define-public texlive-notes
  (package
    (name "texlive-notes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/notes/" "source/latex/notes/"
                                     "tex/latex/notes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sbkksm3zgp2fd8lzay7mszhzs6n201qzy4a652j972yzy5bs1j7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notes")
    (synopsis "Mark sections of a document")
    (description
     "The package provides environments to highlight significant portions of text
within a document, by putting the text in a box and adding an icon in the
margin.")
    (license license:lppl)))

(define-public texlive-notespages
  (package
    (name "texlive-notespages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/notespages/"
                                     "source/latex/notespages/"
                                     "tex/latex/notespages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14q6rjkbnhnj7fbw3vsnnxp08qm3w9vax6s22g20qclh3q1x2ll6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; Do not stop build to ask about building part of the
          ;; documentation.
          (add-after 'unpack 'non-interactive-build
            (lambda _
              (substitute* "source/latex/notespages/notespages.ins"
                (("\\\\generateexampletrue") "\\generateexamplefalse")))))))
    (home-page "https://ctan.org/pkg/notespages")
    (synopsis "Filling documents with notes pages and notes areas")
    (description
     "This package package provides one macro to insert a single notes page and
another to fill the document with multiple notes pages, until the total number
of pages (so far) is a multiple of a given number.  A third command can be
used to fill half empty pages with a notes area.")
    (license license:lppl1.3+)))

(define-public texlive-notestex
  (package
    (name "texlive-notestex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/notestex/" "tex/latex/notestex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qdgqmiq94k758h68gphir4y50pmggmd3h2jlxjw411l15fgnyvx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notestex")
    (synopsis "All-in-one LaTeX notes package for students")
    (description
     "This is a modification of the original Jhep journal format in order to suit
the needs of students in university.  The goal of this package was to make
notetaking easier for students and offer easy support for marginnotes along
with a reliable and legible formatting structure.")
    (license license:lppl1.3+)))

(define-public texlive-notoccite
  (package
    (name "texlive-notoccite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/notoccite/"
                                     "tex/latex/notoccite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l5gj5f495vmxiixnfjmkfp2wlq0gg39y6lhd3f68lf3wq3nqd99"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/notoccite")
    (synopsis "Prevent trouble from citations in table of contents, etc")
    (description
     "If you have @code{\\cite} commands in @code{\\section}-like commands, or in
@code{\\caption}, the citation will also appear in the table of contents, or
list of whatever.  If you are also using an @code{unsrt}-like bibliography
style, these citations will come at the very start of the bibliography, which
is confusing.  This package suppresses the effect.")
    (license license:public-domain)))

(define-public texlive-nowidow
  (package
    (name "texlive-nowidow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nowidow/" "source/latex/nowidow/"
                                     "tex/latex/nowidow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06vfrixlxv49y53hjsk8spr5k0sd533lnql684jp4yfjq9qqyyaw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nowidow")
    (synopsis "Avoid widows")
    (description "This package provides a useful macro to manage widow lines.")
    (license license:lppl1.3+)))

(define-public texlive-nox
  (package
    (name "texlive-nox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/nox/" "tex/latex/nox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bp6p9485myn5w9nn9l8mjyqm6f7j678xpc04g9q1wfc5yi7zm4p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/nox")
    (synopsis "Adaptable tables")
    (description
     "The package allows data, text (including (La)TeX commands or environments) to
be formatted into a array which may be split.")
    (license license:lppl)))

(define-public texlive-numberedblock
  (package
    (name "texlive-numberedblock")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numberedblock/"
                                     "tex/latex/numberedblock/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "006vgcs8x00knp0a7rmnjh3fbjhwc212iy6ixi97s0awkkhmb1j6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numberedblock")
    (synopsis "Print a block of code, with unique index number")
    (description
     "The package has been created for the convenience of the report writer; it
provides the means to number, and label, code-block snippets in your document.
In this way, you can (unambiguously) refer to each snippet elsewhere in your
document.")
    (license license:lppl1.3+)))

(define-public texlive-numname
  (package
    (name "texlive-numname")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numname/" "tex/latex/numname/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "164v2rlz3gvfmdpi0qprgkbkz14z8nndr282g85bkggdl4fl9968"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numname")
    (synopsis "Convert a number to its English expression")
    (description
     "The package can generate cardinal (one, two, ...) and ordinal (first, second,
...) numbers.  The code derives from the memoir class, and is extracted for
the convenience of non-users of that class.")
    (license license:lppl)))

(define-public texlive-numspell
  (package
    (name "texlive-numspell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/numspell/" "tex/latex/numspell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cb1xzpkassg9zdk2p22dm6f9x4hg7ij7siw1bivhqwfgkd1l617"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/numspell")
    (synopsis "Spelling cardinal and ordinal numbers")
    (description
     "This package supports the spelling of cardinal and ordinal numbers.
Supported languages are English, French, German, Hungarian, Italian, and
Latin.")
    (license license:lppl1.3+)))

(define-public texlive-ocg-p
  (package
    (name "texlive-ocg-p")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ocg-p/" "tex/latex/ocg-p/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fm3a0ipzqmk2wjc866b42imfkqc5a3zrfr6cs030m0j0g9dccjy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocg-p")
    (synopsis "PDF OCG support in LaTeX")
    (description
     "The package provides OCG (Optional Content Groups) support within a PDF
document, replacing the @code{file.sty} distributed with Asymptote.  Nested
OCGs are supported.  The package may be used with pdfLaTeX and XeLaTeX.")
    (license license:lppl)))

(define-public texlive-ocgx
  (package
    (name "texlive-ocgx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ocgx/" "source/latex/ocgx/"
                                     "tex/latex/ocgx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19m54qp1s3gxiys4lh5dha3x2vci85i3sk0sszsbbvwf0ivsryhc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocgx")
    (synopsis "Use OCGs within a PDF document without JavaScript")
    (description
     "The package extends the @code{ocg} package, which allows you to create
OCGs (Optional Content Groups) in PDF documents.  Every OCG includes TeX
material into a layer of the PDF file.  Each of these layers can be displayed
or not.  Links can enable or disable the display of OCGs.  The @code{ocgx}
package does not use Javascript embedded in the PDF document to enable (to
show) or disable (to hide) OCGs.")
    (license (list license:lppl license:lppl))))

(define-public texlive-ocr-latex
  (package
    (name "texlive-ocr-latex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ocr-latex/"
                                     "tex/latex/ocr-latex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sykr0xvy0fk75prq7614k302vzdpfx8qz0yvj2yx7kzk2pr5h6k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ocr-latex")
    (synopsis "LaTeX support for @code{ocr} fonts")
    (description
     "The package supports use of both @code{ocr-a} and @code{ocr-b} fonts in LaTeX
documents.")
    (license license:gpl3+)))

(define-public texlive-oldstyle
  (package
    (name "texlive-oldstyle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/oldstyle/"
                                     "source/latex/oldstyle/"
                                     "tex/latex/oldstyle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lrjr8w54m2ab9a8l1vigjdlsbg21lh0nl9kyyhpn6xgpi16ph1p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/oldstyle")
    (synopsis "Old style numbers in OT1 encoding")
    (description
     "This package provides font information needed to load the @code{cmmi} and
@code{cmmib} fonts for use to produce old-style numbers.")
    (license license:lppl)))

(define-public texlive-onlyamsmath
  (package
    (name "texlive-onlyamsmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/onlyamsmath/"
                                     "source/latex/onlyamsmath/"
                                     "tex/latex/onlyamsmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sl2zrd2vp9lpvjxaqa9mfff8n9m6wk39mb855k6xr2pkhdiyw7m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/onlyamsmath")
    (synopsis
     "Inhibit use of non-@code{amsmath} mathematics markup when using amsmath")
    (description
     "This package inhibits the usage of plain TeX and (on demand) of standard
LaTeX mathematics environments.  This is useful for class writers who want to
encourage their users to use the environments provided by the @code{amsmath}
package.")
    (license license:lppl)))

(define-public texlive-opcit
  (package
    (name "texlive-opcit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/opcit/" "doc/latex/opcit/"
                                     "source/latex/opcit/" "tex/latex/opcit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x6jjhg5z33kxkrs1fc5snvvzaiz95dgpdbzfmw81v565l84ppyc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/opcit")
    (synopsis "Footnote-style bibliographical references")
    (description
     "This package addresses the problem of expressing citations in a style that is
natural for humanities studies, yet does not interfere with the flow of
text (as author-year styles do).  The package differs from @code{footbib} in
that it uses real footnotes, potentially in the same series as any of the
document's other footnotes.  @code{opcit} also, as its name implies, avoids
repetition of full citations, achieving this, to a large extent,
automatically.")
    (license license:lppl)))

(define-public texlive-opencolor
  (package
    (name "texlive-opencolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/opencolor/"
                                     "tex/latex/opencolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q632lyhjbvvan92jd0w76zy78lbqr6vp17v0bbwcs68jpff65m0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/opencolor")
    (synopsis "Definitions from the Open Color library")
    (description
     "This package provides hexadecimal color definitions of the 130 colors
included in the Open Color library.")
    (license license:expat)))

(define-public texlive-optidef
  (package
    (name "texlive-optidef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/optidef/" "tex/latex/optidef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k51i2r67rn2c3i4qar6smhqrrf978cyvcsiak2a6kq446yspy4x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/optidef")
    (synopsis "Environments for writing optimization problems")
    (description
     "This small library provides a standard set of environments for writing
optimization problems.  It automatically aligns the problems in three points
with an optional fourth:

@itemize

@item beginning of the words @samp{minimize/argmin} and @samp{subject to},

@item the objective function and the longest left hand side of the
constraints.

@item the @samp{$=}, @samp{|}, @samp{>}, @samp{|}, @samp{<$} signs of the
constraints.

@item optionally, the user can add manually a double align character @samp{&&}
to align some common constraints feature; a clear example could be the
constraints names, e.g., @samp{boundary constraint} alignment with
@samp{dynamic constraint}.

@end itemize

Furthermore, it provides an easy interface to define optimization problem for
three different reference situations:

@enumerate

@item where no equation is referenced/numbered;

@item where the problem is referenced with a single number;

@item where each equation has an individual reference.

@end enumerate

Finally, it also allows a definition of any optimization problem without
a limitless number of constraints.")
    (license license:lppl1.3+)))

(define-public texlive-optional
  (package
    (name "texlive-optional")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/optional/" "tex/latex/optional/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06dxidxin8jaygr1glzwlhcpxcq71kcd0g86k0r61sgiwscnr8bg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/optional")
    (synopsis "Facilitate optional printing of parts of a document")
    (description
     "@code{optional} provides simple, flexible, optional compilation of LaTeX
documents.  Option switches may be given via package options, by the
@code{\\UseOption} command, or interactively via the @code{\\AskOption}
command (help text may be provided, by defining the @code{\\ExplainOptions}
command).  The package is not robust, in the way that comment package is,
against ill-behaved text.  In particular, verbatim text may not be directly
included in optional sections (whether they're included or not).")
    (license license:lppl)))

(define-public texlive-options
  (package
    (name "texlive-options")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/options/" "tex/latex/options/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06qbmf3z0wxjgr2zrmymk271nxssvwlig6x2i283fvl2m73sw683"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/options")
    (synopsis
     "Provides convenient key-value options for LaTeX package writers")
    (description
     "The options package provides easy to use key-value options for LaTeX package
writers.  It has a similar interface as pgfkeys with path options but comes
with more built-in data types and more convenient support for families and
searching.")
    (license license:lppl1.3+)))

(define-public texlive-orcidlink
  (package
    (name "texlive-orcidlink")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/orcidlink/"
                                     "source/latex/orcidlink/"
                                     "tex/latex/orcidlink/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r0n8g8gi8p21d5k57j6gl1vgkzcrn8qh2l0v0r8i1a9k0yllimi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/orcidlink")
    (synopsis "Insert hyperlinked ORCiD logo")
    (description
     "This package provides a command to insert the ORCiD logo, which is
hyperlinked to the URL of the researcher whose iD was specified.")
    (license license:lppl1.3c)))

(define-public texlive-orientation
  (package
    (name "texlive-orientation")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/orientation/"
                                     "tex/latex/orientation/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qb9a3wmccih89q609r45bjbl0gq95didgz9766wyzzx3sq2zbxx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/orientation")
    (synopsis "Set page orientation with Dvips/Ghostscript")
    (description
     "This package provides commands for manual (per-page and per-document)
orientation of pages in a PDF created with
dvips/Ghostscript (@command{ps2pdf}).")
    (license license:cc0)))

(define-public texlive-outline
  (package
    (name "texlive-outline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/outline/" "tex/latex/outline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nnv02xf0w821spaxhvv2qb54d23a5dv33js4hdil60lnn6893fw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outline")
    (synopsis "List environment for making outlines")
    (description
     "The package defines an @code{outline} environment, which provides facilities
similar to @code{enumerate}, but up to 6 levels deep.")
    (license license:lppl)))

(define-public texlive-outliner
  (package
    (name "texlive-outliner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/outliner/" "tex/latex/outliner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qgvg1807vqfbcdkg74jmqjlbjc63vvfi9dhds79jzygjwm1carq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outliner")
    (synopsis "Change section levels easily")
    (description
     "This package allows you to write @code{\\Level 2 @{Some heading@}} instead of
the usual @code{\\section} stuff; the definitions of the levels can then
easily be changed.  There is a mechanism for shifting all levels.  This makes
it easy to bundle existing articles into a compilation.")
    (license license:gpl3+)))

(define-public texlive-outlines
  (package
    (name "texlive-outlines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/outlines/" "tex/latex/outlines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jdsjyxsx9shl6vlm05a3lnq55a6lnfm6w4kh6ykzmn6jms9kkjd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outlines")
    (synopsis "Produce outline lists")
    (description
     "This package defines an @code{outline} environment, which allows
outline-style indented lists with freely mixed levels up to four levels deep.
It replaces the nested @code{begin}/@code{end} pairs by different item tags
@samp{\\1} to @samp{\\4} for each nesting level.  This is very convenient in
cases where nested lists are used a lot, such as for to-do lists or
presentation slides.")
    (license license:lppl)))

(define-public texlive-outlining
  (package
    (name "texlive-outlining")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/outlining/"
                                     "source/latex/outlining/"
                                     "tex/latex/outlining/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s4lhxiv4dzakjbd2x2z5x8bhphw5pn4d5fzrw18y42fql544b2p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/outlining")
    (synopsis "Create outlines for scientific documents")
    (description
     "Every scientifc document requires outlining before it is written.  This
package adds simple macros for your LaTeX document.")
    (license license:lppl1.3+)))

(define-public texlive-overlays
  (package
    (name "texlive-overlays")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/overlays/" "tex/latex/overlays/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15lhbpja1rjjqn15c1b0pcqzv8lhacka63m1d80jnzfj16jkmvdc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/overlays")
    (synopsis "Incremental slides")
    (description
     "This package allows to write presentations with incremental slides.  It does
not presuppose any specific document class.  Rather, it is a lightweight
alternative to full-fledged presentation classes like @code{beamer}.")
    (license license:lppl1.3c)))

(define-public texlive-padcount
  (package
    (name "texlive-padcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/padcount/"
                                     "source/latex/padcount/"
                                     "tex/latex/padcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13dk66ax3wr7vx0nkr36dnw411qc5q3d7wdm40kgm8r6a9xg0f7w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/padcount")
    (synopsis "Pad numbers with arbitrary characters")
    (description
     "This package provides some simple macros which will pad numbers (or, indeed,
any expanded token) with your choice of character (defaulting to @samp{0}) to
your choice of number of places (defaults to @samp{2}).  This works not only
on Arabic numerals, but on any expanded list of tokens passed to it.  This
makes it suitable for, among other things, counters of all kinds.")
    (license license:lppl1.3c)))

(define-public texlive-pagecont
  (package
    (name "texlive-pagecont")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pagecont/"
                                     "source/latex/pagecont/"
                                     "tex/latex/pagecont/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n2axjznak2mlajk5m9jgdxzn7n3jmaiv0hsx2mk165630h4vaax"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagecont")
    (synopsis "Page numbering that continues between documents")
    (description
     "The package provides the facility that several documents can be typeset
independently with page numbers in sequence, as if they were a single
document.")
    (license license:lppl)))

(define-public texlive-pagegrid
  (package
    (name "texlive-pagegrid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pagegrid/"
                                     "source/latex/pagegrid/"
                                     "tex/latex/pagegrid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vyy27d9209r5v0n6scd8zbk7qgjx13df12qwydkrhg246khx0is"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagegrid")
    (synopsis "Print page grid in background")
    (description
     "This package puts a grid on the paper.  It was written for developers of
a class or package who have to put elements on definite locations on
a page (e.g., @code{letter} class).  The grid allows a faster optical check,
whether the positions are correct.  If the previewer already offers features
for measuring, the package might be unnecessary.  Otherwise it saves the
developer from printing the page and measuring by hand.")
    (license license:lppl1.3+)))

(define-public texlive-pagelayout
  (package
    (name "texlive-pagelayout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pagelayout/"
                                     "doc/man/man1/pagelayoutapi.1"
                                     "doc/man/man1/pagelayoutapi.man1.pdf"
                                     "doc/man/man1/textestvis.1"
                                     "doc/man/man1/textestvis.man1.pdf"
                                     "scripts/pagelayout/"
                                     "tex/latex/pagelayout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rwwvr0xxwqzwrb586s6802z0h28k9vqd1fsrbphnlj03hxb6v6i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "pagelayoutapi" "textestvis")))
    (home-page "https://ctan.org/pkg/pagelayout")
    (synopsis "Layout graphic rich documents")
    (description
     "The @code{pagelayout} class enables you to layout pages declaratively
using simple macros for pages, covers, grids, templates, text, and graphics to
create graphic rich, perfectly typeset, and print ready PDFs.  The integration
of Inkscape allows your to create box shadows.  The integration of ImageMagick
allows you to configure compression and sharpening for bitmap graphics to
export web, print or preview versions of your document.  Parallelized image
optimization, caching, and a draft mode enable fast PDF creation and
a responsive workflow, even for large documents with lots of photos and
graphics.")
    (license license:lppl1.3c)))

(define-public texlive-pagerange
  (package
    (name "texlive-pagerange")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pagerange/"
                                     "tex/latex/pagerange/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07ddakr8p8gjzyxs3b6kl000ij13y9i4pdbxay0ghddx36z7z620"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagerange")
    (synopsis "Flexible and configurable page range typesetting")
    (description
     "The package defines a command @code{\\pagerange} that typesets ranges of page
numbers, expanding them (e.g., adding first or last page numbers) and
standardising them.")
    (license license:lppl)))

(define-public texlive-pageslts
  (package
    (name "texlive-pageslts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pageslts/"
                                     "source/latex/pageslts/"
                                     "tex/latex/pageslts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cxkmdiipcclyvrg54rv0lzqr3bllflr6f4pvaar0avw8grgrljc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pageslts")
    (synopsis "Variants of last page labels")
    (description
     "The package was designed as an extension of the @code{lastpage} package.
When more than one page numbering scheme is in operation (as in a @code{book}
class document with frontmatter), the labels above do not give the total
number of pages, so the package also provides labels @code{pagesLTS.<numbering
scheme>}, where the numbering scheme is @code{arabic}, @code{roman}, etc.")
    (license license:lppl1.3+)))

(define-public texlive-palette
  (package
    (name "texlive-palette")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/palette/" "source/latex/palette/"
                                     "tex/latex/palette/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sb4jfrp2g1nf0a9ihzcfwsfc2b7mdx3knfdzzw3m6hfkhgplv4f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/palette")
    (synopsis "Create palettes for colors and symbols that can be swapped in")
    (description
     "The package @code{palette} contains two files: @file{colorpalette.sty} and
@file{symbolpalette}.  One deals with colors and the other deals with symbols;
the implementation is quite similar.  With this package you can create themes.
Each of these themes have a set of colors, and you can create palettes based
on this theme with specific color values for each of the theme's color slots.
The active palette for each theme can be swapped in to make experimenting with
colors easier or give users choices as to which theme they pick.")
    (license license:lppl1.3+)))

(define-public texlive-pangram
  (package
    (name "texlive-pangram")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pangram/" "source/latex/pangram/"
                                     "tex/latex/pangram/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14vlhvrc2j1vz9jhj3npm0nn1qbs9b2b4dv5qm3mnvi5a34wq586"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pangram")
    (synopsis "LaTeX package for testing fonts")
    (description
     "This package provides a simple way for font designers and users to test their
fonts in different sizes without much input.")
    (license license:lppl1.3c)))

(define-public texlive-paper
  (package
    (name "texlive-paper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/paper/" "source/latex/paper/"
                                     "tex/latex/paper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1clhnncan253k88gxhqg2wjqp95w483skydk0f6imfz89jbpyixs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           ;; FIXME: I couldn't find how to re-generate package from
           ;; source.
           #:phases #~(modify-phases %standard-phases (delete 'build))))
    (home-page "https://ctan.org/pkg/paper")
    (synopsis
     "Versions of @code{article} class, tuned for scholarly publications")
    (description
     "This package provides a pair of classes derived from @code{article},
tuned for producing papers for journals.  The classes introduce new layout
options and font commands for sections and parts, and define a new keywords
environment, subtitle and institution commands for the title section and new
commands for revisions.")
    (license license:gpl3+)))

(define-public texlive-papercdcase
  (package
    (name "texlive-papercdcase")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/papercdcase/"
                                     "source/latex/papercdcase/"
                                     "tex/latex/papercdcase/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c4nyy0brcarc2pa8wi6x2z0jv281qzr74s3majlirpkk4c87421"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/papercdcase")
    (synopsis "Origami-style folding paper CD case")
    (description
     "This package implements a LaTeX style file to produce origami-style
folding paper CD cases.")
    (license license:lppl)))

(define-public texlive-papermas
  (package
    (name "texlive-papermas")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/papermas/"
                                     "source/latex/papermas/"
                                     "tex/latex/papermas/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18q43s0aw84avzjcx0w0z9rilrpcaq8wvsh6x3zhx55fjygm94xj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/papermas")
    (synopsis "Compute the mass of a printed version of a document")
    (description
     "The package computes the number of sheets of paper used by, and hence the
mass of a document.  This is useful (for example) when calculating postal
charges.")
    (license license:lppl1.3+)))

(define-public texlive-papertex
  (package
    (name "texlive-papertex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/papertex/"
                                     "source/latex/papertex/"
                                     "tex/latex/papertex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d6dps2pj03mc2g7yzwi998x0rqml2afnnh6kh2mqrl1b64l3zvd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/papertex")
    (synopsis "Class for newspapers, etc")
    (description
     "This class allows LaTeX users to create a paperTeX newspaper.  The final
document has a front page and as many inner pages as desired.  News items
appear one after another and the user can choose the number of columns, style
and so on.  The class allows users to create newsletters too.")
    (license license:lppl)))

(define-public texlive-paracol
  (package
    (name "texlive-paracol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/paracol/" "source/latex/paracol/"
                                     "tex/latex/paracol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qrwdbz75i32gmaqg8cmzycqgjmw9m651fqq4h582lzaqkgqwyq1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/paracol")
    (synopsis "Multiple columns with texts in parallel")
    (description
     "The package provides yet another multi-column typesetting mechanism by which
you produce multi-column (e.g., bilingual) document switching and sychronizing
each corresponding part in parallel.")
    (license license:lppl)))

(define-public texlive-parades
  (package
    (name "texlive-parades")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parades/" "tex/latex/parades/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s7vdypyrkvg4c17qgwy8x9d6jkjkr29cjgzg9lx2iq1zaw178zb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parades")
    (synopsis "Tabulators and space between paragraphs in galley approach")
    (description
     "The LaTeX package @code{paravesp} controls the spaces above and below
paragraphs.  The Python script @file{parades.py} generates paragraph styles
with support of space above, space below and tabulators.  The system imposes
the galley approach on the document.")
    (license license:lppl1.3+)))

(define-public texlive-paresse
  (package
    (name "texlive-paresse")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/paresse/" "source/latex/paresse/"
                                     "tex/latex/paresse/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03rk67lc2rg5v3d3rs9kn2gvmavsjls1xywi4q78jjnak4dr2kb6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/paresse")
    (synopsis "Define simple macros for Greek letters")
    (description
     "The package defines macros using SS to type Greek letters so that the user
may type @samp{SSa} to get the effect of @code{$\\alpha$}.  However, it takes
care only of letters which have a macro name like @code{\\alpha} or
@code{\\Omega}.")
    (license license:lppl1.3c)))

(define-public texlive-parnotes
  (package
    (name "texlive-parnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parnotes/" "tex/latex/parnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "129wgpd2bwff2g8w6ihjpz2l6n4hyl6bs12g502xd1y89a7g1f0x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parnotes")
    (synopsis "Notes after every paragraph (or elsewhere)")
    (description
     "The package provides the @code{\\parnote} command.  The notes are set as
running paragraphs; placement is at the end of each paragraph, or manually,
using the @code{\\parnotes} command.")
    (license license:lppl1.3+)))

(define-public texlive-parsa
  (package
    (name "texlive-parsa")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/xelatex/parsa/" "tex/xelatex/parsa/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g22q6frngl8mw1lhjzyfizw8394n0f8mnafxijyw0am40ipsvi4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parsa")
    (synopsis
     "XeLaTeX package for theses and dissertations at Iranian universities")
    (description
     "This package provides a package for preparing dissertations and theses for
Iranian universities as fast and as efficiently as possible.")
    (license license:lppl1.3c)))

(define-public texlive-parselines
  (package
    (name "texlive-parselines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/parselines/"
                                     "source/latex/parselines/"
                                     "tex/latex/parselines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11gmlsw6m86wqdzfah2qgr43mxnr7cwk73fxwv8nd47pxcfb9cvj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/parselines")
    (synopsis "Apply a macro to each line of an environment")
    (description
     "The package defines an environment @code{parse lines} which processes each
line of an environment with a macro.  An example of shading the lines of an
environment is given.")
    (license license:lppl1.3+)))

(define-public texlive-pas-cours
  (package
    (name "texlive-pas-cours")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pas-cours/"
                                     "tex/latex/pas-cours/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02rqs5r345n64313h64mmszm7s8c0q8pwxaz9rjijzgs499jyzmn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pas-cours")
    (synopsis "Macros useful in preparing teaching material")
    (description
     "This package provides several groups of macros cover different branches of
mathematics.  Those are useful in preparing teaching material.")
    (license license:lppl)))

(define-public texlive-pas-cv
  (package
    (name "texlive-pas-cv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pas-cv/" "tex/latex/pas-cv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bd3i240fj90fawvcjk78r53nmdmjdcmcv85as7v13r6b1h2f6fs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pas-cv")
    (synopsis "Flexible typesetting of Curricula Vitae")
    (description
     "The package provides the framework for typesetting a Curriculum
Vitae (composed in French), together with a number of themes that may be used
with the package.  Conversion for use with other languages (than French)
should be possible.")
    (license license:lppl)))

(define-public texlive-pas-tableur
  (package
    (name "texlive-pas-tableur")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pas-tableur/"
                                     "tex/latex/pas-tableur/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wrlmvcxq9wv9ka2sywgrbmcvyx3qjlyp1miinbxlgzzr7a5y534"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pas-tableur")
    (synopsis "Create a spreadsheet layout")
    (description
     "The package provides commands for creating a grid of rectangles, and commands
for populating locations in the grid. PGF/TikZ is used for placement and
population of the cells.")
    (license license:lppl)))

(define-public texlive-patch
  (package
    (name "texlive-patch")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/generic/patch/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02xfy1fs30nha0l03lqwl8xrpd81855kb5nb660ks83aj187dghy"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/patch")
    (synopsis "Patch loaded packages, etc.")
    (description
     "The package defines macros that allow patching of existing commands,
specifying those parts of the existing macro to be replaced, along with the
replacements.  Thus it provides more sophisticated manipulation than a package
like @code{patchcmd}, which only permits modification by adding commands at
the beginning or end of an existing definition.")
    (license license:lppl)))

(define-public texlive-patchcmd
  (package
    (name "texlive-patchcmd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/patchcmd/"
                                     "source/latex/patchcmd/"
                                     "tex/latex/patchcmd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14w3r2xqwq9nwhpdfmlib48xjg2wn4ns58qa4rqsslw1bbsyrl3q"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/patchcmd")
    (synopsis "Change the definition of an existing command")
    (description
     "The package provides a command @code{\\patchcommand} that can be used to add
material at the beginning and the end of the replacement text of an existing
macro.  It works for macros with any number of normal arguments, including
those that were defined with @code{\\DeclareRobustCommand}.")
    (license license:lppl)))

(define-public texlive-pauldoc
  (package
    (name "texlive-pauldoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pauldoc/" "source/latex/pauldoc/"
                                     "tex/latex/pauldoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kml8vqxxypddipf4vinhj1kxb0qxb7c8yhanx7nll08z668cdwp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pauldoc")
    (synopsis "German LaTeX package documentation")
    (description
     "The package provides helpers for German language package documentation.")
    (license license:lppl)))

(define-public texlive-pawpict
  (package
    (name "texlive-pawpict")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pawpict/" "source/latex/pawpict/"
                                     "tex/latex/pawpict/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15b9xr4ilvkwgcw19narv52ixn4w9c6q2cl2dqs3myglvaw21w4p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pawpict")
    (synopsis "Using graphics from PAW")
    (description
     "This package provides support for the easy inclusion of graphics made by
@acronym{PAW, Physics Analysis Workstation}.")
    (license license:gpl3+)))

(define-public texlive-pax
  (package
    (name "texlive-pax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pax/" "scripts/pax/"
                                     "source/latex/pax/" "tex/latex/pax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fnpf4rfv552ss5jw2a1k0irb503magvzlcbp2mwwpi5k3wdvkx2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "pdfannotextractor.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/pax")
    (synopsis "Extract and reinsert PDF annotations with pdfTeX")
    (description
     "If PDF files are included using pdfTeX, PDF annotations are stripped.
The Pax project offers a solution without altering pdfTeX.  A Java program
(@file{pax.jar}) parses the PDF file that will later be included.  The program
then writes the data of the annotations into a file that can be read by TeX.
The LaTeX package @code{pax} extends the @code{graphics} package to support
the scheme: if a PDF file is included, the package looks for the file with the
annotation data, reads them and puts the annotations in the right place.")
    (license (list license:lppl license:gpl3+))))

(define-public texlive-pbalance
  (package
    (name "texlive-pbalance")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pbalance/"
                                     "source/latex/pbalance/"
                                     "tex/latex/pbalance/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r3xqdmcx3k5labiwm3swy7lp530b02yyiw3skfjc8ysy01p8rfv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pbalance")
    (synopsis "Balance last page in two-column mode")
    (description
     "This package balances the columns on the last page of a two-column document.
If the page is simple (no footnotes, floats, or marginpars), it uses the
balance package; otherwise, it uses @code{\\enlargethispage} to make the left
column shorter, balancing the columns.")
    (license license:lppl1.3c)))

(define-public texlive-pbsheet
  (package
    (name "texlive-pbsheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pbsheet/" "source/latex/pbsheet/"
                                     "tex/latex/pbsheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "126gps82j47xhw01p8w8qpcdlfffzqxan6xjizz9gdj1bhgyqk49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pbsheet")
    (synopsis "Problem sheet class")
    (description
     "This class is designed to simplify the typesetting of problem sheets with
mathematics and computer science content.  It is currently customised towards
teaching in French (and the examples are in French).")
    (license license:lppl)))

(define-public texlive-pdf14
  (package
    (name "texlive-pdf14")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdf14/" "source/latex/pdf14/"
                                     "tex/latex/pdf14/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sha8vbj0d75a3hsx8x34r79yfm3r5x9fn0qi4zbf070x3way6ff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdf14")
    (synopsis "Restore PDF 1.4 to a TeX live 2010 format")
    (description
     "Starting with TeX Live 2010, the various formats, that directly generate PDF,
default to generating PDF 1.5.  This is generally a good thing, but it can
lead to compatibility issues with some older PDF viewers.  This package
changes the version of PDF generated with formats (based on pdfTeX or LuaTeX
in PDF mode), back to 1.4 for documents that need to achieve maximal
compatibility with old viewers.")
    (license license:lppl1.3+)))

(define-public texlive-pdfcolmk
  (package
    (name "texlive-pdfcolmk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfcolmk/" "tex/latex/pdfcolmk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0maapa92xjv2d9l4ra0zjn4girzyk5lnaq7asigj050a9v611wqs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfcolmk")
    (synopsis "Improved colour support under pdfTeX (legacy stub)")
    (description
     "The package used to provide macros that emulated the colour stack
functionality of Dvips.  The colour stack deals with colour manipulations when
asynchronous events (like page-breaking) occur.  For current releases of
pdfTeX, this package is not needed, since real colour stacks are available.
It has therefore become empty stub that does nothing at all, just in case
there are still documents that reference it.")
    (license license:lppl1.3c)))

(define-public texlive-pdfcomment
  (package
    (name "texlive-pdfcomment")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfcomment/"
                                     "tex/latex/pdfcomment/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vv2lgnfnxyx7slbyg0xa4rh4j7192s4gis30zsz7rnydzq016fi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfcomment")
    (synopsis "User-friendly interface to PDF annotations")
    (description
     "For a long time pdfLaTeX has offered the command @code{\\pdfannot} for
inserting arbitrary PDF annotations.  The package offers a convenient and
user-friendly means of using @code{\\pdfannot} to provide comments in PDF
files.  It also supports LaTeX, Dvips, @command{ps2pdf}, LaTeX,
@command{dvipdfmx}, XeLaTeX and LuaLaTeX.  Unfortunately, support of PDF
annotations by PDF viewers may vary.")
    (license license:lppl1.3+)))

(define-public texlive-pdfcprot
  (package
    (name "texlive-pdfcprot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfcprot/"
                                     "source/latex/pdfcprot/"
                                     "tex/latex/pdfcprot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12ijgxy2ki3ygi3kfzi2z6shys9wb32gra8qdmksnp5zn3rv5spf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfcprot")
    (synopsis "Activating and setting of character protruding using pdfLaTeX")
    (description
     "This package provides an easy interface to adjust the character protrusion
for different fonts and choosing the right adjustment automatically depending
on the font.  The package is largely superseded by @code{microtype}.")
    (license license:lppl)))

(define-public texlive-pdfmarginpar
  (package
    (name "texlive-pdfmarginpar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfmarginpar/"
                                     "tex/latex/pdfmarginpar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l294kgyvjmrvnvfp3hdjb7nfcl6d02n5nmjlnzrghcj2692hy8v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfmarginpar")
    (synopsis "Generate marginpar-equivalent PDF annotations")
    (description
     "The package provides the @code{\\pdfmarginpar} command which is similar in
spirit to @code{\\marginpar}.  However, it creates PDF annotations which may
be viewed with Adobe Reader in place of marginal texts.  Small icons indicate
the in-text position where the message originates, popups provide the messages
themselves.  Thus bugfixes and other such communications are clearly visible
together when viewing the document, while the document itself is not
obscured.")
    (license license:gpl3+)))

(define-public texlive-pdfoverlay
  (package
    (name "texlive-pdfoverlay")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfoverlay/"
                                     "source/latex/pdfoverlay/"
                                     "tex/latex/pdfoverlay/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jv6kh19vm2kflvajcridcjn14i00xmgc0wamnhxiz4ias4v72yq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfoverlay")
    (synopsis "LaTeX style for overlaying text on a PDF")
    (description
     "It is often desirable to take an exisiting PDF and easily add annotations or
text overlaying the PDF.  This might arise if you wish to add comments to
a PDF, fill in a PDF form, or add text to a PDF where space has been left for
notes.  This package provides a simple interface to do this without having to
resort to inserting one page at a time.  Some or all of the pages of the PDF
can be included and not all pages of the PDF need have overlayed text.  It is
also possible to include text between pages of the PDF.  Another advantage of
this package is that the overlayed text can be set as normal flowing from one
page to another or with manual page breaks if you wish.  It is also possible
to use any standard method to position text at arbitrary places on a given
page.")
    (license license:lppl1.3c)))

(define-public texlive-pdfpagediff
  (package
    (name "texlive-pdfpagediff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfpagediff/"
                                     "tex/latex/pdfpagediff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02mz7qc68772ixdmnrdi7a9mrfimzfaxxjc31c01jrrx7ph4g33y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfpagediff")
    (synopsis "Find difference between two PDF")
    (description "This package finds the differences between two PDF files.")
    (license license:lppl1.0+)))

(define-public texlive-pdfpc
  (package
    (name "texlive-pdfpc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfpc/" "tex/latex/pdfpc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hb8ppm74w1p59mmivmygiwz3nd0fazh7f32drm05zg43h5y0xmp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfpc")
    (synopsis "Define data for the @command{pdfpc} presentation viewer")
    (description
     "This package allows to define additional meta data within the PDF file which
can be interpreted by the PDF presenter console (@command{pdfpc}) program.")
    (license license:gpl3+)))

(define-public texlive-pdfpc-movie
  (package
    (name "texlive-pdfpc-movie")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfpc-movie/"
                                     "source/latex/pdfpc-movie/"
                                     "tex/latex/pdfpc-movie/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bcr2vn4mljh4y5z75ar8lxfk4m1g5gc168dd12v55jasbghx1sm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfpc-movie")
    (synopsis "Pdfpc viewer-compatible hyperlinks to movies")
    (description
     "This LaTeX2e package provides a command @code{\\pdfpcmovie} for
embedding (hyperlinking) movies in a way compatible with the PDF Presenter
Console (@command{pdfpc}).")
    (license license:lppl1.3c)))

(define-public texlive-pdfprivacy
  (package
    (name "texlive-pdfprivacy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfprivacy/"
                                     "source/latex/pdfprivacy/"
                                     "tex/latex/pdfprivacy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xs4gsgbdp5q8p32d9idq10bscnxn8whbdha1n3l6ki1dmn89g0g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfprivacy")
    (synopsis "LaTeX package to remove or suppress pdf meta-data")
    (description
     "Creating PDFs with pdfLaTeX populates several PDF meta-data fields such as
date/time of creation/modification, information about the LaTeX
installation (e.g., pdfTeX version), and the relative paths of included PDFs.
The @code{pdfprivacy} package provides support for emptying several of these
PDF meta-data fields as well as suppressing some pdfTeX meta-data entries in
the resulting PDF.")
    (license license:lppl1.3c)))

(define-public texlive-pdfreview
  (package
    (name "texlive-pdfreview")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfreview/"
                                     "tex/latex/pdfreview/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19ybq5yqzp39z9l04sf3inp41rm9w5k6h02ig7qhc34gi9ps97bi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfreview")
    (synopsis "Annotate PDF files with margin notes")
    (description
     "This package lets you add comments in the page margins of PDF files, e.g.,
when reviewing manuscripts or grading reports.  The PDF file to be annotated
is included, one page at a time, as graphics, in a manner similar to the
@code{pdfpages} package.  Notes are placed in the margin next to the included
graphics using a grid of help lines.  Alternatively, only numbers are placed
in the page margins, and the notes are collected into a numbered list at the
end of the document.

Note that this package is not intended for adding notes directly to the LaTeX
source of the document that is being reviewed; instead, the document
undergoing review is already in PDF format and remains unchanged.  Also note
that this package does not produce the usual PDF sticky notes that must be
opened by clicking on them; instead, the notes are simply shown as text.")
    (license license:lppl)))

(define-public texlive-pdfscreen
  (package
    (name "texlive-pdfscreen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfscreen/"
                                     "tex/latex/pdfscreen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g6jydzd4zs4qpz3v53fiagca24vzn3slqd3fsw5kghx3zysq145"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfscreen")
    (synopsis "Support screen-based document design")
    (description
     "This package is an extension of the @code{hyperref} package that provides
a screen-based document design.  This package helps to generate PDF documents
that are readable on screen and will fit the screen's aspect ratio.  Also it
can be used with various options to produce regular print versions of the same
document without any extra effort.")
    (license license:lppl)))

(define-public texlive-pdfslide
  (package
    (name "texlive-pdfslide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfslide/" "tex/latex/pdfslide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00h5f6acmxq4mwr91k1zcmvjv1n7rv8kk9lqy11pngqp76gf5w5n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfslide")
    (synopsis "Presentation slides using pdfTeX")
    (description
     "This is a package for use with pdfTeX, to make nice presentation slides.
Its aims are: to devise a method for easier technical presentation; to help
the mix of mathematical formulae with text and graphics which other present
day document processing tools fail to accomplish; to exploit the platform
independence of TeX so that presentation documents become portable; and to
offer the freedom and possibilities of using various backgrounds and other
embellishments that a user can imagine to have in as presentation.

The package can make use of the facilities of the PPower4 post-processor.")
    (license license:lppl)))

(define-public texlive-pdfsync
  (package
    (name "texlive-pdfsync")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfsync/" "tex/latex/pdfsync/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0csxvx2wns2hng28s320i1wv7c73yx98jzwiich1hsqp93sss6a1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfsync")
    (synopsis "Provide links between source and PDF")
    (description
     "The package runs with pdfTeX or XeTeX, and creates an auxiliary file with
geometrical information to permit references back and forth between source and
PDF, assuming a conforming editor and PDF viewer.")
    (license license:lppl)))

(define-public texlive-pdfwin
  (package
    (name "texlive-pdfwin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pdfwin/" "tex/latex/pdfwin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hf6f3fhp5k87g1cvjr3frcl3dq9v12948lshn03q7fxl1zm36cc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pdfwin")
    (synopsis "Customizable windows for screen viewing of TeX documents")
    (description
     "This package provides customizable windows for screen viewing of TeX
documents.")
    (license license:lppl1.2+)))

(define-public texlive-pecha
  (package
    (name "texlive-pecha")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pecha/" "tex/latex/pecha/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a7j556dnc59a4r88g037ssr8ggsfvycyfcsdk2rbs8x16ljdvjh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pecha")
    (synopsis "Print Tibetan text in the classic pecha layout style")
    (description
     "The @code{pecha} class provides an environment for writing Tibetan on LaTeX2e
in the traditional Tibetan Pecha layout used for spiritual or philosophical
texts, using the cTib4TeX package.  It provides features like headers in
different languages, page numbering in Tibetan and more.")
    (license license:gpl3+)))

(define-public texlive-perltex
  (package
    (name "texlive-perltex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/perltex/"
                                     "doc/man/man1/perltex.1"
                                     "doc/man/man1/perltex.man1.pdf"
                                     "scripts/perltex/"
                                     "source/latex/perltex/"
                                     "tex/latex/perltex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1djgcpij1g63ln74n60xkm8fd43948yq6nks4854627w23yi8k19"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "perltex.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/perltex")
    (synopsis "Define LaTeX macros in terms of Perl code")
    (description
     "PerlTeX is a combination Perl script (@file{perltex.pl}) and LaTeX2e
package (@file{perltex.sty}) that, together, give the user the ability to
define LaTeX macros in terms of Perl code.  Once defined, a Perl macro becomes
indistinguishable from any other LaTeX macro.  PerlTeX thereby combines
LaTeX's typesetting power with Perl's programmability.  PerlTeX will make use
of persistent named pipes, and thereby run more efficiently.  Also provided is
a switch to generate a PerlTeX-free, document-specific, @file{noperltex.sty}
that is useful when distributing a document to places where PerlTeX is not
available.")
    (license license:lppl)))

(define-public texlive-permute
  (package
    (name "texlive-permute")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/permute/" "source/latex/permute/"
                                     "tex/latex/permute/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lrkk57w9sslj8cvjala4frpp71v28ixdkvizrmwpjcn9n0p46pv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/permute")
    (synopsis "Support for symmetric groups")
    (description
     "This package provides a package for symmetric groups, allowing you to input,
output, and calculate with them.")
    (license license:lppl)))

(define-public texlive-petiteannonce
  (package
    (name "texlive-petiteannonce")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/petiteannonce/"
                                     "tex/latex/petiteannonce/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d3ljwsbyv8idym40q1d40md74mlvgpx41ya99y89p2xfm69xffy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/petiteannonce")
    (synopsis "Class for small advertisements")
    (description
     "The class enables you to create the sort of adverts that you pin on
a noticeboard, with tear-off strips at the bottom where you can place contact
details.")
    (license license:lppl)))

(define-public texlive-pgfmath-xfp
  (package
    (name "texlive-pgfmath-xfp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pgfmath-xfp/"
                                     "source/latex/pgfmath-xfp/"
                                     "tex/latex/pgfmath-xfp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ss8wfqj5bmngzpcp0nfw6zm331bnjqa9x0ddfl1hf6i6j6c27b2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pgfmath-xfp")
    (synopsis "Define pgfmath functions using @code{xfp}")
    (description
     "This package allows to define @code{pgfmath} functions that use the
@code{xfp} FPU for their calculations.  The input arguments are parsed with
@code{pgfmath}, and the results are forwarded to the FPU for the function
evaluation.  The result of that calculation is then parsed by @code{pgfmath}
again.  This way the functions should be usable in every @code{pgfmath}
context, though there is some overhead to this approach.")
    (license license:lppl1.3c)))

(define-public texlive-phfcc
  (package
    (name "texlive-phfcc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phfcc/" "source/latex/phfcc/"
                                     "tex/latex/phfcc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04i0srq2ps4l8vbacci3ipdw4mc4hccwzp03lxj4b4a874yxdhg6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfcc")
    (synopsis "Convenient inline commenting in collaborative documents")
    (description
     "This package allows one to easily define helper macros to insert comments in
a LaTeX document.  A convenient syntax enables you to mark text
additions (e.g., @samp{\\phf@{I'm adding this text@}}), an in-line
comment (e.g., @samp{We're the best \\phf[I'm not sure about this.]}), and
text removals (e.g., @samp{\\phf*@{remove me@}}).  New colors are assigned
automatically to each commenter by default, and the appearance of all comments
is highly customizable.")
    (license license:lppl1.3+)))

(define-public texlive-phfextendedabstract
  (package
    (name "texlive-phfextendedabstract")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phfextendedabstract/"
                                     "source/latex/phfextendedabstract/"
                                     "tex/latex/phfextendedabstract/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a9jrsmlafi2q67bqzzwmdxiivqnrzscz9nb99is08rkwnfwmj97"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfextendedabstract")
    (synopsis "Typeset extended abstracts for conferences")
    (description
     "Several conferences in various fields require the submission of extended
abstracts.  An extended abstract is a summary of a scientific result,
presented at a high level, and consisting of at most a small handful of pages.
The @code{phfextendedabstract} LaTeX class provides a simple style for such
abstracts.  There are only two sectioning levels, sections and paragraphs, and
the style is optimized to save space as well as to guide the reader's eye
through the overall structure of the document.  An option will try to compress
all vertical space to save some space, in case you need to satisfy page
constraints.  The style builds upon the powerful RevTeX class, so you can use
all of RevTeX's features such as author affiliations, etc.")
    (license license:lppl1.3+)))

(define-public texlive-phffullpagefigure
  (package
    (name "texlive-phffullpagefigure")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phffullpagefigure/"
                                     "source/latex/phffullpagefigure/"
                                     "tex/latex/phffullpagefigure/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15s58c6b0yp948dwyw68cr6r1cj9wlwh334b49a6yi1fnfgrr71l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phffullpagefigure")
    (synopsis "Figures which fill up a whole page")
    (description
     "This package defines a @code{figure} environment which provides the figure
content on its own page, with the corresponding caption reading for example
@samp{Figure 3 (on next page): <caption>}.")
    (license license:lppl1.3+)))

(define-public texlive-phfnote
  (package
    (name "texlive-phfnote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/phfnote/" "doc/latex/phfnote/"
                                     "source/latex/phfnote/" "tex/latex/phfnote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fx5lpd4wfnjj441xm6d539kfvq88b2gkw8i8k28c2gksjs4hdgx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfnote")
    (synopsis "Basic formatting for short documents")
    (description
     "This package provides basic formatting for short documents such as notes on
a specific topic, short documentation, or quick memos.  It aims to cover all
basic needs for such purposes: include a standard set of relevant packages,
a nice title which doesn't take up too much space, better page margin sizes,
and some basic styling to make the note look nicer.  At the same time, it is
highly flexible and customizable.")
    (license license:lppl1.3+)))

(define-public texlive-phfparen
  (package
    (name "texlive-phfparen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phfparen/"
                                     "source/latex/phfparen/"
                                     "tex/latex/phfparen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b11l81xcqna11w7hhzy4adybrgpr1a64jl7376w970v7d41nd4d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfparen")
    (synopsis "Parenthetic math expressions made simpler and less redundant")
    (description
     "This package provides a more condensed and flexible syntax for
parenthesis-delimited expressions in math mode which also allows for an easier
switching of brace sizes.  For example, the syntax @samp{\\big( a + b )} can
be used to replace @samp{\\bigl( a + b \\bigr)}.")
    (license license:lppl1.3+)))

(define-public texlive-phfqit
  (package
    (name "texlive-phfqit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phfqit/" "source/latex/phfqit/"
                                     "tex/latex/phfqit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n9waig83pq0s6wgnbaxh3p1b1pj85j77pqsbvjsnmffffaiaqg8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfqit")
    (synopsis "Macros for typesetting quantum information theory")
    (description
     "This package provides macros to typeset some general mathematical operators
(identity operator, trace, diagonal, rank, ...), a powerful implementation of
the bra-ket notation (kets, bras, brakets, matrix elements etc.  which can be
sized as required), delimited expressions such as averages and norms, and some
basic Lie algebra/group names.  Macros for entropy measures for quantum
information theory (smooth min- and max-entropy, smooth relative entropies,
etc.) are also provided.")
    (license license:lppl1.3+)))

(define-public texlive-phfquotetext
  (package
    (name "texlive-phfquotetext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phfquotetext/"
                                     "source/latex/phfquotetext/"
                                     "tex/latex/phfquotetext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zhbxcdsg1250yn9m31w1zbqz1pcp2znif3r3fc1az4pfgcd8hyy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfquotetext")
    (synopsis "Quote verbatim text without white space formatting")
    (description
     "This package provides an environment for displaying block text with special
characters, such as verbatim quotes from a referee report which may contain
pseudo-(La)TeX code.  This behaves like a @code{verbatim} environment, except
that it displays its content as normal paragraph content, ignoring any white
space preformatting.")
    (license license:lppl1.3+)))

(define-public texlive-phfsvnwatermark
  (package
    (name "texlive-phfsvnwatermark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phfsvnwatermark/"
                                     "source/latex/phfsvnwatermark/"
                                     "tex/latex/phfsvnwatermark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q8ylfraz8c20x665aacgjzz1sx7ykp7wg0ygxv2q3z2cniqgr3z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfsvnwatermark")
    (synopsis "Watermarks with version control information from SVN")
    (description
     "This package allows you to add version control information as a gray
watermark on each page of your document.  The SVN info is read from keyword
tags such as @code{$Id$}, via the @code{svn} or @code{svn-multi} packages.")
    (license license:lppl1.3+)))

(define-public texlive-phfthm
  (package
    (name "texlive-phfthm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phfthm/" "source/latex/phfthm/"
                                     "tex/latex/phfthm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m6xavj8wiyx9z6agy8z6sm7kskjrmhfvi9idd0qwyvjgsnfb3v8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phfthm")
    (synopsis "Goodies for theorems and proofs")
    (description
     "This package provides enhanced theorem and proof environments based on the
amsthm original versions.  It allows for hooks to be placed, adds some default
goodies and is highly customizable.  In particular, it can connect theorems to
proofs, automatically producing text such as @samp{See proof on page X}.")
    (license license:lppl1.3+)))

(define-public texlive-philex
  (package
    (name "texlive-philex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/philex/" "tex/latex/philex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05qlcfradxs3pcz8a9an6aihbxwm0dbsa8b6sf55yi7j85ymp991"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/philex")
    (synopsis "Cross references for named and numbered environments")
    (description
     "Philex provides means for creating and cross-referencing named or numbered
environments.  Possible uses would be equations, example sentences (as in
linguistics or philosophy) or named principles.  Cross references may refer
either to the number, or to a short name of the target environment, or to the
contents of the environment.  Philex builds on the facilities of the
@code{linguex} package.")
    (license license:lppl)))

(define-public texlive-phonenumbers
  (package
    (name "texlive-phonenumbers")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/phonenumbers/"
                                     "tex/latex/phonenumbers/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18886ag4j8n6p9p00qsv7jjbfk75z59lfmrmawgsjpf2a435jg3d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/phonenumbers")
    (synopsis "Typesetting telephone numbers with LaTeX")
    (description
     "The @code{phonenumbers} package makes it possible to typeset telephone
numbers according to different national conventions.  German, Austrian,
French, British and North American phone numbers are supported.  Phone numbers
from other countries are supported rudimentarily.  The user can select from
various formatting options, including the additional output of the country
calling code.  The package is able to check if a phone number is valid
according to the national rules.  It also allows to link phone numbers using
the @code{hyperref} package.")
    (license license:lppl1.3+)))

(define-public texlive-photo
  (package
    (name "texlive-photo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/photo/" "source/latex/photo/"
                                     "tex/latex/photo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cyyvqd1l4m7sy0c88j3fyalxg4nkgq62wnw28js7q3qsd6bd40j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/photo")
    (synopsis "Float environment for photographs")
    (description
     "This package introduces a new float type called @code{photo} which works
similar to the float types @code{table} and @code{figure}.  Various options
exist for placing photos, captions, and a photographer line.  In
@code{twocolumn} documents, a possibility exists to generate double-column
floats automatically if the photo does not fit into one column.  Photos do not
have to be placed as floats, they can also be placed as boxes, with captions
and photographer line still being available.")
    (license license:lppl)))

(define-public texlive-photobook
  (package
    (name "texlive-photobook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/photobook/"
                                     "tex/latex/photobook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qhpvyac484ykhjjx9v5glw5d5bpd845gbq3f2w3yxazgnbf33qc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-adjustbox
                             texlive-atbegshi
                             texlive-changepage
                             texlive-colorspace
                             texlive-environ
                             texlive-eso-pic
                             texlive-etoolbox
                             texlive-fancyhdr
                             texlive-fancyvrb
                             texlive-flowfram
                             texlive-geometry
                             texlive-graphics
                             texlive-hyperref
                             texlive-iftex
                             texlive-kvoptions
                             texlive-listofitems
                             texlive-mdframed
                             texlive-numprint
                             texlive-pagecolor
                             texlive-pdfcomment
                             texlive-pdfpages
                             texlive-pgf
                             texlive-textpos
                             texlive-xargs
                             texlive-xcolor
                             texlive-xint
                             texlive-xkeyval))
    (home-page "https://ctan.org/pkg/photobook")
    (synopsis "Document class for typesetting photo books")
    (description
     "The @code{photobook} LaTeX document class extends the book class defining
a set of parameters, meta-macros, macros and environments with reasonable
defaults to help typeset, build and print books mainly based on visual/image
content.")
    (license license:bsd-3)))

(define-public texlive-picture
  (package
    (name "texlive-picture")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/picture/" "source/latex/picture/"
                                     "tex/latex/picture/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "157icaf3sx263y7vf25klcxs1ycnv5rxcag0wc8q19hbxj2qxg6v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/picture")
    (synopsis "Dimensions for picture macros")
    (description
     "There are macro and environment arguments that expect numbers that will
internally be multiplied by @code{\\unitlength}.  This package extends the
syntax of these arguments, so that dimensions with calculation support may be
used for these arguments.")
    (license license:lppl1.3+)))

(define-public texlive-piff
  (package
    (name "texlive-piff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/piff/" "tex/latex/piff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y61wv1msddh4d1cybdq4dxcaibbc2rx9yhv1c0kjavzyvdmjyxx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/piff")
    (synopsis "Macro tools by Mike Piff")
    (description
     "This collection of tools consists of: a small package for dealing with
duplicate-numbered output pages; @code{newproof}, for defining mathematical
proof structures; @code{onepagem} for omitting the page number in one-page
documents and @code{time}, which prints a 12-hour format time.")
    (license license:public-domain)))

(define-public texlive-pkgloader
  (package
    (name "texlive-pkgloader")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pkgloader/"
                                     "tex/latex/pkgloader/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lmim1ssnhws8lvh6rs36q6b50al3j638nd6rqilv2pvy9z30ich"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pkgloader")
    (synopsis "Manage the options and loading order of other packages")
    (description
     "The package seeks to address the frustration caused by package conflicts.  It
manages the options and loading order of other packages.")
    (license license:lppl1.3+)))

(define-public texlive-plantslabels
  (package
    (name "texlive-plantslabels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/plantslabels/"
                                     "tex/latex/plantslabels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1isrp48vzawl7fw1w2166nlhz78h7vjcjnsri389i5kv54k2pihz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plantslabels")
    (synopsis "Write labels for plants")
    (description
     "The package defines a command @code{\\plant}, which has three mandatory and
seven optional argument.")
    (license license:lppl)))

(define-public texlive-plates
  (package
    (name "texlive-plates")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/plates/" "tex/latex/plates/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08dpfyy22d1fh7jxyhlhv98bb5lmd6jkfbix5fqjdbrxyhz8snsk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/plates")
    (synopsis "Arrange for plates sections of documents")
    (description
     "The @code{plates} package provides a simple facility for inserting colour
figures in a document when they should be gathered and printed together as in
a book's section of colour plates.  The package provides a @code{plate}
environment that takes the place of the @code{figure} environment for such
colour images.")
    (license license:lppl)))

(define-public texlive-plweb
  (package
    (name "texlive-plweb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/plweb/" "source/latex/plweb/"
                                     "tex/latex/plweb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gnr1ykjmj014w4di19c02ir3y6x6fqzdz6g7km3bki1kjq0gj6p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pl")
    (synopsis "Literate programming for Prolog with LaTeX")
    (description
     "Instead of having to transform the common source into program or documentation,
the central idea was to develop a method to have one common source which can
be interpreted by a Prolog system as well as by LaTeX.")
    (license (license:fsf-free "file://doc/latex/plweb/README"))))

(define-public texlive-pmboxdraw
  (package
    (name "texlive-pmboxdraw")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pmboxdraw/"
                                     "source/latex/pmboxdraw/"
                                     "tex/latex/pmboxdraw/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zgl38h0cxm7w7md3zjji3j2in9ibalhc4ljazdla50rgmcr81p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pmboxdraw")
    (synopsis "Poor man's box drawing characters")
    (description
     "This package declares box drawing characters of old code pages,
e.g. @samp{cp437}.  It uses rules instead of using a font.")
    (license license:lppl1.3c)))

(define-public texlive-polynom
  (package
    (name "texlive-polynom")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/polynom/" "source/latex/polynom/"
                                     "tex/latex/polynom/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zywkgngpf7n8hgfdwj0cp2i3b2wn0jqrf799vrgfscwg7dhbgm3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/polynom")
    (synopsis "Macros for manipulating polynomials")
    (description
     "The @code{polynom} package implements macros for manipulating polynomials,
for example it can typeset long polynomial divisions.  The main test case and
application is the polynomial ring in one variable with rational
coefficients.")
    (license license:lppl1.3+)))

(define-public texlive-polynomial
  (package
    (name "texlive-polynomial")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/polynomial/"
                                     "source/latex/polynomial/"
                                     "tex/latex/polynomial/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jxiv64368n7my0qc52gdbh510ys106lq9vfx0y9i9w88alm7js6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/polynomial")
    (synopsis "Typeset (univariate) polynomials")
    (description
     "The package offers an easy way to write (univariate) polynomials and rational
functions.  It defines two commands, one for polynomials
@code{\\polynomial@{coeffs@}} and one for rational functions
@code{\\polynomialfrac@{Numerator@}@{Denominator@}}.  Both commands take lists
of coefficients as arguments, and offer limited optional behaviour.")
    (license license:lppl)))

(define-public texlive-polytable
  (package
    (name "texlive-polytable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/polytable/"
                                     "source/latex/polytable/"
                                     "tex/latex/polytable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16hr99p6mx14px3jrwhgw5pqpp80prkb9l2647gmfk59df9zjl6m"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/polytable")
    (synopsis "Tabular-like environments with named columns")
    (description
     "This package implements a variant of tabular-like environments where columns
can be given a name and entries can flexibly be placed between arbitrary
columns.  Complex alignment-based layouts, for example for program code, are
possible.")
    (license license:lppl)))

(define-public texlive-postcards
  (package
    (name "texlive-postcards")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/postcards/"
                                     "tex/latex/postcards/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "110q0lha3wkvh17c67qgdib81pg0qbfbqwbjr00p0zhfyb7ri4xx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/postcards")
    (synopsis "Facilitates mass-mailing of postcards (junkmail)")
    (description
     "This package provides a modification of the standard LaTeX letter class which
prints multiple, pre-stamped, 5.5 by 3.5 postcards (a US standard size) via
the @code{envlab} and @code{mailing} packages.  An address database is
employed to address the front side of each postcard and a message is printed
on the back side of all.")
    (license license:lppl)))

(define-public texlive-poster-mac
  (package
    (name "texlive-poster-mac")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/poster-mac/"
                                     "tex/generic/poster-mac/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h63zijhan1rvghklsia9siyzg67f7mq2pfl5n068qdss5i91k77"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/poster-mac")
    (synopsis "Make posters and banners with TeX")
    (description
     "The package offers macros for making posters and banners with TeX.  It is
compatible with most TeX macro formats, including Plain TeX, LaTeX, AmSTeX,
and AmS-LaTeX.  The package creates a poster as huge box, which is then
distributed over as many printer pages as necessary.  The only special
requirement is that your printer not be bothered by text that lies off the
page.  This is true of most printers, including laser printers and PostScript
printers.")
    (license license:lppl)))

(define-public texlive-postnotes
  (package
    (name "texlive-postnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/postnotes/"
                                     "source/latex/postnotes/"
                                     "tex/latex/postnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xiv6hjid167kdrzlldnsdzpxclp2maazdla6zvpp56p5bxh4sjl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/postnotes")
    (synopsis "Endnotes for LaTeX")
    (description
     "This is an endnotes package for LaTeX.  Its user interface provides means to
print multiple sections of notes along the document, and to subdivide them
either automatically --- by chapter, by section --- or at manually specified
places, thus being able to easily handle both numbered and unnumbered
headings.  The package also provides infrastructure for setting up contextual
running headers for printed notes.  The default is a simple but useful one, in
the form @samp{Notes to pages N-M}, but more elaborate ones can be built.
When @code{hyperref} is loaded, postnotes provides hyperlinked notes,
including back links.")
    (license license:lppl1.3c)))

(define-public texlive-powerdot
  (package
    (name "texlive-powerdot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/powerdot/"
                                     "source/latex/powerdot/"
                                     "tex/latex/powerdot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b5fmrzaif2d7rwbwlpd9xdykpw1r5p5cpjqiw3gs1f3241p43f4"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/powerdot")
    (arguments
     (list
      #:tex-format "latex"
      #:phases #~(modify-phases %standard-phases
                   ;; Building documentation, automatic when
                   ;; generating runfiles, fails.  Skip building it.
                   (add-after 'unpack 'skip-documentation
                     (lambda _
                       (substitute* "source/latex/powerdot/powerdot.dtx"
                         (("\\\\DocInput\\{powerdot\\.dtx\\}") "")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-enumitem
                  texlive-etoolbox
                  texlive-fourier
                  texlive-hypdoc
                  texlive-listings
                  texlive-pgf
                  texlive-placeins
                  texlive-pst-node
                  texlive-pst-text
                  texlive-pstricks
                  texlive-xcolor
                  texlive-xkeyval))))
    (synopsis "Presentation class")
    (description
     "Powerdot is a presentation class for LaTeX that allows for the quick and easy
development of professional presentations.  It comes with many tools that
enhance presentations and aid the presenter.  Examples are automatic overlays,
personal notes and a handout mode.  To view a presentation, DVI, PS or PDF
output can be used.  A powerful template system is available to easily develop
new styles.")
    (license license:lppl1.3+)))

(define-public texlive-ppr-prv
  (package
    (name "texlive-ppr-prv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ppr-prv/" "source/latex/ppr-prv/"
                                     "tex/latex/ppr-prv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13fyjhym5idskszlrxajr7aglrn7y44xm5adh9l32xjvf3lnsmgh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ppr-prv")
    (synopsis "Prosper preview")
    (description
     "This class is used with LaTeX presentations using the @code{prosper} class.
The aim of this class is to produce a printable version of the slides written
with Prosper, with two slides per page.")
    (license license:lppl)))

(define-public texlive-crumbs
  (package
    (name "texlive-crumbs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/crumbs/" "source/latex/crumbs/"
                                     "tex/latex/crumbs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12hyir8ia6ns2r3wf27vr58ymkgcvpsj2m3vzal815znimhk8ik2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-catchfile texlive-etoolbox
                             texlive-xkeyval))
    (home-page "https://ctan.org/pkg/crumbs")
    (synopsis "Add a navigation path to the page header")
    (description
     "This package adds a navigation path, or breadcrumb trail, to the header of
a presentation, just like some websites do in order to simplify navigation.")
    (license license:expat)))

(define-public texlive-pagecolor
  (package
    (name "texlive-pagecolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pagecolor/"
                                     "source/latex/pagecolor/"
                                     "tex/latex/pagecolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rdxq2r5s7jkglirp3ycxzv7852sm47hz0irkrf8c6kcjkzpabj6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pagecolor")
    (synopsis "Interrogate page color")
    (description
     "This package provides the command @code{\\thepagecolor}, which gives the current page
(background) color, i.e., the argument used with the most recent call of
@code{\\pagecolor@{...@}}.  The command @code{\\thepagecolornone} gives the
same color as @code{\\thepagecolor}, except when the page background color is
@code{none} (e.g., as a result of using the @code{\\nopagecolor} command).  In
that case @code{\\thepagecolor} is @code{white} and @code{\\thepagecolornone}
is @code{none}.  When @code{\\nopagecolor} is unknown or broken
(@code{crop} package), this package provides a replacement.  Similar to @code{\\newgeometry}
and @code{\\restoregeometry} of the @code{geometry} package @code{\\newpagecolor@{...@}} and
@code{\\restorepagecolor} are provided.  For use with the @code{crop} package
@code{\\backgroundpagecolor@{...@}} as well as @code{\\newbackgroundpagecolor@{...@}} and
@code{\\restorebackgroundpagecolor} are provided.")
    (license license:lppl1.3c)))

(define-public texlive-ppt-slides
  (package
    (name "texlive-ppt-slides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ppt-slides/"
                                     "source/latex/ppt-slides/"
                                     "tex/latex/ppt-slides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cp0kkw4jb6fm87r8wmnnkn23y9wv4ap8d88j2gx35c7q28g0wsy"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-crumbs
           texlive-enumitem
           texlive-hyperref
           texlive-pagecolor
           texlive-pgf
           texlive-pgfopts
           texlive-qrcode
           texlive-seqsplit
           texlive-tikzpagenodes
           texlive-tools
           texlive-varwidth
           texlive-xcolor))
    (home-page "https://ctan.org/pkg/ppt-slides")
    (synopsis "Slide decks a la PowerPoint (PPT)")
    (description
     "This LaTeX package helps you create slide decks looking like those created
with PowerPoint, but more precise, uniform, and visually strict.")
    (license license:expat)))

(define-public texlive-practicalreports
  (package
    (name "texlive-practicalreports")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/practicalreports/"
                                     "tex/latex/practicalreports/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zm7rx8d5vgg2b2dlra44qk77kgivb4pq7glkaligcd1fw8sdzyp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/practicalreports")
    (synopsis "Some macros for writing practical reports")
    (description
     "This package provides a handful of macros for writing up science practical
reports.")
    (license license:lppl1.3c)))

(define-public texlive-prelim2e
  (package
    (name "texlive-prelim2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prelim2e/"
                                     "source/latex/prelim2e/"
                                     "tex/latex/prelim2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p86dh95rdddrakwdr6rf6adnfpg5pppqkgqvhzp8q028xz0xdbi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/prelim2e")
    (synopsis "Allows the marking of preliminary versions of a document")
    (description
     "This package puts text below the normal page content (the default text marks
the document as draft and puts a timestamp on it).  It Can be used together
with e.g., the @code{vrsion}, @code{rcs} and @code{rcsinfo} packages.")
    (license license:lppl1.3c)))

(define-public texlive-pressrelease
  (package
    (name "texlive-pressrelease")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pressrelease/"
                                     "source/latex/pressrelease/"
                                     "tex/latex/pressrelease/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gp9m7smh21r3shvlqivnh560sgpfvibh47qlz39pwn6285nix51"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pressrelease")
    (synopsis "Class for typesetting press releases")
    (description
     "This package provides a configurable class for writing press releases.")
    (license license:lppl1.3+)))

(define-public texlive-prettyref
  (package
    (name "texlive-prettyref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prettyref/"
                                     "source/latex/prettyref/"
                                     "tex/latex/prettyref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kp50ipij9n32w5ri7qir5qqnxkm08d3rrq3ngc0k1lpnibc8xwn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prettyref")
    (synopsis "Make label references self-identify")
    (description
     "@code{prettyref} provides a command @code{\\newrefformat}, which specifies
the way in which a reference is typeset, according to a label identification.
The identification is set in the @code{\\label} command, by using prefixed
label names; so instead of @code{\\label@{mysection@}}, one uses
@code{\\label@{sec:mysection@}}, and @code{prettyref} interprets the
@samp{sec:} part.")
    (license license:public-domain)))

(define-public texlive-prettytok
  (package
    (name "texlive-prettytok")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prettytok/"
                                     "tex/latex/prettytok/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0di3g0r61grk720flwrwn1bzixcigx45ry2mwi0qrd9i2kxz8a8y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-filecontentsdef texlive-l3kernel
                             texlive-precattl))
    (home-page "https://ctan.org/pkg/prettytok")
    (synopsis "Pretty-print token lists")
    (description
     "This package pretty-prints token lists to HTML file for debugging purposes.
Open the file in any browser to view the result.  It can be used to replace
@code{\\tl_analysis_show:n}.")
    (license license:lppl1.3c)))

(define-public texlive-printlen
  (package
    (name "texlive-printlen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/printlen/" "tex/latex/printlen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pha10m0zgsp4zs100kjlf1zgdj2dsb1i1a6ng3wamhbq8l0508l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/printlen")
    (synopsis "Print lengths using specified units")
    (description
     "@code{\\printlength@{length@}} prints the value of a LaTeX length in the
units specified by @code{\\uselengthunit@{unit@}}, where @samp{unit} may be
any TeX length unit: @samp{pt}, @samp{pc}, @samp{in}, @samp{mm}, @samp{cm},
@samp{bp}, @samp{dd} or @samp{cc}).  When the unit is @samp{pt}, the printed
length value will include any stretch or shrink; otherwise these are not
printed.  The unit argument may also be @samp{PT}, in which case length values
will be printed in point units but without any stretch or shrink values.")
    (license license:lppl)))

(define-public texlive-probsoln
  (package
    (name "texlive-probsoln")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/probsoln/"
                                     "source/latex/probsoln/"
                                     "tex/latex/probsoln/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1805q6qq2rgq2l2akdkh8a7zn9b9l051fc9nbdkwv0j8dvynvlkv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/probsoln")
    (synopsis "Generate problem sheets and their solution sheets")
    (description
     "The package is designed for lecturers who have to generate new problem sheets
for their students on a regular basis by randomly selecting a specified number
of problems defined in another file.  The package allows you easily to
generate a new problem sheet that is different from the previous year, thus
alleviating the temptation of students to seek out the previous year's
students and checking out their answers.  The solutions to the problems can be
defined along with the problem, making it easy to generate the solution sheet
from the same source code; problems may be reused within a document, so that
solutions may appear in a different section of the same document as the
problems they cover.")
    (license license:lppl)))

(define-public texlive-program
  (package
    (name "texlive-program")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/program/" "tex/latex/program/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1icg7zv74g1q0rvg5vsmri1m17n87wmazgvy9brp3dmincsvg1jd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/program")
    (synopsis "Typesetting programs and algorithms")
    (description
     "The main offering is a @code{program} environment; a @code{programbox}
environment is available for fragments that must not break with the pages.")
    (license license:gpl3)))

(define-public texlive-progress
  (package
    (name "texlive-progress")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/progress/" "tex/latex/progress/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14sfbs9d3b28xqqaxzv7wcyjk60gqy30zwpl91mz0g55xxng7y6r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/progress")
    (synopsis "Creates an overview of a document's state")
    (description
     "Progress is a package which, when compiling TeX and LaTeX documents,
generates a HTML file showing an overview of a document's state (of how
finished it is).  The report is sent to file @code{\\ProgressReportName},
which is by default the @code{\\jobname} with the date appended (but is
user-modifiable).")
    (license license:lppl)))

(define-public texlive-progressbar
  (package
    (name "texlive-progressbar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/progressbar/"
                                     "tex/latex/progressbar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s2hspv490bbvazjzkcpvaa3l4ypgwn3pymiiqibas9kvgs5yycj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/progressbar")
    (synopsis
     "Visualize shares of total amounts in the form of a (progress-)bar")
    (description
     "This package allows you to easily visualize shares of total amounts in the
form of a bar.  So basically you can convert any number between 0 and 1 to
a progressbar using the command @code{\\progressbar@{<number>@}}.  Also a lot
of customizations are possible, allowing you to create an unique progress bar
on your own.  The package uses TikZ to produce its graphics.")
    (license license:lppl)))

(define-public texlive-proofread
  (package
    (name "texlive-proofread")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/proofread/"
                                     "source/latex/proofread/"
                                     "tex/latex/proofread/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13sp7xd1a5k25l5wvjzk51p01zk6wcnj5fjd7fpca4indqz3x2kx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/proofread")
    (synopsis "Commands for inserting annotations")
    (description
     "This package defines a few LaTeX commands that may be useful when you
proofread a LaTeX document.  They allow you to easily highlight text and add
comments in the margin.  Vim escape sequences are provided for inserting or
removing these LaTeX commands in the source.  Options are provided for
displaying the document with extra line spacing, and for displaying it in
either corrected or uncorrected state, both without margin notes.")
    (license license:lppl1.3c)))

(define-public texlive-properties
  (package
    (name "texlive-properties")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/properties/"
                                     "tex/latex/properties/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0za99c6894nmss3jz7ivbx7gia2c6pzqsxnr0rmzayd4ig4q543y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/properties")
    (synopsis "Load properties from a file")
    (description
     "The package loads properties (key, value) from a properties file, e.g.,
@code{\\jobname.properties}.")
    (license license:lppl)))

(define-public texlive-prosper
  (package
    (name "texlive-prosper")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/prosper/" "tex/latex/prosper/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wbfgvh0lgfz7l9ihd6p25w88zpbgn2v1pjfsr19xyrf5h1dkg0s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/prosper")
    (synopsis "LaTeX class for high quality slides")
    (description
     "Prosper is a LaTeX class for writing transparencies.  It is written as an
extension of the @code{seminar} class.  Prosper offers a friendly environment
for creating slides for both presentations with an overhead projector and
a video projector.  Slides prepared for a presentation with a computer and
a video projector may integrate animation effects, incremental display, and so
on.  Various visual styles are supported and others are being contributed.")
    (license license:lppl1.2+)))

(define-public texlive-protex
  (package
    (name "texlive-protex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/protex/" "tex/latex/protex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1cbsz5r8dj528mrpsbdp3flz3dma6kifbd2xqy1vkw6vhc3nbvcg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/protex")
    (synopsis "Literate programming package")
    (description
     "ProTeX is a simple but powerful literate programming tool, which is designed
to generate useful hypertext output (either PDF, or HTML using TeX4ht).")
    (license license:lppl)))

(define-public texlive-protocol
  (package
    (name "texlive-protocol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/protocol/"
                                     "source/latex/protocol/"
                                     "tex/latex/protocol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "000gqwbqfbir9kx8j9n0hs40pdwsk7mf82j3p4m3byhc38j56cds"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/protocol")
    (synopsis "Class for minutes of meetings")
    (description
     "The present version of the class supports German meeting minutes including
vote results and action items.")
    (license license:lppl1.3+)))

(define-public texlive-psfragx
  (package
    (name "texlive-psfragx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/psfragx/" "source/latex/psfragx/"
                                     "tex/latex/psfragx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d6rsdjdjjr4m3b18hakzhzrscxw2kf07kh5p9pnb26771ikvndz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           #:build-targets #~(list "psfragx.dtx")))
    (home-page "https://ctan.org/pkg/psfragx")
    (synopsis "@code{psfrag} extension")
    (description
     "PSfragX offers a mechanism to embed @code{\\psfrag} commands, as provided by
the @code{psfrag} package, into the EPS file itself.  Each time a graphic is
included, the EPS file is scanned.  If some tagged lines are found, they are
used to define the psfrag replacements that should be performed automatically.
In addition, a similar mechanism holds for overpic objects.  These are picture
objects superimposed on the included graphic.  For example, if Babel is used,
it is possible to define different replacements corresponding to different
languages.  The replacements to take into account will be selected on the
basis of the current language of the document.

A Matlab script (LaPrint) is provided, to export an EPS file with
@code{psfragx} annotations ready embedded.")
    (license license:lppl)))

(define-public texlive-pstring
  (package
    (name "texlive-pstring")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pstring/" "tex/latex/pstring/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "07z072r8l55gplyr538nc76c0pfmz8mslx84gdy7nmmp9410sqv1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pstring")
    (synopsis "Typeset sequences with justification pointers")
    (description
     "This package lets you typeset justified sequences, also called pointing
strings.  It's used for instance, in research papers about game semantics to
represent sequence of game moves with their associated justification
pointers.")
    (license license:public-domain)))

(define-public texlive-pxgreeks
  (package
    (name "texlive-pxgreeks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pxgreeks/"
                                     "source/latex/pxgreeks/"
                                     "tex/latex/pxgreeks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1s4bckmniy5paszg6hjqkf7vkj66mc5fpplwlz7xq432k0773xx3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/pxgreeks")
    (synopsis "Shape selection for PX fonts Greek letters")
    (description
     "The package allows LaTeX maths users of the PX fonts to select the shapes
(italic or upright) for the Greek lowercase and uppercase letters.  Once the
shapes for lowercase and uppercase have been selected via a package option,
the @code{\\other} prefix (e.g., @code{\\otheralpha}) allows using the
alternate glyph (as in the fourier package).  The @code{pxgreeks} package does
not constrain the text font that may be used in the document.")
    (license license:lppl1.3+)))

(define-public texlive-pygmentex
  (package
    (name "texlive-pygmentex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pygmentex/" "scripts/pygmentex/"
                                     "tex/latex/pygmentex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "012ljn25ihnw3i9fava7z9zg1372m7map6sgkjsikwlk18v8b30j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "pygmentex.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/pygmentex")
    (synopsis "Use Pygments to format code listings in documents")
    (description
     "PygmenTeX is a Python-based LaTeX package that can be used for typesetting
code listings in a LaTeX document using Pygments.  Pygments is a generic
syntax highlighter for general use in all kinds of software such as forum
systems, wikis or other applications that need to prettify source code.")
    (license license:lppl1.3+)))

(define-public texlive-python
  (package
    (name "texlive-python")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/python/" "tex/latex/python/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b6r510m4a9iy6nk8r5id6265kvxljir8y6v06gp7r841cj5sy9z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/python")
    (synopsis "Embed Python code in LaTeX")
    (description
     "The package enables you to embed Python code in LaTeX, and insert the
script's output in the document.")
    (license license:gpl3+)))

(define-public texlive-pythonimmediate
  (package
    (name "texlive-pythonimmediate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/pythonimmediate/"
                                     "tex/latex/pythonimmediate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jxdxjxibds2bcwfq5zql0v80r9qlkzl8vm82avra5c9d2vc4a3l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-currfile texlive-l3packages
                             texlive-precattl texlive-saveenv))
    (home-page "https://ctan.org/pkg/pythonimmediate")
    (synopsis "Library to run Python code")
    (description
     "This is a library to run Python code.  Just like PerlTeX or PyLuaTeX,
this only requires a single run, and variables are persistent throughout the
run.  Unlike PerlTeX or PyLuaTeX, there is no restriction on compiler or
script required to run the code.

There are also debugging functionalities: TeX errors result in Python
traceback, and Python errors result in TeX traceback.  Errors in code executed
with the @code{pycode} environment give the correct traceback point to the
Python line of code in the TeX file.  For advanced users, this package allows
the user to manipulate the TeX state directly from within Python, so you don't
need to write a single line of TeX code.

In addition to this LaTeX package you need the Python
@code{pythonimmediate-tex} package.")
    (license license:lppl1.3c)))

(define-public texlive-qcm
  (package
    (name "texlive-qcm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qcm/" "source/latex/qcm/"
                                     "tex/latex/qcm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ck1q695z1j5vjb528k10cq000kswrw524caia3amw8ibxxvqzdi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/qcm")
    (synopsis "LaTeX2e class for making multiple choice questionnaires")
    (description
     "QCM is a package for making multiple choices questionnaires under LaTeX2e
(@emph{QCM} is the French acronym for this style of test).  A special
environment allows you to define questions and possible answers.  You can
specify which answers are correct and which are not.  QCM not only formats the
questions for you, but also generates a form (a grid that your students will
have to fill in), and a mask (the same grid, only with correct answers
properly checked in).  You can then print the mask on a slide and correct the
questionnaires more easily by superimposing the mask on top of students forms.
QCM can also typeset exam corrections automatically, and comes with support
for AUC-TeX.")
    (license license:lppl)))

(define-public texlive-qstest
  (package
    (name "texlive-qstest")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qstest/" "source/latex/qstest/"
                                     "tex/latex/qstest/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b1w1h4g2b3hbgza87aqm9hb36g46xwcr2f42qb30drc8p5svybv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qstest")
    (synopsis "Bundle for unit tests and pattern matching")
    (description
     "This is @code{qstest} bundle, which contains the packages @code{makematch}
for matching patterns to targets (with a generalization in the form of pattern
lists and keyword lists), and @code{qstest} for performing unit tests,
allowing the user to run a number of logged tests ensuring the consistency of
values, properties and call sequences during execution of test code.  Both
packages make extensive use of in their package documentation, providing
illustrated examples that are automatically verified to work as expected.")
    (license license:lppl)))

(define-public texlive-qsymbols
  (package
    (name "texlive-qsymbols")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/qsymbols/"
                                     "source/latex/qsymbols/"
                                     "tex/latex/qsymbols/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02hb4d193dqsm2190alr4mh49rdx7wyy51281amz8pnfnkhlqifc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/qsymbols")
    (synopsis "Maths symbol abbreviations")
    (description
     "This package provides macros for defining systematic mnemonic abbreviations,
starting with @samp{`} for math symbols and @samp{\\\"} for arrows, using
standard symbols as well as those from the @code{amsfonts} bundle and the
@code{stmaryrd} package.")
    (license license:gpl3+)))

(define-public texlive-quicktype
  (package
    (name "texlive-quicktype")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quicktype/"
                                     "tex/latex/quicktype/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1aza4qdzqylv8h2gdzq83m8hs4n8lf3f6l4x2gf3q9mg2v0gms2x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quicktype")
    (synopsis "LaTeX package for quick typesetting")
    (description
     "This package is intended for the quick typesetting of basic LaTeX documents
using shortcuts to existing commands and specific commands for quick
formatting and creation of tables and title pages with a graphic image.")
    (license license:lppl1.3+)))

(define-public texlive-quiz2socrative
  (package
    (name "texlive-quiz2socrative")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quiz2socrative/"
                                     "tex/latex/quiz2socrative/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02w9hqb2ri1xp3b5mi2sd41q2grq4vw4cvi7zmff02rrwaxd16wa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quiz2socrative")
    (synopsis "Prepare questions for socrative quizzes")
    (description
     "This is a LaTeX package for preparing multiple choice, true/false,
and short answer questions.  Its main purpose is to offer a tool to
easily insert rather complicated mathematical material in
@url{https://socrative.com, socrative quizzes}.")
    (license license:lppl1.3c)))

(define-public texlive-quotchap
  (package
    (name "texlive-quotchap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quotchap/"
                                     "source/latex/quotchap/"
                                     "tex/latex/quotchap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v3hn7znccza193jlny1f61q6nx1hawp3hmr3277iq31idv59m99"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/quotchap")
    (synopsis "Decorative chapter headings")
    (description
     "This is a package for creating decorative chapter headings with quotations.
Uses graphical and coloured output and by default needs the Adobe standard
font set (as supported by @code{psnfss}).")
    (license license:gpl2)))

(define-public texlive-quoting
  (package
    (name "texlive-quoting")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quoting/" "source/latex/quoting/"
                                     "tex/latex/quoting/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "035jilwq326893l3iza8dasznjfxvxg0w3r5zkygrjc5zycqmfp4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quoting")
    (synopsis "Consolidated environment for displayed text")
    (description
     "As an alternative to the LaTeX standard environments @code{quotation} and
@code{quote}, the package provides a consolidated environment for displayed
text.  First-line indentation may be activated by adding a blank line before
the quoting environment.  A key-value interface (using kvoptions) allows the
user to configure font properties and spacing and to control orphans within
and after the environment.")
    (license license:lppl1.3+)))

(define-public texlive-quotmark
  (package
    (name "texlive-quotmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/quotmark/"
                                     "source/latex/quotmark/"
                                     "tex/latex/quotmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hijpw5d29b6zdgrqrpmg8p5vh9kf3f6kx6r6qr1yc2l7ydscyma"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/quotmark")
    (synopsis "Consistent quote marks")
    (description
     "The package provides a means of ensuring consistent quote marks throughout
your document.  The style can be changed either via package option or command,
and the package detects language selections (from the @code{babel} or
@code{ngerman} packages), and uses the punctuation marks appropriate for the
current language.

The author now considers the package obsolete, and recommends use of
@code{csquotes} in its place.")
    (license license:lppl)))

(define-public texlive-ran-toks
  (package
    (name "texlive-ran-toks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ran_toks/"
                                     "source/latex/ran_toks/"
                                     "tex/latex/ran_toks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18js88apqcvsr4z4fwjf6219d28fxnhcv3srhhksbi5h4ky8y88m"))))
    (outputs '("out" "doc"))
    (properties '((upstream-name . "ran_toks")))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ran_toks")
    (synopsis "Randomise token strings")
    (description
     "The package provides means of randomising lists of tokens, or lists of chunks
of tokens.  Two mechanisms for defining chunks are provided: the
@code{\\ranToks} command accepts an argument containing tokens to be
randomised; and the @code{\\bRTVToks/\\eRTVToks} commands delimit a collection
of tokens for randomising; each group inside a @code{rtVw} constitutes one of
these (typically larger) token sets.")
    (license license:lppl1.0+)))

(define-public texlive-randtext
  (package
    (name "texlive-randtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/randtext/" "tex/latex/randtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19zammzlnd4c0sa34pcm4gn5ascxsxcd9k2lrzpxdzck6cydycg8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/randtext")
    (synopsis "Randomise the order of characters in strings")
    (description
     "The package provides a single macro @code{\\randomize@{@var{TEXT}@}} that
typesets the characters of @var{TEXT} in random order, such that the resulting
output appears correct, but most automated attempts to read the file will
misunderstand it.  This function allows one to include an email address in
a TeX document and publish it online without fear of email address harvesters
or spammers easily picking up the address.")
    (license license:lppl)))

(define-public texlive-rccol
  (package
    (name "texlive-rccol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rccol/" "source/latex/rccol/"
                                     "tex/latex/rccol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qd37lacjixjkz89lw6q3nszdqxbdsn89rw262rqldx4wn65l4qa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rccol")
    (synopsis "Decimal-centered optionally rounded numbers in tabular")
    (description
     "The @code{rccol} package provides decimal-centered numbers: corresponding
digits and decimal separators aligned.  Furthermore, rounding to the desired
precision is possible.")
    (license license:lppl1.2+)))

(define-public texlive-rcs-multi
  (package
    (name "texlive-rcs-multi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rcs-multi/"
                                     "source/latex/rcs-multi/"
                                     "tex/latex/rcs-multi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13wa428acrycfrqva5agdq7mhnxr2cya5jzlprrs5k4bn01g40lj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rcs-multi")
    (synopsis "Typeset RCS version control in multiple-file documents")
    (description
     "The package enables the user to typeset version control information provided
by RCS keywords (e.g., @samp{$ID: ... $}) in LaTeX documents that contain
multiple TeX files.")
    (license license:lppl)))

(define-public texlive-rcsinfo
  (package
    (name "texlive-rcsinfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rcsinfo/" "source/latex/rcsinfo/"
                                     "tex/latex/rcsinfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q0d961vqj7kmzmf07zssq6wwwj7zjdhl3a9yi53slhfjar4y8zz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rcsinfo")
    (synopsis "Support for the revision control system")
    (description
     "This package provides a package to extract @acronym{RCS, Revision Control
System} information and use it in a LaTeX document.  For users of LaTeX2HTML,
@file{rcsinfo.perl} is included.")
    (license license:lppl)))

(define-public texlive-readablecv
  (package
    (name "texlive-readablecv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/readablecv/"
                                     "tex/latex/readablecv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l8py60k2s8iws7na8qfl3djhahl49jsjcjcggmc6175z1pkiwxz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/readablecv")
    (synopsis "Readable and good looking CV and letter class")
    (description
     "This class provides an attractive and highly readable CV which will hopefully
lead to your CV being read rather than disgarded.")
    (license license:lppl1.3+)))

(define-public texlive-realboxes
  (package
    (name "texlive-realboxes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/realboxes/"
                                     "source/latex/realboxes/"
                                     "tex/latex/realboxes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bvd1apjdw8x1rhp8g09p7mhy7v1hqbx27vhc18lfg3izz79gkr3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/realboxes")
    (synopsis
     "Variants of common box-commands reading their content as real box")
    (description
     "The package uses @code{collectbox} to define variants of common box related
macros which read the content as real box and not as macro argument.  This
enables the use of verbatim or other special material as part of this content.
The provided macros have the same names as the original versions but start
with an upper-case letter instead.  The long-form macros, like
@code{\\Makebox}, can also be used as environments, but not the short-form
macros, like @code{\\Mbox}.  However, normally the long form uses the short
form anyway when no optional arguments are used.")
    (license license:lppl1.3+)))

(define-public texlive-recipe
  (package
    (name "texlive-recipe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/recipe/" "tex/latex/recipe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rw29wqyasp939w3shkh0ch1q97g51r1jd3g0gskasif9i4p4al8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/recipe")
    (synopsis "LaTeX class to typeset recipes")
    (description
     "The layout design is relatively straightforward; the class uses the Bookman and the
BrushScript-Italic fonts.")
    (license license:public-domain)))

(define-public texlive-recipebook
  (package
    (name "texlive-recipebook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/recipebook/"
                                     "tex/latex/recipebook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "058hrxnj3zhp4yjcq1xbbyg1rp7jxycpp6nac2gn9v1admcdami0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/recipebook")
    (synopsis "Typeset 5.5\" x 8\" recipes for browsing or printing")
    (description
     "This is a LaTeX2e class for typesetting recipes.  It is designed for
typesetting one or two recipes per page, with dimensions of 5.5 x 8.5.  The
hyperlinked table of contents and page numbers make browsing recipes
convenient, and the pages can be joined together or printed two per sheet to
normal letterpaper easily.  The size was chosen to work in half-page 3-ring
binder cover sheets.")
    (license license:lppl1.3+)))

(define-public texlive-recipecard
  (package
    (name "texlive-recipecard")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/recipecard/"
                                     "source/latex/recipecard/"
                                     "tex/latex/recipecard/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0794jd9d28rjvwk6bx93al2dcavjrb341yjmivhmq74d504wahpf"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs (list (texlive-updmap.cfg
                          (list texlive-etoolbox texlive-hypdoc))))
    (home-page "https://ctan.org/pkg/recipecard")
    (synopsis "Typeset recipes in note-card-sized boxes")
    (description
     "The @code{recipecard} class typesets recipes into note card sized boxes that
can then be cut out and pasted on to note cards.  The recipe then looks
elegant and fits in the box of recipes.")
    (license license:lppl)))

(define-public texlive-rectopma
  (package
    (name "texlive-rectopma")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rectopma/" "tex/latex/rectopma/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "158rk112xb538zav89w6yp4s0nasp8z4s7gwq22q3nchm4q7j8br"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rectopma")
    (synopsis "Recycle top matter")
    (description
     "This package saves the arguments of @code{\\author} and
@code{\\title} for reference (after @code{\\maketitle}) in
a document.")
    (license license:lppl)))

(define-public texlive-refcheck
  (package
    (name "texlive-refcheck")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/refcheck/" "tex/latex/refcheck/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zrwz6450p8gapw2sm7716k0h2si0l3c419xph0i0j9mj381kr8y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/refcheck")
    (synopsis "Check references (in figures, table, equations, etc)")
    (description
     "The package checks references in a document, looking for numbered but
unlabelled equations, for labels which are not used in the text, for unused
bibliography references.  It can also display label names in text near
corresponding numbers of equations and/or bibliography references.")
    (license license:gpl3+)))

(define-public texlive-refenums
  (package
    (name "texlive-refenums")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/refenums/" "tex/latex/refenums/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08k7n3vwb12hyjdyj2509gll724v08r6cx1196piqcclbxb6vrll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/refenums")
    (synopsis "Define named items and provide back-references with that name")
    (description
     "The package provides commands to define enumerable items with a number and
a long name, which can be referenced later with the name or just the short
form.  For instance, @samp{Milestone M1: Specification created} can be defined
and later on be referenced with @samp{M1} or @samp{M1 (\"Specification
created\")}.  The text in the references is derived from the definition and
also rendered as hyperlink to the definition.")
    (license license:lppl1.3+)))

(define-public texlive-reflectgraphics
  (package
    (name "texlive-reflectgraphics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/reflectgraphics/"
                                     "source/latex/reflectgraphics/"
                                     "tex/latex/reflectgraphics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hwri11ywffm1a4rwgbb11yhhsa5p5ccz7x8rpclpr86rqg54mv1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/reflectgraphics")
    (synopsis "Techniques for reflecting graphics")
    (description
     "The package provides a macro for reflecting images, in a number of different
ways, in pursuit of more striking graphics in a document.")
    (license license:lppl1.3+)))

(define-public texlive-refman
  (package
    (name "texlive-refman")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/refman/" "source/latex/refman/"
                                     "tex/latex/refman/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11yrv849xq2qa6x1zihm1mk19gs7zfa7blw0psbcv945vxpz6vm8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/refman")
    (synopsis "Format technical reference manuals")
    (description
     "This package provides document classes (@code{report} and @code{article}
style) for writing technical reference manuals.  It offers a wide left margin
for notes to the reader, like some of the manuals distributed by Adobe.")
    (license license:lppl)))

(define-public texlive-regcount
  (package
    (name "texlive-regcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/regcount/"
                                     "source/latex/regcount/"
                                     "tex/latex/regcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iyc21qs4y5cf1xbqz6h7hpv5w2aplb5xlczzkva23n562gg3gf7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/regcount")
    (synopsis "Display the allocation status of the TeX registers")
    (description
     "The package adds a macro @code{\\rgcounts} which displays the allocation
status of the TeX registers.  The display is written into the @file{.log} file
as it is a bit verbose.  An automatic call to @code{\\rgcounts} is done at
@code{\\begin@{document@}} and @code{\\end@{document@}}.")
    (license license:lppl)))

(define-public texlive-register
  (package
    (name "texlive-register")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/register/"
                                     "source/latex/register/"
                                     "tex/latex/register/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0zcffpp53dg59d7l24vsl6qjb6qfhmfbvwcbr658jhdmhawkzirr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/register")
    (synopsis "Typeset programmable elements in digital hardware (registers)")
    (description
     "This package is designed for typesetting the programmable elements in digital
hardware, i.e., registers.  Such registers typically have many fields and can
be quite wide; they are thus a challenge to typeset in a consistent manner.
Register is similar in some aspects to the @code{bytefield} and
@code{bitpattern} packages.  Anyone doing hardware documentation using LaTeX
should examine those packages.  An example Perl module and script are
provided, to convert the register specifications into structures suitable for,
say, a pre-silicon test environment.")
    (license license:lppl1.3+)))

(define-public texlive-regstats
  (package
    (name "texlive-regstats")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/regstats/"
                                     "source/latex/regstats/"
                                     "tex/latex/regstats/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l4if1agj643m7ks50x2d5bzzfbr5mwpdnl2clgn8m4ni1r0l1qg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/regstats")
    (synopsis "Information about register use")
    (description
     "The package will report number of used registers (@code{counter},
@code{dimen}, @code{skip}, @code{muskip}, @code{box}, @code{token},
@code{input}, @code{output}, @code{math families}, @code{languages},
@code{insertions}), and will compare the number to the maximum available
number of such registers.")
    (license license:lppl1.3+)))

(define-public texlive-relenc
  (package
    (name "texlive-relenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/relenc/"
                                     "fonts/tfm/public/relenc/"
                                     "fonts/vf/public/relenc/"
                                     "source/latex/relenc/" "tex/latex/relenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n712fg70rsxw3y7yxi3ijwb5cdn78ylkfs0j5kxi8k73lzxjjkb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/relenc")
    (synopsis "Relaxed font encoding")
    (description
     "This LaTeX package provides a relaxed font encoding to make available to
a font designer more slots for insertion of ligatures and accented
characters.")
    (license license:lppl1.0+)))

(define-public texlive-repeatindex
  (package
    (name "texlive-repeatindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/repeatindex/"
                                     "makeindex/repeatindex/"
                                     "tex/latex/repeatindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10i5z21vz123xq7mn8248584n2h4gziznb28cmjbfmljvc7gfcfr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/repeatindex")
    (synopsis "Repeat items in an index after a page or column break")
    (description
     "This package repeats item of an index if a page or column break occurs within a
list of subitems.  This helps to find out to which main item a subitem belongs.")
    (license license:lppl)))

(define-public texlive-repltext
  (package
    (name "texlive-repltext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/repltext/"
                                     "source/latex/repltext/"
                                     "tex/latex/repltext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kgkybp0fajswdl0cv8w29nglc2a0g2fxsm4k8z6idn2dkcc2z0c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/repltext")
    (synopsis "Control how text gets copied from a PDF file")
    (description
     "The @code{repltext} package exposes to LaTeX a relatively obscure PDF
feature: replacement text.  When replacement text is specified for a piece of
text, it is the replacement text, not the typeset text that is copied and
pasted.")
    (license license:lppl1.3c)))

(define-public texlive-rescansync
  (package
    (name "texlive-rescansync")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rescansync/"
                                     "tex/latex/rescansync/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "084wqg5h7jxqccz2ml7r0y2r3a9mp7zd7add9g1ly7p3fykygi0h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rescansync")
    (synopsis "Re-scan tokens with synctex information")
    (description
     "This package allows users to execute saved code to typeset text while
preserving SyncTeX information.")
    (license license:lppl1.3c)))

(define-public texlive-resmes
  (package
    (name "texlive-resmes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/resmes/" "source/latex/resmes/"
                                     "tex/latex/resmes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rj78zbk6dcadacck9n6jp23424aciwk88b5xgqmxgb3km5rnp89"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/resmes")
    (synopsis "Measure restriction symbol in LaTeX")
    (description
     "This package provides a simple macro @code{\\resmes} that prints the measure
restriction symbol.")
    (license license:expat)))

(define-public texlive-returntogrid
  (package
    (name "texlive-returntogrid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/returntogrid/"
                                     "tex/latex/returntogrid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sm1ncfplpa1bfmxi6ak3hnpalkw211h6mrhl89qls00gd3hf5hg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/returntogrid")
    (synopsis "Semi-automatic grid typesetting")
    (description
     "@code{returntogrid} offers a few commands to get something like an simple,
semi-automatic grid typesetting.  It does more or less what the existing
@code{gridset} package does.  The main differences to gridset are that
@code{returntogrid} works also with LuaLaTeX and that it has also a command to
do some horizontal movements to get to @samp{Tab} positions.")
    (license license:lppl1.3c)))

(define-public texlive-rgltxdoc
  (package
    (name "texlive-rgltxdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rgltxdoc/"
                                     "source/latex/rgltxdoc/"
                                     "tex/latex/rgltxdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wbgxl24d67hcwy01vsajg2am6ia6dagxgl32ql4854gcim0ypbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rgltxdoc")
    (synopsis "Common code for documentation of the author's packages")
    (description
     "This package combines several other packages and defines additional macros
and environments for documenting LaTeX code.  The package mainly serves the
purpose of combining the preferences used in the author's own package
documentations.")
    (license license:lppl1.2+)))

(define-public texlive-rjlparshap
  (package
    (name "texlive-rjlparshap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rjlparshap/"
                                     "source/latex/rjlparshap/"
                                     "tex/latex/rjlparshap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1csigz0i8a1zlrzlv0wl5dc5rqbpjkfhadaib5y92qb54n4aqi36"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rjlparshap")
    (synopsis "Support for use of @code{\\parshape} in LaTeX")
    (description
     "The package provides macros and environments that relieve the programmer of
some of the difficulties of using @code{\\parshape} in LaTeX macros.  It does
not actually calculate shapes in the way that the @code{shapepar} package
does.")
    (license license:lppl1.2+)))

(define-public texlive-rlepsf
  (package
    (name "texlive-rlepsf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/rlepsf/" "tex/generic/rlepsf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q3apjplxx9z1ff5cpg5ysjbybdfz8fj0av9h3kvrgvy0b4pqdg5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rlepsf")
    (synopsis "Rewrite labels in EPS graphics")
    (description
     "This package provides a macro package for use with @file{epsf.tex} which
allows PostScript labels in an Encapsulated PostScript file to be replaced by
TeX labels.  The package provides commands @code{\\relabel} (simply replace
a PostScript string), @code{\\adjustrelabel} (replace a PostScript string,
with position adjustment), and @code{\\extralabel} (add a label at given
coordinates).  You can, if you so choose, use the facilities of the
@code{labelfig} package in place of using @code{\\extralabel}.")
    (license license:lppl)))

(define-public texlive-rmpage
  (package
    (name "texlive-rmpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rmpage/" "tex/latex/rmpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wv0nv514a8017vgbfbsykzn92lzpp7ma5hckn6fwhpvh9y8h9r7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rmpage")
    (synopsis "Change page layout parameters in LaTeX")
    (description
     "The package lets you change page layout parameters in small steps over
a range of values using options.  It can set @code{\\textwidth} appropriately
for the main fount, and ensure that the text fits inside the printable area of
a printer.  An rmpage-formatted document can be typeset identically without
@code{rmpage} after a single cut and paste operation.  Local configuration can
set defaults: for all documents; and by class, by printer, and by paper size.
The @code{geometry} package is better if you want to set page layout
parameters to particular measurements.")
    (license license:gpl3+)))

(define-public texlive-robustcommand
  (package
    (name "texlive-robustcommand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/robustcommand/"
                                     "source/latex/robustcommand/"
                                     "tex/latex/robustcommand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h8j23ww9mrwsnn61f21inxr5m8xsgb60qswk6p8nw89z2zgrl7x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/robustcommand")
    (synopsis "Declare robust command, with @code{\\newcommand} checks")
    (description
     "The package merely provides a variation of @code{\\DeclareRobustCommand},
which checks for the existence of a command before declaring it robust.")
    (license license:lppl)))

(define-public texlive-robustindex
  (package
    (name "texlive-robustindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/robustindex/"
                                     "tex/latex/robustindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vm0fsshl9g4kkw9sfdva6xrmxmqhk1sndrg4nbh6ch8mk5s4b2a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/robustindex")
    (synopsis "Create index with pagerefs")
    (description
     "Third parties often change the page numbers without rerunning
@command{makeindex}.  One would like to make the page numbers in the index
entries more robust.  This bundle provides @file{robustindex.sty} and
@file{robustglossary.sty}, which use the @code{\\pageref} mechanism to
maintain correct page numbers.")
    (license license:lppl1.2+)))

(define-public texlive-romanbar
  (package
    (name "texlive-romanbar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/romanbar/"
                                     "source/latex/romanbar/"
                                     "tex/latex/romanbar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fq5jlpfj7cz6b4ic6y19sk35z51h6qqkqh0n8kg5snpclag1662"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/romanbar")
    (synopsis "Write roman number with bars")
    (description
     "Bars, in the present context, are lines above and below text that abut with
the text.  Barred roman numerals are sometimes found in publications.  The
package provides a function that prints barred roman numerals (converting
Arabic numerals if necessary).  The package also provides a predicate
@code{\\ifnumeric}.")
    (license license:lppl1.3+)))

(define-public texlive-romanbarpagenumber
  (package
    (name "texlive-romanbarpagenumber")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/romanbarpagenumber/"
                                     "source/latex/romanbarpagenumber/"
                                     "tex/latex/romanbarpagenumber/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "179n10ij40zfbnfqh44598c7amz45829i7lh155afl5hx40g72xm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/romanbarpagenumber")
    (synopsis "Typesetting roman page numbers")
    (description
     "The package romanbar allows to typeset roman numbers with bars.  This package
allows you to use those roman numbers as page number.")
    (license license:lppl1.3+)))

(define-public texlive-romanneg
  (package
    (name "texlive-romanneg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/romanneg/" "tex/latex/romanneg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j6anqlmvg36znah2cx10lpa5fnlqa1g2lfv3g2351hy2i94g9f8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/romanneg")
    (synopsis "Roman page numbers negative")
    (description
     "This package causes the page numbers in the DVI file (as defined by
@code{\\count0}) to be negative when roman page numbering is in effect.")
    (license license:public-domain)))

(define-public texlive-romannum
  (package
    (name "texlive-romannum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/romannum/"
                                     "source/latex/romannum/"
                                     "tex/latex/romannum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n9hy1pxb6lgf27zmzzizj7jlygv9jc72gjlawqpp1akzjfzdq5r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/romannum")
    (synopsis "Generate roman numerals instead of Arabic digits")
    (description
     "The @code{romannum} package changes LaTeX generated numbers to be printed
with roman numerals instead of Arabic digits.  Users of the @code{bookhands}
fonts may find this package useful.")
    (license license:lppl)))

(define-public texlive-rotfloat
  (package
    (name "texlive-rotfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rotfloat/"
                                     "source/latex/rotfloat/"
                                     "tex/latex/rotfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m0xmy3yip4j62rby0fqri2dk4jl75cph1y27r3x129l4kzyblvw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rotfloat")
    (synopsis "Rotate floats")
    (description
     "The @code{float} package provides commands to define new floats of various styles
(plain, boxed, ruled, and userdefined ones); the @code{rotating} package
provides new environments (@code{sidewaysfigure} and @code{sidewaystable})
which are rotated by 90 or 270 degrees.  But what about new rotated floats,
e.g., a rotated ruled one? This package makes this possible; it builds
a bridge between the two packages and extends the commands from the float
package to define rotated versions of the new floats, too.")
    (license license:lppl)))

(define-public texlive-rotpages
  (package
    (name "texlive-rotpages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rotpages/" "tex/latex/rotpages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lr7xj6z1l0prl787sfw3l5z4m4gp46n840zc84a51rm05vghjp7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rotpages")
    (synopsis "Typeset sets of pages upside-down and backwards")
    (description
     "The @code{rotpages} package allows you to format documents where small sets
of pages are rotated by 180 degrees and rearranged, so that they can be read
by turning the printed copy upside-down.  It was developed for collecting
exercises and solutions: using the package, you can print the exercise text
normally and the solutions rotated.")
    (license license:lppl)))

(define-public texlive-roundbox
  (package
    (name "texlive-roundbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/roundbox/" "tex/latex/roundbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pyxk774xpl88pqjd1jg17cv06ipvv0injkhvf96ziz6mkranjzw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/roundbox")
    (synopsis "Round boxes in LaTeX")
    (description
     "This package implements a command @code{\\roundbox} that can be used, in LaTeX,
for producing boxes, framed with rounded corners.")
    (license license:lppl1.3+)))

(define-public texlive-rterface
  (package
    (name "texlive-rterface")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rterface/" "tex/latex/rterface/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k9xfi2sxl9p7h3vm5b4dzp15w2vdr80p2bf8pvlry2wn8lb9vws"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rterface")
    (synopsis "Access to R analysis from within a document")
    (description
     "The package mediates interaction between LaTeX and R; it allows LaTeX to set
R's parameters, and provides code to read R output.")
    (license license:lppl1.2+)))

(define-public texlive-rtkinenc
  (package
    (name "texlive-rtkinenc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rtkinenc/"
                                     "source/latex/rtkinenc/"
                                     "tex/latex/rtkinenc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0921b6c5k168nbs32vlqxg8jznzw51dd02w5g1q6ld4dw8c78zxc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rtkinenc")
    (synopsis "Input encoding with fallback procedures")
    (description
     "The @code{rtkinenc} package is functionally similar to the standard LaTeX
package @code{inputenc}: both set up active characters so that an input
character outside the range of 7-bit visible ASCII is converted into one or
more corresponding LaTeX commands.  The main difference lies in that
@code{rtkinenc} allows the user to specify a fallback procedure to use when
the text command corresponding to some input character isn't available.  Names
of commands in @code{rtkinenc} have been selected so that it can read
@code{inputenc} encoding definition files, and the aim is that @code{rtkinenc}
should be backwards compatible with @code{inputenc}.  @code{rtkinenc} is not
a new version of @code{inputenc} though, nor is it part of standard LaTeX.")
    (license license:lppl)))

(define-public texlive-rulerbox
  (package
    (name "texlive-rulerbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rulerbox/" "tex/latex/rulerbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rrhkr9z22xz0adm77b09spcpc80v2ld3iqzcgaq4hfmsl4vykzv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rulerbox")
    (synopsis "Draw rulers around a box")
    (description
     "This is a LaTeX package for drawing rulers around a box.  This might be
useful when showing the absolute size of something in electronic documents, or
designating the relative scale in printed materials.")
    (license license:lppl1.3c)))

(define-public texlive-rulercompass
  (package
    (name "texlive-rulercompass")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rulercompass/"
                                     "source/latex/rulercompass/"
                                     "tex/latex/rulercompass/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ndbyvpqx5p8z7fnpiz8rihmvd8qni0pwl5d2wa8xslialy777b0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rulercompass")
    (synopsis "TikZ library for straight-edge and compass diagrams")
    (description
     "The package defines some commands and styles to support drawing straight-edge
and compass diagrams with TikZ.")
    (license license:lppl1.3+)))

(define-public texlive-runcode
  (package
    (name "texlive-runcode")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/runcode/" "tex/latex/runcode/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gv7crjrdgj7a735hyrdyq9yf9kn42lrizm54f9v3mss7nzw0nrl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/runcode")
    (synopsis
     "Execute foreign source code and embed the result in the PDF file")
    (description
     "This LaTeX package executes programming source codes (including all command
line tools) from within LaTeX and embeds the output in the resulting
@file{.pdf} file.  Many programming languages can be easily used and any
command-line executable can be invoked when preparing the @file{.pdf} file
from a @file{.tex} file.  It is however recommended to use this package in
server-mode together with the Python @command{talk2stat} package.  Currently,
this server-mode supports Julia, MatLab, Python, and R.")
    (license license:lppl1.3c)))

(define-public texlive-rvwrite
  (package
    (name "texlive-rvwrite")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/rvwrite/" "tex/latex/rvwrite/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3arw9ccm32y07w6ryvkyhyywgccc58pmyc8w46rlzzjq1bns13"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/rvwrite")
    (synopsis "Increase the number of available output streams in LaTeX")
    (description
     "The package addresses, for LaTeX documents, the severe limitation on the
number of output streams that TeX provides.  The package uses a single TeX
output stream, and writes marked-up output to this stream.  The user may then
post-process the marked-up output file, using LaTeX, and the document's output
appears as separate files, according to the calls made to the package.  The
output to be post-processed uses macros from the widely-available ProTeX
package.")
    (license license:lppl)))

(define-public texlive-sanitize-umlaut
  (package
    (name "texlive-sanitize-umlaut")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sanitize-umlaut/"
                                     "tex/latex/sanitize-umlaut/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "022qrm85cyz8r9q4miy9yd0m8yizi4z8zj7xfx1kvb1nqk6rzkpf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sanitize-umlaut")
    (synopsis "Sanitize umlauts for MakeIndex and pdfLaTeX")
    (description
     "This package sanitizes umlauts to be used directly in index entries for
MakeIndex and friends with pdfLaTeX.  This means that inside @code{\\index} an
umlaut can be used as @samp{\"U} or as @samp{U}.  In both cases, the letter is
written as @samp{\"U} into the raw index file for correct processing with
MakeIndex and pdfLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-precattl
  (package
    (name "texlive-precattl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/precattl/" "tex/latex/precattl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b003sdv58chmckyqcrij6k2b76639j7r5hiidnwcwf1lk56wfk4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/precattl")
    (synopsis "Prepare special catcodes from token list")
    (description
     "This package allows users to write code that contains tokens with unusual
catcodes.")
    (license license:lppl1.3c)))

(define-public texlive-saveenv
  (package
    (name "texlive-saveenv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/saveenv/" "tex/latex/saveenv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m3pmzmqpksymlqn71d5p98d10yg3nqz7a5pqcylpb4a8w0g63r7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-precattl))
    (home-page "https://ctan.org/pkg/saveenv")
    (synopsis "Save environment content verbatim")
    (description
     "This package provides tools to create your own verbatim environments, and
works for all values of @code{\\endlinechar}.")
    (license license:lppl1.3c)))

(define-public texlive-savefnmark
  (package
    (name "texlive-savefnmark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/savefnmark/"
                                     "source/latex/savefnmark/"
                                     "tex/latex/savefnmark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06gcknhf2hm924l8zzbp4bxpcs69kchd3nqgy7n3fjaz8k8gwz0i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/savefnmark")
    (synopsis "Save name of the footnote mark for reuse")
    (description
     "Sometimes the same footnote applies to more than one location in a table.
With this package the mark of a footnote can be saved into a name, and re-used
subsequently without creating another footnote at the bottom.")
    (license license:gpl3+)))

(define-public texlive-savesym
  (package
    (name "texlive-savesym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/savesym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18z0xwarbkb6cm7n29wasa04d92g2pirlzsr0icnzfip2f4j7524"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/savesym")
    (synopsis "Redefine symbols where names conflict")
    (description
     "There are a number of symbols (e.g., @code{\\Square}) that are defined by
several packages.  In order to typeset all the variants in a document, we have
to give the glyph a unique name.  To do that, we define
@code{\\savesymbol@{XXX@}}, which renames a symbol from @code{\\XXX} to
@code{\\origXXX}, and @code{\\restoresymbols@{yyy@}@{XXX@}}, which renames
@code{\\origXXX} back to @code{\\XXX} and defines a new command,
@code{\\yyyXXX}, which corresponds to the most recently loaded version of
@code{\\XXX}.")
    (license license:lppl)))

(define-public texlive-savetrees
  (package
    (name "texlive-savetrees")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/savetrees/"
                                     "doc/latex/savetrees/"
                                     "source/latex/savetrees/"
                                     "tex/latex/savetrees/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06vhi0yzdrry5l8xg1j3hm0c22af4hasdaivgrbgqbjxldll2dxa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/savetrees")
    (synopsis "Optimise the use of each page of a LaTeX document")
    (description
     "The goal of the @code{savetrees} package is to pack as much text as possible
onto each page of a LaTeX document.  Admittedly, this makes the document far
less attractive.  Nevertheless, @code{savetrees} is a simple way to save paper
when printing draft copies of a document.  It can also be useful when trying
to meet a tight page-length requirement for a conference or journal
submission.  Most of the package options cover specific modifications to
typesetting rules, but there are also options subtle, moderate and extreme
options for the broad brush approach.")
    (license license:lppl1.3+)))

(define-public texlive-scale
  (package
    (name "texlive-scale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scale/" "source/latex/scale/"
                                     "tex/latex/scale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "150dm7w2nlqfrhi71xnnmi92mrhdn7lbpnnsz22r0z71wk95qb26"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scale")
    (synopsis "Scale document by sqrt(2) or magstep(2)")
    (description
     "This package provides a package to scale a document by sqrt(2) (or by
@code{\\magstep@{2@}}).  This is useful if you are preparing a document on,
for example, A5 paper and want to print on A4 paper to achieve a better
resolution.")
    (license license:gpl3+)))

(define-public texlive-scalebar
  (package
    (name "texlive-scalebar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scalebar/"
                                     "source/latex/scalebar/"
                                     "tex/latex/scalebar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09s698gnw8qh30srff40yd8f2dl7ja0vgh8djh20i5xyzb74c0xg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scalebar")
    (synopsis "Create scalebars for maps, diagrams or photos")
    (description
     "This is a small package to create scalebars for maps, diagrams or photos.
It was designed for use with cave maps but can be used for anything from
showing a scalebar in kilometres for topographic maps to a scalebar in
micrometres for an electron microscope image.")
    (license license:lppl)))

(define-public texlive-scalerel
  (package
    (name "texlive-scalerel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scalerel/" "tex/latex/scalerel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l2miwqhgrcv74iy3zwi656bs89hsag1pyfs9ycbcbxs6rcp270h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scalerel")
    (synopsis "Constrained scaling and stretching of objects")
    (description
     "The package provides four commands for vertically scaling and stretching
objects.  Its primary function is the ability to scale/stretch and shift one
object to conform to the size of a specified second object.  This feature can
be useful in both equations and schematic diagrams.  Additionally, the scaling
and stretching commands offer constraints on maximum width and/or minimum
aspect ratio, which are often used to preserve legibility or for the sake of
general appearance.")
    (license license:lppl1.3+)))

(define-public texlive-scanpages
  (package
    (name "texlive-scanpages")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scanpages/"
                                     "fonts/map/dvips/scanpages/"
                                     "fonts/tfm/public/scanpages/"
                                     "fonts/type1/public/scanpages/"
                                     "tex/latex/scanpages/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a94fvacp5hqkz5f0wkshhjlnv97b2nqvm49fc93hylkgvi9pqym"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scanpages")
    (synopsis "Support importing and embellishing scanned documents")
    (description
     "The bundle provides support for the process of creating documents based on
pre-TeX-era material that is available as scanned pages, only.")
    (license license:lppl1.3+)))

(define-public texlive-schedule
  (package
    (name "texlive-schedule")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schedule/"
                                     "source/latex/schedule/"
                                     "tex/latex/schedule/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08k092d0vy1s45180bgh4476r0h22lg3ngizh8ncy5mkgh5fyznl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schedule")
    (synopsis "Weekly schedules")
    (description
     "This package automatically formats weekly schedules using LaTeX's
@code{picture} environment.  Its main feature is the accuracy with which
appointments are represented: boxes drawn to represent a particular
appointment are accurate to the minute --- i.e., a 31-minute appointment will
have a box 1/30th longer than a 30-minute appointment.  A number of features
are included to allow the user to customize the output.")
    (license license:lppl1.3c)))

(define-public texlive-schooldocs
  (package
    (name "texlive-schooldocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/schooldocs/"
                                     "source/latex/schooldocs/"
                                     "tex/latex/schooldocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j4i2mx672vgygpvficjqds4r4rrl0czxpgfk6ha200fsyddlx65"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/schooldocs")
    (synopsis "Various layout styles for school documents")
    (description
     "The purpose of this package is to provide several layout styles for school
documents.  It is useful for exercise sheets, exams, course materials.  The
package sets the page geometry (dimensions of text and margins) and the title
typesetting; the various styles define the header, footer and title formatting.
Many features are freely configurable.")
    (license license:lppl1.3+)))

(define-public texlive-scontents
  (package
    (name "texlive-scontents")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scontents/"
                                     "source/latex/scontents/"
                                     "tex/context/third/scontents/"
                                     "tex/generic/scontents/"
                                     "tex/latex/scontents/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0817f3xjaxli7rjqpr1gl13mx2iba3c0p95y9818kwccj47v71py"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scontents")
    (synopsis "Stores LaTeX contents in memory or files")
    (description
     "This package stores valid LaTeX code in memory (sequences).  The stored
content (including verbatim) can be used as many times as desired in the
document, additionally can be written to external files if desired.")
    (license license:lppl1.3c)))

(define-public texlive-scrambledenvs
  (package
    (name "texlive-scrambledenvs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scrambledenvs/"
                                     "source/latex/scrambledenvs/"
                                     "tex/latex/scrambledenvs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s88vg9zwsbny8i8m5vs9hwd4fpblsvwwxam5z3416i2xc924mnx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scrambledenvs")
    (synopsis "Create and print scrambled environments")
    (description
     "This package allows you to create and print scrambled environments for purposes
such as randomized hint environments.  You can mark a location with a series of
hints, and then print the hints at the end in a pseudo-random order.  The
general structure follows: there is an outer environment which creates the
label, an inner environment that creates the references, and a print command
that prints out all of the hints.  This generalizes beyond hints; one can create
scrambled solutions as well, etc.")
    (license license:lppl1.3+)))

(define-public texlive-scrlayer-fancyhdr
  (package
    (name "texlive-scrlayer-fancyhdr")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scrlayer-fancyhdr/"
                                     "source/latex/scrlayer-fancyhdr/"
                                     "tex/latex/scrlayer-fancyhdr/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ikr1l1pa33l6v2d3ad4gz2qp3ggldk1f31j49cgfazs6qwnzy0a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scrlayer-fancyhdr")
    (synopsis
     "Combining package @code{fancyhdr} with KOMA-Script's @code{scrlayer}")
    (description
     "This LaTeX package uses KOMA-Script's @code{scrlayer} to redefine the page
styles of package @code{fancyhdr}.  This allows the combination of features of
@code{fancyhdr} with features of @code{scrlayer}.")
    (license license:lppl1.3c)))

(define-public texlive-scrlttr2copy
  (package
    (name "texlive-scrlttr2copy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/scrlttr2copy/"
                                     "tex/latex/scrlttr2copy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05wgvw2fqaf5fnrxx1viscic4c3hmncmkbji9kljwx8mpl2s2zcs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/scrlttr2copy")
    (synopsis
     "Letter class option file for the automatic creation of copies")
    (description
     "The file @file{copy.lco} provides the new class option @code{copy} to the
KOMA-Script letter class @code{scrlttr2}.  If this option is given, all pages
of a specific letter are duplicated with background text marking as copies.")
    (license license:lppl1.3+)))

(define-public texlive-sdaps
  (package
    (name "texlive-sdaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sdaps/" "source/latex/sdaps/"
                                     "tex/latex/sdaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nddqv5wgbay8wqdjppanbks6xivb48x0l0fpbkv1sak7h92kmbg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs
     (list texlive-environ
           texlive-lastpage
           texlive-pgf
           texlive-qrcode
           texlive-sectsty
           texlive-translator))
    (home-page "https://ctan.org/pkg/sdaps")
    (synopsis "LaTeX support files for SDAPS")
    (description
     "This bundle contains LaTeX classes and packages to create machine
readable questionnaires.  Metadata is generated for the whole document and it is
possible to process created forms fully automatically using the SDAPS main
program.

Its features include:

@itemize

@item PDF form generation,

@item advanced array like layouting,

@item can flow over multiple pages and repeats the header automatically,

@item optional document wide alignment of @code{array} environments,

@item has complex layout features like rotating the headers to safe space,

@item ability to exchange rows and columns on the fly,

@item different question types: free-form text, single/multiple choice
questions, range questions,

@item Layouting questions in rows or columns,

@item Possibility to pre-fill questionnaires from LaTeX.

@end itemize")
    (license license:lppl1.3c)))

(define-public texlive-sdrt
  (package
    (name "texlive-sdrt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sdrt/" "tex/latex/sdrt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1lv0fv3af0z5r7ca422dymimf6lkc55ylqhaq8hpq8ynz0qh7zl0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sdrt")
    (synopsis
     "Macros for @acronym{SDRT, Segmented Discourse Representation Theory}")
    (description
     "The package provides macros to produce the Box notation of SDRT (and DRT), to
draw trees representing discourse relations, and finally to have an easy access
to various mathematical symbols used in that theory, mostly with automatic
mathematics mode, so they work the same in formulae and in text.")
    (license license:lppl)))

(define-public texlive-secdot
  (package
    (name "texlive-secdot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/secdot/" "tex/latex/secdot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ndmzj21xwjdqz905h0bgz581adsij2w95m1zjpc9avhgsgx7fy0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/secdot")
    (synopsis "Section numbers with trailing dots")
    (description
     "This package makes the numbers of @code{\\section} commands come out with
a trailing dot.  It includes a command whereby the same can be made to happen
with other sectioning commands.")
    (license license:lppl)))

(define-public texlive-secnum
  (package
    (name "texlive-secnum")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/secnum/" "source/latex/secnum/"
                                     "tex/latex/secnum/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nsvq3w3925r45qg6na5i79wg84sy6p4a2gi6nrgkilb1mdvxxqx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/secnum")
    (synopsis "Macro to format section numbering intuitively")
    (description
     "This package provides a macro @code{\\setsecnum} to format section numbering
intuitively.")
    (license license:lppl1.3c)))

(define-public texlive-sectionbox
  (package
    (name "texlive-sectionbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sectionbox/"
                                     "tex/latex/sectionbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lhjf0pmp9i0ka24flfpn88z4k66mxid0vrhvwxfq01bcr695wcf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sectionbox")
    (synopsis "Create fancy boxed ((sub)sub)sections")
    (description
     "@code{sectionbox} is a LaTeX package for putting fancy colored boxes around
sections, subsections, and subsubsections, especially for use in posters, etc.
It was designed with the @code{sciposter} class in mind, and certainly works
with that class and with derived classes.")
    (license license:lppl)))

(define-public texlive-sectionbreak
  (package
    (name "texlive-sectionbreak")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sectionbreak/"
                                     "tex/latex/sectionbreak/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b58qzhxbsmg3yfkmgq8xis3l9yb3jzi85znzczd75yvbcs5b0f3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sectionbreak")
    (synopsis "LaTeX support for section breaks")
    (description
     "This package provides LaTeX support for section breaks, used mainly in
fiction books to signal changes in a story, like changes in time, location,
etc.  It supports the asterism symbol, text content, or custom macros as the
section break mark symbol.")
    (license license:lppl1.3+)))

(define-public texlive-seealso
  (package
    (name "texlive-seealso")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/seealso/" "source/latex/seealso/"
                                     "tex/latex/seealso/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ibgrrmbdmdbkzahkwgi726zaqz06q9da2102lkyy6r11x7dnvbf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/seealso")
    (synopsis "Improve the performance of @code{\\see} macros with MakeIndex")
    (description
     "The package amends the @code{\\see} and @code{\\seealso} macros that are used
in building indexes with MakeIndex, to deal with repetitions, and to ensure
page numbers are present in the actual index entries.")
    (license license:lppl1.3+)))

(define-public texlive-selectp
  (package
    (name "texlive-selectp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/selectp/" "tex/latex/selectp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j1i4d5ira8kiqxl24pvlzic8fvvl5zlmsm6wy7hk6z37wp4jmc7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/selectp")
    (synopsis "Select pages to be output")
    (description
     "This package defines a command @code{\\outputonly}, whose argument is a list
of pages to be output.  With the command present in the header, only those
pages are output.")
    (license license:public-domain)))

(define-public texlive-semantex
  (package
    (name "texlive-semantex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/semantex/" "tex/latex/semantex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0pjx6ff628bwa027vrcjx1x9vg967mh22vb7sy3pdxdk1mx0idhn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-semtex))
    (home-page "https://ctan.org/pkg/semantex")
    (synopsis "Semantic, keyval-based mathematics")
    (description
     "The SemanTeX package for LaTeX delivers a more semantic,
systematized way of writing mathematics, compared to the classical math syntax
in LaTeX.  The system uses keyval syntax, and the user can define their own
keys and customize the system down to the last detail.  At the same time, care
has been taken to make the syntax as simple, natural, practical, and
lightweight as possible.  Furthermore, the package has a companion package,
called @code{stripsemantex}, which allows you to completely strip your
documents of SemanTeX markup to prepare them e.g., for publication.")
    (license license:lppl1.3c)))

(define-public texlive-semantic
  (package
    (name "texlive-semantic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/semantic/"
                                     "source/latex/semantic/"
                                     "tex/latex/semantic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14v1538y7gsn63833j41z9yan8cpn2c4pls2rwyyk7qmzjj30nh7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/semantic")
    (synopsis "Help for writing programming language semantics")
    (description
     "This package eases the typesetting of notation of semantics and compilers.
It includes T-diagrams, various derivation symbols and inference trees.")
    (license license:lppl)))

(define-public texlive-semantic-markup
  (package
    (name "texlive-semantic-markup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/semantic-markup/"
                                     "tex/latex/semantic-markup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c7n0rwz8lm5qs67rln2qky9bjkffkwlrx9xaw6c1z7xsgwbm6n1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/semantic-markup")
    (synopsis
     "Meaningful semantic markup in the spirit of the Text Encoding Initiative")
    (description
     "The package provides simple commands to allow authors (especially scholars in
the humanities) to write with a focus on content rather than presentation.
The commands are inspired by the XML elements of the Text Encoding Initiative.
Commands like @code{\\term} and @code{\\foreign} are aliases for
@code{\\emph}.  @code{\\quoted} and @code{\\soCalled} are aliases for quoting
commands.  These commands could be easily redefined for different formats.
The package also provides a @code{footnote} environment so that long footnotes
can be more cleanly separated from the main text.  Eventually, the package
also includes some macros for musical symbols and other basic notations for
musical analysis.")
    (license license:lppl1.3+)))

(define-public texlive-semesterplanner
  (package
    (name "texlive-semesterplanner")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/semesterplanner/"
                                     "source/lualatex/semesterplanner/"
                                     "tex/lualatex/semesterplanner/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ixi839q2p88gplzlxhx4mqk9nwaw9yi16xh2fvihbmd0gllzw86"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/semesterplanner")
    (synopsis "Create beautiful semester timetables and more")
    (description
     "This package defines several useful environments for a beautiful printable
semester plan.  It includes a timetable (which is using the schedule-Package)
as well as appointments, deadlines, and exams.")
    (license license:lppl1.3+)))

(define-public texlive-semioneside
  (package
    (name "texlive-semioneside")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/semioneside/"
                                     "source/latex/semioneside/"
                                     "tex/latex/semioneside/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "025wvr95j3p8i1pfcvai57zaq1bnw0wkf1j8piljlaap95fc09ii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/semioneside")
    (synopsis
     "Put only special contents on left-hand pages in two sided layout")
    (description
     "This package supports the preparation of semi one sided documents.  That is,
two sided documents, where all text is output on right-hand pages --- as in
a one-sided documents --- and only special contents are output on left-hand
pages on user request, e.g., floating objects.")
    (license license:lppl)))

(define-public texlive-semproc
  (package
    (name "texlive-semproc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/semproc/" "source/latex/semproc/"
                                     "tex/latex/semproc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ymixf3wggka9n7888wnaylkh2hzlylsdnzlk6chy9llnfy4wr7d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/semproc")
    (synopsis "Seminar proceedings")
    (description
     "The package provides functionality for typesetting seminar proceedings based
on KOMA-Script's @code{scrreprt} class and @code{etoc}.  It offers an
alternative to @code{\\chapter} that typesets the speaker and if necessary the
typist of the notes for the talk in question.

Moreover, the class provides two types of table of contents.  A global table
of contents showing only the talks of the seminar and the respective speakers
and a local table of contents for each talk showing the sections and
subsections of the respective talk.")
    (license license:lppl1.3+)))

(define-public texlive-semtex
  (package
    (name "texlive-semtex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/semtex/" "tex/latex/semtex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1d0sh9rjnwnfgkh5vnnv2sbk4xnklbf8a6dk1dc3y3p3qv36yial"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/semtex")
    (synopsis "Deals with stripped SemanTeX documents")
    (description
     "This package is a small LaTeX package that adds a collection of simple macros
for parentheses and bullets.  It exists for one purpose only, to be loaded by
documents which were originally typeset using the package SemanTeX, but which
have been stripped of SemanTeX markup using the package @code{stripsemantex}
which is part of SemanTeX.  Therefore, unless your document is one of those,
simply don't use this package.  And even if your document is one of those,
there is a good chance you will not have to load it after all.  In most cases,
you will be able to replace the macros it provides by macros from other
packages.")
    (license license:lppl1.3c)))

(define-public texlive-sepfootnotes
  (package
    (name "texlive-sepfootnotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sepfootnotes/"
                                     "tex/latex/sepfootnotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k9hi6vffn10j75gw5pjxjqila2dyvlv6s1b8r4m4s0mad24498f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sepfootnotes")
    (synopsis "Support footnotes and endnotes from separate files")
    (description
     "The package supports footnotes and endnotes from separate files.  This is
achieved with commands @code{\\sepfootnotecontent} and @code{\\sepfootnote};
the former defines the content of a note, while the latter typesets that
note.")
    (license license:lppl1.3+)))

(define-public texlive-sesstime
  (package
    (name "texlive-sesstime")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sesstime/"
                                     "source/latex/sesstime/"
                                     "tex/latex/sesstime/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ajryzcw1pf9yva3qpbx1f7mpl5pnkj4k3ccvh5hxaif86jydcc1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sesstime")
    (synopsis "Session and timing information in lecture notes")
    (description
     "This LaTeX2e package makes it possible to add timing marks to lecture notes
in order to help managing the time available for presenting a given section of
the document.  It also provides tools to record and estimate the progress
throughout the course.")
    (license license:lppl1.3+)))

(define-public texlive-sf298
  (package
    (name "texlive-sf298")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sf298/" "source/latex/sf298/"
                                     "tex/latex/sf298/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mn1lhj2hqwpyb2q06sw15vgz5ykl7gx4n5iy3q1d3dj8nj3rr6v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sf298")
    (synopsis "Standard form 298")
    (description
     "This LaTeX package generates a completed standard form 298 (Rev.@: 8-98) as
prescribed by ANSI Std.@: Z39.18 for report documentation as part of
a document delivered, for instance, on a U.S.  government contract.")
    (license license:lppl1.2+)))

(define-public texlive-sffms
  (package
    (name "texlive-sffms")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sffms/" "source/latex/sffms/"
                                     "tex/latex/sffms/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bijlqr55fbd1jx6739242vbi04zai5mcqmy23dzhpn8bbayzvrj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sffms")
    (synopsis "Typesetting science fiction/fantasy manuscripts")
    (description
     "The class is designed for typesetting science fiction and fantasy manuscripts.
Sffms now includes several options for specific publishers as well as
extensive documentation aimed at new LaTeX users.")
    (license license:lppl)))

(define-public texlive-sfmath
  (package
    (name "texlive-sfmath")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/sfmath/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05m3whw5xkml48yx93j9h46qmspnr5hwsfszb59l4wy4jfj66zk4"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sfmath")
    (synopsis "Sans-serif mathematics")
    (description
     "@code{sfmath} is a simple package for sans serif maths in documents.  After
including the package, all maths of the current document is displayed with
sans serif fonts.")
    (license license:lppl)))

(define-public texlive-shadethm
  (package
    (name "texlive-shadethm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shadethm/" "tex/latex/shadethm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mzvfvz5f07mva4hjaba9jrhj9jalv7hqck93236qqbxkp1lxpr9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shadethm")
    (synopsis "Theorem environments that are shaded")
    (description
     "This package extends the @code{\\newtheorem} command with a new command,
@code{\\newshadetheorem}, which can produce theorem statement in a shaded box.
It supports all the options of @code{\\newtheorem}.

However, this package is considered as obsolete by its author.  Users are
generally recommended, therefore, to use @code{mdframed} instead.")
    (license license:lppl)))

(define-public texlive-shadow
  (package
    (name "texlive-shadow")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shadow/" "tex/latex/shadow/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rqwga17jy4d8zyv2v3sf0vww8cf54jg4qqd0blxq748fk2b4509"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shadow")
    (synopsis "Shadow boxes")
    (description
     "This package defines a command @code{\\shabox} (analgous to @code{\\fbox}),
and supporting mechanisms.")
    (license license:lppl)))

(define-public texlive-shadowtext
  (package
    (name "texlive-shadowtext")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shadowtext/"
                                     "tex/latex/shadowtext/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ffldvx7as6jympf2fqkwd2arxphcf6l1cmpf8kvgh1f5hdbzwcr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shadowtext")
    (synopsis "Produce text with a shadow behind it")
    (description
     "The package introduces a command @code{\\shadowtext}, which adds a drop
shadow to the text that is given as its argument.  The colour and positioning
of the shadow are customisable.")
    (license license:lppl)))

(define-public texlive-shapepar
  (package
    (name "texlive-shapepar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/shapepar/"
                                     "tex/generic/shapepar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bv18gkw4x5hz5bharypnw30zhiasryczvq92bib57gww8lxr3n7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shapepar")
    (synopsis "Macro to typeset paragraphs in specific shapes")
    (description
     "@code{\\shapepar} is a macro to typeset paragraphs in a specific shape.  The
size is adjusted automatically so that the entire shape is filled with text.
There may not be displayed maths or @code{\\vadjust} material (no
@code{\\vspace}) in the argument of @code{\\shapepar}.  The macros work for
both LaTeX and plain TeX.

@code{\\shapepar} works in terms of user-defined shapes, though the package
does provide some predefined shapes.  The tedium of creating these polygon
definitions may be alleviated by using the @code{shapepatch} extension to
@code{transfig} which will convert @code{xfig} output to @code{\\shapepar}
polygon form.")
    ;; Python scripts (in "doc" output) is released under GPL2+, all
    ;; other files are licensed by the statement: " This software may
    ;; be freely used, transmitted, shared, copied, sold, or modified,
    ;; provided that any modifications are clearly identified and this
    ;; notice is left intact.
    (license
     (list license:gpl2+
           (license:fsf-free "file://doc/generic/shapepar/README.shapepar")))))

(define-public texlive-shdoc
  (package
    (name "texlive-shdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shdoc/" "source/latex/shdoc/"
                                     "tex/latex/shdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gx7jndmz4x2n03af7537bbngbmpg4vh51m35q9ziz6agsvjlxn3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shdoc")
    (synopsis
     "Float environment to document the shell commands of a terminal session")
    (description
     "The package provides a simple, though fancy float environment to document
terminal sessions --- like command executions or shell operations.  The look
and feel of the package output imitates the look of a shell prompt.")
    (license license:lppl1.3+)))

(define-public texlive-shipunov
  (package
    (name "texlive-shipunov")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/shipunov/" "doc/latex/shipunov/"
                                     "tex/latex/shipunov/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zzjbsshv60k2a3nfgj1rdad3883ys04an5hsq7hm4vs62k6j53b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shipunov")
    (synopsis "Collection of LaTeX packages and classes")
    (description
     "The bundle collects packages and classes, along with one bibliography style
and examples and scripts for converting TeX files.  Many of the files in the
collection are designed to support field biologists and/or Russian writers,
while others have wider application.  The collection includes:

@itemize

@item @code{add2}, a quick way to fit as many as possible into one page, which
is good for handouts.

@item @code{altverse}, for typesetting verses.

@item @code{autolist}, a means to define various sorts of list.

@item @code{biokey}, providing flexible identification key tables in LaTeX.
It implements straightforward macros to typeset sets of biological
identification keys.  Layout is flexible, and the macros will be useful in
other disciplines.

@item @code{biolist}, to list observed species.  It offers pretty formatting of
species lists of flora and fauna.

@item @code{boldline}, for heavier lines in tables.  The package provides
commands replacing @code{\\hline} and @code{\\cline}, as well as a table
preamble element that generates heavy lines.

@item @code{cassete}, to print labels for audio cassettes.

@item @code{classif2}, for biological classification tables.  The package
defines an environment @code{classif} that simplifies the process of
typesetting classification tables.

@item @code{dline}, for a double line on the left of text.

@item @code{drcaps}, for simple dropped capitals.  The package offers simple
macros for dropped capitals, in a couple of forms.

@item @code{etiketka}, a class for typesetting business-card-sized
information (including business cards).

@item @code{flower}, for typesetting lists of flower formulas.

@item @code{isyntax}, which interactively checks LaTeX file syntax.

@item @code{numerus}, for spelling numbers in Russian words.

@item @code{punct}: within italicized text, punctuation is still straight,
this is typographically more aesthetic.

@item @code{qqru}, providing universal quotation marks, for Russian and
English.

@item @code{rusnat}, a bibliography style file, now deprecated.

@item @code{sltables}, which simplifies tables for LaTeX.  These macros
develop the concepts of the @code{stables}, which are designed to offer table
macros whose use is as simple as one might hope.  Some would claim that
LaTeX's built-in table specifications are as simple as one might hope, but
this package offers many short-cuts and optimization of the mechanisms of
tables.

@item @code{starfn}, for stars as footnote marks.

@item @code{textfrac}, for simple slanted fractions.

@end itemize")
    (license license:lppl1.3+)))

(define-public texlive-shorttoc
  (package
    (name "texlive-shorttoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/shorttoc/"
                                     "source/latex/shorttoc/"
                                     "tex/latex/shorttoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ajzxmpj3d4lnzh3l86k4bii1jjs2483x7lmzgc2rqkp80zaayh0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/shorttoc")
    (synopsis "Table of contents with different depths")
    (description
     "This package creates another table of contents with a different depth, useful
in large documents where a detailed table of contents should be accompanied by
a shorter one, giving only a general overview of the main topics in the
document.")
    (license license:lppl)))

(define-public texlive-show2e
  (package
    (name "texlive-show2e")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/show2e/" "source/latex/show2e/"
                                     "tex/latex/show2e/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j1cb5qy25qni8wq1kaf6p6c0whzrbymhm00g4jjajaizagm4ki2"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-babel
                  texlive-etoolbox
                  texlive-hypdoc
                  texlive-lm
                  texlive-microtype))))
    (home-page "https://ctan.org/pkg/show2e")
    (synopsis "Variants of @code{\\show} for LaTeX2e")
    (description
     "This small package aims at making debugging (especially in an interactive
way) easier, by providing @code{\\show} variants suited to LaTeX2e
commands (whether with optional arguments or robust) and environments.  The
variant commands also display the internal macros used by such commands, if
any.  The @code{\\showcs} variant helps with macros with exotic names.")
    (license license:lppl)))

(define-public texlive-showcharinbox
  (package
    (name "texlive-showcharinbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/showcharinbox/"
                                     "source/latex/showcharinbox/"
                                     "tex/latex/showcharinbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1y91l00r6a04bjvqxqf0s4k3bf093q2wccd6s7dcz78wbp92ycj9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showcharinbox")
    (synopsis "Show characters inside a box")
    (description
     "The package typesets a character inside a box, showing where reference point
is, and displaying width, height, and depth information of the character.")
    (license license:lppl1.3+)))

(define-public texlive-showdim
  (package
    (name "texlive-showdim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/showdim/" "tex/latex/showdim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hr2hfrvgqyfqaj9jgwiikcpf1pnslg8v0zw5qbj1ii6r7l8vrrd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showdim")
    (synopsis "Variants on printing dimensions")
    (description
     "This LaTeX package provides a number of commands for printing the value of
a TeX dimension.  For example, @code{\\tenthpt@{\\baselineskip@}} yields the
current value of @code{\\baselineskip} rounded to the nearest tenth of
a point.")
    (license license:lppl)))

(define-public texlive-showlabels
  (package
    (name "texlive-showlabels")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/showlabels/"
                                     "source/latex/showlabels/"
                                     "tex/latex/showlabels/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c88yijjfw1xnlcchmsk9965fn464fj5xzi0s9ri13nj8cq7dmsw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/showlabels")
    (synopsis "Show label commands in the margin")
    (description
     "This package helps you keep track of all the labels you define, by putting
the name of new labels into the margin whenever the @code{\\label} command is
used.  The package allows you to do the same thing for other commands.  The
only one for which this is obviously useful is the @code{\\cite} command, but
it's easy to do it for others, such as the @code{\\ref} or @code{\\begin}
commands.")
    (license license:lppl1.3c)))

(define-public texlive-sidenotes
  (package
    (name "texlive-sidenotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sidenotes/"
                                     "source/latex/sidenotes/"
                                     "tex/latex/sidenotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0amrcapvyz9fbh7mqck7pg85nmkr6wgqmyvjj3syjnkshlcpvrr8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sidenotes")
    (synopsis "Typeset notes containing rich content, in the margin")
    (description
     "The package allows typesetting of texts with notes, figures, citations,
captions and tables in the margin.  This is common (for example) in science
text books.")
    (license license:lppl1.3+)))

(define-public texlive-sidenotesplus
  (package
    (name "texlive-sidenotesplus")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sidenotesplus/"
                                     "source/latex/sidenotesplus/"
                                     "tex/latex/sidenotesplus/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "051vjn3jmzrlcmbx6vg3zdsqkdwf6j6ykjkla669fs2s8x2zk59z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sidenotesplus")
    (synopsis
     "Place referenced notes, alerts, figures and tables into the document margin")
    (description
     "Sidenotesplus is a comprehensive package for placing labeled or referenced
notes, temporary alerts, bibliography references, figures and tables into the
margin.  Marginals can be either floated or at fixed positions relative to the
text.  Twoside symmetry is preserved.  For BibLaTeX users, macros for side
references are provided.  Three margin styles are provided.  Two-page
symmetric layouts either as (i) Ragged outer with note reverences in the
margin separator or (ii) justified with last line ragged outer.  And (iii)
a classic look, justified with last line ragged right and note reference to
the left of the note, but two-page symmetry is lost.  The command
@code{\\sidenote} mimics the @code{\\footnote} command and provides
labelled (numbers, alphabetic, roman) references.  However, un-numbered and
custom symbols can also be specified.  Temporary sidealerts are rendered only
if the package option alerton is specified.  Alerts are useful as to do
reminders during document development.  Furthermore, captions for figures and
tables can also be placed into margin.  Also, full width environments for
figures, tables and text are provided.  The text environment can be partially
widened, suitable if that extra space for an equation is required.")
    (license license:lppl1.3c)))

(define-public texlive-silence
  (package
    (name "texlive-silence")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/silence/" "source/latex/silence/"
                                     "tex/latex/silence/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pavby09may2z85r94hb4881knlssx7alvnrp523j6k4s2wqsxyq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/silence")
    (synopsis "Selective filtering of error messages and warnings")
    (description
     "The package allows the user to filter out unwanted warnings and error
messages issued by LaTeX, packages and classes, so they won't pop out when
there's nothing one can do about them.  Filtering goes from the very
broad (``avoid all messages by such and such'') to the fine-grained (``avoid
messages that begin with...'').  Messages may be saved to an external file for
later reference.")
    (license license:lppl)))

(define-public texlive-sillypage
  (package
    (name "texlive-sillypage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sillypage/"
                                     "source/latex/sillypage/"
                                     "tex/latex/sillypage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04jnp1hl3k0hs8rgzn1q3q41rmd95wlzv7f1dd9s4affzfk6an1z"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sillypage")
    (synopsis "John Cleese's silly walk as page numbering style")
    (description
     "This simple LaTeX package provides John Cleese's iconic silly walk routine as
a page numbering style.  Other counters, as well as integers, can be typeset
in this silly style, too.")
    (license (list license:cc-by-sa4.0 license:lppl1.3c))))

(define-public texlive-simplecd
  (package
    (name "texlive-simplecd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplecd/"
                                     "source/latex/simplecd/"
                                     "tex/latex/simplecd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z01p6xzr17745pn344p0s4z8l76sn3vhlliy7mnqlrv29fg6x61"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplecd")
    (synopsis "Simple CD, DVD covers for printing")
    (description
     "The package provides printable cut-outs for various CD, DVD and other disc
holders.  The name of the package comes from its implementation and ease of
use; it was designed just for text content, but since the text is placed in
a @code{\\parbox} in a @code{tabular} environment cell, a rather wide range of
things may be placed.")
    (license license:lppl1.2+)))

(define-public texlive-simplecv
  (package
    (name "texlive-simplecv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplecv/"
                                     "source/latex/simplecv/"
                                     "tex/latex/simplecv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03clih4gy6isd2p0xg75w19d4l8zx1d9c2i46idfh8wzcqzr35mj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simplecv")
    (synopsis "Simple class for writing curricula vitae")
    (description
     "This package provides a derivative of the CV class available to LyX users
(renamed to avoid the existing @code{cv} package).")
    (license license:lppl)))

(define-public texlive-simpleinvoice
  (package
    (name "texlive-simpleinvoice")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simpleinvoice/"
                                     "tex/latex/simpleinvoice/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02rni033d2ighbc3s165blqpsxzxqz4sfvlnc7h4820l5583nvfr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/simpleinvoice")
    (synopsis "Easy typesetting of invoices")
    (description
     "This package lets you easily typeset professional-looking invoices.  The user
specifies the content of the invoice by different @code{\\setPROPERTY}
commands, and an invoice is generated automatically with the
@code{\\makeinvoice} command.")
    (license license:gpl3)))

(define-public texlive-simplivre
  (package
    (name "texlive-simplivre")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/simplivre/"
                                     "tex/latex/simplivre/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7dw35ad8vbvx0rjpilwgh0r0479wkdfm2y9506a61lq3yka066"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-minimalist))
    (home-page "https://ctan.org/pkg/simplivre")
    (synopsis "Write your books in a simple and clear way")
    (description
     "This package provides a LaTeX class for typesetting books with a simple and
clear design.  Currently, it has native support for Chinese (simplified and
traditional), English, French, German, Italian, Japanese, Portuguese (European
and Brazilian), Russian and Spanish typesetting.  It compiles with either
XeLaTeX or LuaLaTeX.")
    (license license:lppl1.3c)))

(define-public texlive-sitem
  (package
    (name "texlive-sitem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sitem/" "source/latex/sitem/"
                                     "tex/latex/sitem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a3j735747kip4l72rl8xkzlnmp0fsqj9vdig4m1jbvwk2qhsn8c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sitem")
    (synopsis "Save the optional argument of @code{\\item}")
    (description
     "The package modifies @code{\\item} commands to save the optional argument in
a box.")
    (license license:lppl1.3+)))

(define-public texlive-skb
  (package
    (name "texlive-skb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skb/" "source/latex/skb/"
                                     "tex/latex/skb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "146fjbh3jihjq9chbzshfcaha2d05dzqwcg7j154af00na59n8qk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/skb")
    (synopsis "Tools for a repository of long-living documents")
    (description
     "The package provides macros that help to build a document repository for long
living documents.  It focuses on structure and re-use of text, code, figures
etc.  The basic concept is first to separate structure from content (i.e.,
text about a topic from the structure it is presented by) and then separating
the content from the actual published document, thus enabling easy re-use of
text blocks in different publications (i.e., text about a protocol in a short
article about this protocol as well as in a book about many protocols); all
without constantly copying or changing text.  As a side effect, using the
document classes provided, it hides a lot of LaTeX from someone who just wants
to write articles and books.")
    (license license:lppl1.3+)))

(define-public texlive-skdoc
  (package
    (name "texlive-skdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skdoc/" "source/latex/skdoc/"
                                     "tex/latex/skdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0m0961393b2r5rmkyjnl9l13gvzxjmif63mbl45wykcvpwrp2jhl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skdoc")
    (synopsis "Documentation and extraction for packages and document classes")
    (description
     "The class provides the functionality and implementation of packages and
document classes.  The class defines a @code{MacroCode} environment which
offers an alternative to the usual @code{docstrip} method of installing
packages.  It has the ability to generate both documentation and code in
a single run of a single file.")
    (license license:lppl1.3+)))

(define-public texlive-skeldoc
  (package
    (name "texlive-skeldoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skeldoc/" "tex/latex/skeldoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10172ig4pivy3hl8y6cb3jxzxdb1lylwbjc75a17ygk2x1lm4xds"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skeldoc")
    (synopsis "Placeholders for unfinished documents")
    (description
     "This package lets you produce placeholder elements for documents under
development, similar to the skeleton screens used while loading contents in
many applications and websites.  It also has a mechanism for attaching
explanatory endnotes to these placeholders, or to anything else in your
document.  The same note mechanism can also be used with ordinary content,
e.g., as a to-do mechanism.")
    (license license:expat)))

(define-public texlive-skeycommand
  (package
    (name "texlive-skeycommand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skeycommand/"
                                     "tex/latex/skeycommand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1iqmqxiiiq6mqmnmw4ii30la4d7z970wr7jx0yv50lh102lx67rw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skeycommand")
    (synopsis "Create commands using parameters and @code{keyval} in parallel")
    (description
     "The package provides tools for defining LaTeX commands and environments using
combinations of parameters and keys.  All the facilities of the @code{ltxkeys}
and @code{skeyval} packages are available to the user of @code{skeycommand}.")
    (license license:lppl1.3+)))

(define-public texlive-skeyval
  (package
    (name "texlive-skeyval")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skeyval/" "tex/latex/skeyval/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09647p16f50wa9yz9jfypwckginvlv0897x4gb7m69pbvgnsdf4i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skeyval")
    (synopsis
     "Key-value parsing combining features of @code{xkeyval} and @code{pgfkeys}")
    (description
     "The package integrates the features of @code{xkeyval} and of @code{pgfkeys}
by introducing a new type of handlers.  Style keys, links, changing key
callbacks and values on the fly, and other features of @code{pgfkeys} are
introduced in a new context.")
    (license license:lppl1.3+)))

(define-public texlive-skills
  (package
    (name "texlive-skills")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skills/" "tex/latex/skills/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0hvh16a6iziand9wlq48lnaw3ha1lj5g396mpfv1m8ci3r9hydm6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skills")
    (synopsis "Create proficiency tests")
    (description
     "This package attempts to make it easy for even a LaTeX novice to prepare
proficiency tests, especially in combination with the @code{exam} document
class.  Thus, almost all command names are very similar.  After defining
skills in the preamble or in an external file, they are declared using labels,
and can optionally be set as global skills.  A skills table is generated to
summarize the evaluated competencies and to allow for writing down the
resulting proficiency level.")
    (license license:lppl1.3+)))

(define-public texlive-skrapport
  (package
    (name "texlive-skrapport")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/skrapport/"
                                     "source/latex/skrapport/"
                                     "tex/latex/skrapport/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bln56w1dfd36qg07b98d9271dhszca7l8w7x4vxwfq1n4yxm1rd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/skrapport")
    (synopsis "Simple class for reports, etc.")
    (description
     "The class is intended for simple documents (e.g., reports handed in as
coursework and the like).  The class is small and straightforward; its design
was inspired by that of the PracTeX journal style.")
    (license license:lppl1.3+)))

(define-public texlive-slantsc
  (package
    (name "texlive-slantsc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/slantsc/" "source/latex/slantsc/"
                                     "tex/latex/slantsc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m00h2bmgj5w3zd219s1l25ihr05kj1kpwilggbgh720bcvc3idp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/slantsc")
    (synopsis "Access different-shaped small-caps fonts")
    (description
     "This package enables the use of small capitals in different font shapes,
e.g., slanted or bold slanted for all fonts that provide appropriate font
shapes.")
    (license license:lppl)))

(define-public texlive-smalltableof
  (package
    (name "texlive-smalltableof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/smalltableof/"
                                     "tex/latex/smalltableof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "022m2n0524mcgzjq4ba1sm76alwy78h4w83kvc68h3yzfb6i7mm6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/smalltableof")
    (synopsis "Create @code{listoffigures}, etc., in a single chapter")
    (description
     "The package allows you to create a list of figures and list of tables in
a chapter named List that contains separate sections for each list of figures,
tables, etc.")
    (license license:lppl)))

(define-public texlive-smart-eqn
  (package
    (name "texlive-smart-eqn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/smart-eqn/"
                                     "source/latex/smart-eqn/"
                                     "tex/latex/smart-eqn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w98b1m1i43rk12392vqbw92133ijf5af0xwd85a0bjixjfrjdwb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/smart-eqn")
    (synopsis "Automatic math symbol styling for LaTeX documents")
    (description
     "In LaTeX typesetting, one usually needs to use different variants of a math
symbol to clarify the meanings.  For example, in linear algebra literature, it
is common to use boldfaced symbols to represent vectors, and normal symbols to
represent scalars.  However, applying these variants by typing
@code{\\mathbf}, @code{\\mathrm} commands manually can be daunting.  This
package aims to provide an automatic and customizable approach for math symbol
styling which eliminates the need to enter style commands repeatedly.")
    (license license:lppl1.3c)))

(define-public texlive-smartref
  (package
    (name "texlive-smartref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/smartref/" "tex/latex/smartref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11fvmy3173spkg8y8l9nfjwlfnhyqhz4mp8h32234x72ybjhkmhl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/smartref")
    (synopsis "Extend LaTeX's @code{\\ref} capability")
    (description
     "The package extends the LaTeX labelling system: whenever a label is set,
the values of counters (selected by the user) are recorded, along with the
label.  The value of these counters can be recalled with a command similar to
@code{\\pageref}.

The package also adds commands @code{\\s@var{NAME}ref} (for each counter
@var{NAME} that the user has selected); these commands display something only
if the value of the @var{NAME} counter is changed from when the label was set.
Many commands are provided to serve as a macro programming environment for
using the extended labels.")
    (license license:lppl)))

(define-public texlive-smartunits
  (package
    (name "texlive-smartunits")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/smartunits/"
                                     "tex/latex/smartunits/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "002962fis50p644izb5rj0yx8b54h7jj98ksxrfn5043hxq80za8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/smartunits")
    (synopsis "Converting between common metric and Imperial units")
    (description
     "This LaTeX package implements a @code{\\SmartUnit} macro for converting
between (some) metric and Imperial units.")
    (license license:lppl1.3+)))

(define-public texlive-snapshot
  (package
    (name "texlive-snapshot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/snapshot/"
                                     "source/latex/snapshot/"
                                     "tex/latex/snapshot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1skw799vxasx87ib0avmjh1wspj4h21r9lys8xyxmazm1xgwfjj3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/snapshot")
    (synopsis "List the external dependencies of a LaTeX document")
    (description
     "The @code{snapshot} package helps the owner of a LaTeX document obtain a list
of the external dependencies of the document, in a form that can be embedded
at the top of the document.  It provides a snapshot of the current processing
context of the document, insofar as it can be determined from inside LaTeX.
If a document contains such a dependency list, then it becomes possible to
arrange that the document be processed always with the same versions of
everything, in order to ensure the same output.  This could be useful for
someone wanting to keep a LaTeX document on hand and consistently reproduce an
identical DVI file from it, on the fly; or for someone wanting to shield
a document during the final stages of its production cycle from unexpected
side effects of routine upgrades to the TeX system.")
    (license license:lppl1.3c)))

(define-public texlive-snaptodo
  (package
    (name "texlive-snaptodo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/snaptodo/" "tex/latex/snaptodo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iya0njq8icvf084ifs76hhbbc50h9livsp499v85r9x77hblmlf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/snaptodo")
    (synopsis "Todo that snaps to the closer side")
    (description
     "This package is an alternative to @code{todonotes}, from which it differs in
the following ways: depending on where you call @code{\\snaptodo}, the note is
put in the left or the right margin, whichever is closer.  The notes bump each
other so they never overlap; the lines never overlap either.  Aesthetic and
customizable style.")
    (license license:lppl1.3c)))

(define-public texlive-snotez
  (package
    (name "texlive-snotez")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/snotez/" "tex/latex/snotez/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "075aj3lbmqsvsj0vpq79zbdl64ghcym47k2kc6ijfad2k9ygijbm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/snotez")
    (synopsis "Typeset notes, in the margin")
    (description
     "The package provides a macro @code{\\sidenote}, that places a note in the
margin of the document, with its baseline aligned with the baseline in the
body of the document.  These sidenotes are numbered (both in the text, and on
the notes themselves).")
    (license license:lppl1.3c)))

(define-public texlive-soulpos
  (package
    (name "texlive-soulpos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/soulpos/" "tex/latex/soulpos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11z7h0rawvvlghi5rgcr0hhvk203sp0yvs1k5r62czvsacby0qzk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-oberdiek texlive-soul))
    (home-page "https://ctan.org/pkg/soulpos")
    (synopsis "Fancy means of underlining")
    (description
     "The package combines the use of @code{soul} with the @code{savepos} mechanism
of current pdfTeX so that the user can create (almost) arbitrary underlining
and similar decorations, including rules, leaders and even pictures (PGF,
PSTricks, etc.).  Unlike @code{soul} underlines, which are built by repeating
small elements, here each chunk of text to be underlined is a single element.")
    (license license:expat)))

(define-public texlive-spacingtricks
  (package
    (name "texlive-spacingtricks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spacingtricks/"
                                     "source/latex/spacingtricks/"
                                     "tex/latex/spacingtricks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1asf35qbqzcyf37qikhjx9sp1rbknkc8khj5bx3qplwbqiz6qk56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spacingtricks")
    (synopsis "Dealing with some spacing issues")
    (description
     "This package provides macros for dealing with some spacing issues, e.g.,
centering a single line, making a variable strut, indenting a block,
typesetting a compact list, placing two boxes side by side with vertical
adjustment.")
    (license license:lppl1.3+)))

(define-public texlive-spark-otf
  (package
    (name "texlive-spark-otf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/spark-otf/"
                                     "fonts/opentype/public/spark-otf/"
                                     "tex/latex/spark-otf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kydm3ixnnnv2r40aayr6hg7ky9lh4y1xyar26ip45d8a45plll2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spark-otf")
    (synopsis "Support OpenType Spark fonts")
    (description
     "The package supports the fonts from @emph{After the Flood} which are
available from AtF Spark.")
    (license (list license:silofl1.1 license:lppl1.3+))))

(define-public texlive-sparklines
  (package
    (name "texlive-sparklines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sparklines/"
                                     "tex/latex/sparklines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p40s93s51bf67gf8mq5v888mm9nhabwd4gr8lyhaf5hhl2g8909"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sparklines")
    (synopsis "Drawing sparklines: intense, simple, wordlike graphics")
    (description
     "Sparklines are intense, simple, wordlike graphics.  A sparkline can be added
using the @code{sparkline} environment.  Also, you can add sparkling
rectangles for the median and special sparkling dots in red or blue.  The
package requires pdfLaTeX; sparklines cannot appear in a DVI file.  The
sparklines package uses PGF.")
    (license license:lppl)))

(define-public texlive-sphack
  (package
    (name "texlive-sphack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sphack/" "tex/latex/sphack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pami588h0lw8f79idy088bwhfjrf2q993nrjw8cb0bpsbqqmrx6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sphack")
    (synopsis "Patch LaTeX kernel spacing macros")
    (description
     "This package changes the kernel internal
@code{\\@@bsphack}/@code{\\@@esphack} so that it is also invisible in vertical
mode.")
    (license license:knuth)))

(define-public texlive-splitindex
  (package
    (name "texlive-splitindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/splitindex/"
                                     "doc/man/man1/splitindex.1"
                                     "doc/man/man1/splitindex.man1.pdf"
                                     "scripts/splitindex/"
                                     "source/latex/splitindex/"
                                     "tex/generic/splitindex/"
                                     "tex/latex/splitindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "14c7x81zqvwwdd54jvjkyr34inhfppidcask6wx9w23xsy8mr8y8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "splitindex.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/splitindex")
    (synopsis "Unlimited number of indexes")
    (description
     "SplitIndex consists of a LaTeX package, @code{splitidx}, and a small program,
@code{splitindex}.  The package may be used to produce one index or several
indexes.  Without @command{splitindex}, the number of indexes is limited by
the number of TeX's output streams.  But using the program you may use even
more than 16 indexes: @command{splitidx} outputs only a single file and the
program splits that file into several raw index files and calls your favorite
index processor for each of the files.")
    (license license:lppl)))

(define-public texlive-spot
  (package
    (name "texlive-spot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spot/" "source/latex/spot/"
                                     "tex/latex/spot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05y83rvvxnlgq77clmf3k7id72v5lnyfvxhyp30gfaxni68v44n5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spot")
    (synopsis "Spotlight highlighting for Beamer")
    (description
     "The package allows dramatic highlighting of words and phrases by painting
shapes around them.  It is chiefly intended for use in Beamer presentations,
but it can be used in other document classes as well.")
    (license license:lppl1.3+)))

(define-public texlive-spotcolor
  (package
    (name "texlive-spotcolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spotcolor/"
                                     "tex/latex/spotcolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10nnal9cffwvwpw108fbkfhn7q4labs9xnb5nfz1sn9wk4li3j30"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spotcolor")
    (synopsis "Spot colours for pdfLaTeX")
    (description
     "This package provides procedures for using spot colours in LaTeX documents
and the generated PDF files.  Predefined templates for PANTONE and HKS colour
spaces are included but new ones can easily be defined.")
    (license license:lppl)))

(define-public texlive-spreadtab
  (package
    (name "texlive-spreadtab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spreadtab/"
                                     "tex/latex/spreadtab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iz10jx2pxpwqbc9xm0s6yib2v6xb5h4wy6ygxclzams7xa4xb79"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spreadtab")
    (synopsis "Spreadsheet features for LaTeX tabular environments")
    (description
     "The package allows the user to construct tables in a manner similar to
a spreadsheet.  The cells of a table have row and column indices and these can
be used in formulas to generate values in other cells.")
    (license license:lppl1.3c)))

(define-public texlive-spverbatim
  (package
    (name "texlive-spverbatim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/spverbatim/"
                                     "source/latex/spverbatim/"
                                     "tex/latex/spverbatim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nxnq5naphz9kj4a6d3yv8x9xamqi4lnhrmd9jbw4saknwc77n7p"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/spverbatim")
    (synopsis "Allow line breaks within @code{\\verb} and verbatim output")
    (description
     "LaTeX's @code{\\verb} macro treats its argument as an unbreakable unit of
text.  This can lead to poor typesetting, especially when the argument is
long.  The @code{spverbatim} package provides an @code{\\spverb} macro that is
analogous to @code{\\verb} and an @code{spverbatim} environment that is
analogous to verbatim with the difference being that @code{\\spverb} and
spverbatim allow LaTeX to break lines at space characters.")
    (license license:lppl)))

(define-public texlive-srbook-mem
  (package
    (name "texlive-srbook-mem")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/srbook-mem/"
                                     "tex/latex/srbook-mem/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1v6wwxr5hkda98wqccvfm3clch6w27lwkh3z01lgn652v6q110yj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/serbian-book")
    (synopsis "Support for use of @code{memoir} in Serbian")
    (description
     "The package provides a number of commands for adjusting @code{memoir} output
to Serbian style.")
    (license license:gpl3+)))

(define-public texlive-srcltx
  (package
    (name "texlive-srcltx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/srcltx/" "source/latex/srcltx/"
                                     "tex/latex/srcltx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yj6clsb89n0aiz8pn7il1vf2pfg369psys3b73dncf92dhlawff"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/srcltx")
    (synopsis "Jump between DVI and TeX files")
    (description
     "This package provides a @code{\\special} insertion into generated @file{.dvi}
files allowing one to jump from the @file{.dvi} file to the @file{.tex} source
and back again (given a @file{.dvi} viewer that supports this).")
    (license license:public-domain)))

(define-public texlive-sseq
  (package
    (name "texlive-sseq")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sseq/" "source/latex/sseq/"
                                     "tex/latex/sseq/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02qfqnihvyffs7j4avjn9v7z0z0p07ki10yjbxrimlj0drqcmhqv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sseq")
    (synopsis "Typesetting spectral sequence charts")
    (description
     "The package provides commands to draw spectral sequence diagrams, providing
facilities for clipping and arranging multiple symbols so that they do not
overlap.  The package is built using PGF, and shares that systems large
demands for TeX system memory.  Its geometric commands are based on a turtle
graphics model, and control structures such as loops and conditionals are
available.")
    (license license:lppl)))

(define-public texlive-sslides
  (package
    (name "texlive-sslides")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sslides/" "tex/latex/sslides/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rplfdzzp15h3xsszzr7hcbb40kqd6bbqv8850ip8df4yd19mb8r"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sslides")
    (synopsis "Slides with headers and footers")
    (description
     "The class provides a variant of the LaTeX standard slides class, in which the
user may add headers and footers to the slide.")
    (license license:lppl1.3+)))

(define-public texlive-stack
  (package
    (name "texlive-stack")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "source/latex/stack/" "tex/latex/stack/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0annz6qz921m1f7l2scqsg9kh10xxihizwf0gg10drm6yvxmy7ha"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stack")
    (synopsis "Tools to define and use stacks")
    (description
     "The package provides a small set of commands to implement stacks
independently of TeX's own stack.  As an example of how the stacks might be
used, the documentation offers a small @code{relinput} package that implements
the backbone of the @code{import} package.")
    (license license:lppl)))

(define-public texlive-stdclsdv
  (package
    (name "texlive-stdclsdv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stdclsdv/"
                                     "source/latex/stdclsdv/"
                                     "tex/latex/stdclsdv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hk74qclq68f4lhm4yz548zw4nmy4hldr64ijvlsw5s6l3azhzqq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stdclsdv")
    (synopsis "Provide sectioning information for package writers")
    (description
     "The @code{stdclsdv} package is designed for package writers who need to know
what sectioning divsions are provided by the document's class.  It also
provides a version of @code{\\CheckCommand} that sets a flag rather than
printing a warning.")
    (license license:lppl)))

(define-public texlive-stdpage
  (package
    (name "texlive-stdpage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stdpage/" "source/latex/stdpage/"
                                     "tex/latex/stdpage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "064l0mj06wnacz7hcgf9c4nqc6f7l2fyg6gvq797vbdffgw721wd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stdpage")
    (synopsis "Standard pages with n lines of at most m characters each")
    (description
     "For translations, proofreading, journal contributions etc., standard pages
are used.  Those standard pages consist of a fixed number of lines and
characters per line.  This package produces pages with n lines of at most
m characters each.")
    (license license:lppl1.2+)))

(define-public texlive-stealcaps
  (package
    (name "texlive-stealcaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stealcaps/"
                                     "source/latex/stealcaps/"
                                     "tex/latex/stealcaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05lskyv9k4mgkzw08cknbcgbx6d64my7qjc2jljhqgmjsxd4yh07"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/stealcaps")
    (synopsis "``Steal'' small capitals")
    (description
     "This little package is mainly meant to be used when there is a (TrueType or
OpenType) font that does not provide real small capitals.  As a workaround,
this package helps to borrow, or steal, the small capitals from another font.
This might also be useful in the rare case that someone does not like the
present small capitals, and wants to change them, or likes those from another
font better.  To achieve the borrowing, one only needs to load the package and
specify the name of the target font via the from option.")
    (license license:lppl1.3c)))

(define-public texlive-stex
  (package
    (name "texlive-stex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stex/" "source/latex/stex/"
                                     "tex/latex/stex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p5icw5c8c6k82ycy91d4rvypk4yd958jglcxb6vhqi6hnjagpp5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stex")
    (synopsis "Infrastructure for semantic preloading of LaTeX documents")
    (description
     "The sTeX package collection is a version of (La)TeX that allows to
markup (La)TeX documents semantically without leaving the document format,
essentially turning it into a document format for mathematical knowledge
management (MKM).")
    (license license:lppl)))

(define-public texlive-storecmd
  (package
    (name "texlive-storecmd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/storecmd/" "tex/latex/storecmd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ds88g5zb97vjlijnk2vq487ixs3pklq7f9fn66j17cdcnsz619f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/storecmd")
    (synopsis "Store the name of a defined command in a container")
    (description
     "The package provides macros for command definition that save the name of the
command being defined in a file or a macro container.  The list could be
useful for spelling exceptions in text editors that do not support TeX
syntax.")
    (license license:lppl1.3+)))

(define-public texlive-stringstrings
  (package
    (name "texlive-stringstrings")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stringstrings/"
                                     "source/latex/stringstrings/"
                                     "tex/latex/stringstrings/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ayqzw5z2kj8q87zh0x9m8wk6swnz87s4ils21z557izqb668w4y"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stringstrings")
    (synopsis "String manipulation for cosmetic and programming application")
    (description
     "The package provides a large and sundry set of macros for the manipulation of
strings.  The macros are developed not merely for cosmetic application (such
as changing the case of letters and string substitution), but also for
programming applications such as character look-ahead, argument parsing,
conditional tests on various string conditions, etc.  The macros were designed
all to be expandable (note that things such as @code{\\uppercase} and
@code{\\lowercase} are not expandable), so that the macros may be strung
together sequentially and nested (after a fashion) to achieve rather complex
manipulations.")
    (license license:lppl1.3+)))

(define-public texlive-sttools
  (package
    (name "texlive-sttools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/sttools/" "source/latex/sttools/"
                                     "tex/latex/sttools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dvx30fzzkf632c3qnz7bg2ljlnawz7440qga8shcdb70i951lgm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/sttools")
    (synopsis "Various macros")
    (description
     "This package provides a collection of tools and macros, providing:
miscellaneous float control, page styles for floats, multipage tabulars, even
columns at end of twocolumn region, switching between one- and two-column
anywhere, simulating the effect of ``midfloats'', a package to manipulate
numerical lists and arrays.")
    (license license:lppl1.3+)))

(define-public texlive-stubs
  (package
    (name "texlive-stubs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/stubs/" "tex/latex/stubs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bd4ccv4lgrh0z471aqh63pdydg93ba8wkqr2a9q513y8l93i00f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/stubs")
    (synopsis "Create tear-off stubs at the bottom of a page")
    (description
     "The @code{\\stubs} command creates as many repetitions as possible of its
argument, at the bottom of the page; these stubs may be used (for example) for
contact information.")
    (license license:gpl3+)))

(define-public texlive-studenthandouts
  (package
    (name "texlive-studenthandouts")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/studenthandouts/"
                                     "tex/latex/studenthandouts/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n6h1dl6lyipaxngrlxqf8if2mv0fihvsz0kvgcn1nv002sjw9wi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/studenthandouts")
    (synopsis "Management and styling of student handout projects")
    (description
     "This package can be used to generate a single master document that contains
a set of individual student handouts.  The package has two main functions.
First, it provides a simple framework for organizing handout source code, and
supplies a set of import management tools for selectively importing a subset
of the handouts into the master document.  Selective import is convenient when
compilation of all of the handouts is unnecessary, for example when working on
a new handout.  As a secondary feature, the package defines a basic visual
style for handouts.  This style can be easily changed.")
    (license license:lppl1.3+)))

(define-public texlive-styledcmd
  (package
    (name "texlive-styledcmd")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/styledcmd/"
                                     "source/latex/styledcmd/"
                                     "tex/latex/styledcmd/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18dmxdmf1sg1y91y19n0qwqvk1053cb5m0r7maf80hsnjfi4vkfk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/styledcmd")
    (synopsis "Handling multiple versions of user-defined macros")
    (description
     "This package allows creating and maintaining different versions of the same
command, in order to choose the best option for every document.  This includes
expandable and protected commands.")
    (license license:gpl3+)))

(define-public texlive-subdepth
  (package
    (name "texlive-subdepth")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subdepth/"
                                     "source/latex/subdepth/"
                                     "tex/latex/subdepth/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1h79qghibgnfz2savf158c6qkliizif95azma905rpwhz06zw1f9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subdepth")
    (synopsis "Unify maths subscript height")
    (description
     "This package is based on code to equalise the height of subscripts in maths.
The default behaviour is to place subscripts slightly lower when there is
a superscript as well, but this can look odd in some situations.")
    (license license:lppl)))

(define-public texlive-subdocs
  (package
    (name "texlive-subdocs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subdocs/" "tex/latex/subdocs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1j30b926n15i3dbdw4xgd241a9g7q084lbalaq7sf4pkjqjj9zh8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subdocs")
    (synopsis "Multifile documents")
    (description
     "This is an experimental package aiming to provide a different approach for
multidocument works (mainly, books with a document per chapter).  Unlike the
@code{\\include} mechanism, every subdocument is a complete normal LaTeX
document and may be typeset separately.  What the package does is sharing the
@file{.aux} files.")
    (license license:expat)))

(define-public texlive-subeqn
  (package
    (name "texlive-subeqn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subeqn/" "source/latex/subeqn/"
                                     "tex/latex/subeqn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0x58m2lsjc8d3m673g59cxw3a81cj5699cd8vvps1fly0fsl5azb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subeqn")
    (synopsis "Package for subequation numbering")
    (description
     "Sometimes it is necessary to be able to refer to subexpressions of an
equation.  In order to do that these subexpressions should be numbered.  In
standard LaTeX there is no provision for this.  The @code{subeqn} package
solves this.  Note that this package is not compatible with the package
@code{subeqnarray}, but it can be used together with the LaTeX class options
@code{leqno} and @code{fleqn}.")
    (license license:lppl)))

(define-public texlive-subeqnarray
  (package
    (name "texlive-subeqnarray")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subeqnarray/"
                                     "source/latex/subeqnarray/"
                                     "tex/latex/subeqnarray/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19jv7sl6p1kshv13wk813lndb9fjr4bf2rf4s1ffd0l253mmxch6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subeqnarray")
    (synopsis "Equation array with sub numbering")
    (description
     "This package defines the @code{subeqnarray} and @code{subeqnarray*}
environments, which behave like the corresponding @code{eqnarray} and
@code{eqnarray*} environments, except that the individual lines are numbered
like @samp{1a}, @samp{1b}, etc.  To refer to these numbers an extra label
command @code{\\slabel} is provided.  Users are urged to consider the
alignment capabilities of the @code{amsmath} bundle, which produce better
results than @code{eqnarray}-related macros.")
    (license license:lppl)))

(define-public texlive-subfigmat
  (package
    (name "texlive-subfigmat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subfigmat/"
                                     "tex/latex/subfigmat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1656zcs1zay6pz1sqlhnspbphg7zkq7ziyxb8kkn943f2a8azmka"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subfigmat")
    (synopsis "Automates layout when using the @code{subfigure} package")
    (description
     "This package defines an @code{array}/@code{matrix}-type environment that is
used with the @code{subfigure} package to automate the placement of
sub-figures (or tables or text).  The sub-figures are placed left-to-right,
top-to-bottom.")
    (license license:lppl)))

(define-public texlive-subfloat
  (package
    (name "texlive-subfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/subfloat/"
                                     "source/latex/subfloat/"
                                     "tex/latex/subfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "119p6vf8ai1sfhma3aplkyldiypjnfc6qj08xnij69szk6yq6gdv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/subfloat")
    (synopsis "Sub-numbering for figures and tables")
    (description
     "This package enables sub-numbering of floats (figures and tables) similar to
the @code{subequations} environment of the @code{amsmath} package.  The
@code{subfloat} package is not to be confused with the @code{subfig} package
which generates sub-figures within one normal figure, and manages their
placement; @code{subfloat} only affects captions and numbering.")
    (license license:lppl)))

(define-public texlive-suppose
  (package
    (name "texlive-suppose")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/suppose/" "tex/latex/suppose/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jll93kng5kkbl1f5yvclaclvxl5kcbsv76vbzmv2p0v271miybn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/suppose")
    (synopsis "Abbreviate the word ``Suppose''")
    (description
     "This package provides commands for abbreviating the word ``Suppose'' in six
fonts and with other variations.  The author recommends only using these
commands when the immediately succeeding strings are mathematical in nature.
He does not recommend using them in formal work.")
    (license license:lppl1.3c)))

(define-public texlive-svgcolor
  (package
    (name "texlive-svgcolor")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svgcolor/" "tex/latex/svgcolor/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fhgxms95j65mn3q9bj2xckp7gsjza2swwqkvlhzszk5kc2lq0l4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svgcolor")
    (synopsis "Define SVG named colours")
    (description
     "The package defines the W3C @acronym{SVG, Scalable Vector Graphics} colour
names for use with both the @code{color} and PSTricks packages.")
    (license license:lppl)))

(define-public texlive-svn
  (package
    (name "texlive-svn")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svn/" "source/latex/svn/"
                                     "tex/latex/svn/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1q4l4vhvkzkv5bsbp11vfmqxf407l4y4s8840qva7nc7cwvc3n7b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svn")
    (synopsis "Typeset Subversion keywords")
    (description
     "The @code{svn} package lets you typeset (in LaTeX) the value of Subversion
keywords.  It is approximately an equivalent to the @code{rcs} package, but
for Subversion rather than CVS.")
    (license license:lppl1.3+)))

(define-public texlive-svn-multi
  (package
    (name "texlive-svn-multi")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svn-multi/"
                                     "doc/support/svn-multi/"
                                     "scripts/svn-multi/"
                                     "source/latex/svn-multi/"
                                     "tex/latex/svn-multi/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sfvp00c7bcql1hdmsmvc28jhngc553g8ldrjglvjp8gvcfpjww5"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ydoc")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "svn-multi.pl")))
    (native-inputs (list texlive-ydoc))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/svn-multi")
    (synopsis "Subversion keywords in multi-file LaTeX documents")
    (description
     "This package lets you typeset keywords of the version control system
Subversion inside your LaTeX files anywhere you like.  Unlike the otherwise
similar package @code{svn}, the use of multiple files for one LaTeX document
is well supported.  The package interacts with an external Perl script, to
retrieve information necessary for the required output.")
    (license license:lppl)))

(define-public texlive-svninfo
  (package
    (name "texlive-svninfo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/svninfo/" "source/latex/svninfo/"
                                     "tex/latex/svninfo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y0lxpp1lqznvsxvckhcnvw3l712l9prfb9gi56csypngaqph5rb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/svninfo")
    (synopsis "Typeset Subversion keywords")
    (description
     "This is a package for incorporating the values of Subversion keywords into
typeset documents.")
    (license license:lppl1.0+)))

(define-public texlive-swfigure
  (package
    (name "texlive-swfigure")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/swfigure/"
                                     "source/latex/swfigure/"
                                     "tex/latex/swfigure/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w2s9wil773dypa7xllbvawbdk41qdfzwy19pya17z8qp8csjqvh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swfigure")
    (synopsis "Insert large images that do not fit into a single page")
    (description
     "This package defines five different display modes in order to place in
a document large figures that do not fit into a single page.  A single user
macro is defined to handle all five display modes.")
    (license license:lppl1.3c)))

(define-public texlive-swungdash
  (package
    (name "texlive-swungdash")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/swungdash/"
                                     "tex/latex/swungdash/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b8qq8yh6rp6gmglgbi4afdd48hbhd2gncxcjarwddy1x127jc62"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/swungdash")
    (synopsis "Typeset a swung dash in LaTeX")
    (description
     "The swung dash (U+2053) is a useful character traditionally used in
typsetting dictionaries, but not supported by most typefaces.  This package
provides one simple command to typeset a swung dash in XeLaTeX and LuaLaTeX,
by applying transformations to the given font's glyph for a tilde.")
    (license license:lppl1.3c)))

(define-public texlive-syntax
  (package
    (name "texlive-syntax")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/syntax/" "tex/latex/syntax/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n064jqsgcz3g6nkqmd05zpaf8hivm48mdms39a69cmw5958am9j"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/syntax2")
    (synopsis "Creation of syntax diagrams")
    (description
     "This package creates syntax diagrams using special environments and commands
to represent the diagram structure.")
    (license license:gpl3+)))

(define-public texlive-syntrace
  (package
    (name "texlive-syntrace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/syntrace/"
                                     "source/latex/syntrace/"
                                     "tex/latex/syntrace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qdl3vriidpdl3cpa05r2h2dv3i8bmqf5l47313mghyz1pilkrga"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/syntrace")
    (synopsis "Labels for tracing in a syntax tree")
    (description
     "This package adds support for traces in trees created using either the
@code{synttree} or the @code{qtree} package.  The package provides two
commands @code{(\\traceLabel} and @code{\\traceReference)} to set and use
a trace.")
    (license license:lppl)))

(define-public texlive-synttree
  (package
    (name "texlive-synttree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/synttree/"
                                     "source/latex/synttree/"
                                     "tex/latex/synttree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a2ifj2922477vn7gljis6gv9p51q1c0kpl3y7vyb016pmg9ny04"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/synttree")
    (synopsis "Typeset syntactic trees")
    (description
     "This package provides a package to typeset syntactic trees such as those used
in Chomsky's generative grammar, based on a description of the structure of
the tree.")
    (license license:lppl)))

(define-public texlive-tabbing
  (package
    (name "texlive-tabbing")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabbing/" "source/latex/tabbing/"
                                     "tex/latex/tabbing/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dpkirz4318031ikq3y1134y19cyq6lgzhj610w12zywfmdy5jcj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabbing")
    (synopsis "Tabbing with accented letters")
    (description
     "By default, some of the tabbing environment's commands clash with default
accent commands; LaTeX provides the odd commands @code{\\a'}, etc., to deal
with the clash.  The package offers a variant of the @code{tabbing}
environment which does not create this difficulty, so that users need not
learn two sets of accent commands.")
    (license license:lppl1.0+)))

(define-public texlive-tabfigures
  (package
    (name "texlive-tabfigures")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabfigures/"
                                     "source/latex/tabfigures/"
                                     "tex/latex/tabfigures/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18z0w4q5s1pz1r39b6ca8d5l7gp0x9dg9l4b351wsr1jjcci60c0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabfigures")
    (synopsis "Maintain vertical alignment of figures")
    (description
     "Knuth designed his original fonts with tabular figures (figures whose width
is uniform); this makes some layout problems rather simple.  In more recent
times, fonts (such as Minion Pro), which offer proportionally spaced figures,
are increasingly being used.  The package provides mechanisms whereby such
proportional figures may still be aligned in tabular style (for example, in
the table of contents).")
    (license license:lppl1.3+)))

(define-public texlive-tableaux
  (package
    (name "texlive-tableaux")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tableaux/" "tex/latex/tableaux/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "021qins7h014pjg297iih071n45mqabx8sf0vr78ln9k984h7v8l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tableaux")
    (synopsis "Construct tables of signs and variations")
    (description
     "The package uses PSTricks; the user may define the width of the table, the
number of lines and the height of each line.  Placement of labels within the
boxes may be absolute, or as a percentage of the width; various other controls
are available.")
    (license license:lppl)))

(define-public texlive-tablefootnote
  (package
    (name "texlive-tablefootnote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tablefootnote/"
                                     "source/latex/tablefootnote/"
                                     "tex/latex/tablefootnote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1179jcgjnsh6plk4kfcyyczjx0xcn2cjdc413kfz4pxmx7592jdn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tablefootnote")
    (synopsis "Permit footnotes in tables")
    (description
     "The package provides the command @code{\\tablefootnote} to be used in
a @code{table} or @code{sidewaystable} environment, where @code{\\footnote}
will not work (and when using @code{\\footnotemark} and @code{\\footnotetext},
and adjusting the counter as necessary, is too much work).")
    (license license:lppl1.3+)))

(define-public texlive-tableof
  (package
    (name "texlive-tableof")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tableof/" "source/latex/tableof/"
                                     "tex/latex/tableof/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "05dj51js7nvks16k7wmdjmxf771bnmfjfrv3ilpkyaj6ahadkav9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tableof")
    (synopsis "Tagging tables of contents")
    (description
     "The package provides the commands to flag chapters or sections (or anything
else destined to become a TOC line).  The command
@code{\\nexttocwithtags@{req1,req2,...@}@{excl1,excl2,...@}} specifies which
tags are to be required and which ones are to be excluded by the next
@code{\\tableofcontents} (or equivalent) command.  In a document that uses
a class where @code{\\tableofcontents} may only be used once, the command
@code{\\tableoftaggedcontents@{req1,req2,...@}@{excl1,excl2,...@}} may be used
to provide several tables.")
    (license license:lppl1.3+)))

(define-public texlive-tablists
  (package
    (name "texlive-tablists")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tablists/"
                                     "source/latex/tablists/"
                                     "tex/latex/tablists/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1bwwqzdfsqnm338qwnc0lnyskk58k6s4lr0v2gfizskamzygmi1b"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-fontinst
                  texlive-helvetic
                  texlive-hypdoc
                  texlive-makecell
                  texlive-paralist
                  texlive-psnfss))))
    (home-page "https://ctan.org/pkg/tablists")
    (synopsis "Tabulated lists of short items")
    (description
     "This package offers environments and commands for one-level and two-level
lists of short items (e.g., exercises in textbooks).  The environments support
optional arguments of item numbering similar to the @code{enumerate} or
@code{paralist} packages.")
    (license license:lppl)))

(define-public texlive-tabls
  (package
    (name "texlive-tabls")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabls/" "tex/latex/tabls/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rc8h2704ca5v7l3lxdm0mmnqc52bci216n6kylwl3770mgwivqw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabls")
    (synopsis "Better vertical spacing in tables and arrays")
    (description
     "This package modifies LaTeX's @code{array} and @code{tabular} environments to
keep text from touching other text or hlines above or below.  Several new
parameters are defined and some standard macros are re-defined.  The package
slows down compilation of tables, since each entry is boxed twice.")
    ;; These macros may be freely used, transmitted, reproduced, or modified
    ;; provided that this notice is left intact.
    (license (license:fsf-free "file://tex/latex/tabls/tabls.sty"))))

(define-public texlive-tablvar
  (package
    (name "texlive-tablvar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tablvar/" "source/latex/tablvar/"
                                     "tex/latex/tablvar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f937zz04b179y19amzwgpwm4406mmfdgclfxbfpnb9iwhqs15zm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tablvar")
    (synopsis
     "Typesetting pretty tables of signs and variations according to French usage")
    (description
     "This is a complete and easy-to-use package for typesetting pretty tables of
signs and variations according to French usage.  The syntax is similar to that
of the @code{array} environment and uses intuitive position commands.  Arrows
are drawn automatically (using PSTricks by default or TikZ as an option).
Macros are provided for drawing twin bars, single bars crossing the zeros,
areas where the function is not defined, or placing special values.  Several
features of the variation tables can be customized.")
    (license license:lppl1.3+)))

(define-public texlive-tabstackengine
  (package
    (name "texlive-tabstackengine")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabstackengine/"
                                     "tex/latex/tabstackengine/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qj9w9rjsakrijy953ab2sa5k92npvvm4zz1y2z4k4a78g981q0n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabstackengine")
    (synopsis "\"Tabbing\" front-end to stackengine")
    (description
     "The package provides a front end to the @code{stackengine} package,
to allow tabbed stacking.  In most cases, an existing @code{stackengine}
command may be prepended with the word @samp{tabbed}, @samp{align} or
@samp{tabular} to create a new tabbed version of a stacking macro.  In
addition, hooks in the package's parser that tabbed strings of data may be
parsed, extracted, and reconstituted (not requiring use of any stacking
constructions).")
    (license license:lppl1.3+)))

(define-public texlive-tabularborder
  (package
    (name "texlive-tabularborder")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabularborder/"
                                     "source/latex/tabularborder/"
                                     "tex/latex/tabularborder/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qjjr19f5cxpvvbrna6rg506w8j72dqqddxd412z6r4pcmnbiqd4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabularborder")
    (synopsis "Remove excess space at left and right of tabular")
    (description
     "The tabular environment is changed so that the outer @code{\\tabcolseps} are
compensated and a @code{\\hline} has the same length as the text.")
    (license license:lppl1.2+)))

(define-public texlive-tabularcalc
  (package
    (name "texlive-tabularcalc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabularcalc/"
                                     "tex/latex/tabularcalc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xcwn9cqs32z8kfb37k1i1hyxaqjvrbhnriy5fa9spymlrb4pi3i"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabularcalc")
    (synopsis "Calculate formulas in a tabular environment")
    (description
     "Given a list of numbers and one (or more) formulas, the package offers an
easy syntax to build a table of values, i.e., a tabular in which the first row
contains the list of numbers, and the other rows contain the calculated values
of the formulas for each number of the list.  The table may be built either
horizontally or vertically and is fully customizable.")
    (license license:lppl)))

(define-public texlive-tabularew
  (package
    (name "texlive-tabularew")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabularew/"
                                     "source/latex/tabularew/"
                                     "tex/latex/tabularew/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02xral8h2qbwm8mr4y701mrigk72x42kgjl9zki72qnx95fcy579"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabularew")
    (synopsis "Variation on the @code{tabular} environment")
    (description
     "The package offers a modification of the @code{tabular} environment, which
deals with the problem of column heads that are significantly wider than the
body of the column.")
    (license license:lppl)))

(define-public texlive-tabularray
  (package
    (name "texlive-tabularray")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tabularray/"
                                     "tex/latex/tabularray/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wvwrqhf30jddhaax0gv67ia7j7r2lkv4rlwh10lvbwwi8ka59g7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tabularray")
    (synopsis "Typeset tabulars and arrays with LaTeX3")
    (description
     "LaTeX tables are implemented using TeX commands such as @code{\\halign},
@code{\\noalign}, @code{\\span}, and @code{\\omit}.  In order to implement new
features, many macro packages have modified the inner table commands inside
LaTeX.  This makes package code complicated, difficult to maintain, and often
conflicts with each other.  At present, the LaTeX3 programming layer is
basically mature.  This @code{tabularray} package will discard the old
@code{\\halign} commands and directly use LaTeX3 functions to parse the table,
and then typeset the entire table.  Under the premise of being compatible with
the basic syntax of LaTeX2 tables, this macro package will completely separate
the content and style of the table, and the style of the table can be
completely set in @code{keyval} way.")
    (license license:lppl1.3c)))

(define-public texlive-tagging
  (package
    (name "texlive-tagging")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tagging/" "tex/latex/tagging/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1w1rjdfaamk1ifjv0k39hnc70aj9h5iw3l7l9cnbf8yrkkha84f4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tagging")
    (synopsis "Document configuration with tags")
    (description
     "The package allows the user to generate multiple documents from a single
source, by marking pieces of the document with tags and specifying which
marked pieces to include or exclude.")
    (license license:lppl1.3+)))

(define-public texlive-tagpair
  (package
    (name "texlive-tagpair")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tagpair/" "tex/latex/tagpair/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pw5dip8p38djkksa7c11mzqvhglppy6n0zyv54zqrsd1fwjqwll"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tagpair")
    (synopsis
     "Word-by-word glosses, translations, and bibliographic attributions")
    (description
     "This package provides environments and commands for pairing lines, bottom lines,
and tagged lines, intended to be used in particular for word-by-word glosses,
translations, and bibliographic attributions, respectively.")
    (license license:lppl1.3+)))

(define-public texlive-tagpdf
  (package
    (name "texlive-tagpdf")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tagpdf/" "source/latex/tagpdf/"
                                     "tex/latex/tagpdf/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "198fagrxswp2dl3f4dww68gfvj1pv7xsb9mdcsmxsgksbgbqxp7d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tagpdf")
    (synopsis
     "Tools for experimenting with tagging using pdfLaTeX and LuaLaTeX")
    (description
     "The package offers tools to experiment with tagging and accessibility using
pdfLaTeX and LuaTeX.  It isn't meant for production but allows the user to try
out how difficult it is to tag some structures; to try out how much tagging is
really needed; to test what else is needed so that a PDF works e.g., with
a screen reader.  Its goal is to get a feeling for what has to be done, which
kernel changes are needed, how packages should be adapted.")
    (license license:lppl1.3c)))

(define-public texlive-talk
  (package
    (name "texlive-talk")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/talk/" "source/latex/talk/"
                                     "tex/latex/talk/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ws65g8m640dqclbzbl4ip2g3n0j1kpvp447f9sl71j4hxc3lvzx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/talk")
    (synopsis "LaTeX class for presentations")
    (description
     "The @code{talk} document class allows you to create slides for screen
presentations or printing on transparencies.  It also allows you to print
personal notes for your talk.  You can create overlays and display structure
information (current section / subsection, table of contents) on your slides.
The main feature that distinguishes talk from other presentation classes like
beamer or prosper is that it allows the user to define an arbitrary number of
slide styles and switch between these styles from slide to slide.  This way
the slide layout can be adapted to the slide content.  For example, the title
or contents page of a talk can be given a slightly different layout than the
other slides.  The talk class makes no restrictions on the slide design
whatsoever.  The entire look and feel of the presentation can be defined by
the user.")
    (license license:lppl)))

(define-public texlive-tamefloats
  (package
    (name "texlive-tamefloats")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tamefloats/"
                                     "tex/latex/tamefloats/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qsmyw732ilgdwhwhh4dnd1yhk2x3hn95sn9v6aq58mdlhax2cv0"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tamefloats")
    (synopsis "Experimentally use @code{\\holdinginserts} with LaTeX floats")
    (description
     "LaTeX's figures, tables, and @code{\\marginpars} are dangerous for footnotes (and
probably also @code{\\enlargethispage}).  Here is a proposal (a patch package) to help,
by using @code{\\holdinginserts} in a simple way.  It replaces the original problem with
a new one --- it is an experiment to find out whether the new problem is less bad
(or it is just a contribution to the discussion, maybe just a summary of
previous work).")
    (license license:lppl1.3+)))

(define-public texlive-tasks
  (package
    (name "texlive-tasks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tasks/" "tex/latex/tasks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sfgnwzpyfyvilyz7j12d6wql54rlcami682b32rf6xphxjs0z3b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tasks")
    (synopsis "Horizontally columned lists")
    (description
     "The reason for the creation of the @code{tasks} environment was an unwritten
agreement in German maths textbooks (especially (junior) high school
textbooks) to organize exercises in columns counting horizontally rather than
vertically.  This is what the @code{tasks} package helps to achieve.")
    (license license:lppl1.3c)))

(define-public texlive-tcldoc
  (package
    (name "texlive-tcldoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tcldoc/" "source/latex/tcldoc/"
                                     "tex/latex/tcldoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "09z9gdhidwsmn8h1a77smyyis8w03w8qw94biqcfqqzgsra2ling"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tclldoc")
    (synopsis "Doc/docstrip for Tcl")
    (description
     "The @code{tclldoc} package and class simplify the application of the
doc/docstrip style of literate programming with Tcl.  The @code{tclldoc}
package is a bit like the @code{doc} package is for LaTeX, whereas the
@code{tclldoc} class more parallels the @code{ltxdoc} class.")
    (license license:lppl)))

(define-public texlive-tdclock
  (package
    (name "texlive-tdclock")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tdclock/" "tex/latex/tdclock/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0az6h5avri7z7mvp222zwkd7n5nsnx8np73ym2rppp9d2j8fq9wb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tdclock")
    (synopsis "Ticking digital clock package for PDF output")
    (description
     "This package provides a ticking digital clock package to be used in pdfLaTeX
documents, for example in presentations.")
    (license license:gpl2)))

(define-public texlive-technics
  (package
    (name "texlive-technics")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/technics/" "tex/latex/technics/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1nhh5zkm3w3n6bxxk7ysnwkff1bxkhzbc91aplz4d03j5yvy76l6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/technics")
    (synopsis "Format technical documents")
    (description
     "The package provides a very simple LaTeX document template, in the hope that
this use of LaTeX will become attractive to typical word processor
users. (Presentation is as if it were a class; users are expected to start
from a template document.)")
    (license license:lppl)))

(define-public texlive-ted
  (package
    (name "texlive-ted")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ted/" "source/latex/ted/"
                                     "tex/latex/ted/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0vkp71bpmhs3ys29cx4sxcvqqx63pqym6n87j3sr5hy7rw20ya0x"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-hypdoc
                  texlive-lm
                  texlive-microtype
                  texlive-minitoc))))
    (home-page "https://ctan.org/pkg/ted")
    (synopsis "Primitive token list editor")
    (description
     "Just like @code{sed} is a stream editor, @code{ted} is a token list editor.
The @code{ted} package provides two user macros: @code{\\Substitute} and
@code{\\ShowTokens}.  The first is maybe the most useful: it performs
substitutions in token lists (even inside braces).  The second displays each
token of the list (one per line) with its catcode (in the list, not just the
current one), and can be useful for debugging or for TeX learners.  Ted is
designed to work well even if strange tokens (that is, unusual
@samp{@{charcode, catcode@}} pairs or tokens with a confusing meaning) occur
in the list.")
    (license license:lppl)))

(define-public texlive-templatetools
  (package
    (name "texlive-templatetools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/templatetools/"
                                     "source/latex/templatetools/"
                                     "tex/latex/templatetools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1phjqzldc1r7c637a6wyyb7na395bm869i5nyymv1z1f15jj8lsg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/templatetools")
    (synopsis "Commands useful in LaTeX templates")
    (description
     "The package provides a collection of tools, which are helpful for the
creation of a LaTeX template if conditional paths for code execution are
required.  All the commands work both in the preamble and in the document.")
    (license license:lppl1.3+)))

(define-public texlive-termcal
  (package
    (name "texlive-termcal")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/termcal/" "source/latex/termcal/"
                                     "tex/latex/termcal/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ikqi79g3vlcl7aqm4fdszz9172mgv8sd0b6gpx20pr74r6431p7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termcal")
    (synopsis "Print a class calendar")
    (description
     "This package is intended to print a term calendar for use in planning a class.
It has a flexible mechanism for specifying which days of the week are to be
included and for inserting text either regularly on the same day each week, or
on selected days, or for a series of consecutive days.  It also has a flexible
mechanism for specifing class and non-class days.  Text may be inserted into
consecutive days so that it automatically flows around non-class days.")
    (license license:lppl1.0+)))

(define-public texlive-termlist
  (package
    (name "texlive-termlist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/termlist/"
                                     "source/latex/termlist/"
                                     "tex/latex/termlist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qj5b8n8b4g7asc010cpk265fx2zaxlb7l52q5l77pmqzg8p3k56"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/termlist")
    (synopsis "Label any kind of term with a continuous counter")
    (description
     "The @code{termlist} package provides environments to indent and label any
kind of terms with a continuous number.  Candidate terms may appear inside an
@code{equation} or @code{eqnarray} environment.")
    (license license:lppl)))

(define-public texlive-termsim
  (package
    (name "texlive-termsim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/termsim/" "source/latex/termsim/"
                                     "tex/latex/termsim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1yz4kjvc4ip58vnwcvyiyg65sr9szy6z772cammdakx2ga344v78"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/termsim")
    (synopsis "Simulate Win10, Ubuntu, and Mac terminals")
    (description
     "This package provides environments @code{terminal} and @code{terminal*}, and
macros @code{\\termfile} and @code{\\termfile*} to simulate Win10, Ubuntu and
Mac terminals.")
    (license license:lppl1.3c)))

(define-public texlive-testhyphens
  (package
    (name "texlive-testhyphens")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/testhyphens/"
                                     "source/latex/testhyphens/"
                                     "tex/latex/testhyphens/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1sw0anyv3la86hamkrnxjxach2j6hqr2lxakihz7ma3d2l545xwh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/testhyphens")
    (synopsis "Testing hyphenation patterns")
    (description
     "The package may be used for testing hyphenation patterns or for controlling
that specific words are hyphenated as expected.  This package implements some
old TUGboat code to adapt it to LaTeX with some enhancements.  It differs form
@code{\\showhyphens}, because it typesets its output on the document's output
file.  It also works with XeLaTeX, where @code{\\showhyphens} requires
a workaround.")
    (license license:lppl1.3+)))

(define-public texlive-testidx
  (package
    (name "texlive-testidx")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bib/testidx/" "doc/latex/testidx/"
                                     "source/latex/testidx/" "tex/latex/testidx/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18wj5gv0zn014i29da74p2ac0qlzvbs12ys4vplqc9ryn8nkf1fs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/testidx")
    (synopsis "Dummy text for testing index styles and indexing applications")
    (description
     "This is a LaTeX package that provides a command to produce dummy text
interspersed with @code{\\index} commands to test an index style or indexing
application.  The dummy text is mostly in English, but includes extended Latin
characters provided either through LaTeX accent commands or directly with
UTF-8 characters, depending on the setup, to allow for testing extended Latin
alphabets.  The supplementary package @file{testidx-glossaries.sty} uses the
indexing interface provided by the @code{glossaries} package.")
    (license license:lppl1.3+)))

(define-public texlive-tex-label
  (package
    (name "texlive-tex-label")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tex-label/"
                                     "source/latex/tex-label/"
                                     "tex/latex/tex-label/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xvyyvzyxiynsf4a64b6m40m7qnn2q2xdp81fsksz53s7d3h0wp2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-label")
    (synopsis "Place a classification on each page of a document")
    (description
     "This package enables the user to place a classification label on each page,
at the bottom to the right of the page number.")
    (license license:lppl1.3+)))

(define-public texlive-tex-locale
  (package
    (name "texlive-tex-locale")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tex-locale/"
                                     "source/latex/tex-locale/"
                                     "tex/generic/tex-locale/"
                                     "tex/latex/tex-locale/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h7sl172flri87cbpygabkhk2qlrng3cwkyk71hz8289qx4g0wpr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tex-locale")
    (synopsis "Localisation support for TeX and LaTeX documents")
    (description
     "This package uses both @code{tracklang} and @code{texosquery} to look up the
locale information from the operating system and provide commands that can
access locale-dependent information, such as the currency symbol and decimal
separator.")
    (license license:lppl1.3+)))

(define-public texlive-texlogos
  (package
    (name "texlive-texlogos")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/texlogos/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rp4l8da3dn6djdjajavxqr5mmi3fsyadcqrpmd9cfggdvb9i8qz"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texlogos")
    (synopsis "Ready-to-use LaTeX logos")
    (description
     "TeXlogos defines an assortment of frequently used logos not contained in base
LaTeX itself.  The Metafont, MetapostAMS, BibTeX and SliTeX logos are defined,
as long as you have the appropriate CM/Logo/AMS fonts.  Currency symbols Euro,
Cent, Yen, Won and Naira are defined so as not to need TS1-encoded fonts.
Also defined are the C++ logo, with the @samp{+} signs properly positioned,
and the logo of the Vienna University Business Administration Center (BWZ).")
    (license license:lppl)))

(define-public texlive-texmate
  (package
    (name "texlive-texmate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texmate/" "source/latex/texmate/"
                                     "tex/latex/texmate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c584zbmz0k1kwd41cgz11zjzw29b0128j1xqz5a8wbsw894csq4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texmate")
    (synopsis "Comprehensive chess annotation in LaTeX")
    (description
     "TeXmate formats chess games from very simple ASCII input.  The clean
@samp{1.@: e4 e5; 2.@: Nf3 Nc6; 3.@: Bb5 a6} will produce the same results as
the sloppier @samp{1 e4 e5; Nf3 Nc6 3..@: Bb5 a6}.  The resulting format is
fully customizable.  There are 4 levels of commentary: 1 is the main game, 2-3
are commentaries.  Each has its fonts, punctuation marks, etc., and these are
also customizable.  The package includes a tool for the creation of diagrams.
The package works in conjunction with @code{skak} to produce diagrams of the
current position automatically.  For chess fonts, the package uses the
@code{chessfss} system.")
    (license license:lppl)))

(define-public texlive-texments
  (package
    (name "texlive-texments")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texments/"
                                     "source/latex/texments/"
                                     "tex/latex/texments/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06k1nfxdnl811sw4n9blp863a903ryh7b4m79rjj367kzs2zkbca"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texments")
    (synopsis "Using the Pygments highlighter in LaTeX")
    (description
     "This package provides a package which allows to use the Pygments highlighter
inside LaTeX documents.  Pygments supports syntax colouring of over 50 types
of files, and ships with multiple colour schemes.")
    (license license:lppl)))

(define-public texlive-texpower
  (package
    (name "texlive-texpower")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texpower/"
                                     "source/latex/texpower/"
                                     "tex/latex/texpower/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jndkkngnldksg37hx1hpcawhyzy9phirqsbk03l2hwqv20r5hz4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-tpslifonts))
    (home-page "https://ctan.org/pkg/texpower")
    (synopsis "Create dynamic online presentations with LaTeX")
    (description
     "TeXPower is a bundle of packages intended to provide an all-inclusive
environment for designing pdf screen presentations to be viewed in full-screen
mode, especially for projecting online with a video beamer.  For some of its
core functions, it uses code derived from @code{ppower4} packages.  It is,
however, not a complete environment in itself: it relies on an existing class
for preparing slides (such as @code{foiltex} or @code{seminar}) or another
package such as @code{pdfslide}.")
    (license license:gpl3+)))

(define-public texlive-texshade
  (package
    (name "texlive-texshade")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texshade/"
                                     "source/latex/texshade/"
                                     "tex/latex/texshade/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "159dv5bf126s6fcw9sr218nf0hap88386n4l6n08r9wwwd2zb4hl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texshade")
    (synopsis "Package for setting nucleotide and peptide alignments")
    (description
     "TeXshade is alignment shading software completely written in TeX/LaTeX; it
can process multiple sequence alignments in the @file{.msf} and the
@file{.aln} file formats.  In addition to common shading algorithms, it
provides special shading modes showing functional aspects, e.g., charge or
hydropathy, and a wide range of commands for handling shading colours, text
styles, labels, legends; it even allows the user to define completely new
shading modes.")
    (license license:gpl2)))

(define-public texlive-texsurgery
  (package
    (name "texlive-texsurgery")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texsurgery/"
                                     "tex/latex/texsurgery/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "042jafcsvsjijmmmi8vz417178rbb02vk7vwd16b4laxxpzd5b2a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texsurgery")
    (synopsis "LaTeX companion to the @code{texsurgery} Python project")
    (description
     "This LaTeX library is a companion to the @code{texsurgery} Python project.
It will make sure that @samp{pdflatex document.tex} will work, with reasonable
defaults, for a document that is intended to work with @code{texsurgery}, and
also has other uses, always in tandem with the @code{texsurgery} Pypi
package.")
    (license license:bsd-3)))

(define-public texlive-textcsc
  (package
    (name "texlive-textcsc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textcsc/" "tex/latex/textcsc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0771jrgrwklw3sqfw6rf0p0hbhs0gg7hd3z2gsv4i5pd73dfr5d8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textcsc")
    (synopsis "Simple commands for caps-to-small-caps text")
    (description
     "This package provides a simple command (@code{\\textcsc} and
@code{\\cscshape}) for caps-to-small-caps text, to allow for small caps
acronyms to be presented as uppercase in text (useful for things like copying
and pasting from a PDF).")
    (license (list license:lppl1.3+ license:cc-by-sa3.0))))

(define-public texlive-textfit
  (package
    (name "texlive-textfit")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textfit/" "source/latex/textfit/"
                                     "tex/latex/textfit/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18rhvd8xh83xi7f7mvnqblmi45ws4pcr0vbs689s2ycdxfzfhfzr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textfit")
    (synopsis "Fit text to a desired size")
    (description
     "This package fits text to a given width or height by scaling the font.")
    (license license:lppl1.3+)))

(define-public texlive-textmerg
  (package
    (name "texlive-textmerg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/textmerg/"
                                     "source/generic/textmerg/"
                                     "tex/generic/textmerg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fr34cr1r2f5g72acx33jx74lxgf37c2f2gyjw8frfljmw3fdqc2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (home-page "https://ctan.org/pkg/textmerg")
    (synopsis "Merge text in TeX and LaTeX")
    (description
     "This package repetetively produce documents from a fixed part and a variable
part.  Such an operation is commonly used as ``mail merge'' to produce mail
shots.")
    (license license:public-domain)))

(define-public texlive-textualicomma
  (package
    (name "texlive-textualicomma")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/textualicomma/"
                                     "source/latex/textualicomma/"
                                     "tex/latex/textualicomma/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "15d2jkfmmy1n0ni7516dik071v8jr3m0wyphv2ixr63cplbmr3sk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/textualicomma")
    (synopsis
     "Use the textual comma character as decimal separator in math mode")
    (description
     "The package is based on the @code{icomma} package, and intended as a solution
for situations where the text comma character discerns from the math comma
character, e.g., when fonts whithout math support are involved.  Escaping to
text mode every time a comma is used in math mode may slow down the
compilation process.")
    (license license:lppl1.3c)))

(define-public texlive-texvc
  (package
    (name "texlive-texvc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/texvc/" "source/latex/texvc/"
                                     "tex/latex/texvc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ryr67kls8xqykv73zm583hiavc4z52b78jkg9wqz4zv9nykifjh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/texvc")
    (synopsis "Use MediaWiki LaTeX commands")
    (description
     "This package provides all MediaWiki commands to copy and past formulae from
MediaWiki to LaTeX documents.")
    (license license:lppl1.3+)))

(define-public texlive-theoremref
  (package
    (name "texlive-theoremref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/theoremref/"
                                     "tex/latex/theoremref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1f2897nw1qsfp3lydx1v0ph9vyvwc0ms2azln69wr8ijh3lgyack"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/theoremref")
    (synopsis "References with automatic theorem names")
    (description
     "The @code{theoremref} package provides variants of the @code{\\label} and
@code{\\ref} commands for @code{theorem}-like environments, capable of
automatically typesetting references including the theorem name (apart from
the theorem number).  The scheme is particularly valuable if the author
decides to change a lemma to a proposition or a theorem (or whatever).")
    (license (list license:lppl license:gpl2))))

(define-public texlive-thinsp
  (package
    (name "texlive-thinsp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thinsp/" "tex/latex/thinsp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1brnqvzj9z74dalymnk3yrmagqrlrbq8zq0whcxg3bi33gx4b76f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thinsp")
    (synopsis "Stretchable @code{\\thinspace} for LaTeX")
    (description
     "The package redefines @code{\\thinspace} to have a stretch component.")
    (license license:gpl3+)))

(define-public texlive-thmtools
  (package
    (name "texlive-thmtools")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thmtools/"
                                     "source/latex/thmtools/"
                                     "tex/latex/thmtools/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03m8rm145144ymj18qhmgayklzpq6r150k9kqa6q9ywyx5ls4akx"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               ;; The installation process requires "VERSION.tex" from
               ;; "doc/".  Extend TEXINPUTS to include this location.
               (add-before 'build 'extend-texinputs
                 (lambda _
                   (setenv "TEXINPUTS"
                           (string-append (getcwd) "/doc/latex/thmtools:")))))))
    (home-page "https://ctan.org/pkg/thmtools")
    (synopsis "Extensions to theorem environments")
    (description
     "The bundle provides several packages for commonly-needed support for
typesetting theorems.  The packages should work with kernel theorems (theorems
out of the box with LaTeX, and the @code{theorem} and @code{amsthm} packages.
The features of the bundle include: a key-value interface to
@code{\\newtheorem}; a @code{\\listoftheorems} command; @code{hyperref} and
@code{autoref} compatibility; a mechanism for restating entire theorems in
a single macro call.")
    (license license:lppl1.3c)))

(define-public texlive-threadcol
  (package
    (name "texlive-threadcol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/threadcol/"
                                     "source/latex/threadcol/"
                                     "tex/latex/threadcol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0mkwcxhiajak2xhq52x3bn134sgylqk6bi3fswg4nvvz66511xc9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/threadcol")
    (synopsis "Organize document columns into PDF \"article thread\"")
    (description
     "The package combines a document's columns into a PDF ``article thread''.
PDF readers that support this mechanism can be instructed to scroll
automatically from column to column, which facilitates on-screen reading of
two-column documents.  Even for single-column documents, threadcol supports
the creation of multiple article threads, which help organize discontiguous
but logically related regions of text into a form that the user can scroll
through as if its contents were contiguous.")
    (license license:lppl1.3+)))

(define-public texlive-thumb
  (package
    (name "texlive-thumb")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thumb/" "source/latex/thumb/"
                                     "tex/latex/thumb/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "02va4kzc032vqlr8hv893s5280bzqmziqirg2y94rb1sjhkl98zg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thumb")
    (synopsis "Thumb marks in documents")
    (description
     "This package places thumb marks in books, manuals and reference maunals.")
    (license license:gpl3+)))

(define-public texlive-thumbs
  (package
    (name "texlive-thumbs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thumbs/" "source/latex/thumbs/"
                                     "tex/latex/thumbs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0p7p9kg81b0zld25xfipjlv5dv9sc8mjq80kv15mkc4v2y41cdl2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thumbs")
    (synopsis "Create thumb indexes")
    (description
     "The package puts running, customizable thumb marks in the outer margin,
moving downward as the chapter number (or whatever shall be marked by the
thumb marks) increases.  Additionally an overview page/table of thumb marks
can be added automatically, which gives the names of the thumbed objects, the
page where the object/thumb mark first appears, and the thumb mark itself at
its correct position.  The thumb marks are useful for large documents (such as
reference guides, anthologies, etc.), where a quick and easy way to find (for
example) a chapter is needed.")
    (license license:lppl1.3+)))

(define-public texlive-thumby
  (package
    (name "texlive-thumby")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/thumby/" "tex/latex/thumby/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "138ddfn5ha4lbmf66snwvvrvjx0anfgcb9gpv2slbybm0lb9gb6k"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/thumby")
    (synopsis "Create thumb indexes for printed books")
    (description
     "The package can generate thumb indexes for your document.  It features
printing thumb indexes on one- or two-sided pages, along with background- and
foreground-color selection and full LaTeX styling of the chapter numbers in
the thumb indexes.  The height of each thumb index is automatically chosen
based on the number of chapters in your document, while the width is chosen by
the user.  The package is designed to work with the @code{memoir} class, and
also requires PerlTeX and TikZ.")
    (license license:gpl3)))

(define-public texlive-ticket
  (package
    (name "texlive-ticket")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ticket/" "tex/latex/ticket/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1hn6hn8m5zf8srj67g2nwjl8jnlzbnix18db0adidf83mzwbpjws"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ticket")
    (synopsis "Make labels, visiting-cards, pins with LaTeX")
    (description
     "This package provides an easy to handle interface to produce visiting cards,
labels for your files, stickers, pins and other stuff for your office,
conferences etc.  All you need is a definition of your ticket included in
a ticket definition file and the two commands @code{\\ticketdefault} and
@code{\\ticket}.")
    (license license:lppl1.3+)))

(define-public texlive-tipauni
  (package
    (name "texlive-tipauni")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tipauni/" "source/latex/tipauni/"
                                     "tex/latex/tipauni/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1wwanhv28azbmx7wsx4xwxr1mbpzxz34kxin8dyl3ds816w0m6ar"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tipauni")
    (synopsis "Producing Unicode characters with TIPA commands")
    (description
     "Package TIPA uses the T3 encoding for producing IPA characters.  The package
is widely used in the field of linguistics, but because of the old encoding,
the output documents are less productive than Unicode-based documents.  This
package redefines most of the TIPA-commands for outputting Unicode characters.
Users can now use their beloved TIPA shortcuts with the benefits of Unicode,
i.e., searchability, copy-pasting, changing the font and many more.

As this package needs the @code{fontspec} package for loading an IPA font, it
needs to be compiled with XeLaTeX or LuaLaTeX.  This package can also be
viewed as an ASCII-based input method for producing IPA characters in Unicode.
It needs the New Computer Modern font for printing IPA characters.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-titlecaps
  (package
    (name "texlive-titlecaps")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/titlecaps/"
                                     "tex/latex/titlecaps/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0v921cy02dm72q60976vijpcbp5zpwljgr7y8ry5n4gqzzinnfbj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/titlecaps")
    (synopsis "Setting rich-text input into titling caps")
    (description
     "The package is intended for setting rich text into titling capitals (in which
the first character of words are capitalized).  It automatically accounts for
diacritical marks (like umlauts), national symbols (like @samp{ae}),
punctuation, and font changing commands that alter the appearance or size of
the text.  It allows a list of predesignated words to be protected as
lower-cased, and also allows for titling exceptions of various sorts.")
    (license license:lppl1.3+)))

(define-public texlive-titlefoot
  (package
    (name "texlive-titlefoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "tex/latex/titlefoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0c0nhhxhb3hmvg3a64lr5npbqsmrmprqqj9pic91j007k4s1in4y"))))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/titlefoot")
    (synopsis "Add special material to footer of title page")
    (description
     "This package provides the capability of adding keywords (with
a @code{\\keywords} command), a running title (@code{\\runningtitle}), AMS
subject classifications (@code{\\amssubj}), and an author's footnote as
footnotes to the title or first page of a document.  It works with any class
for which the @code{\\thanks} macro works (e.g., @code{article}).")
    (license license:lppl)))

(define-public texlive-titlepic
  (package
    (name "texlive-titlepic")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/titlepic/" "tex/latex/titlepic/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mqmcqyh7c109m158n38mv0jhxlppdb92ki2g38g9y9gaq6jbr49"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/titlepic")
    (synopsis "Add picture to title page of a document")
    (description
     "The package allows you to place a picture on the title page (cover page) of
a LaTeX document.  The package currently only works with the document classes
@code{article}, @code{report} and @code{book}.")
    (license license:public-domain)))

(define-public texlive-titleref
  (package
    (name "texlive-titleref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/titleref/" "tex/latex/titleref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16s0kqln0mzs9mqnsw8rv5rpqizpd3r3lgmw3wl1yrrbq11n9grh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/titleref")
    (synopsis "@code{\\titleref} command to cross-reference section titles")
    (description
     "This package defines a command @code{\\titleref} that allows you to
cross-reference section (and chapter, etc) titles and captions just like
@code{\\ref} and @code{\\pageref}.  The package does not interwork with
@code{hyperref}; if you need @code{hypertext} capabilities, use @code{nameref}
instead.")
    (license license:public-domain)))

(define-public texlive-to-be-determined
  (package
    (name "texlive-to-be-determined")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/to-be-determined/"
                                     "source/latex/to-be-determined/"
                                     "tex/latex/to-be-determined/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jvyvcrnz8vv17rjd3mxb25d2ljrlkmmcl8qk3bnr19gpb4a1vcb"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-soul texlive-xcolor))
    (home-page "https://ctan.org/pkg/to-be-determined")
    (synopsis "Highlight text passages that need further work")
    (description
     "This package provides a single command @code{\\tbd} which highlights the
pieces of text that need to be rewritten later.  You can hide them all with
a single package option hide, or just make them disappear entirely with the
option off.")
    (license license:expat)))

(define-public texlive-tocdata
  (package
    (name "texlive-tocdata")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tocdata/" "source/latex/tocdata/"
                                     "tex/latex/tocdata/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "152p77qi16vfz41707azwixs7x8r2wsp8zzk72k6pjdmdrlcvyjr"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tocdata")
    (synopsis "Adds names to chapters, sections, figures in the TOC and LOF")
    (description
     "The @code{tocdata} package may be used to add a small amount of data to an
entry in the table of contents or list of figures, between the section or
caption name and the page number.  The typical use would be to add the name of
an author or artist of a chapter or section, such as in an anthology or
a collection of papers.  Additionally, user-level macros are provided which
add the author's name to a chapter or section, along with an optional prefix
and/or suffix, and add to a figure the artist's name, prefix, and suffix, plus
optional additional text.  Author and artist names are also added to the
index.  Additional user-level macros control formatting.  @code{tocdata} works
with the TOC/LOF formatting of the default LaTeX classes, @code{memoir},
@code{koma-script}, and with @code{titletoc}, @code{tocloft}, @code{tocbasic},
and @code{tocstyle}.")
    (license license:lppl1.3+)))

(define-public texlive-todo
  (package
    (name "texlive-todo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/todo/" "source/latex/todo/"
                                     "tex/latex/todo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0fdj17gg0c77qa7lq9xhh9dc85navhzdgfm2lfis480n4yw7wbfq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/todo")
    (synopsis "Make a to-do list for a document")
    (description
     "The package allows you to insert ``to do'' marks in your document, to make
lists of such items, and to cross-reference to them.")
    (license license:lppl1.0+)))

(define-public texlive-tokcycle
  (package
    (name "texlive-tokcycle")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/tokcycle/"
                                     "tex/generic/tokcycle/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jwpj78wc50zg2wp1mdylhc025cvz1zd548ivfixdw3lmd2wdc8s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tokcycle")
    (synopsis "Build tools to process tokens from an input stream")
    (description
     "The @code{tokcycle} package helps one to build tools to process tokens from
an input stream.  If a macro to process an arbitrary single token can be
built, then @code{tokcycle} can provide a wrapper for cycling through an input
stream (including macros, spaces, and groups) on a token-by-token basis, using
the provided macro on each successive character.  @code{tokcycle}
characterizes each successive token in the input stream as a @samp{Character},
a @samp{Group}, a @samp{Macro}, or a @samp{Space}.  Each of these token
categories are processed with a unique directive, to bring about the desired
effect of the token cycle.  If condition flags are provided to identify
active, implicit, and catcode-6 tokens as they are digested.  The package
provides a number of options for handling groups.")
    (license license:lppl1.3c)))

(define-public texlive-tokenizer
  (package
    (name "texlive-tokenizer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tokenizer/"
                                     "tex/latex/tokenizer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0gvqn1rc3aq7kzmg6vibwgcpvpzsqkdfbp5im43405zl3d7rzhb9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tokenizer")
    (synopsis "Tokenizer for LaTeX")
    (description
     "This package provides a tokenizer for LaTeX.
@code{\\GetTokens@{Target1@}@{Target2@}@{Source@}} splits source into two
tokens at the first encounter of a comma.  The first token is saved in a newly
created command with the name passed as @samp{<Target1>} and the second token
likewise.  A package option @code{trim} causes leading and trailing space to
be removed from each token; with this option, the @code{\\TrimSpaces} command
is defined, which removes leading and trailing spaces from its argument.")
    (license license:lppl)))

(define-public texlive-toolbox
  (package
    (name "texlive-toolbox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/toolbox/" "source/latex/toolbox/"
                                     "tex/latex/toolbox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08l1hn7ag065lmjlnap1kpa6xqppk24k81y0vm1ka45idwxi08ih"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/toolbox")
    (synopsis "Tool macros")
    (description
     "This package provides some macros convenient for writing indexes,
glossaries, or other macros.  It contains macros which support: implicit
macros; fancy optional arguments; loops over tokenlists and itemlists;
searching and splitting; controlled expansion; redefinition of macros; and
concatenated macro names; macros for text replacement.")
    (license license:lppl)))

(define-public texlive-topfloat
  (package
    (name "texlive-topfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/topfloat/" "tex/latex/topfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04m5avwr7v713k6ygbs23bvpk761c2m7cvmq677zwfq6983abrrf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/topfloat")
    (synopsis "Move floats to the top of the page")
    (description "This package moves floats to the top of the page.")
    (license license:gpl3+)))

(define-public texlive-topiclongtable
  (package
    (name "texlive-topiclongtable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/topiclongtable/"
                                     "tex/latex/topiclongtable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ib9d3an7glqgc329f5krjjqf5cdwrpdzfv2b9sl6hpfyw0z7r7f"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/topiclongtable")
    (synopsis "Extend longtable with cells that merge hierarchically")
    (description
     "This LaTeX package extends @code{longtable} implementing cells that: merge
with the one above if it has the same content, do not merge with the one above
unless the ones on the left are merged, are well behaved with respect to
@code{longtable} chunking on page breaks, and automatically draw the correct
separation lines.  The typical use case is a table spanning multiple pages
that contains a list of hierarchically organized topics.")
    (license license:expat)))

(define-public texlive-totalcount
  (package
    (name "texlive-totalcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/totalcount/"
                                     "source/latex/totalcount/"
                                     "tex/latex/totalcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1c24h0snldg1lpijsm7h65dr7bs32dk6nsvlgmcc92kmxc13y9lj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/totalcount")
    (synopsis "Commands for typesetting total values of counters")
    (description
     "This LaTeX package offers commands for typesetting total values of counters.")
    (license license:lppl1.3+)))

(define-public texlive-tramlines
  (package
    (name "texlive-tramlines")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tramlines/"
                                     "tex/latex/tramlines/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0q843pxar0l69h74ywiw9jr9f1rvwj64y4257cz4wn8y4dimyrv9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tramlines")
    (synopsis
     "Creae tramlines (lines above and below a title used by lawyers in the UK)")
    (description
     "This package automatically creates tramlines (lines above and below a title
used by lawyers in the UK and the Commonwealth).")
    (license (list license:lppl1.3c license:cc-by-sa3.0))))

(define-public texlive-trfsigns
  (package
    (name "texlive-trfsigns")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/trfsigns/"
                                     "source/latex/trfsigns/"
                                     "tex/latex/trfsigns/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0j2zlydfxbdmx5ligdw2gqkqbb5mcajmag05c4b99ijr2q58ccyh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/trfsigns")
    (synopsis "Typeset transform signs")
    (description
     "This package provides a package for typesetting various transformation signs
for Laplace transforms, Fourier transforms and others.")
    (license license:gpl3+)))

(define-public texlive-trivfloat
  (package
    (name "texlive-trivfloat")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/trivfloat/"
                                     "source/latex/trivfloat/"
                                     "tex/latex/trivfloat/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0kf431k8fvg69a2v5xp37q274bs0834ychc3cybwsjhisq0nzsmn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/trivfloat")
    (synopsis "Quick float definitions in LaTeX")
    (description
     "The @code{trivfloat} package provides a quick method for defining new float
types in LaTeX.  A single command sets up a new float in the same style as the
LaTeX kernel @code{figure} and @code{table} float types.  The package works
with @code{memoir} as well as the standard classes.")
    (license license:lppl)))

(define-public texlive-trsym
  (package
    (name "texlive-trsym")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/trsym/"
                                     "fonts/source/public/trsym/"
                                     "fonts/tfm/public/trsym/"
                                     "source/latex/trsym/" "tex/latex/trsym/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1njz8i5p98f9msnn9x1806jaifwm2h3ffjyn2wx7cyca9f628gx6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (native-inputs (list texlive-metafont))
    (home-page "https://ctan.org/pkg/trsym")
    (synopsis "Symbols for transformations")
    (description
     "The bundle provides Metafont source for a small font used for, e.g., Laplace
transformations, together with a LaTeX @file{.fd} file and a package providing
commands for the symbols use in mathematics.")
    (license license:lppl1.2+)))

(define-public texlive-truncate
  (package
    (name "texlive-truncate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/truncate/" "tex/latex/truncate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zxcn84lrl07cjiw4gzg2fnkriwfv8ziww5grbvfhffwqpaf8mgj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/truncate")
    (synopsis "Truncate text to a specified width")
    (description
     "The package will by default break at word boundaries, but package options are
offered to permit breaks within words.")
    (license license:public-domain)))

(define-public texlive-tucv
  (package
    (name "texlive-tucv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/tucv/" "source/latex/tucv/"
                                     "tex/latex/tucv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "127cqbyprmm5mh3nl0y3088105qv40qghq70prrd50269h89cyrl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/tucv")
    (synopsis "Support for typesetting a CV or resumee")
    (description
     "The package provides commands for typesetting a CV or resume.  It provides
commands for general-purpose headings, entries, and item/description pairs, as
well as more specific commands for formatting sections, with explicit
inclusion of school, degree, employer, job, conference, and publications
entries.  It tends to produce a somewhat long and quite detailed document but
may also be suitable to support a shorter resume.")
    (license license:cc-by-sa3.0)))

(define-public texlive-turnthepage
  (package
    (name "texlive-turnthepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/turnthepage/"
                                     "tex/latex/turnthepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cm62cykmf7h6piazaa44fkhbkxds1ik6idpvg4f296y7jz6mjjh"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/turnthepage")
    (synopsis "Provide ``turn page'' instructions")
    (description
     "The package prints a turn instruction at the bottom of odd-numbered
pages (except the last).  This is a common convention for examination papers
and the like.")
    (license license:lppl)))

(define-public texlive-twoinone
  (package
    (name "texlive-twoinone")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/twoinone/" "tex/latex/twoinone/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0asph7md8s5x2y8f18cczca906fc5wkh29ydabs43v3mn17lrkpw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/twoinone")
    (synopsis "Print two pages on a single page")
    (description
     "The package is for printing two pages on a single (landscape) A4 page.
Page numbers appear on the included pages, and not on the landscape container
page.")
    (license license:public-domain)))

(define-public texlive-twoup
  (package
    (name "texlive-twoup")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/twoup/" "source/latex/twoup/"
                                     "tex/latex/twoup/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s33w3mvpkw2jy2vxfbbagasxc37vi09dlkn9kbi0917mz8k5i70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/twoupltx")
    (synopsis "Print two virtual pages on each physical page")
    (description
     "Some tools massage PostScript into booklet and two-up printing --- that is,
printing two logical pages side by side on one side of one sheet of paper.
However, some LaTeX preliminaries are necessary to use those tools.  The
@code{twoup} package provides such preliminaries and gives advice on how to
use the PostScript tools.")
    (license license:lppl)))

(define-public texlive-txgreeks
  (package
    (name "texlive-txgreeks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/txgreeks/"
                                     "source/latex/txgreeks/"
                                     "tex/latex/txgreeks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1n5bn8jd3czcns0rhslndmqh4sgka8ym12bpps1xhz5z64lsfbjj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/txgreeks")
    (synopsis "Shape selection for TX fonts Greek letters")
    (description
     "The package allows LaTeX users who use the TX fonts to select the
shapes (italic or upright) for the Greek lowercase and uppercase letters.
Once the shapes for lowercase and uppercase have been selected via a package
option, the @samp{\\other} prefix (e.g., @code{\\otheralpha}) allows using the
alternate glyph (as in the @code{fourier} package).  The @code{txgreeks}
package does not constrain the text font that may be used in the document.")
    (license license:lppl1.3+)))

(define-public texlive-typed-checklist
  (package
    (name "texlive-typed-checklist")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/typed-checklist/"
                                     "source/latex/typed-checklist/"
                                     "tex/latex/typed-checklist/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1g0qcw8b461qsmic1xr00zzqcv84xqwdrdq9zs4klxyb3y5d0389"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typed-checklist")
    (synopsis
     "Typesetting tasks, goals, milestones, artifacts, and more in LaTeX")
    (description
     "The main goal of this package is to provide means for typesetting checklists
in a way that stipulates users to explicitly distinguish checklists for goals,
for tasks, for artifacts, and for milestones --- i.e., the type of checklist
entries.  The intention behind this is that a user of the package is coerced
to think about what kind of entries he/she adds to the checklist.  This shall
yield a clearer result and, in the long run, help with training to distinguish
entries of different types.")
    (license license:lppl1.2+)))

(define-public texlive-typeface
  (package
    (name "texlive-typeface")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/typeface/"
                                     "source/latex/typeface/"
                                     "tex/latex/typeface/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xyqvqvk06ca4rcgw917abprz5qi8kqsrm5z89ws1n72vyzfjhgm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typeface")
    (synopsis "Select a balanced set of fonts")
    (description
     "The package provides the means of establishing a consistent set of fonts for
use in a LaTeX document.  It allows mixing and matching the Type 1 font sets
available on the archive.  Font-set definition takes the form of a set of
options that are read when the package is loaded: for each typographic
category (main body font, sans-serif font, monospace font, mathematics fonts,
text figures, and so on), a font or a transformation is given in those
options.  The approach enables the user to remember their own
configurations (as a single command) and to borrow configurations that other
users have developed.")
    (license license:lppl1.3+)))

(define-public texlive-typoaid
  (package
    (name "texlive-typoaid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/typoaid/" "tex/latex/typoaid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qf84xagz2lcfygfs2k7pgml85d6nf7k5psf274a1hq1djn19rdf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typoaid")
    (synopsis "Macros for font diagnostics")
    (description
     "This package provides macros for measuring alphabet lengths (i.e., the length
occupied by the characters @samp{abcd...xyz}), em-widths and ex-heights, which
may help in making typesetting decisions.")
    (license license:lppl1.3c)))

(define-public texlive-typogrid
  (package
    (name "texlive-typogrid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/typogrid/"
                                     "source/latex/typogrid/"
                                     "tex/latex/typogrid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08hq2zcr2xd73qfh0f05d33sn1zvwnizrsr8r82mb3vsnbyczn0b"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/typogrid")
    (synopsis "Print a typographic grid")
    (description
     "This package draws a grid on every page of the document; the grid divides the
page into columns, and may be used for fixing measurements of layout.")
    (license license:lppl)))

(define-public texlive-uassign
  (package
    (name "texlive-uassign")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uassign/" "tex/latex/uassign/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qfj5z9ljd5x169jcr8dv09ajib9cc1m2hwq0ymz95qc17s7rk5l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uassign")
    (synopsis
     "Environments and options for typesetting university assignments")
    (description
     "The purpose of this package is to provide simple question and solution style
environments for typesetting university assignments.")
    (license license:lppl)))

(define-public texlive-uebungsblatt
  (package
    (name "texlive-uebungsblatt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uebungsblatt/"
                                     "tex/latex/uebungsblatt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "00vgn9qv9xl0afj37r2nlvw51vb3qfdd8an5az8f7mqkydi33ppa"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uebungsblatt")
    (synopsis "LaTeX class for writing exercise sheets")
    (description
     "This package implements a LaTeX class for writing exercise sheets for
a lecture.  Its features are:

@itemize

@item quick typesetting of exercise sheets or their revisions,

@item simple user friendly commands,

@item elegant page formatting,

@item automatic numbering of exercises and sub-exercises,

@item the number of the exercise sheet is extracted automatically from the
file name,

@item static information about the lectures and the authors needs to provided
at one point only.

@end itemize")
    (license license:lppl)))

(define-public texlive-umoline
  (package
    (name "texlive-umoline")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/umoline/" "source/latex/umoline/"
                                     "tex/latex/umoline/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z1yaqvaxx9a0s6dzjx7g88f97zjq262c6f1jqkdvckmjy3zqd9w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/umoline")
    (synopsis "Underline text allowing line breaking")
    (description
     "This package provides commands @code{\\Underline}, @code{\\Midline} and
@code{\\Overline} for underlining, striking out, and overlining their text
arguments.")
    (license license:lppl)))

(define-public texlive-underlin
  (package
    (name "texlive-underlin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/underlin/"
                                     "source/latex/underlin/"
                                     "tex/latex/underlin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0537jv5m1xbib1db64skxs46qfjj7x00l89xn0rjr9w2mxksii5g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/underlin")
    (synopsis "Underlined running heads")
    (description
     "This package defines two pagestyles that provide underlined page heads in
LaTeX.")
    (license license:lppl)))

(define-public texlive-underoverlap
  (package
    (name "texlive-underoverlap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/underoverlap/"
                                     "tex/latex/underoverlap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ah8y9ninlkizjqi74qh4kxa23334pa58bnhl1g5n12vh80c4177"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/underoverlap")
    (synopsis "Position decorations over and under expressions")
    (description
     "The package overcomes TeX's inherent limitations in commands that place
decorations (such as braces) at arbirary positions over and under expressions,
overlapping as necessary.")
    (license license:lppl1.3+)))

(define-public texlive-uni-titlepage
  (package
    (name "texlive-uni-titlepage")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uni-titlepage/"
                                     "source/latex/uni-titlepage/"
                                     "tex/latex/uni-titlepage/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1khnplr3ac51bkp57mj199f12yhz9zi5wrjfircbswlp2hn4lla5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uni-titlepage")
    (synopsis
     "Universal titlepages with configuration options and predefined styles")
    (description
     "Creation of title pages is something most authors should not have to do.  But
reality is not perfect, so a lot of authors have to do it.  This package not
only provides several pages for the title instead of only one --- at least
five are typical for a thesis! ---, it also provides a bunch of predefined
titlepage styles with several standard elements, and optionally additional
elements.")
    (license license:lppl1.3c)))

(define-public texlive-unicodefonttable
  (package
    (name "texlive-unicodefonttable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unicodefonttable/"
                                     "source/latex/unicodefonttable/"
                                     "tex/latex/unicodefonttable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jfdyxqndq8bv0d8cpbrlaghby58xpfjfx3svfhyrh369aaq8ls5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unicodefonttable")
    (synopsis "Unicode font table generator")
    (description
     "This package produces font tables for Unicode fonts as well as for 8-bit fonts.
The table layout can be adjusted in various ways including restricting the
range of output to show only a portion of a specific font.  To quickly produce
a one-off table there is a stand-alone version @file{unicodefont.tex} that
asks you a few questions and then generates the table --- somewhat similar to
@file{nfssfont.tex} for 8-bit fonts.")
    (license license:lppl1.3c)))

(define-public texlive-unisc
  (package
    (name "texlive-unisc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unisc/" "source/latex/unisc/"
                                     "tex/latex/unisc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0rrpaga6hny2v8qv5kx860zn8b9j8ypy3bmq4a5nadscg08g7v17"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unisc")
    (synopsis "Unicode small caps with Lua/XeLaTeX")
    (description
     "LaTeX produces small caps with @code{\\textsc@{text@}} or @code{@{\\scshape
text@}}.  Neither of these commands produce small caps in Unicode.  If the
output text is copied and pasted somewhere it shows the same characters as
used in the input.  This package aims to internally convert all the characters
provided to the commands mentioned above.  It assumes that the file using this
package is compiled with Lua/XeLaTeX and a good Unicode font which has the
small caps characters, e.g., Charis SIL.")
    (license (list license:gpl3+ license:fdl1.3+))))

(define-public texlive-unitconv
  (package
    (name "texlive-unitconv")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/unitconv/"
                                     "tex/lualatex/unitconv/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0z10w79cddldw1rm9xzsr610ydn9hczx7dfda9n8g6wlpwhal0ps"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unitconv")
    (synopsis "Convert a length into one with another unit")
    (description
     "This package defines two macros to convert a value with unit into one with
another unit.  Supported are all TeX related units, and also @samp{km} and
@samp{m}.  The output can be in scientific notation for large values.  The
package only works with LuaLaTeX.")
    (license license:lppl1.3+)))

(define-public texlive-unravel
  (package
    (name "texlive-unravel")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/unravel/" "source/latex/unravel/"
                                     "tex/latex/unravel/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "12q9y2g7rq37wf3ihqqrnj4phxfi68mv2fnia921421a1nqfnij2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/unravel")
    (synopsis "Watching TeX digest tokens")
    (description
     "The aim of this LaTeX package is to help debug complicated macros.  This is
done by letting the user step through the execution of some TeX code, going
through the details of nested expansions, performing assignments, as well as
some simple typesetting commands.  To use this package, one should normally
run TeX in a terminal.")
    (license license:lppl1.3c)))

(define-public texlive-upmethodology
  (package
    (name "texlive-upmethodology")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "bibtex/bst/upmethodology/"
                                     "doc/latex/upmethodology/"
                                     "tex/latex/upmethodology/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1118xx6bjxj6lzqqf124r1ir0x627z0gyimdvnnscyag5n5jyqfd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/upmethodology")
    (synopsis "Writing specifications such as for UP-based methodologies")
    (description
     "The bundle allows the user to create Unified Process methodology (UP or RUP)
based documents.  The style provides document versioning, document history,
document authors, document validators, specification description, task
management, and several helping macros.")
    (license license:lgpl3)))

(define-public texlive-uri
  (package
    (name "texlive-uri")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uri/" "source/latex/uri/"
                                     "tex/latex/uri/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1vljxmd8fp5jfh8z223z2hh9rl40kiscvsp9y49k0677a1qk8yhq"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uri")
    (synopsis "Hyperlinks for a wide range of URIs")
    (description
     "The package provides automatic hyperlinks for URIs of type arXiv, ASIN,
DOI, HDL, NBN, OCLC, OID, PubMed, TINY, TINY with preview, and WebCite.  It
provides commands @code{\\citeurl}, @code{\\mailto}, @code{\\ukoeln}, and
@code{\\uref}.")
    (license license:lppl1.3c)))

(define-public texlive-ushort
  (package
    (name "texlive-ushort")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ushort/" "source/latex/ushort/"
                                     "tex/latex/ushort/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16pkrlb1v67ydjis2w3gz20i9rkmjnaidh47sxwpn62gpjgy01gw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ushort")
    (synopsis "Shorter (and longer) underlines and underbars")
    (description
     "Some engineers need underlined or twice underlined variables for which the
usual @code{\\underline} is too long.  This package provides a generic command
for creating underlines of various sizes and types.")
    (license license:lppl)))

(define-public texlive-uspace
  (package
    (name "texlive-uspace")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uspace/" "tex/latex/uspace/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0998pxjsjrbziy0pib2gbg6695nl9klz9f9i3qsczrby6zhihrgd"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uspace")
    (synopsis "Giving meaning to various Unicode space characters")
    (description
     "This LaTeX package gives meaning to various Unicode space characters.")
    (license license:expat)))

(define-public texlive-utf8add
  (package
    (name "texlive-utf8add")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/utf8add/" "tex/latex/utf8add/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0chqx3l9c4khw20gdj3pr25hky3xgmwi39y2jy6im6y1nyhwxm4s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/utf8add")
    (synopsis "Additional support for UTF-8 encoded LaTeX input")
    (description
     "This bundle contains the LaTeX packages @file{utf8add.sty} and
@file{utf8hax.sty}.  The @code{utf8add} package provides additional support
for the use of UTF-8 encoded input.  This is intended for making LaTeX input
more readable.  The @code{utf8hax} package is using UTF-8 characters for
easier access to math in LaTeX, however making the LaTeX input less readable.")
    (license license:gpl3+)))

(define-public texlive-uwmslide
  (package
    (name "texlive-uwmslide")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/uwmslide/" "tex/latex/uwmslide/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mwm4j9gsq8kmqx1wrh9ri7w9hlhqa5721a77rlpyxz18kzwv366"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/uwmslide")
    (synopsis "Slides with a simple PowerPoint-like appearance")
    (description
     "This package provides a slide format which produces slides with a simple
PowerPoint-like appearance.  Several useful features include:

@itemize

@item use of standard titlepage to produce title slide;

@item several slide environments including plain (page with a title), double
slide (two column page with slide title), item slide (item list with title),
left item slide, and right item slide;

@item Logos are placed in the upper left corner of each slide if the logo file
@file{logo.eps} is present.

@end itemize

The output is pre-configured in landscape mode and uses Times Roman by
default.")
    (license license:artistic2.0)))

(define-public texlive-variablelm
  (package
    (name "texlive-variablelm")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/fonts/variablelm/"
                                     "tex/latex/variablelm/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jlcvsz8ah8s33vqbnw13mgap3k8lh4p6ap1bwf6czwyq7m5r47h"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/variablelm")
    (synopsis "Font definitions for the variable Latin Modern fonts")
    (description
     "This package provides a mechanism for scaling a typeface.  It is directed at
the Latin Modern fonts and provides the font definitions and the corresponding
style file.  This mechanism is useful in mixed text compositions, for example
Japanese-Latin.")
    (license license:gfl1.0)))

(define-public texlive-varindex
  (package
    (name "texlive-varindex")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/varindex/"
                                     "source/latex/varindex/"
                                     "tex/latex/varindex/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "079blfmdil8dhw8qxbwp6n2kgxqc92yn8fjlk8zahkkvims89xaj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/varindex")
    (synopsis "Luxury frontend to the @code{\\index} command")
    (description
     "This package provides a convenient front-end for the @code{\\index} command.
For example, with it you can generate multiple index entries in almost any
form by a single command.")
    (license license:lppl)))

(define-public texlive-varsfromjobname
  (package
    (name "texlive-varsfromjobname")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/varsfromjobname/"
                                     "tex/latex/varsfromjobname/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1b6k85hxz2frz33cqdbkhqa204s43r6sd44i2qjihicgwlnv2q60"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/varsfromjobname")
    (synopsis "Extract variables from the name of the LaTeX file")
    (description
     "The package allows the user to extract information from the job name,
provided that the name has been structured appropriately: the package expects
the file name to consist of a set of words separated by hyphens.")
    (license license:lppl)))

(define-public texlive-vcell
  (package
    (name "texlive-vcell")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vcell/" "tex/latex/vcell/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y4gxf5waxs7n9xb9qbraa9isk11pvxm5737z0j069kg6bkra5rl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vcell")
    (synopsis "Vertical alignment of content inside table cells")
    (description
     "This package offers low-level macros to build rows with vertically-aligned
cells (top, middle or bottom) and calculate the height of a row.  These cells
can have variable or fixed height and can be paragraph-cells or inline-cells.
Different vertical alignments can be used in the same row.")
    (license license:lppl1.3c)))

(define-public texlive-vdmlisting
  (package
    (name "texlive-vdmlisting")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vdmlisting/"
                                     "tex/latex/vdmlisting/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0yhgql2gflygjhx5mz87qqyiny7j0wpiqs2yvpmzm57linna3vzn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vdmlisting")
    (synopsis "Typesetting VDM in ASCII syntax")
    (description
     "The package is an extension for the @code{listings} package that provides
a source code printer for LaTeX.  This package defines new language
definitions and listing environments for the three language dialects of the
Vienna Development Method: VDM-SL, VDM-PP and VDM-RT.  If one wants to typeset
VDM with a mathematical syntax instead of the ASCII syntax used here, one
should use the @code{vdm} pacakge instead.")
    (license license:lppl1.3+)))

(define-public texlive-verbasef
  (package
    (name "texlive-verbasef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verbasef/" "tex/latex/verbasef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0qs4142zgygcp7yl69mz1i92plnkkp61qb1icjzpw8g7myxyhn9a"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verbasef")
    (synopsis "VERBatim Automatic Splitting of External Files")
    (description
     "The package allows you to input (subsections of a) file, print them in
verbatim mode, while automatically breaking up the input lines into pieces of
a given length, which are output as figures.  These figures are posted using
the @samp{[H]} specification, which forces LaTeX to place the figure at the
spot of invocation, rather than floating the figures to the top of the next
page.")
    (license license:gpl3+)))

(define-public texlive-verbatimcopy
  (package
    (name "texlive-verbatimcopy")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verbatimcopy/"
                                     "tex/latex/verbatimcopy/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nmni0l73rjsapixl27i2hxp17psa73pycwkvvql4n1x9zl7yw9w"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verbatimcopy")
    (synopsis "Make copies of text documents from within LaTeX")
    (description
     "This package provides @code{\\VerbatimCopy@{in@}@{out@}} that will enable
LaTeX to take a verbatim copy of one text file, and save it under another
name.  The package provides a means to specify the output directory to be
used, but does no checking and may therefore overwrite an important file if
used injudiciously.")
    (license license:lppl)))

(define-public texlive-verbdef
  (package
    (name "texlive-verbdef")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verbdef/" "tex/latex/verbdef/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1l6sm2mk7c197qicxlagl1hrfcaqswpq7b5a22i7m7gq1wpa8yvg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verbdef")
    (synopsis "Define commands which expand to verbatim text")
    (description
     "The package defines a single command @code{\\verbdef} (which has a starred
form, like @code{\\verb}).  @code{\\verbdef} will define a robust command
whose body expands to verbatim text.  By using commands defined by
@code{\\verbdef}, one can put verbatim text into the arguments of commands;
since the defined command is robust, it doesn't matter if the argument is
moving.")
    (license license:lppl)))

(define-public texlive-verbments
  (package
    (name "texlive-verbments")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verbments/"
                                     "tex/latex/verbments/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0lsxr6mibc8v8wfabdph5mnf8zf77yk6s0qnz5p85g9z2fdvpgvf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verbments")
    (synopsis "Syntax highlighting of source code in LaTeX documents")
    (description
     "The package provides an environment for syntax highlighting source code in
LaTeX documents.  The highlighted source code output is formatted via Pygments
library of the Python language.")
    (license license:lppl1.2+)))

(define-public texlive-verifiche
  (package
    (name "texlive-verifiche")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/verifiche/"
                                     "source/latex/verifiche/"
                                     "tex/latex/verifiche/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1pppqsr4sp9j59c4hp6dx2fvpjnl7q0x9md09sfgdsk57nxjklii"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/verifiche")
    (synopsis "Typeset (Italian) high school tests")
    (description
     "The purpose of this package is to manage the exercises for a test, their
points, levels of difficulty, and solutions.  Some typical formats of
exercises are already implemented: plain exercise, ``complete the text'',
``true or false'', closed questions, open questions, and ``find the error''.")
    (license license:lppl1.3+)))

(define-public texlive-version
  (package
    (name "texlive-version")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/version/" "tex/latex/version/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1m4w450kgv92r41cqsxxn697h59bdsmms6icvhbfg5wq819k917v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/version")
    (synopsis "Conditionally include text")
    (description
     "This package defines macros @code{\\includeversion@{@var{NAME}@}} and
@code{\\excludeversion@{@var{NAME}@}}, each of which defines an environment
@var{NAME} whose text is to be included or excluded from compilation.

Although the command syntax is very similar to that of @code{comment},
@file{comment.sty} is to be preferred to @file{version.sty} for documents
where significant chunks of text may be excluded.")
    ;; These macros may be freely used, transmitted, reproduced, or modified
    ;; provided that the copyright notice and this permission is retained.
    (license (license:fsf-free "file://tex/latex/version/version.sty"))))

(define-public texlive-versions
  (package
    (name "texlive-versions")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/versions/" "tex/latex/versions/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zq8vp85hsy8c6yjhpjslr8063q95w5rnyv23kkks44bkcgrac8l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/versions")
    (synopsis "Optionally omit pieces of text")
    (description
     "Stephan Bellantoni's @code{version} has provided preamble commands for
selecting environments to be included/excluded.  This package does the same,
but corrects, improves, and extends it in both implementation and function.")
    (license license:lppl1.3+)))

(define-public texlive-versonotes
  (package
    (name "texlive-versonotes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/versonotes/"
                                     "source/latex/versonotes/"
                                     "tex/latex/versonotes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xa80kbcqq8xdpz8q01z71qc0v5qyvdzg9n0dkwpp5nd8x1dki00"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/versonotes")
    (synopsis "Display brief notes on verso pages")
    (description
     "This package allows you to place notes on the verso pages of an otherwise
single-sided document.")
    (license license:lppl1.3+)))

(define-public texlive-vertbars
  (package
    (name "texlive-vertbars")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vertbars/" "tex/latex/vertbars/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kqj1f1x9apssr678y0d85x5wlc338i3dmdn3ln3mb5bgm6hbwj5"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vertbars")
    (synopsis "Mark vertical rules in margin of text")
    (description
     "This package is an extension to @code{lineno}, replacing that package's line
numbers with bars to the left or right of the text.")
    (license license:lppl1.3c)))

(define-public texlive-vgrid
  (package
    (name "texlive-vgrid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vgrid/" "source/latex/vgrid/"
                                     "tex/latex/vgrid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1czaf1rz4x7wsinnk6mg78674azg5hnyi53rwh64bv2lzs3l0ah1"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vgrid")
    (synopsis "Overlay a grid on the printed page")
    (description
     "The package overlays a grid (whose spacing is @code{\\baselineskip}, which
offers guidelines for considering the ``rhythm'' of the document on the page.")
    (license license:lppl1.3+)))

(define-public texlive-vhistory
  (package
    (name "texlive-vhistory")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vhistory/" "tex/latex/vhistory/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0s7p56x77yqhrmmf46y3ip703xr49dc0cs4h32qf42ahh6psw8pn"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vhistory")
    (synopsis "Support for creating a change log")
    (description
     "Vhistory simplifies the creation of a history of versions of a document.
You can easily extract information like the current version of a list of
authors from that history.  It helps you to get consistent documents.  The
package @code{sets}, which is used by @code{vhistory}, allows you to use sets
containing text.  You can use the usual operations to create the union of sets
or the intersection of sets etc.")
    (license license:lppl1.2+)))

(define-public texlive-vmargin
  (package
    (name "texlive-vmargin")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vmargin/" "source/latex/vmargin/"
                                     "tex/latex/vmargin/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0548wbh05b6ga8fxvarmsai8kzadcgix5zkh5l4a4ym4lsdgb47l"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vmargin")
    (synopsis "Set various page dimensions")
    (description
     "This package provides a macro to set various margins as well as dimensions
for header/footer and page dimensions.  Most common paper sizes, paper
orientation, disabling of headers and footers, and two sided printing are
supported.

The user interface might not be very fancy, but it's fast, small, and gets the
job done.  If you are looking for something more elaborate try the
@code{geometry} package.")
    (license license:lppl)))

(define-public texlive-volumes
  (package
    (name "texlive-volumes")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/volumes/" "source/latex/volumes/"
                                     "tex/latex/volumes/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06q6p31m11p3iavksrs7hrbgbsmxhfsq0qh3h96jch0xf46dyy4c"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/volumes")
    (synopsis "Typeset only parts of a document, with complete indexes etc")
    (description
     "This package helps you if you want to produce separate printed volumes from
one LaTeX document, as well as one comprehensive, all-inclusive version.  It
suppresses the part of the table of contents that are not typeset, while
counters, definitions, index entries etc., are kept consistent throughout the
input file.")
    (license license:lppl)))

(define-public texlive-vpe
  (package
    (name "texlive-vpe")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vpe/" "scripts/vpe/"
                                     "tex/latex/vpe/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1mic6ljwfx50rassr1rr8ymqvbiblbpvrcdqkvwbahxxirjdj1xl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments
     (list #:link-scripts #~(list "vpe.pl")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/vpe")
    (synopsis "Source specials for PDF output")
    (description
     "VPE is a system to make the equivalent of source special marks in a PDF
file.  Clicking on a mark will activate an editor, pointing at the source line
that produced the text that was marked.  The system comprises a Perl
file (@file{vpe.pl}) and a LaTeX package (@file{vpe.sty}).")
    (license license:lppl)))

(define-public texlive-vruler
  (package
    (name "texlive-vruler")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vruler/" "tex/latex/vruler/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06yvgz6bl6xjkvf7a4nwdsrpdql97bg812vh7s524f7y3whka1lp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vruler")
    (synopsis "Numbering text")
    (description
     "The package offers facilities for adding a columns of numbering to the
general text so that the text can be properly referenced.  The vertical ruler
can be scaled and moved freely.")
    (license license:lppl1.0+)))

(define-public texlive-vtable
  (package
    (name "texlive-vtable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vtable/" "tex/latex/vtable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1kvkaksls3nvjzqpf45l13jmm8mdpz8iccxhx5pqsfhwy19b9yp2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vtable")
    (synopsis "Vertical alignement of table cells")
    (description
     "The package allows vertical alignement of table cell by providing: @samp{Z},
@samp{L}, @samp{C}, @samp{R}, samp{J} and @samp{I} column types,
@code{\\nextRow} and @code{\\lb} commands, @code{\\setMultiColRow},
@code{\\setMultiColumn}, @code{\\setMultiRow} and @code{\\tableFormatedCell}
commands for @code{tabular} and similar environment.")
    (license license:expat)))

(define-public texlive-vwcol
  (package
    (name "texlive-vwcol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/vwcol/" "source/latex/vwcol/"
                                     "tex/latex/vwcol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06lj8yvijjdlffl4qbgcxkygy6s43w6h8bgvs7k3vnn7znb7ga00"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/vwcol")
    (synopsis "Variable-width multiple text columns")
    (description
     "The package provides a crude environment (@code{vwcol}) for typesetting
multicolumn paragraph text of various column widths on a single page.")
    (license license:lppl1.3+)))

(define-public texlive-wallcalendar
  (package
    (name "texlive-wallcalendar")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/lualatex/wallcalendar/"
                                     "tex/lualatex/wallcalendar/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "18f6jxwn1lzg98bw8y3yaxfm7wv8s4spp6nkhrqsssc0n7x2x8ig"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wallcalendar")
    (synopsis "Wall calendar class with custom layouts")
    (description
     "This package provides a wall calendar class with custom layouts and support
for internationalization.  There is also support for loading event marks from
a CSV file.")
    (license license:lppl)))

(define-public texlive-warning
  (package
    (name "texlive-warning")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/warning/" "tex/latex/warning/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "19jx6msglrniwprzgrk9via012zr7fc99dkn5yy8ma040ws1p595"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/warning")
    (synopsis "Global warnings at the end of the logfile")
    (description
     "This package provides a command that generates a list of warnings that are
printed out at the very end of the logfile.  This is useful for warnings such
as ``Rerun for this or that reason'' or ``This is a draft''.")
    (license license:lppl)))

(define-public texlive-warpcol
  (package
    (name "texlive-warpcol")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/warpcol/" "source/latex/warpcol/"
                                     "tex/latex/warpcol/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0f03v03vsfavkx3wchh2nli10hihapjlgw822rgxi8z6bm5jphss"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/warpcol")
    (synopsis "Relative alignment of rows in numeric columns in tabulars")
    (description
     "This package defines a tabular column type for formatting numerical columns
in LaTeX.  The column type enables numerical items to be right justified
relative to each other, while centred beneath the column label.  In addition,
macros are provided to enable variations on this column type to be defined.")
    (license license:lppl)))

(define-public texlive-webquiz
  (package
    (name "texlive-webquiz")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/webquiz/"
                                     "doc/man/man1/webquiz.1"
                                     "doc/man/man1/webquiz.man1.pdf"
                                     "scripts/webquiz/" "tex/latex/webquiz/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1z2qwm3jaj2wh8f6vx7mih21y32d0604jirdgd3bywq7yv57y125"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "webquiz.py")))
    (inputs (list python))
    (home-page "https://ctan.org/pkg/webquiz")
    (synopsis "Write interactive web based quizzes")
    (description
     "WebQuiz makes it possible to use LaTeX to write interactive web based
quizzes.  The quizzes are first written in LaTeX and then converted into HTML
files using @command{webquiz}, which is written in Python.  The conversion
from LaTeX to HTML is done behind the scenes using TeX4ht.")
    (license license:gpl3+)))

(define-public texlive-widetable
  (package
    (name "texlive-widetable")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/widetable/"
                                     "source/latex/widetable/"
                                     "tex/latex/widetable/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1fb1545agxpkd4xjh6hs70flqpwna13rh5kzc202w64jxsfgwwzs"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/widetable")
    (synopsis "Environment for typesetting tables of specified width")
    (description
     "The package defines a new environment that, unlike tabularX, typesets a table
of specified width by working on the inter-column glue; the tabular cells will
all be stretched (or shrunk) according to need.")
    (license license:lppl1.3+)))

(define-public texlive-widows-and-orphans
  (package
    (name "texlive-widows-and-orphans")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/widows-and-orphans/"
                                     "source/latex/widows-and-orphans/"
                                     "tex/latex/widows-and-orphans/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rxnsbpxash0cwka23nd2744cbjvgv9fajz5v52v9ccn7fxbmaxg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/widows-and-orphans")
    (synopsis "Identify (typographic) widows and orphans")
    (description
     "This package identifies all widows and orphans in a document to help a user
to get rid of them.  The act of resolving still needs to be done manually: by
rewriting text, running some paragraph long or short or or explicitly breaking
in some strategic place.  It will also identify and warn about words broken
across columns or pages and display formulas separated from their introductory
paragraph.")
    (license license:lppl1.3c)))

(define-public texlive-williams
  (package
    (name "texlive-williams")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/williams/" "tex/latex/williams/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1rk7x20a23mq3r920hr96m65x48040q8m0ps6in91qlf77fz0lpw"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/williams")
    (synopsis "Miscellaneous macros by Peter Williams")
    (description
     "The bundle provides two packages: @code{antree}, which provides macros for
annotated node trees, and @code{toklist}, which is an implementation of
Knuth's token list macros, to be found on pp.378--379 of the @emph{TeXbook}.")
    (license license:lppl)))

(define-public texlive-withargs
  (package
    (name "texlive-withargs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/withargs/" "tex/latex/withargs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06zyvaldbwf80hijp3526qyyrfrbj6zc03fw5pan38gxhin270hg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/withargs")
    (synopsis "In-place argument substitution")
    (description
     "The @code{\\withargs} command provides a clean way to populate
a template (containing @samp{#1}, @samp{#2}, etc.) using LaTeX argument
substitution.  It also allows you to carefully control argument expansion
using a LaTeX3-style argument specification.")
    (license license:lppl1.3+)))

(define-public texlive-wordcount
  (package
    (name "texlive-wordcount")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wordcount/" "scripts/wordcount/"
                                     "tex/latex/wordcount/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1x4qx3skvlndinligp0k2j8dpgpkim6374vc4fxfjrsd2bhw2fnm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "wordcount.sh")))
    (home-page "https://ctan.org/pkg/wordcount")
    (synopsis "Estimate the number of words in a LaTeX document")
    (description
     "The package provides a relatively easy way of estimating the number of words
in a LaTeX document.  It requires something like Unix @samp{grep -c} that can
search a file for a particular string and report the number of matching lines.
An accompanying shell script @file{wordcount.sh} contains more information in
its comments.")
    (license license:lppl)))

(define-public texlive-wordlike
  (package
    (name "texlive-wordlike")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wordlike/"
                                     "source/latex/wordlike/"
                                     "tex/latex/wordlike/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04m9syfp78grgxfa0d3vq990381sdrayg1id34gp13c8cl6kxdv8"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wordlike")
    (synopsis "Simulating word processor layout")
    (description
     "The package simulates typical word processor layout: narrow page margins,
Times, Helvetica and Courier fonts, @code{\\LARGE} or @code{\\Large} headings,
and @code{\\sloppy} typesetting.

The package aims at making life easier for users who are discontent with
LaTeX's standard layout settings because they need a layout that resembles the
usual ``wordlike'' output.")
    (license license:lppl)))

(define-public texlive-worksheet
  (package
    (name "texlive-worksheet")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/worksheet/"
                                     "tex/latex/worksheet/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0bciww1nnjgh7z7w3b5fwh0dr2hbsqw6ymdsx9xxm2ycrxx0lbxk"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/worksheet")
    (synopsis "Easy creation of worksheets")
    (description
     "This package provides macros and an environment for easy worksheet creation:

@itemize

@item use the @code{exercise} environment for formating exercises in a simple,
efficient design;

@item typeset customized and automatically numbered worksheet titles in the
same way as standard LaTeX titles (using @code{\\maketitle});

@item provide course and author information with
a @code{scrlayer}-@code{scrpage} based automated header; @end itemize

This package conforms to different Babel languages. (Currently English,
French, and German are supported.)")
    (license license:lppl1.3c)))

(define-public texlive-wrapfig2
  (package
    (name "texlive-wrapfig2")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wrapfig2/"
                                     "source/latex/wrapfig2/"
                                     "tex/latex/wrapfig2/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "155dap0plyrxflhq7qc5906f0sbnkvfrbs8qlwnqd5dsl01wlcqi"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wrapfig2")
    (synopsis "Wrap text around figures")
    (description
     "This package wrap text around figures.  It is a fork of @code{wrapfig}
package.  It is backwards compatible with the original environments.")
    (license license:lppl1.3c)))

(define-public texlive-wrapstuff
  (package
    (name "texlive-wrapstuff")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wrapstuff/"
                                     "source/latex/wrapstuff/"
                                     "tex/latex/wrapstuff/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1a5dlivmmpanlk376c3f9hx71cmb2cx0dg8ijhl7bccqic0zx234"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-ctex")))
    (build-system texlive-build-system)
    (native-inputs (list texlive-ctex))
    (home-page "https://ctan.org/pkg/wrapstuff")
    (synopsis "Wrapping text around stuff")
    (description
     "This package provides another implementation of text wrapping.")
    (license license:lppl1.3c)))

(define-public texlive-writeongrid
  (package
    (name "texlive-writeongrid")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/writeongrid/"
                                     "tex/latex/writeongrid/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1zfjnxzbmj1rmzn3nq925ailyj4fy1z3ixv0x0vivjllw27k2zja"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/writeongrid")
    (synopsis "Write on grid lines")
    (description
     "This package provides an environment to create grids (type 5x5 or Seyes or
Ruled) and commands to write texts right on the lines.")
    (license license:lppl1.3c)))

(define-public texlive-wtref
  (package
    (name "texlive-wtref")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/wtref/" "tex/latex/wtref/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "031cfrsvs8m1ci6z1jv4kxiam7mb339l9y4yavwg0qzms7achy4s"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/wtref")
    (synopsis "Extend LaTeX's cross-reference system")
    (description
     "This package extends the cross-reference system of LaTeX2e and introduces
concepts of namespace and scope.  It also allows users to customize reference
formats.")
    (license license:expat)))

(define-public texlive-xargs
  (package
    (name "texlive-xargs")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xargs/" "source/latex/xargs/"
                                     "tex/latex/xargs/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gbdnc1k819fncvnhzihx9q6qdxsrkpfjy47dh70bdwqf5klhqbh"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments (list #:tex-format "latex"))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-etoolbox
                  texlive-hypdoc
                  texlive-lm
                  texlive-microtype
                  texlive-minitoc
                  texlive-mparhack
                  texlive-xkeyval))))
    (home-page "https://ctan.org/pkg/xargs")
    (synopsis "Define commands with many optional arguments")
    (description
     "The package provides extended versions of @code{\\newcommand} and related
LaTeX commands, which allow easy and robust definition of macros with many
optional arguments, using a clear and simple @code{xkeyval}-style syntax.")
    (license license:lppl)))

(define-public texlive-xassoccnt
  (package
    (name "texlive-xassoccnt")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xassoccnt/"
                                     "tex/latex/xassoccnt/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0b38fjfi9ydm0snkdwmgzm2qrmh32dzl3k8ypj06fwaan7n3341n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xassoccnt")
    (synopsis "Associated counters stepping simultaneously")
    (description
     "This package provides a way of associating counters to an existing driver
counter so that incrementing the driver counter will increase its associated
counters as well.  This package can be regarded as a supplement to the
@code{totcount} package, but it can be used without it, too.

@code{xassoccnt} is a successor and a complete rewrite of the @code{assoccnt}
package.  However, some features of @code{assoccnt} are not (yet) contained in
@code{xassoccnt} so that the older package cannot yet be regarded as
obsolete.")
    (license license:lppl1.3+)))

(define-public texlive-xbmks
  (package
    (name "texlive-xbmks")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xbmks/" "source/latex/xbmks/"
                                     "tex/latex/xbmks/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0sgbd4083kiinhy7wq1fh6apx1ln1pyfkvl6k0822na9cxd2z560"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xbmks")
    (synopsis "Create a cross-document bookmark tree")
    (description
     "The package defines the concept of a document bundle, which is a collection
of documents that are to be built separately, but have a common bookmark
tree.")
    (license license:lppl1.2+)))

(define-public texlive-xcntperchap
  (package
    (name "texlive-xcntperchap")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcntperchap/"
                                     "tex/latex/xcntperchap/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cbkvf8dw1pi6qr397pf985s4zyvdmc5g87y9jvg9na69v8r4pkj"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcntperchap")
    (synopsis
     "Track the number of subsections etc., that occur in a specified tracklevel")
    (description
     "This package is the successor of @code{cntperchap} and allows to provide more
tracklevels than just only one.")
    (license license:lppl1.3+)))

(define-public texlive-xcolor-material
  (package
    (name "texlive-xcolor-material")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcolor-material/"
                                     "source/latex/xcolor-material/"
                                     "tex/latex/xcolor-material/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ks2mp2r9dgpp1397ci5qza93cwwc3b02rax1rqs1vpd4bxrklnp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcolor-material")
    (synopsis "Defines the 256 colors from Google Material Color Palette")
    (description
     "The package is built on top of the great @code{xcolor} package.  It provides
a definition of the Google Material Color Palette for its use in document
writing with LaTeX and friends.")
    (license license:lppl1.3+)))

(define-public texlive-xcolor-solarized
  (package
    (name "texlive-xcolor-solarized")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcolor-solarized/"
                                     "source/latex/xcolor-solarized/"
                                     "tex/latex/xcolor-solarized/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1jcq23p50syr16hz1hskkwf55whb68sdyyh45y8q3zvh7q7y1qr7"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcolor-solarized")
    (synopsis
     "Defines the 16 colors from Ethan Schoonover's Solarized palette")
    (description
     "Built on top of the @code{xcolor} package, this package defines the sixteen
colors of Ethan Schoonover's popular color palette, Solarized, for use in
documents typeset with LaTeX and friends.")
    (license license:lppl1.3+)))

(define-public texlive-xcookybooky
  (package
    (name "texlive-xcookybooky")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcookybooky/"
                                     "source/latex/xcookybooky/"
                                     "tex/latex/xcookybooky/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h0a4y1aax9zkm3mnxjhi8q9s3ql8jg50s88npazac5c2b2f8qxv"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcookybooky")
    (synopsis "Typeset (potentially long) recipes")
    (description
     "The package enables the user to typeset recipes, which could be greater than
one page.  Above the recipe text two (optional) pictures can be displayed.
Other features are recipe name, energy content, portions, preparation and
baking time, baking temperatures, recipe source and of course preparation
steps and required ingredients.  At the bottom you may insert an optional
hint.  The package depends on the Emerald fonts.")
    (license license:lppl1.3+)))

(define-public texlive-xcpdftips
  (package
    (name "texlive-xcpdftips")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xcpdftips/"
                                     "source/latex/xcpdftips/"
                                     "tex/latex/xcpdftips/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16in0hkr8ij36xxclq6z0rxmkldn0pba49sj3vnfamrgq80r70xg"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xcpdftips")
    (synopsis "@code{natbib} citations with PDF tooltips")
    (description
     "This LaTeX package uses @code{pdfcomment} and @code{bibentry} to surround
@code{natbib} citations with PDF tooltips.")
    (license license:gpl3+)))

(define-public texlive-xdoc
  (package
    (name "texlive-xdoc")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xdoc/" "makeindex/xdoc/"
                                     "source/latex/xdoc/" "tex/latex/xdoc/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0jyvl0xaknycr47rypcvdcriz4kx0kgnvy643p1rgmnjddvarv1n"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xdoc")
    (synopsis "Extending the LaTeX doc system")
    (description
     "Xdoc is a project to rewrite the implementation of the LaTeX @code{doc}
package (in a broader sense) to make its features more general and flexible.
For example, where @code{doc} only provides commands for documenting macros
and environments, @code{xdoc} also provides commands for similarly documenting
package options and switches.  This is furthermore done in such a way that it
is very easy to add more such commands for documenting things, such as e.g.,
templates, and program components for other languages (functions, classes,
procedures, etc.).")
    (license license:lppl)))

(define-public texlive-xellipsis
  (package
    (name "texlive-xellipsis")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xellipsis/"
                                     "source/latex/xellipsis/"
                                     "tex/latex/xellipsis/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1p1xzaprrglliid7zsl4s22zzqd7wrryhn69mdpac267jh8cpxds"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xellipsis")
    (synopsis
     "Extremely configurable ellipses with formats for various style manuals")
    (description
     "The @code{xellipsis} package provides a system for configuring (almomst)
every possible aspect of ellipses, including preceding and proceeding
characters; the character itself; distances before and after each of these;
and number of characters.  It comes with both a compatibility option for
standard LaTeX @code{\\ldots} as well as preset package options for the
@emph{Chicago Manual of Style} (Turabian); the Bluebook; and MLA guidelines.")
    (license license:lppl1.3+)))

(define-public texlive-xfakebold
  (package
    (name "texlive-xfakebold")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xfakebold/"
                                     "tex/latex/xfakebold/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01xccsppabncidpwr24ikcyhfbhaphir2pacj1saw4d2kx6la0lz"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-iftex))
    (home-page "https://ctan.org/pkg/xfakebold")
    (synopsis "Fake a regular font for bold characters")
    (description
     "This package uses PDF's text rendering to modify the linewidth of an outline
font to get bold characters.  It works only for vectorfonts where the glyphs
are defined by their outline.")
    (license license:lppl1.3c)))

(define-public texlive-xhfill
  (package
    (name "texlive-xhfill")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xhfill/" "tex/latex/xhfill/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0a69ri107qpzzhclja1jn01nb33wlzs5g6x8c8k0iz9qzwbrm3by"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xhfill")
    (synopsis "Extending @code{\\hrulefill}")
    (description
     "The package provides extended macros for the default @code{\\hrulefill} command.  It
allows modification of the width and the colour of the line.")
    (license license:lppl)))

(define-public texlive-xint
  (package
    (name "texlive-xint")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/generic/xint/" "source/generic/xint/"
                                     "tex/generic/xint/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dk1rgip7svqzlsvdr67hk9yw3ifak2ka67hpym0hlslmy1igvd2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xint")
    (synopsis "Expandable operations on long numbers")
    (description
     "The @code{xint} bundle modules are:

@itemize

@item @code{xinttools} utilities of independent interest such as expandable
and non-expandable loops,

@item @code{xintcore} expandable macros implementing addition, subtraction,
multiplication, division, and powers for arbitrarily long integers,

@item @code{xint} extension of @code{xintcore}, @code{xintfrac} extends the
scope of @code{xint} to decimal numbers, to numbers using scientific notation
and also to (exact) fractions,

@item @code{xintexpr} expandable parsers of numeric expressions using the
standard infix notations, parentheses, built-in functions, user definable
functions and variables (and more ...), which do either exact
evaluations (also with fractions) or floating point evaluations under a user
chosen precision.

@item @code{xintkernel} supports macros for all the bundle constituents,

@code{xintbinhex} converts to and from hexadecimal and binary bases,

@code{xintgcd} provides @code{gcd()} and @code{lcm()} functions to
@code{xintexpr},

@code{xintseries}, which evaluates numerically partial sums of series and
power series with fractional coefficients,

@item and @code{xintcfrac}, dedicated to the computation and display of
continued fractions).

@end itemize

All computations are compatible with expansion-only context.")
    (license license:lppl1.3c)))

(define-public texlive-xkcdcolors
  (package
    (name "texlive-xkcdcolors")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xkcdcolors/"
                                     "tex/latex/xkcdcolors/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "03smf9r9w3xhjg68magcygyq5mwbcxpq135brkjhrxnzgdjzv4wl"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xkcdcolors")
    (synopsis "XKCD names of colors")
    (description
     "In the year 2010, Randall Munroe on posted a really funny and nice article on
XKCD.  He made a very curious experiment: showing colors to a lot of people
and asking to name each one.  Afterward, he processed the data and sorted the
names for each color by popularity --- that means, how many people gave the
same name to the same color.  This package makes the collected color names
usable with LaTeX.")
    (license (list license:lppl1.3c license:cc0))))

(define-public texlive-xltabular
  (package
    (name "texlive-xltabular")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xltabular/"
                                     "tex/latex/xltabular/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "08wpgf2w0pcl2nqm2mgplxvy9q0zbszd5lm4rqzkz3vyi6zlravm"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xltabular")
    (synopsis "@code{longtable} support with possible X-column specifier")
    (description
     "This package loads package @code{ltablex}, but keeps the current
@code{tabularx} environment as is.  The new environment @code{xltabular} is
a combination of @code{longtable} and @code{tabularx}: Header/footer
definitions, X-column specifier, and with possible pagebreaks.")
    (license license:lppl1.3+)))

(define-public texlive-xnewcommand
  (package
    (name "texlive-xnewcommand")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xnewcommand/"
                                     "tex/latex/xnewcommand/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nicb4v9mxkavsgns37ap9bhi5wc1aqlk82dcsvpysxps1rmmyk4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xnewcommand")
    (synopsis
     "Define @code{\\global} and @code{\\protected} commands with @code{\\newcommand}")
    (description
     "The package provides the means of defining @code{\\global} and (e-TeX)
@code{\\protected} commands, within the framework of LaTeX's standard
@code{\\newcommand}.")
    (license license:lppl)))

(define-public texlive-xoptarg
  (package
    (name "texlive-xoptarg")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xoptarg/" "tex/latex/xoptarg/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "13fifaq7c64rpqaaqj9zlq280ckmzdlqrs4p1gzs1h269p9z8mbf"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xoptarg")
    (synopsis "Expandable macros that take an optional argument")
    (description
     "Commands that take an optional argument are not ordinarily expandable; this
package allows such commands to be expandable provided that they have at least
one mandatory argument.")
    (license license:lppl)))

(define-public texlive-xpunctuate
  (package
    (name "texlive-xpunctuate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpunctuate/"
                                     "source/latex/xpunctuate/"
                                     "tex/latex/xpunctuate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dx0fjz1ngld8g6f73d5g4ylmpgmmb8s0si1i6rp0im69yf5pr3v"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xpunctuate")
    (synopsis "Process trailing punctuation which may be redundant")
    (description
     "The package provides commands that enable the user (or package writer) to
insert punctuation after the macro.  The package provides the commands
@code{\\xperiod}, @code{\\xcomma} and @code{\\xperiodcomma}, which follow
a similar procedure to that of @code{\\xspace}, and insert punctuation if and
only if it is necessary.")
    (license license:lppl1.2+)))

(define-public texlive-xpeek
  (package
    (name "texlive-xpeek")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xpeek/" "source/latex/xpeek/"
                                     "tex/latex/xpeek/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "01khzfgkvsfs8vs64wym07k5hnaa0rmcgpgajp1q06g5f9shcsjc"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-native-inputs "texlive-updmap.cfg")))
    (build-system texlive-build-system)
    (arguments
     (list #:tex-format "latex"
           #:phases
           #~(modify-phases %standard-phases
               ;; Building documentation, automatic when generating
               ;; runfiles, fails.  Skip building it.
               (add-after 'unpack 'skip-documentation
                 (lambda _
                   (substitute* "source/latex/xpeek/xpeek.dtx"
                     (("\\\\DocInput\\{\\\\jobname\\.dtx\\}") "")))))))
    (native-inputs
     (list (texlive-updmap.cfg
            (list texlive-alphalph
                  texlive-booktabs
                  texlive-csquotes
                  texlive-enumitem
                  texlive-fancyvrb
                  texlive-foreign
                  texlive-hologo
                  texlive-hypdoc
                  texlive-qstest
                  texlive-underscore
                  texlive-xpunctuate))))
    (home-page "https://ctan.org/pkg/xpeek")
    (synopsis "Define commands that peek ahead in the input stream")
    (description
     "The package provides tools to help define commands that, like
@code{\\xspace} and the LaTeX command @code{\\textit}, peek at what
follows them in the command stream and choose appropriate behaviour.")
    (license license:lppl1.3+)))

(define-public texlive-xprintlen
  (package
    (name "texlive-xprintlen")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xprintlen/"
                                     "tex/latex/xprintlen/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0skz6y06wslzf0yb0g101g24kw6bkm9kl825swpqahyzdgwapxw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xprintlen")
    (synopsis "Print TeX lengths in a variety of units")
    (description
     "The package defines a command, @code{\\printlen}, to print TeX lengths in
a variety of units.  It can handle all units supported by TeX.")
    (license license:lppl1.3+)))

(define-public texlive-xsavebox
  (package
    (name "texlive-xsavebox")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xsavebox/"
                                     "source/latex/xsavebox/"
                                     "tex/latex/xsavebox/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1k055jv83yk17f7l8bvg8mvm7cw7afry7sykli4fbz8w0yjq3yci"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xsavebox")
    (synopsis "Saveboxes for repeating content without code replication")
    (description
     "The package defines commands for saving content that can be repeatedly placed
into the document without replicating DVI/PDF code in the output file,
allowing for smaller file size of the final PDF and improved content caching
for faster display in certain PDF viewers.  The method makes use of Form
XObjects defined in the PDF specification.  The user commands are modelled
after the standard LaTeX commands @code{\\savebox}, @code{\\sbox},
@code{\\usebox} and the @code{lrbox} environment.")
    (license license:lppl)))

(define-public texlive-xsim
  (package
    (name "texlive-xsim")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xsim/" "tex/latex/xsim/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dalnjkisyk4ixxqpim5hvjzi9sn71gjiygj08ix0ifpbix9hqn2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xsim")
    (synopsis "eXercise Sheets IMproved")
    (description
     "This package helps in creating exercises and the corresponding solutions.  It
is the official successor of the @code{exsheets} package and fixes/improves
various long-standing issues.")
    (license license:lppl1.3c)))

(define-public texlive-xtab
  (package
    (name "texlive-xtab")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xtab/" "source/latex/xtab/"
                                     "tex/latex/xtab/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0d9rc8dwirxlzvyfrwf884achshimcrz99c2d57gad2097c6qkd6"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xtab")
    (synopsis "Break tables across pages")
    (description
     "Xtab is an extended and somewhat improved version of @code{supertabular}; its
@code{xtabular} environment provides tables that break across pages.")
    (license license:lppl)))

(define-public texlive-xurl
  (package
    (name "texlive-xurl")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xurl/" "tex/latex/xurl/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0g03b27vg4qmprjy7jlpvpvq0223xsjfd6ynhsfwglqva3yq70ri"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xurl")
    (synopsis "Allow URL breaks at any alphanumerical character")
    (description
     "This package loads @code{url} by default and defines possible URL breaks for
all alphanumerical characters, as well as @samp{=}, @samp{/}, @samp{.},
@samp{:}, @samp{*}, @samp{-}, @samp{~}, and @samp{\"}.  All arguments which
are valid for @code{url} can be used and will be passed on to this package.")
    (license license:lppl1.3+)))

(define-public texlive-xwatermark
  (package
    (name "texlive-xwatermark")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xwatermark/"
                                     "tex/latex/xwatermark/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1xisq0xg5jl7id4ajl0ywjz8d8s8bzl4qy8sxg0rya3p013p5990"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xwatermark")
    (synopsis "Graphics and text watermarks on selected pages")
    (description
     "The package extends @code{draftmark} and the @code{watermark} packages.  It
is currently unmaintained and does not work with modern LaTeX releases.")
    (license license:lppl1.3+)))

(define-public texlive-xytree
  (package
    (name "texlive-xytree")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/xytree/" "tex/latex/xytree/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0l0is0a46zp21qswwdb5rbjh4ap61lm5d581j5q9baiycmxk4ban"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/xytree")
    (synopsis "Tree macros using XY-Pic")
    (description
     "The package provides means to draw linguistic syntactic trees with ease and
to support hopefully sufficient functionalities, that the linguist may need.")
    (license license:lppl)))

(define-public texlive-yafoot
  (package
    (name "texlive-yafoot")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yafoot/" "source/latex/yafoot/"
                                     "tex/latex/yafoot/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "04p8qlk7nbrapr2gggkqm2iqgq36ywh7a7iqawmmqhsqnmz501cp"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yafoot")
    (synopsis "Bundle of miscellaneous footnote packages")
    (description
     "This package contains three packages: @code{pfnote} to number footnotes per page,
@code{fnpos} to control the position of footnotes, and @code{dblfnote} to make
footnotes double-columned.")
    (license license:lppl)))

(define-public texlive-yagusylo
  (package
    (name "texlive-yagusylo")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yagusylo/"
                                     "source/latex/yagusylo/"
                                     "tex/latex/yagusylo/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0y2fgfj21m15n44xc6i996rgyf4wpg7wjk0db6cyc5wb7q012270"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yagusylo")
    (synopsis "Symbol loader")
    (description
     "The package allows the user to access a symbol without loading the package
that usually provides it; this has the advantage of avoiding the name clashes
that so commonly trouble those who load symbol-packages.")
    (license license:lppl)))

(define-public texlive-yaletter
  (package
    (name "texlive-yaletter")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yaletter/"
                                     "source/latex/yaletter/"
                                     "tex/latex/yaletter/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1ak35xs7b7v5314nic8mb158828rnq1bv53v412ad2zmsha7wrg9"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/yaletter")
    (synopsis
     "Extremely flexible macros for letters, envelopes, and label sheets")
    (description
     "The @code{yaletter} class provides extremely configurable macros for
typesetting letters in any conceivable style.  It provides facilities for
maintaining easily-accessible databases of letterheads and addresses for
repeat use.  It further provides easy macros for envelopes and for label
sheets.  Finally, it provides some nice defaults for a few of the more common
styles and sizes.")
    (license license:lppl1.3+)))

(define-public texlive-ycbook
  (package
    (name "texlive-ycbook")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ycbook/" "tex/latex/ycbook/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ikjh157df0l2yq8whpsizs32i92xg8am65migbjq6pfm57bph70"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ycbook")
    (synopsis "A versatile book class")
    (description
     "This class is intended to be an interpretation of the @code{mwbk} class which
is a part of the @code{mwcls} package.  The @code{mwcls} classes are simple,
yet powerful and customizable classes that allow the end-user to customize the
layout of headers, headings etc.  They also have the benefit of being more
economic in space than the most common LaTeX classes, while keeping a clear
appearance and a smooth flow.")
    (license license:lppl1.3c)))

(define-public texlive-yplan
  (package
    (name "texlive-yplan")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/yplan/" "scripts/yplan/"
                                     "tex/latex/yplan/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0cwd7yzmsp3jxb9190cqy05mbp40kw5qx1fjc7f8rbf5m2dfcbb7"))))
    (outputs '("out" "doc"))
    (properties '((updater-extra-inputs "perl")))
    (build-system texlive-build-system)
    (arguments (list #:link-scripts #~(list "yplan")))
    (inputs (list perl))
    (home-page "https://ctan.org/pkg/yplan")
    (synopsis "Daily planner type calendar")
    (description
     "This package prints two six-monthly vertical-type daily planner (i.e.,
months along the top, days downwards), with each 6-month period fitting onto
a single A4 (or US letter) sheet.  The package offers support for English,
French, German, Spanish and Portuguese.  The previous scheme of annual updates
has now been abandoned, in favour of a Perl script @command{yplan} that
generates a year's planner automatically.")
    (license license:lppl)))

(define-public texlive-zebra-goodies
  (package
    (name "texlive-zebra-goodies")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zebra-goodies/"
                                     "source/latex/zebra-goodies/"
                                     "tex/latex/zebra-goodies/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0ggrcldhcxgbh7jbn13kkss5qxxs0qg7664vs6jrm66bvivb346g"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zebra-goodies")
    (synopsis "Collection of handy macros for paper writing")
    (description
     "This package offers a collection of macros to help in the process of writing
a paper.  You may add comments, todo notes, etc.,during revision, in
a colourful way.  The package also summarizes the inserted notes at the end of
the document.  There are some predefined note commands as well as a way of
defining new ones to suit the user's needs.  You may safely remove this
package once the paper is finished.")
    (license license:lppl1.3c)))

(define-public texlive-zed-csp
  (package
    (name "texlive-zed-csp")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zed-csp/" "tex/latex/zed-csp/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "16xv24vf6d3znfa2a6qhbz7hgq3s5n8fg8i8h07i9rf008apja0d"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zed-csp")
    (synopsis "Typesetting Z and CSP format specifications")
    (description
     "The package supports real-time CSP and incorporates the functionality of
Spivey's original Z package, written for LaTeX 2.09.")
    ;; "You may copy and distribute this file freely."
    (license (license:non-copyleft "file://tex/latex/zed-csp/zed-csp.sty"))))

(define-public texlive-zennote
  (package
    (name "texlive-zennote")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zennote/" "tex/latex/zennote/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0iviklm37rdzn7fbq8i6kn5hfj3kqh32pz5pamr1bg52whvn0ly2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zennote")
    (synopsis "Streamline your note-taking process")
    (description
     "This package aims to provide you with an easy interface to speed up the
process when organizing and producing elegant notes.  All the tables, figures,
equations, and listings are labelled according to the notenumber with the
@code{\\titlebox} command.  The @code{noteframe} environment helps you
generate fancy colored boxes to emphasize the important
information (e.g. theorems, equations, proofs, etc.) in your document.  You
can customize the style and color to denote different categories, too.")
    (license license:cc-by4.0)))

(define-public texlive-ziffer
  (package
    (name "texlive-ziffer")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/ziffer/" "tex/latex/ziffer/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "073w0rpkf7g1pjy4i30x20g7k0wksqpwi2288ly2fz4b2d66aafc"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/ziffer")
    (synopsis "Conversion of punctuation in maths mode")
    (description
     "The package modifies the behaviour of characters in maths mode so that:

@itemize

@item @samp{.} is used as a one-thousand separator (as is common in Germany);

@item @samp{,} is used as a decimal separator (as is common in Germany);

@item @samp{--} is represented with spacing as appropriate to such constructs
as @samp{1.000,--}.

@end itemize

These conversions may be switched on and off.")
    (license license:lppl)))

(define-public texlive-zref-check
  (package
    (name "texlive-zref-check")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zref-check/"
                                     "source/latex/zref-check/"
                                     "tex/latex/zref-check/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0dx7jsyrlcd6a323lgcknkffx9lrvcmcvww4v6154inda33l5vw4"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zref-check")
    (synopsis "Flexible cross-references with contextual checks based on @code{zref}")
    (description
     "This package provides an user interface for making LaTeX cross-references
flexibly, while allowing to have them checked for consistency with the
document structure as typeset.  Statements such as @samp{above}, @samp{on the
next page}, @samp{previously}, can be given to @code{\\zcheck} in free-form,
and a set of checks can be specified to be run against a given label, which
will result in a warning at compilation time if any of these checks fail.
@code{\\zctarget} and the @code{zcregion} environment are also defined as
a means to easily set label targets to arbitrary places in the text which can
be referred to by @code{\\zcheck}.")
    (license license:lppl1.3c)))

(define-public texlive-zref-clever
  (package
    (name "texlive-zref-clever")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zref-clever/"
                                     "source/latex/zref-clever/"
                                     "tex/latex/zref-clever/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h50xvkfy68672wd9nh52zq4cyx1965rv0dihg4jp5vd19dw1na2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zref-clever")
    (synopsis "Clever LaTeX cross-references based on @code{zref}")
    (description
     "This package provides a user interface for making LaTeX cross-references
which automates some of their typical features, thus easing their input in the
document and improving the consistency of typeset results.  A reference made
with @code{\\zcref} includes a name according to its type, and lists of
multiple labels can be automatically sorted and compressed into ranges when
due.  The reference format is highly and easily customizable, both globally
and locally.")
    (license license:lppl1.3c)))

(define-public texlive-zref-vario
  (package
    (name "texlive-zref-vario")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zref-vario/"
                                     "source/latex/zref-vario/"
                                     "tex/latex/zref-vario/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0nq0g0ql31fkck13wsmjvk1dm6rwj94g3b9hr0y6g9qpzrqdzfw2"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (propagated-inputs (list texlive-tools texlive-zref-clever))
    (home-page "https://ctan.org/pkg/zref-vario")
    (synopsis
     "Extended cross-references with @code{varioref} and @code{zref-clever}")
    (description
     "This package offers a compatibility layer for @code{varioref} to be used
alongside @code{zref-clever}.  It provides @samp{\\z...}  counterparts to
@code{varioref}'s main reference commands, each of which essentially does
some (scoped) setup for @code{varioref}, then calls the original one.")
    (license license:lppl1.3c)))

(define-public texlive-zwgetfdate
  (package
    (name "texlive-zwgetfdate")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zwgetfdate/"
                                     "tex/latex/zwgetfdate/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qkipas5qrrxvjvm08fws45vfqg87qz3x4ghpgcmipd91ydcaxc3"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zwgetfdate")
    (synopsis "Get package or file date")
    (description
     "The package can fetch the date declaration of packages and files used by
a document, and then provide the information in macros.  The facilities
provide a means of obtaining the date of a package being documented.")
    (license license:lppl1.3+)))

(define-public texlive-zwpagelayout
  (package
    (name "texlive-zwpagelayout")
    (version "2024.2")
    (source (origin
              (method svn-multi-fetch)
              (uri (svn-multi-reference
                    (url (texlive-packages-repository version))
                    (revision 70951)
                    (locations (list "doc/latex/zwpagelayout/"
                                     "tex/latex/zwpagelayout/"))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0wvdx8jgvxpxln61xbh4lyd95r6g1dnjmhy1vjsqqdhqwwgch40x"))))
    (outputs '("out" "doc"))
    (build-system texlive-build-system)
    (home-page "https://ctan.org/pkg/zwpagelayout")
    (synopsis "Page layout and crop-marks")
    (description
     "This package was developed as a typographers toolbox offering important
basic features for everyday work.  It allows setting the paper size and the
page layout; it can print crop marks; and it can reflect pages both
horizontally and vertically.")
    (license license:lppl)))

;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
;;; functionality or similar names.
;;;