From e0e2537ccbac6924b371be81092c1177e817162c Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 22 Apr 2020 03:02:46 +0000 Subject: CTAN sync 202004220302 --- .../texlive/tlnet/tlpkg/installer/ctan-mirrors.pl | 7 +- .../tlnet/tlpkg/installer/install-tl-gui.tcl | 99 +++++++++-- systems/texlive/tlnet/tlpkg/texlive.tlpdb | 195 +++++++++++---------- systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5 | 2 +- systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 | 2 +- .../texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc | 14 +- systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz | Bin 2189008 -> 2188216 bytes systems/texlive/tlnet/tlpkg/tltcl/tltcl.tcl | 179 ++++++++++++------- 8 files changed, 318 insertions(+), 180 deletions(-) (limited to 'systems/texlive') diff --git a/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl b/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl index e650af433b..8db82a95ab 100644 --- a/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl +++ b/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl @@ -79,7 +79,6 @@ $mirrors = { 'http://ctan.mines-albi.fr/' => 1, 'http://ctan.tetaneutral.net/' => 1, 'http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/' => 1, - 'http://mirror.ibcp.fr/pub/CTAN/' => 1, 'http://mirrors.ircam.fr/pub/CTAN/' => 1, 'http://mirrors.standaloneinstaller.com/ctan/' => 1, 'https://mirrors.chevalier.io/CTAN/' => 1, @@ -117,6 +116,9 @@ $mirrors = { 'http://ftp.snt.utwente.nl/pub/software/tex/' => 1, 'http://mirror.koddos.net/CTAN/' => 1, }, + 'Norway' => { + 'http://ctan.uib.no/' => 1, + }, 'Poland' => { 'ftp://ftp.gust.org.pl/TeX/' => 1, 'ftp://sunsite.icm.edu.pl/pub/CTAN/' => 1, @@ -154,8 +156,6 @@ $mirrors = { 'http://ctan.math.ca/tex-archive/' => 1, 'http://ctan.mirror.colo-serv.net/' => 1, 'http://ctan.mirror.globo.tech/' => 1, - 'http://ctan.mirror.rafal.ca/' => 1, - 'http://mirror.its.dal.ca/ctan/' => 1, 'http://muug.ca/mirror/ctan/' => 1, }, 'USA' => { @@ -167,6 +167,7 @@ $mirrors = { 'http://mirror.utexas.edu/ctan/' => 1, 'http://mirrors.concertpass.com/tex-archive/' => 1, 'http://mirrors.ibiblio.org/pub/mirrors/CTAN/' => 1, + 'http://mirrors.rit.edu/CTAN/' => 1, }, }, 'Oceania' => { diff --git a/systems/texlive/tlnet/tlpkg/installer/install-tl-gui.tcl b/systems/texlive/tlnet/tlpkg/installer/install-tl-gui.tcl index cd9001ea83..e831f8984b 100755 --- a/systems/texlive/tlnet/tlpkg/installer/install-tl-gui.tcl +++ b/systems/texlive/tlnet/tlpkg/installer/install-tl-gui.tcl @@ -45,7 +45,12 @@ set ::instroot [file normalize [info script]] set ::instroot [file dirname [file dirname [file dirname $::instroot]]] # declarations, initializations and procs shared with tlshell.tcl +set ::invoker [file tail [info script]] +if [string match -nocase ".tcl" [string range $::invoker end-3 end]] { + set ::invoker [string range $::invoker 0 end-4] +} source [file join $::instroot "tlpkg" "tltcl" "tltcl.tcl"] +unset ::invoker ### initialize some globals ### @@ -408,7 +413,7 @@ proc make_splash {} { # some text ppack [ttk::label .text -text [__ "TeX Live Installer"] \ - -font bigfont] -in .bg + -font hfont] -in .bg if {! $::select_repo} { ppack [ttk::label .loading -text [__ "Trying to load %s. @@ -934,13 +939,6 @@ proc select_binaries {} { ppack .tlbin.cancel -in .tlbin.buts -side right bind .tlbin {.tlbin.cancel invoke} - #set max_width 0 - #foreach b [array names ::bin_descs] { - # set bl [font measure TkTextFont [__ $::bin_descs($b)]] - # if {$bl > $max_width} {set max_width $bl} - #} - #incr max_width 10 - # treeview for binaries, with checkbox column and vertical scrollbar pack [ttk::frame .tlbin.binsf] -in .tlbin.bg -expand 1 -fill both @@ -1005,12 +1003,6 @@ proc select_scheme {} { bind .tlschm {.tlschm.cancel invoke} # schemes list - #set max_width 0 - #foreach s $::schemes_order { - # set sl [font measure TkTextFont [__ $::scheme_descs($s)]] - # if {$sl > $max_width} {set max_width $sl} - #} - #incr max_width 10 ttk::treeview .tlschm.lst -columns {desc} -show {} -selectmode browse \ -height [llength $::schemes_order] .tlschm.lst column "desc" -stretch 1; # -minwidth $max_width @@ -1315,6 +1307,23 @@ if {$::tcl_platform(platform) ne "windows"} { ############################################################# +proc set_language {l} { + set ::lang $l + load_translations + run_menu +} + +proc set_fontscale {s} { + set ::tkfontscale $s + redo_fonts + run_menu +} + +# menus: disable tearoff feature +option add *Menu.tearOff 0 + +############################################################# + # the main menu interface will at certain events send the current values of # the ::vars array to install-tl[-tcl], which will send back an updated version # of this array. @@ -1324,6 +1333,17 @@ if {$::tcl_platform(platform) ne "windows"} { # for 3-way options, create an extra level of children # instead of wizard install, supppress some options +## default_bg color, only used for menus under ::plain_unix +if [catch {ttk::style lookup TFrame -background} ::default_bg] { + set ::default_bg white +} + +proc abort_menu {} { + set ::out_log {} + set ::menu_ans "no_inst" + # i.e. anything but advanced, alltrees or startinst +} + proc run_menu {} { if [info exists ::env(dbgui)] { #puts "\ndbgui: run_menu: advanced is now $::advanced" @@ -1334,7 +1354,56 @@ proc run_menu {} { catch {destroy $c} } - # wallpaper + if $::plain_unix { + # plain_unix: avoid a possible RenderBadPicture error on quitting + # when there is a menu. + # 'send' bypasses the bug by changing the shutdown sequence. + # 'tk appname ' restores 'send'. + bind . { + catch {tk appname appname} + } + } + + # menu, for language selection and font scaling + menu .mn + . configure -menu .mn + if $::plain_unix { + .mn configure -borderwidth 1 + .mn configure -background $::default_bg + } + menu .mn.file + .mn add cascade -label [__ "File"] -menu .mn.file + .mn.file add command -command abort_menu -label [__ "Abort"] + + menu .mn.gui + .mn add cascade -label [__ "GUI"] -menu .mn.gui + + + if {[llength $::langs] > 1} { + menu .mn.gui.lang + .mn.gui add cascade -label [__ "Language"] -menu .mn.gui.lang + foreach l [lsort $::langs] { + if {$l eq $::lang} { + set mlabel "$l *" + } else { + set mlabel $l + } + .mn.gui.lang add command -label $mlabel -command "set_language $l" + } + } + + menu .mn.gui.fscale + .mn.gui add cascade -label [__ "Font scaling"] -menu .mn.gui.fscale + foreach s {0.5 0.7 1 1.25 1.5 2 3 4 6 8} { + if {$s eq $::tkfontscale} { + set mlabel "$s *" + } else { + set mlabel $s + } + .mn.gui.fscale add command -label $mlabel -command "set_fontscale $s" + } + + # wallpaper, for a uniform background pack [ttk::frame .bg -padding 3] -fill both -expand 1 # title diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb b/systems/texlive/tlnet/tlpkg/texlive.tlpdb index 7a11b5f6f5..faae3c7c8d 100644 --- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb +++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb @@ -26,11 +26,11 @@ depend container_split_src_files/1 depend frozen/0 depend minrelease/2016 depend release/2020 -depend revision/54820 +depend revision/54829 name 00texlive.image category TLCore -revision 54820 +revision 54829 shortdesc TeX Live files only in the source repository longdesc The files here are not copied by the installer and containers longdesc are not built for them; they exist only in the source @@ -812,7 +812,6 @@ runfiles size=5010 tlpkg/tlpsrc/borceux.tlpsrc tlpkg/tlpsrc/bosisio.tlpsrc tlpkg/tlpsrc/boxedminipage.tlpsrc - tlpkg/tlpsrc/boxedminipage2e.tlpsrc tlpkg/tlpsrc/boxhandler.tlpsrc tlpkg/tlpsrc/bpchem.tlpsrc tlpkg/tlpsrc/bpolynomial.tlpsrc @@ -4189,7 +4188,7 @@ depend setting_available_architectures:aarch64-linux amd64-freebsd amd64-netbsd name 00texlive.installer category TLCore -revision 54797 +revision 54823 shortdesc TeX Live standalone installer package longdesc This package defines the files to go into the installer longdesc archives (install-tl-unx.tar.gz, install-tl.zip) built by the @@ -4199,7 +4198,7 @@ longdesc allowed, but in this case, 00texlive.installer is never used longdesc *except* to build the installer archives, so it's ok. For longdesc information on the 00texlive prefix see longdesc 00texlive.installation(.tlpsrc) -runfiles size=807 +runfiles size=809 install-tl release-texlive.txt tlpkg/installer/COPYING.MinGW-runtime.txt @@ -31958,15 +31957,16 @@ catalogue-version 0.1 name bearwear category Package -revision 53425 -shortdesc Shirts to dress tikzbears +revision 54826 +shortdesc Shirts to dress TikZbears relocated 1 -longdesc The package offers commands to create shirts for a tikzbear. -containersize 2300 -containerchecksum cbce954b7c626f2941e77a121346dc4d9fb618908165bc1d8a6a55904573249dde7cfd4a6323c9753e8fdabd88b73aaf4b7e6d4b40b21e13290e2a80d2080399 -doccontainersize 780192 -doccontainerchecksum 2d9c60efbc6d0d29d31daebcbef2cdc0d0af35a84223107424e36ecfb085b7341340e06b9006cae0ac15ba93ceaa50e1b0a942b7a01292f9f5010f32983fd4dd -docfiles size=276 +longdesc The package offers tools to create shirts for TikZbears from +longdesc the TikZlings package. +containersize 2376 +containerchecksum c758735d869a9b1dedb64c9c0377891606d32ba69fe0d665d882d7d113bcf3c9678e6cbfe93c269758d492a0336c26f937195f04e80587c1aa083fb1c766829f +doccontainersize 787504 +doccontainerchecksum 03171083f40cc4688ca6849fd371189b43a9e5963e06be3ad44271b11cb985cfa0b369b49ed43110395e1d7d50f4337e9ce597989be48049cdf3c3a1beac5ff8 +docfiles size=279 RELOC/doc/latex/bearwear/README.md details="Readme" RELOC/doc/latex/bearwear/baer.png RELOC/doc/latex/bearwear/bearwear-doc.tex @@ -31976,9 +31976,9 @@ docfiles size=276 RELOC/doc/latex/bearwear/montblanc.jpg RELOC/doc/latex/bearwear/tartan3.jpg RELOC/doc/latex/bearwear/ulrike.pdf -srccontainersize 5764 -srccontainerchecksum 7b233bfada9e05a147579f32d6405c7eae3e2934c55dc77659112cfd60f4d57b084854458de3fdf3aae7a14c4d4d82da8be91718b487b4b2eca33a569594a693 -srcfiles size=5 +srccontainersize 5992 +srccontainerchecksum 5263fce263e48699b3e59e556827f3fdd88cb812a33d259effad361289ab8270c40d7c3c510938c56a99070bea4894d769e7f0986c7aab75262feb59dfc27078 +srcfiles size=6 RELOC/source/latex/bearwear/bearwear.dtx RELOC/source/latex/bearwear/bearwear.ins runfiles size=2 @@ -31989,7 +31989,7 @@ catalogue-contact-support https://github.com/u-fischer/bearwear/issues catalogue-ctan /macros/latex/contrib/bearwear catalogue-license lppl1.3c catalogue-topics amusements graphics pgf-tikz -catalogue-version 0.1 +catalogue-version 0.2 name beebe category Package @@ -40416,57 +40416,38 @@ catalogue-topics collection name boxedminipage category Package -revision 17087 -shortdesc A package for producing framed minipages -relocated 1 -longdesc The package defines the boxedminipage environment -- like -longdesc minipage, but with a frame around it. -containersize 1332 -containerchecksum 374033f9b8b88c55db6de9247d065f7841d49c8b7d42386694752e78b4bb2f4a311e42d5ca3c1e0dd5e694fddb0c18bf9ae6ccb39dc80bf075086e18fe39bf59 -doccontainersize 116348 -doccontainerchecksum 6fe8b0c04117d6b70972ca973e9a71cb33f2ea3f2789460aecb1f0702b896a3cf1d2e6d31533a13819caf1636c5e33ca40f60156992770e243be509dff765644 -docfiles size=31 - RELOC/doc/latex/boxedminipage/boxedminipage.pdf details="Package documentation" - RELOC/doc/latex/boxedminipage/boxedminipage.tex -runfiles size=1 - RELOC/tex/latex/boxedminipage/boxedminipage.sty -catalogue-also boxedminipage2e -catalogue-ctan /macros/latex/contrib/boxedminipage -catalogue-license pd -catalogue-topics boxing -catalogue-version 2 - -name boxedminipage2e -category Package -revision 36477 +revision 54827 shortdesc Framed minipages of a specified total width (text and frame combined) relocated 1 longdesc The package essentially just wraps a minipage within an \fbox. longdesc However, while -longdesc \fbox{\begin{minipage}{\linewidth}...\end{minipage}} just out +longdesc \fbox{\begin{minipage}{\linewidth}...\end{minipage}} juts out longdesc into the margin, \begin{boxedminipage}...\end{boxedminipage} longdesc does not. Instead, it subtracts the frame's dimensions from the longdesc specified dimensions of the minipage before typesetting the -longdesc minipage. -containersize 1304 -containerchecksum 418fbe838e907f3f545522922cf20548abcde20320dc63396434f7b68f578abaffa9f7b76a18373318ce5ed7cef699c64ad8e10e01cedf0b568e65f33ab609b9 -doccontainersize 209476 -doccontainerchecksum 1366f37d45e3df28d3b370b3a6d9618aad06dc68127d1c22cccb0a64d3f82195d5ca93adae86158a830cca26e7f3da051bd36ab1f80cd4bf3609676c0b790dd8 -docfiles size=53 - RELOC/doc/latex/boxedminipage2e/README details="Readme" - RELOC/doc/latex/boxedminipage2e/boxedminipage2e.pdf details="Package documentation" -srccontainersize 3808 -srccontainerchecksum 2bf7a086348da5cc606d5b5fa0b4b0c4c5f17e77aecb54fd94bd306d43ebddef8af5e143246a8695f18a447271508576c4a4bb051d4ad8b9e0cdb08f7212431c +longdesc minipage. Note: The package was formerly known as +longdesc boxedminipage2e and now replaces Mario Wolczko's earlier +longdesc boxedminipage package. +containersize 1460 +containerchecksum 697cc00b10468f515b5ebae838d623eec58085269c98897a5c2c4ea932ec52ae819110612feb84b6951ff391bff9309655abf6a41e13da156e5ecc52c015431b +doccontainersize 336440 +doccontainerchecksum 54209e9e5fb8da8db65901c729b78aa3c9b536c3bca4d40437848287d8a07d955a84ea0f13d93e7e702c47c6bf8bece3b6d3f3026d5f78568205746c9009b968 +docfiles size=88 + RELOC/doc/latex/boxedminipage/README details="Readme" + RELOC/doc/latex/boxedminipage/boxedminipage.pdf details="Package documentation" +srccontainersize 4744 +srccontainerchecksum 718499cb248fb8a98a9650a78ae377f9aaed9318b91c4417c7690201504366e073e80615106156087686273f9f86adb58f854cc758c2329ad99103f788ba0164 srcfiles size=4 - RELOC/source/latex/boxedminipage2e/boxedminipage2e.dtx - RELOC/source/latex/boxedminipage2e/boxedminipage2e.ins -runfiles size=1 - RELOC/tex/latex/boxedminipage2e/boxedminipage2e.sty -catalogue-also boxedminipage -catalogue-ctan /macros/latex/contrib/boxedminipage2e -catalogue-license lppl1.3 + RELOC/source/latex/boxedminipage/boxedminipage.dtx + RELOC/source/latex/boxedminipage/boxedminipage.ins +runfiles size=2 + RELOC/tex/latex/boxedminipage/boxedminipage.sty + RELOC/tex/latex/boxedminipage/boxedminipage2e.sty +catalogue-alias boxedminipage2e +catalogue-ctan /macros/latex/contrib/boxedminipage +catalogue-license lppl1.3c catalogue-topics boxing -catalogue-version 1.0 +catalogue-version 1.1 name boxhandler category Package @@ -64310,7 +64291,7 @@ containerchecksum 1823db2c2889e30e1bb219e93aa2433813df21efe7afb453da159b5586a597 name collection-latexextra category Collection -revision 54810 +revision 54828 shortdesc LaTeX additional packages relocated 1 longdesc A very large collection of add-on packages for LaTeX. @@ -64421,7 +64402,6 @@ depend booklet depend boolexpr depend bophook depend boxedminipage -depend boxedminipage2e depend boxhandler depend bracketkey depend braket @@ -65618,8 +65598,8 @@ depend ziffer depend zref depend zwgetfdate depend zwpagelayout -containersize 6056 -containerchecksum 729e948f38c207e4c17b0993232e73fabd475c82176c3620c69ea536b2b2c89e1f45ca5d5dc05ff452949c7cb9e7bb3e6eba0e27741bb123ed3cdd5c0ce2d42e +containersize 6048 +containerchecksum 382da4282792865dd313b02d8fac9ac9f716aecf5bf7cde4adddcd76060c6dc52c2e2d63d92fb7192e7ebce36b24f96ff939c4be38aabae245c248af63a6f85e name collection-latexrecommended category Collection @@ -80040,24 +80020,55 @@ binfiles arch=x86_64-solaris size=1 name ctex category Package -revision 52683 +revision 54829 shortdesc LaTeX classes and packages for Chinese typesetting relocated 1 longdesc ctex is a collection of macro packages and document classes for longdesc LaTeX Chinese typesetting. +depend adobemapping +depend atbegshi +depend cjk +depend cjkpunct +depend ec +depend epstopdf-pkg +depend etoolbox +depend everyhook +depend fandol +depend fontspec +depend iftex +depend infwarerr +depend kvoptions +depend kvsetkeys +depend latex-bin +depend ltxcmds +depend luatexja +depend mptopdf depend ms +depend pdftexcmds +depend platex-tools +depend svn-prov +depend tipa +depend tools depend ttfutils depend ulem +depend uplatex +depend xcjk2uni +depend xecjk +depend xkeyval +depend xpinyin +depend xunicode +depend zhmetrics +depend zhmetrics-uptex depend zhnumber -containersize 41308 -containerchecksum f632e40abceca81daa4db24362c4cae46533f6e8df33c221bc76e60380dc48301d8b9fba338a40c1c6880dd06cdf9fd36fe9907c5fc5a97c9aad6cef07b84d80 -doccontainersize 1026644 -doccontainerchecksum eab21d42d1984fb697167d2d51f09e34495e331548f32daf620ba852ddbdd1233c34b382595364b7e208ad58cc25c4f08ee09ecc080e7c9b17e84290f4c9c885 +containersize 41464 +containerchecksum cf494ebd15c5bad2ac57425539e7189eb29c8710f388a0777aeb896a456a9a88a585533014ef40d1209e3c0ca680400ce47497116e1de8bfea36422e29ba5d94 +doccontainersize 1026648 +doccontainerchecksum 4fa4605c5220abc9f3604c422e285ea4f47edf647e3d94e3223c4b83f7c3c4293a7e7d7c7ed807ba0b566f1290b1875848385ebc4217782ed1ae0e32019ede20 docfiles size=262 RELOC/doc/latex/ctex/README.md details="Readme" RELOC/doc/latex/ctex/ctex.pdf details="Package documentation" language="zh" -srccontainersize 85624 -srccontainerchecksum d35c6f8425efb53d7fbad1b4baec18166d4888a92b70decc7e66b1371b8e78392795a850c213d292dd7fb344f5b3cb8efae3a76e16dd84c2a82dc582dd69d67d +srccontainersize 85620 +srccontainerchecksum d57e3eeb55ff350448401d5a5985c173b81c56fa382dbd039065f7e7ed6cfcfd107ebc882794affbc0987b38577bc4ea735eeda702cb9c274955ba663258aa01 srcfiles size=109 RELOC/source/latex/ctex/ctex.dtx RELOC/source/latex/ctex/ctexpunct.spa @@ -149535,7 +149546,7 @@ catalogue-version 0.5 name koma-script category TLCore -revision 53617 +revision 54825 shortdesc A bundle of versatile classes and packages relocated 1 longdesc The KOMA-Script bundle provides replacements for the article, @@ -149551,9 +149562,9 @@ longdesc with the standard classes. Since every package has its own longdesc version number, the version number quoted only refers to the longdesc version of scrbook, scrreprt, scrartcl, scrlttr2 and typearea longdesc (which are the main parts of the bundle). -containersize 14074196 -containerchecksum b8d227da363192b4ed7e4b9dd65e0e94fd3e77405598b8a10e6e16255c4814c524c5bf8238861f7461831d8258d6e00cb2da29f9e3cf61c1260b108a1fb8f92d -runfiles size=5786 +containersize 13334972 +containerchecksum 94f66cf85d9ea536007048dc99dd1996965e6f2fe1daffc7c1212ee09483e8b70451acb088a6ef8683092fcc260abecac4108b7c9ee1cc64234dbccbd58e59ea +runfiles size=5549 RELOC/doc/latex/koma-script/INSTALL.txt RELOC/doc/latex/koma-script/INSTALLD.txt RELOC/doc/latex/koma-script/README @@ -149582,7 +149593,6 @@ runfiles size=5786 RELOC/doc/latex/koma-script/scrletter.html RELOC/doc/latex/koma-script/scrlfile.html RELOC/doc/latex/koma-script/scrlttr2.html - RELOC/doc/latex/koma-script/scrpage2.pdf RELOC/doc/latex/koma-script/scrreprt.html RELOC/doc/latex/koma-script/scrtime.html RELOC/doc/latex/koma-script/scrwfile.html @@ -149721,7 +149731,6 @@ runfiles size=5786 RELOC/source/latex/koma-script/doc/scrletter.html RELOC/source/latex/koma-script/doc/scrlfile.html RELOC/source/latex/koma-script/doc/scrlttr2.html - RELOC/source/latex/koma-script/doc/scrpage2.tex RELOC/source/latex/koma-script/doc/scrreprt.html RELOC/source/latex/koma-script/doc/scrtime.html RELOC/source/latex/koma-script/doc/scrwfile.html @@ -149764,7 +149773,6 @@ runfiles size=5786 RELOC/source/latex/koma-script/scrlfile.dtx RELOC/source/latex/koma-script/scrlogo.dtx RELOC/source/latex/koma-script/scrmain.ins - RELOC/source/latex/koma-script/scrpage.dtx RELOC/source/latex/koma-script/scrsource.tex RELOC/source/latex/koma-script/scrstrip.inc RELOC/source/latex/koma-script/scrstrop.inc @@ -149814,7 +149822,6 @@ runfiles size=5786 RELOC/tex/latex/koma-script/scrletter.sty RELOC/tex/latex/koma-script/scrlfile.sty RELOC/tex/latex/koma-script/scrlttr2.cls - RELOC/tex/latex/koma-script/scrpage2.sty RELOC/tex/latex/koma-script/scrreport.cls RELOC/tex/latex/koma-script/scrreprt.cls RELOC/tex/latex/koma-script/scrsize10pt.clo @@ -149833,7 +149840,7 @@ catalogue-contact-home http://www.komascript.de/ catalogue-ctan /macros/latex/contrib/koma-script catalogue-license lppl1.3c catalogue-topics class letter book-pub page-hf geometry -catalogue-version 3.29 +catalogue-version 3.30 name koma-script-examples category Package @@ -287470,15 +287477,15 @@ docfiles size=592 name texlive-docindex category TLCore -revision 54777 +revision 54822 shortdesc top-level TeX Live doc.html, etc. longdesc These files are regenerated as needed, which is often, so we longdesc make them a separate package. See the tl-update-auto script for longdesc the process. containersize 388 -containerchecksum 88097d8ddb16b9dc4b5e7c8acc80a866809afd56b26b958edcdbd341d022ac2796dff1e090fe20a225bcf6c4aaf8c395decce863e67e7e0d6d37220f5f8c33ae -doccontainersize 161192 -doccontainerchecksum f84c98e5d82199fc79857770d5e0c7a7735f04d94d7bd02f0227eac861847300ac15ac21632bfe1e3c5fc7111cccc9f58b61a56b82f6ee5c1336531b66b67b0e +containerchecksum dcb90e2ec3c02d518c58599ab26fde6c39fcbec372e5e2ed725641df8700f2e3b0c402300a9dc69d399e9854c4fdd1e2664d9091c41e90913a1d1c77559399c4 +doccontainersize 161416 +doccontainerchecksum 7d17a34af621373417c6e035133fa50119505ad617f5094e933aa41f775966bb9c804f98ec46b188468c6c421fdf6f284dbdb7cb7da692f57e73c02e35010fc6 docfiles size=324 doc.html @@ -287700,7 +287707,7 @@ docfiles size=368 name texlive-scripts category TLCore -revision 54798 +revision 54823 shortdesc TeX Live infrastructure programs longdesc Includes install-tl, tl-portable, rungs, etc.; not needed for longdesc tlmgr to run but still ours. Not included in tlcritical. @@ -287708,10 +287715,10 @@ depend texlive-scripts.ARCH depend texlive.infra execute addMap mathpple.map postaction shortcut type=menu name="TeX Live command-line" cmd=TEXDIR/tlpkg/installer/tl-cmd.bat -containersize 131672 -containerchecksum e67d8cdd682d99e0bde76eba05b40c320511b6ae3b7bc1211f13d9fe421e56d0c5ca8f1faf9178c89bf0d61c5e1a0eaefe42ed7191cec6e4a594f029509207c7 +containersize 132156 +containerchecksum c3a70b718c504e3744ab6c663d624df7872a45aed635d42a47691c91dad0e0ff188d4e7f74d17df78a2d6cd319b711fcccd275b4e5cca00f36122b75f93379fe doccontainersize 219376 -doccontainerchecksum 90423c3d4e8a4a86047fc416b2e9c15411b73dec0ed2e95fbe4354c6dfe8fc141daa1608fbda4d558272ea8f2b09ffae5b4d2ad3ec269a3f884e8a6a8b55e030 +doccontainerchecksum 11a9f0b4bc1cc90c65c9ef8dd28e37cc4680f260147dac80a43fb150fa4e564846541f3c89a310155cf77033694a7bd9075fa169464a4a28369a5479b9b9b827 docfiles size=141 texmf-dist/doc/man/man1/fmtutil-sys.1 texmf-dist/doc/man/man1/fmtutil-sys.man1.pdf @@ -287741,7 +287748,7 @@ docfiles size=141 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 -runfiles size=177 +runfiles size=178 install-tl texmf-dist/dvips/tetex/config.builtin35 texmf-dist/dvips/tetex/config.dfaxhigh @@ -298890,17 +298897,17 @@ binfiles arch=win32 size=5 name tlshell category TLCore -revision 54375 +revision 54823 shortdesc GUI frontend (tcl/tk-based) for tlmgr depend tlshell.ARCH postaction shortcut type=menu name="TeX Live Manager" cmd=TEXDIR/bin/win32/tlshell.exe -containersize 25472 -containerchecksum 570302e9b411051ddab842fcd6d8fed032a1d3ce7c71a2e37334abeda9a57d246a37326c363a70e1b48dbb50057da35820bb3e22282433625f35181ccd5dbe9c -doccontainersize 440 -doccontainerchecksum 74c42b50a0ee1da7173a511a9a96cd7a480aa78ec165beca74f704828fda48cb60484de86124bed5aec39e99cc2e057dbf088b5b2c7e6cdc9917acde1b0b7fcb +containersize 26580 +containerchecksum aad8f3947bd005f25dd5598f1a347efcc03c7d2b27a9bc837caa5f3aa22f55af89ae0cd55e0cefd7b5d94534939dc9b78799e342fe5c72b6e50f56e7c2005c06 +doccontainersize 436 +doccontainerchecksum 62092b336970b93f41d54bd75f056ce2c7c06199546f4475f5ab599d8311396611fe99da5489d1e2858bc03b9795c372f2c7c79d89ae5c752cd832b30d7cd84f docfiles size=1 texmf-dist/doc/support/tlshell/README -runfiles size=25 +runfiles size=27 texmf-dist/scripts/tlshell/tlshell.tcl tlpkg/tltcl/tlmgr.gif tlpkg/tltcl/tltcl.tcl diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5 b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5 index d0a0a88954..1af04d6973 100644 --- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5 +++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5 @@ -1 +1 @@ -ad9c276e088a4da2c9e5d8179b4cd40b texlive.tlpdb +0457a9ac3d33402af11e1c721abdbfce texlive.tlpdb diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 index 3320c15b70..a0cec6dc94 100644 --- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 +++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 @@ -1 +1 @@ -375716150f308b81eaeb0465b3787a8a6a9be43f819c04c4d10b24d8a0a87a2222c8864593e16e0784b87749f7b70ced5dc8c2cad823af5963588bc2827a5d91 texlive.tlpdb +62e0ba2f522661380a80411b35879fd659d197c64ca5a411a1ec11902ead16e891d592e782a3c29fa85ff950cbc4e6a65f78d1c2250fcace512ba9663929089e texlive.tlpdb diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc index 3e26efa6a7..535014c36f 100644 --- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc +++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc @@ -1,10 +1,10 @@ -----BEGIN PGP SIGNATURE----- -iQEcBAEBCgAGBQJenjayAAoJEEzhh34ZQ4xw/S4IAJqiXTZ3KUlcDIRj02qOpmxF -uG5G87lo3gk1UIo/H4lL9G9MRfO3WvGALTy3vgwX2oAlgKIMX0XyvOeqfYBJCVYf -DUR0Hsmil5D4asgCH3k90dnFTJ6idd4r2TJuKkQlmkEEDO2AMz+GFCScB/1eTs+E -vxmT+RzW2uvjdYbT99I6XKmZXHWjnuxqvwndOONcCFSRhYKX1bsnhu4hZuQ2w6SH -loYrjAWVE7FJJg/T8AOUOhejqWHR+AMmJcgPYo4Kh2IGhjDlA0DuNbawocod0UIf -AxFpsRT/AmAmVHljJUrntmfp2jchSu9M9HUjXr0ANF7irUAlt1SmqYuI/TKvMco= -=Ll/I +iQEcBAEBCgAGBQJen4erAAoJEEzhh34ZQ4xwxHAH/RANRBFqn0xmn+W9Kk59kz3i +nozXWxYR020eZRpTRBzvSv+rbLhYzZw2pBsirq1BHv9tul9x/5MxqWi2chEYP/mi ++uQwU5YiI6uEt6knB4jSk5lkoyzq0tuip1LGbxYl9mWgfcNaCLpIc+7bylpsrbiA +xKvk/fyuLXXh+kMjH/jQZR7R0Wxk+5OaWl3JgCGycSi9XwEcNDm8yvqbby+IpwUj +FQu28wUnFnI7ngFk8KEPJ+W/KVHnq3dHmUibkCwENp2uv+6tkIwJpym7XCINgWio +p4SIAMrfX5WaF31HzmB6gRX2WJwrLbdaaTPNlLhjyRlcD6u4CSy8NlUAAbRMQEc= +=bHYG -----END PGP SIGNATURE----- diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz index ae4d71f0c8..786cdb716c 100644 Binary files a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz and b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz differ diff --git a/systems/texlive/tlnet/tlpkg/tltcl/tltcl.tcl b/systems/texlive/tlnet/tlpkg/tltcl/tltcl.tcl index fdb9deef72..e95f919d7f 100644 --- a/systems/texlive/tlnet/tlpkg/tltcl/tltcl.tcl +++ b/systems/texlive/tlnet/tlpkg/tltcl/tltcl.tcl @@ -205,8 +205,16 @@ normalize_argv # Otherwise, the localization code borrows much from Norbert Preining's # translation module for TL. -proc load_translations {} { +package require msgcat + +# available languages +set ::langs [list "en"] +foreach l [glob -nocomplain -directory \ + [file join $::instroot "tlpkg" "translations"] *.po] { + lappend ::langs [string range [file tail $l] 0 end-3] +} +proc initialize_language {} { # check the command-line for a lang parameter set ::lang "" set i 0 @@ -222,35 +230,17 @@ proc load_translations {} { } unset i - # First fallback: check config file. - # $TEXMFCONFIG/tlmgr/config can have a setting for gui-lang. - # There will not be one for the installer, only for tlmgr. - if {! [info exists ::lang] || $::lang eq ""} { - foreach tmf {"TEXMFCONFIG" "TEXMFSYSCONFIG"} { - if [catch {exec kpsewhich -var-value $tmf} d] { - break; # apparently there is not yet a TL installation - } - if [catch {open [file join $d "tlmgr" "config"] r} fid] continue - while 1 { - if [chan eof $fid] { - break - } - if [catch {chan gets $fid} l] break - if {[regexp {^\s*gui-lang\s*=\s*(\S+)$} $l m ::lang]} { - break - } - } - chan close $fid - if {[info exists ::lang] && $::lang ne ""} break - } + # First fallback, only for tlshell: check tlmgr config file + if {$::lang eq "" && [info exists ::invoker] && $::invoker eq "tlshell"} { + set ::lang [get_config_var "gui-lang"] } + # try to set tcltk's locale to $::lang too. this may not work for 8.5. + if {$::lang ne ""} {::msgcat::mclocale $::lang} + # second fallback: what does msgcat think about it? Note that # msgcat checks the environment and on windows also the registry. - if {! [info exists ::lang] || $::lang eq ""} { - package require msgcat - set ::lang [::msgcat::mclocale] - } + if {$::lang eq ""} {set ::lang [::msgcat::mclocale]} set messcat "" if {$::lang ne ""} { @@ -264,20 +254,29 @@ proc load_translations {} { set messcat $f break } elseif {[string range $ln_f 0 1] eq [string range $::lang 0 1]} { - set ::lang [string range $::lang 0 1] set maybe $f } } - if {$messcat eq ""} { - set messcat $maybe + if {$messcat eq "" && $maybe ne ""} { + set ::lang [string tolower [string range [file tail $maybe] 0 end-3]] } } +} +initialize_language +proc load_translations {} { + foreach s [array names ::TRANS] { + array unset ::TRANS $s + } + if {$::lang eq ""} return + set messcat [file join $::instroot "tlpkg" "translations" "${::lang}.po"] # parse messcat. - # for now, just skip lines which make no sense. - # empty messcat: no suitable message catalog - if {$messcat ne ""} { + # skip lines which make no sense + if [file exists $messcat] { # create array with msgid keys and msgstr values + # in the case that we switch languages, + # we need to remove old translations, + # since the new set may not completely cover the old one if {! [catch {open $messcat r} fid]} { fconfigure $fid -encoding utf-8 set inmsgid 0 @@ -340,6 +339,7 @@ proc load_translations {} { } } } +initialize_language load_translations proc __ {s args} { @@ -372,35 +372,96 @@ unset -nocomplain ::env(LANGUAGE) ### fonts ### -# no bold text for messages; `userDefault' indicates priority -option add *Dialog.msg.font TkDefaultFont userDefault - -# normal size bold -font create bfont {*}[font configure TkDefaultFont] -font configure bfont -weight bold -# larger, not bold: lfont -font create lfont {*}[font configure TkDefaultFont] -font configure lfont -size [expr {round(1.2 * [font actual lfont -size])}] -# larger and bold -font create hfont {*}[font configure lfont] -font configure hfont -weight bold -# extra large and bold -font create titlefont {*}[font configure TkDefaultFont] -font configure titlefont -weight bold \ - -size [expr {round(1.5 * [font actual titlefont -size])}] - -## italicized items; not used -#font create it_font {*}[font configure TkDefaultFont] -#font configure it_font -slant italic - -# width of '0', as a very rough estimate of average character width -set ::cw \ - [expr {max([font measure TkDefaultFont "0"],[font measure TkTextFont "0"])}] +# ttk defaults use TkDefaultFont and TkHeadingFont +# ttk classic theme also uses TkTextFont for TEntry +# ttk::combobox uses TkTextFont +# although only the first three appear to be used here, this may depend +# on the theme, so I resize all symbolic fonts anyway. + +set dflfonts [list \ + TkHeadingFont \ + TkCaptionFont \ + TkDefaultFont \ + TkMenuFont \ + TkTextFont \ + TkTooltipFont \ + TkFixedFont \ + TkIconFont \ + TkSmallCaptionFont \ +] +foreach f $::dflfonts { + set ::oldsize($f) [font configure $f -size] +} + +font create bfont +font create lfont +font create hfont +font create titlefont + +proc redo_fonts {} { + + # note that ttk styles refer to the above symbolic font names + # and generally do not define fonts themselves + + foreach f $::dflfonts { + font configure $f -size [expr { round($::oldsize($f)*$::tkfontscale)}] + } + # the above works for ttk::*button, ttk::treeview, notebook labels + unset -nocomplain f -# height: assume height == width*2 + option add *font TkDefaultFont + # the above works for menu items, ttk::label, text, ttk::entry + # including current value of ttk::combobox, ttk::combobox list items + # and non-ttk labels and buttons - which are not used here -# workaround for treeview on windows on HiDPI displays -ttk::style configure Treeview -rowheight [expr {3 * $::cw}] + set ::cw \ + [expr {max([font measure TkDefaultFont "0"],[font measure TkTextFont "0"])}] + # height: assume height == width*2 + # workaround for treeview on windows on HiDPI displays + ttk::style configure Treeview -rowheight [expr {3 * $::cw}] + + # no bold text for messages; `userDefault' indicates priority + option add *Dialog.msg.font TkDefaultFont userDefault + + # normal size bold + font configure bfont {*}[font configure TkDefaultFont] + font configure bfont -weight bold + # larger, not bold: lfont + font configure lfont {*}[font configure TkDefaultFont] + font configure lfont -size [expr {round(1.2 * [font actual lfont -size])}] + # larger and bold + font configure hfont {*}[font configure lfont] + font configure hfont -weight bold + # extra large and bold + font configure titlefont {*}[font configure TkDefaultFont] + font configure titlefont -weight bold \ + -size [expr {round(1.5 * [font actual titlefont -size])}] +} + +# initialize scaling factor + +set ::tkfontscale "" +if {[info exists ::invoker] && $::invoker eq "tlshell"} { + set ::tkfontscale [get_config_var "tkfontscale"] + # is $::tkfontscale a number, and a reasonable one? + if {[scan $::tkfontscale {%f} f] != 1} { ; # not a number + set ::tkfontscale "" + } elseif {$::tkfontscale < 0} { + set ::tkfontscale "" + } elseif {$::tkfontscale < 0.5} { + set ::tkfontscale 0.5 + } elseif {$::tkfontscale > 10} { + set ::tkfontscale 10 + } +} +if {$::tkfontscale eq ""} { + if {[winfo vrootheight .] > 2000 && [winfo vrootwidth .] > 3000} { + set ::tkfontscale 2 + } else { + set ::tkfontscale 1 + } +} +redo_fonts # icon catch { -- cgit v1.2.3