hi! greetings of the day.

-----
### QoL improvements for installation

* on win10 22h2 pc, i am facing problems (attached below) in installing context 
via [`context-win64.zip`].
* so, i had to run the install.bat again and again. 
* due to which the same step of "fetching 
'http://lmtx.pragma-ade.com/install-lmtx//texmf.zip'" and "fetching 
'http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip'" was performed 
repeatedly
* this consumes lots of time, will & internet bandwidth 
& takes away the focus from other important part of installation

So, 
1. can `install.bat` (or whatever responsible) pick these zips from current 
directory if these exist there?
of course, it should match their hash from the internet for verifying that 
these are same zips it needs.
2. rather than blindly removing the zips after (trying to) unzip, the 
`mtx-install.lua` should confirm 
if the "unzipping" hasn't resulted in these empty 0B files - as it seems some 
fundamental issue on windows
(description & context attached below)

-----
### version number

i understand that there's [only a 'latest' version, ... no stable 
release][context_history], 
* but still where is the version number for this latest shown on web?
* i am looking for a plaintext way, i.e. which can be accessed from anywhere 
without any install. 
* so, it might be via some "Releases" section on an html webpage, or some file 
like xml, yml, json, etc containing release versions listing

also, please don't use `:` colon or ` ` spaces in version as various package 
managers use version as directory names.
so, my suggested one is: `2025.01.08.T1320` i.e. `yyyy.MM.dd.THHmm`

i found various places which mentioned versions, but none of those mentioned 
"latest stable" version:
* news on [main_page]: `The Wiki's ConTeXt installation is on version ConTeXt 
2024.01.08 11:23 LMTX.`
again, it shows the "wiki's context installation". not the release.
* installation wiki: [check_installation]: `mtx-context     | current version: 
2024.04.01 08:59`
it is aimed at illustration & outdated. no reason for it to be kept up-to-date.
* [pragma-ade] shows: `2024-05-11 12:57 | 118925584`
but it seems for the sources i guess? and it uses `-` dashes as date separator 
rather than dots at other places above. 
also, what does last column show with '118925584'?


-----
### details of the problem:

* on running `context-win64/install.bat` even as admin & finishing the 
procedure, the `context --version` is not running. 
* the `texmf` directory tree matches [`texmf.zip`] (~52MB), but rather than 
`fonts`, `web2c` being dirs, those appear as files of 0B
* similarly the `texmf-context` dir tree matches [`texmf-context.zip`] 
(~115MB), but again, all the `colors`, `context`, `doc`, `tex`, `web2c` are 
shown as 0B files rather than being dirs
* also the `texmf-win64/bin/` contains a link-file (broken) of 0B with its name 
in chinese: `畬浡瑥瑡硥攮數`

just for records:
i have already enabled the developer tools on windows since a long time ago. 
so, creating filesystem links should work here already.

here's exerpt from the `install.bat` run's console output for "unzipping":

```
mtx-install     | fetching 'http://lmtx.pragma-ade.com/install-lmtx//texmf.zip'
mtx-install     | unzipping 'texmf.zip'
  70 files of  706 done,    6960406 bytes, 0.083 seconds
 140 files of  706 done,   10371456 bytes, 0.151 seconds
 210 files of  706 done,   14124718 bytes, 0.234 seconds
 280 files of  706 done,   19504148 bytes, 0.318 seconds
 350 files of  706 done,   24662280 bytes, 0.401 seconds
 420 files of  706 done,   33169752 bytes, 0.484 seconds
 490 files of  706 done,   40851921 bytes, 0.583 seconds
 560 files of  706 done,   47678981 bytes, 0.672 seconds
 630 files of  706 done,   68347030 bytes, 0.818 seconds
 700 files of  706 done,   85872915 bytes, 0.943 seconds
 706 files of  706 done,   86963093 bytes, 0.963 seconds
mtx-install     | fetching 
'http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip'
mtx-install     | unzipping 'texmf-context.zip'
 533 files of 5333 done,   88905129 bytes, 0.807 seconds
1066 files of 5333 done,   96885926 bytes, 1.333 seconds
1599 files of 5333 done,  116688474 bytes, 1.911 seconds
2132 files of 5333 done,  125260237 bytes, 2.375 seconds
2665 files of 5333 done,  142877653 bytes, 2.890 seconds
3198 files of 5333 done,  152403593 bytes, 3.375 seconds
3731 files of 5333 done,  160173210 bytes, 3.854 seconds
4264 files of 5333 done,  170072731 bytes, 4.333 seconds
4797 files of 5333 done,  176877135 bytes, 4.791 seconds
5330 files of 5333 done,  183560838 bytes, 5.270 seconds
5333 files of 5333 done,  183587012 bytes, 5.270 seconds
mtx-install     | installing tex/texmf-win64, 5 files
mtx-install     | skipping tex/texmf-win64/bin/context.exe
mtx-install     | new      :  31 % :     1315 : tex/texmf-win64/bin/context.lua
mtx-install     | new      :  62 % :  3075584 : 
tex/texmf-win64/bin/luametatex.exe
mtx-install     | skipping tex/texmf-win64/bin/mtxrun.exe
mtx-install     | new      : 100 % :   701766 : tex/texmf-win64/bin/mtxrun.lua
```

-----
### links

[context_history]: https://wiki.contextgarden.net/ConTeXt_history#ConTeXt_LMTX 
"lmtx in context history"
[check_installation]: 
https://wiki.contextgarden.net/Installation#Check_the_installation "check the 
installation"
[main_page]: https://wiki.contextgarden.net/Main_Page "context main page"
[pragma-ade]: https://www.pragma-ade.nl/download-1.htm "pragma webpage"

[`context-win64.zip`]: 
https://lmtx.pragma-ade.com/install-lmtx/context-win64.zip "~1.5M"
[`texmf.zip`]: http://lmtx.pragma-ade.com/install-lmtx//texmf.zip "~52M"
[`texmf-context.zip`]: 
http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip "~115M"
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to