| 1 |
$Id: README 75569 2025-06-21 23:51:25Z kakuto $ |
| 2 |
This README file and the graphics are public domain. |
| 3 |
|
| 4 |
This directory is for the generic TeX Live wrapper on Windows that is |
| 5 |
used for most scripts. The main file is runscript.tlu. |
| 6 |
|
| 7 |
runscript.exe/dll are copied here from the runtime (bin/windows) because |
| 8 |
../linked_scripts/Makefile[.am] installs them on Windows. |
| 9 |
|
| 10 |
*.svg are the sources for *.ico, |
| 11 |
and the *.ico are used in wrappers. Hence their locaton here. |
| 12 |
|
| 13 |
>From Siep: |
| 14 |
|
| 15 |
In this directory also are the icons and their sources for the GUI wrappers. |
| 16 |
|
| 17 |
The dviout- and TeXworks files are available from their source |
| 18 |
distributions. tlcockpit.xcf is included in the tlcockpit package. |
| 19 |
epspdf.svg is in the epspdf package, under the name of logo.svg. |
| 20 |
The bitmap2eps-, tlmgr- and, psviewer icons- and svg files are by me and |
| 21 |
are only here. |
| 22 |
|
| 23 |
How I created and added the icons: |
| 24 |
|
| 25 |
The GIMP can be used to export the usual bitmap formats and .svg to |
| 26 |
icons. Naturally, it can also export .xcf, its own native format, to |
| 27 |
icons. It can even import .ico files, at least in the case of |
| 28 |
dviout.ico. So I consider dviout.ico its own source. In practice, I |
| 29 |
also used IcoFX, a windows utility. |
| 30 |
|
| 31 |
All icons are 256x256 pixels, which windows will resize |
| 32 |
as needed. Only dviout.ico is 128x128. |
| 33 |
|
| 34 |
Normally, icons are added during compilation. But for the 2023 |
| 35 |
release, Akira Kakuto already provided the [w]runscript binaries |
| 36 |
along with the bulk of TL binaries. Therefore I opted for adding |
| 37 |
icons after the fact. This can be done with ResourceHacker |
| 38 |
(http://angusj.com/resourcehacker/), even from the command-line: |
| 39 |
|
| 40 |
rename name.exe name-bk.exe |
| 41 |
rem create a resource script: |
| 42 |
echo 1 ICON name.ico >name.rc |
| 43 |
rem turn resource script plus icon into a binary resource: |
| 44 |
ResourceHacker -open name.rc -save name.res -action compile |
| 45 |
rem add resource to binary: |
| 46 |
ResourceHacker -open name-bk.exe -save name.exe -action add -res name.res |
| 47 |
|
| 48 |
utf8runscript.exe is made by embedding a manifest |
| 49 |
utf8runscript.exe.manifest into runscript.exe. |