From 51156ffe8b1434d9c1896f12a59554cbe877ee3d Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 7 May 2023 16:54:07 +0200 Subject: 2023-05-07 16:28:00 --- doc/context/scripts/mkiv/mtx-install-modules.html | 56 +++++++++++++++++++++ doc/context/scripts/mkiv/mtx-install-modules.man | 33 +++++++++++++ doc/context/scripts/mkiv/mtx-install-modules.xml | 33 +++++++++++++ doc/context/scripts/mkiv/mtx-install.html | 57 ++++++++++++++++++++++ doc/context/scripts/mkiv/mtx-install.man | 54 ++++++++++++++++++++ doc/context/scripts/mkiv/mtx-install.xml | 24 +++++++++ .../manuals/workflows/workflows-graphics.tex | 36 ++++++++++++++ 7 files changed, 293 insertions(+) create mode 100644 doc/context/scripts/mkiv/mtx-install-modules.html create mode 100644 doc/context/scripts/mkiv/mtx-install-modules.man create mode 100644 doc/context/scripts/mkiv/mtx-install-modules.xml create mode 100644 doc/context/scripts/mkiv/mtx-install.html create mode 100644 doc/context/scripts/mkiv/mtx-install.man create mode 100644 doc/context/scripts/mkiv/mtx-install.xml (limited to 'doc') diff --git a/doc/context/scripts/mkiv/mtx-install-modules.html b/doc/context/scripts/mkiv/mtx-install-modules.html new file mode 100644 index 000000000..b75ed4b42 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-install-modules.html @@ -0,0 +1,56 @@ + + + + + + + + + + + ConTeXt Module Installer 1.00 + + + + + +
+
ConTeXt Module Installer 1.00
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + +
flagvaluedescription
--listlist modules
--installinstall modules
--moduleinstall (zip) file(s)
+
+

Examples

+mtxrun --script install-modules --list +

mtxrun --script install-modules --install filter letter +
mtxrun --script install-modules --install tikz +
mtxrun --script install-modules --install --all +

mtxrun --script install-modules --install --module t-letter.zip +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-install-modules.man b/doc/context/scripts/mkiv/mtx-install-modules.man new file mode 100644 index 000000000..cd83aea54 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-install-modules.man @@ -0,0 +1,33 @@ +.TH "mtx-install" "1" "01-01-2023" "version 2.01" "ConTeXt Installer" +.SH NAME + mtx-install - ConTeXt Installer +.SH SYNOPSIS +.B mtxrun --script install [ +.I OPTIONS ... +.B ] [ +.I FILENAMES +.B ] +.SH DESCRIPTION +.B ConTeXt Installer +.SH OPTIONS +.TP +.B --list +list modules +.TP +.B --install +install modules +.TP +.B --module +install (zip) file(s) +.SH AUTHOR +More information about ConTeXt and the tools that come with it can be found at: + + +.B "maillist:" +ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context + +.B "webpage:" +http://www.pragma-ade.nl / http://tex.aanhet.net + +.B "wiki:" +http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-install-modules.xml b/doc/context/scripts/mkiv/mtx-install-modules.xml new file mode 100644 index 000000000..872c1d64e --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-install-modules.xml @@ -0,0 +1,33 @@ + + + + mtx-install + ConTeXt Installer + 2.01 + + + + + list modules + install modules + install (zip) file(s) + + + + + + Examples + + mtxrun --script install-modules --list + + + mtxrun --script install-modules --install filter letter + mtxrun --script install-modules --install tikz + mtxrun --script install-modules --install --all + + + mtxrun --script install-modules --install --module t-letter.zip + + + + diff --git a/doc/context/scripts/mkiv/mtx-install.html b/doc/context/scripts/mkiv/mtx-install.html new file mode 100644 index 000000000..dc08c4837 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-install.html @@ -0,0 +1,57 @@ + + + + + + + + + + + ConTeXt Installer 2.01 + + + + + +
+
ConTeXt Installer 2.01
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + + + + + +
flagvaluedescription
--platformstringplatform
--serverstringrepository url (rsync://contextgarden.net)
--modulesstringextra modules (can be list or 'all')
--fontsstringadditional fonts (can be list or 'all')
--goodiesstringextra binaries (like scite and texworks)
--installinstall context
--updateupdate context
--erasewipe the cache
--identifycreate list of files
--secureuse curl for https
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-install.man b/doc/context/scripts/mkiv/mtx-install.man new file mode 100644 index 000000000..77ea98600 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-install.man @@ -0,0 +1,54 @@ +.TH "mtx-install" "1" "01-01-2023" "version 2.01" "ConTeXt Installer" +.SH NAME + mtx-install - ConTeXt Installer +.SH SYNOPSIS +.B mtxrun --script install [ +.I OPTIONS ... +.B ] [ +.I FILENAMES +.B ] +.SH DESCRIPTION +.B ConTeXt Installer +.SH OPTIONS +.TP +.B --platform=string +platform +.TP +.B --server=string +repository url (rsync://contextgarden.net) +.TP +.B --modules=string +extra modules (can be list or 'all') +.TP +.B --fonts=string +additional fonts (can be list or 'all') +.TP +.B --goodies=string +extra binaries (like scite and texworks) +.TP +.B --install +install context +.TP +.B --update +update context +.TP +.B --erase +wipe the cache +.TP +.B --identify +create list of files +.TP +.B --secure +use curl for https +.SH AUTHOR +More information about ConTeXt and the tools that come with it can be found at: + + +.B "maillist:" +ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context + +.B "webpage:" +http://www.pragma-ade.nl / http://tex.aanhet.net + +.B "wiki:" +http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-install.xml b/doc/context/scripts/mkiv/mtx-install.xml new file mode 100644 index 000000000..a7dd8631c --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-install.xml @@ -0,0 +1,24 @@ + + + + mtx-install + ConTeXt Installer + 2.01 + + + + + platform + repository url (rsync://contextgarden.net) + extra modules (can be list or 'all') + additional fonts (can be list or 'all') + extra binaries (like scite and texworks) + install context + update context + wipe the cache + create list of files + use curl for https + + + + diff --git a/doc/context/sources/general/manuals/workflows/workflows-graphics.tex b/doc/context/sources/general/manuals/workflows/workflows-graphics.tex index 2246c1c88..9c6fb232d 100644 --- a/doc/context/sources/general/manuals/workflows/workflows-graphics.tex +++ b/doc/context/sources/general/manuals/workflows/workflows-graphics.tex @@ -198,6 +198,42 @@ images it might make sense to have a final run with a higher compress level. The \stopsection +\startsection[title=Remote] + +You can include images from a remote location using a \URL\ specification. + +\starttyping +\externalfigure[https://www.pragma-ade.com/logo-ade.png] % via curl +\externalfigure[http://www.pragma-ade.com/logo-ade.png] % via socket +\stoptyping + +Normally the socket library will be used for \type {http} and Curl for \type +{https}. Images are cached and there is some threshold that makes sure that we +don't keep fetching. You can set the threshold to zero seconds to avoid that: + +\starttyping +\enabledirectives[schemes.threshold=0] +\stoptyping + +In \LMTX\ there are some more options: + +\starttyping +\enabledirectives[schemes.inmemory] +\enabledirectives[schemes.uselibrary] +\stoptyping + +The first option avoid storing an image in a file and therefore consumes a bit +more memory and the second one tries to use the Curl library instead of calling +the program. If you want ot see what is going on you can use: + +\starttyping +\enabletrackers[resolvers.schemes] +\enabletrackers[graphics.locating] +\enabletrackers[resolvers.virtual] +\stoptyping + +\stopsection + \stopchapter \stopcomponent -- cgit v1.2.3