Changeset 0c60ebd9 for pst/typesetting
- Timestamp:
- 03/15/2024 10:46:20 PM (7 months ago)
- Branches:
- 12.2, gimp3, ken/TL2024, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
- Children:
- 8790467
- Parents:
- 29c5331
- Location:
- pst/typesetting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/typesetting/texlive.xml
r29c5331 r0c60ebd9 349 349 350 350 <note> 351 <!-- following based on fedora, but amended to run in the BLFS 352 layout, where adapting fedora's script for mtxrun did not 353 reliably work. ken --> 354 <para> 355 TeXLive includes some files for ConTeXt but the source of that is 356 separate and has moved on from using luatex in the previous 'mkiv' 357 version to using luametatex which can be pulled with git from <ulink 358 url="https://github.com/contextgarden/luametatex/tags">github luametatex</ulink>. 359 LuaMetaTeX uses meson and ninja, but it does not fit easily into 360 the BLFS layout of TeXLive. 361 <!-- FIXME - when removing, keep that link to luametatex tags, and note 362 that building and installing that to fit with a BLFS install of TeXLive 363 will not be a trivial exercise.--> 364 </para> 365 <para> 366 However, with a little extra work 'mkiv' files can still be processed 367 using the files shipped in texmf. 368 </para> 369 370 <para> 371 <emphasis>Fixes to use ConTeXt will be removed when the texlive source next 372 has to be updated for either a vulnerability fix which requires backporting 373 luatex changes, or for TeXLive 2024. If you are a BLFS user of ConTeXt you 374 should be prepared to use the latest tag from github (the link is 375 in first paragraph of this Note). Building and installing that to work with 376 a BLFS install of TeXLive will not be a trivial exercise.</emphasis> 351 <para> 352 TeXLive does not include the source for ConTeXt, only the items that 353 are at CTAN. Trying to build ConTeXt purely from source on a BLFS 354 TeXLive system is a niche usage and looks as if it will be more trouble 355 than it is worth. 356 </para> 357 358 <para> 359 If you wish to use ConTeXt with <command>luametatex</command> (most of 360 the old MKII and MKIV code was removed from TeXLive 2023 by the ConTeXt 361 developer), starting with the binary (only installing ConTeXt) would 362 probably be the easiest way to bootstrep it. The source for 363 <command>luametatex</command> can be pulled with git from <ulink 364 url="https://github.com/contextgarden/luametatex/tags">github 365 luametatex</ulink>, compiled with meson and ninja, and installed by 366 copying to the correct program directory. This should avoid having to 367 fix all the symlinks etc and also avoid including the many unrelated 368 <!-- trying to use a filename tag here is rejected within para ?? --> 369 parts of texmf-dist. 370 See comments 1 to 5 of 371 <ulink url="&blfs-ticket-root;17823">#17823</ulink>. 377 372 </para> 378 373 </note> 379 380 <para>381 The following steps, run as the382 <systemitem class="username">root</systemitem> user, will create383 <command>mtxrun</command> and <command>context</command>.384 </para>385 386 <!-- I've put blank lines in this to make it a little less hard to read. ken -->387 <screen role="root"><userinput>sed -e '/local template=\[\[--ini/s/\(primaryflags%\)\(.*\)/\1 --socket --shell-escape \2/' \388 -e '/local template=\[\[%primaryflags%/s/\(primaryflags%\)\(.*\)/\1 --socket --shell-escape \2/' \389 -i $TEXLIVE_PREFIX/texmf-dist/scripts/context/lua/mtxrun.lua &&390 391 mkdir -pv $TEXLIVE_PREFIX/texmf-var/luatex-cache/context/ &&392 393 ln -sfv /$TEXLIVE_PREFIX/texmf-dist/scripts/context/lua/mtxrun.lua \394 /$TEXLIVE_PREFIX/bin/$TEXARCH/mtxrun &&395 396 cat > $TEXLIVE_PREFIX/bin/$TEXARCH/context << EOF397 #!/bin/sh398 export TEXMF=$TEXLIVE_PREFIX/texmf-dist;399 export TEXMFCNF=$TEXLIVE_PREFIX/texmf-dist/web2c;400 export TEXMFCACHE=$TEXLIVE_PREFIX/texmf-var/luatex-cache/context/;401 $TEXLIVE_PREFIX/bin/$TEXARCH/mtxrun --script context "\$@"402 EOF403 chmod -v 0755 $TEXLIVE_PREFIX/bin/$TEXARCH/context</userinput></screen>404 374 405 375 <para> … … 415 385 416 386 <para> 417 <command>patch -Np1 -i ../texlive-&texlive-version;-source-security_fix-1.patch</command>:418 this updates the luatex source to v1.17.0 to fix security issues.419 </para>420 421 <para>422 <command>sed -e '/local template (...)' (...)mtxrun.lua</command>: this makes a423 change in a texmf-dist script so that ConTeXt can now run with luatex-v1.17.0.424 </para>425 426 <para>427 387 <command>-C</command>: create config.cache, this saves significant 428 388 time in a parallel build. … … 448 408 449 409 <para> 450 < command>--disable-dvisvgm</command>: As noted above, the shipped version410 <parameter>--disable-dvisvgm</parameter>: As noted above, the shipped version 451 411 of dvisvgm, which has modified configuration files, cannot be built with 452 412 shared system libraries. … … 484 444 <command>fmtutil-sys --all</command>: This initializes the TeX formats, 485 445 Metafont bases and Metapost mems. 486 </para>487 488 <para>489 <command>mkdir -pv $TEXLIVE_PREFIX/texmf-var/luatex-cache/context/</command>:490 the context script created after this will not run correctly if this491 directory is not present.492 446 </para> 493 447 -
pst/typesetting/tl-installer.xml
r29c5331 r0c60ebd9 64 64 developer), using the binary is probably the easiest option. The source 65 65 no-longer ships with TeXLive and is poorly adapted to building with 66 systems except ithose running Mac and Windows. See comments 1 to 5 of66 systems except those running Mac and Windows. See comments 1 to 5 of 67 67 <ulink url="&blfs-ticket-root;17823">#17823</ulink>. 68 68 </para>
Note:
See TracChangeset
for help on using the changeset viewer.