ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Michal Vlasák via ntg-context" <ntg-context@ntg.nl>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: "Michal Vlasák" <lahcim8@gmail.com>
Subject: Re: Archlinux: updated BPKGBUILD for luametatex
Date: Wed, 15 Dec 2021 23:38:06 +0100	[thread overview]
Message-ID: <CGG8HKTB06TX.69YI63GZK4F2@deimos> (raw)
In-Reply-To: <nycvar.YAK.7.77.849.2112151523540.2624339@ervasbepr.pvz.zptvyy.pn>

On Wed Dec 15, 2021 at 9:32 PM CET, Aditya Mahajan via ntg-context wrote:
> > > i never came to a 'download option' because it was ot clear where to
> > > download from .. are there zips?
> > 
> > Not sure if it's for every package, but should be just
> > 
> >     "http://mirrors.ctan.org/" .. data.ctan.path .. ".zip"
> > 
> > in scripts.ctan.details.
>
> This corresponds the "Download" link on the CTAN page of each package,
> but unfortunately, is not always in TDS format. For example, for pgf
> (which is locate at /graphics/pgf/base), we have
>
> https://mirrors.ctan.org/graphics/pgf/base.zip
>
> which lists all tex related files in base/tex sub-directory. The CTAN
> page (https://www.ctan.org/pkg/pgf) also has a field "TDS Archive",
> which lists:
>
> http://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip
>
> which is TDS compliant. The same is the case for circuitikz and
> pgfplots. So, it safer to use
>
> "http://mirrors.ctan.org/" .. data.ctan.path .. "/" .. pkg_name ..
> "tds.zip"
>
> But, for context packages, CTAN does nto have the tds zips (I guess
> because the default zip is already TDS compliant). For example:
>
> https://www.ctan.org/pkg/context-filter
>
> has the "download" link at the bottom but not the "TDS Archive" link.
>
> In the end, since I am only installing 4-5 packages, it is simpler to
> input the URLs but hand rather than write code to automate the logic.

Oops, sorry, I completely forgot to mention that indeed what I mention
corresponds to the download link on the package page, which in general
"shouldn't be" in TDS format. Only packages whose authors upload their
own TDS zip have these .tds.zip files you found:

From https://www.ctan.org/help/upload-pkg:
> The CTAN team has decided that packages on the archive shall remain in
> a browsing-friendly layout, i.e. the best format is to have all the
> files inside a directory.  Very large packages – such as modern font
> distributions – are improved by a single extra layer of directories.
>
> In parallel to the main directory tree, CTAN offers possibility to
> provide a TDS-structured ZIP file. Such a file will only be accepted
> as an addition to your upload, not as a replacement.
>
> This file is not necessary at all for simple packages. Thus it should
> be omitted for instance for normal LaTeX packages. This file might be
> required when the package is complex.

Michal Vlasák
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2021-12-15 22:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 17:22 Aditya Mahajan via ntg-context
2021-12-15 18:28 ` Hans Hagen via ntg-context
2021-12-15 18:56   ` kaddour kardio via ntg-context
2021-12-15 20:08   ` Michal Vlasák via ntg-context
2021-12-15 20:32     ` Aditya Mahajan via ntg-context
2021-12-15 20:40       ` Joseph Wright via ntg-context
2021-12-15 22:38       ` Michal Vlasák via ntg-context [this message]
2021-12-15 22:46         ` Hans Hagen via ntg-context
2021-12-15 22:43       ` Hans Hagen via ntg-context

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=CGG8HKTB06TX.69YI63GZK4F2@deimos \
    --to=ntg-context@ntg.nl \
    --cc=lahcim8@gmail.com \
    /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).