9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: tlaronde@kergis.com
To: 9fans@9fans.net
Subject: [9fans] kerTeX packages framework update
Date: Tue, 30 Jan 2024 07:47:59 +0100	[thread overview]
Message-ID: <Zbibn0C6CWILR1pv@kergis.com> (raw)

I have made a significant update to the extensions framework of kerTeX
(installing packages, typically things on CTAN).

What is of special interest to plan9 and derived systems users:

- When a recipe downloads sources from CTAN, the URL is not specified.
The definition of the env variable KERTEX_PKG_SRC_SRV is used,
defaulting to 'http://mirrors.ctan.org/'. The problem is that this
last is a CDN and redirection does not work with every client or one
can make a better choice of a reliable mirror near location. It is
then possible to simply redefine the variable to download from the
preferred server. This URL can also be a
'file:///some/dir/with/CTAN/like/tree/' so there is the following
utility;

- pkg_bulk_get is provided that can download all the sources
(mirroring) needed by the recipes in KERTEX_PKG_RCP_DIR (a dir; not an
URL) that defaults to $KERTEX_LIBDIR/pkg/rcp/. If one wants only
sources for the recipes one uses, just define the variable to the dir
where the selected recipes are (one can also see the dependencies of
recipes in order to have a complete set);

- An utility pkg_rcp_sketch is provided that sketches a recipe for a
LaTeX contrib macros package on CTAN. The recipe provided should work
as is in a fair amount of cases (in this case, no need to provide it:
this lightens the burden for me to have to maintain recipes).

All explanations are in:

http://kertex.kergis.com/{fr,en}/pkg.html

-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td65b4483cb3bf7bd-M47a89d62c052fcaf1eb40e36
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

             reply	other threads:[~2024-01-30  6:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30  6:47 tlaronde [this message]
2024-01-30  7:20 ` tlaronde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zbibn0C6CWILR1pv@kergis.com \
    --to=tlaronde@kergis.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).