From 25fcad7435f56cdce2658336909f4da6a65589c0 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 13 Apr 2018 15:51:39 +0200 Subject: 2018-04-13 15:02:00 --- doc/context/scripts/mkiv/mtx-fonts.html | 81 --------------------------------- doc/context/scripts/mkiv/mtx-fonts.man | 69 ---------------------------- doc/context/scripts/mkiv/mtx-fonts.xml | 65 -------------------------- doc/context/scripts/mkiv/mtx-pdf.html | 2 + doc/context/scripts/mkiv/mtx-pdf.man | 3 ++ doc/context/scripts/mkiv/mtx-pdf.xml | 6 +++ doc/context/scripts/mkiv/mtxrun.html | 2 +- doc/context/scripts/mkiv/mtxrun.man | 2 +- doc/context/scripts/mkiv/mtxrun.xml | 2 +- 9 files changed, 14 insertions(+), 218 deletions(-) delete mode 100644 doc/context/scripts/mkiv/mtx-fonts.html delete mode 100644 doc/context/scripts/mkiv/mtx-fonts.man delete mode 100644 doc/context/scripts/mkiv/mtx-fonts.xml (limited to 'doc/context/scripts/mkiv') diff --git a/doc/context/scripts/mkiv/mtx-fonts.html b/doc/context/scripts/mkiv/mtx-fonts.html deleted file mode 100644 index b175139c8..000000000 --- a/doc/context/scripts/mkiv/mtx-fonts.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - ConTeXt Font Database Management 0.21 - - - - - -
-
ConTeXt Font Database Management 0.21
-
-
-
-
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
-
-
-
- -
-
-

Command line options

- - - - - - - - - - - - - - - - - - - - - -
flagvaluedescription
--convertsave open type font in raw table
--unpacksave a tma file in a more readable format
--reloadgenerate new font database (use --force when in doubt)
--reload--simple:generate luatex-fonts-names.lua (not for context!)
--list--name: list installed fonts, filter by name [--pattern]
--list--spec: list installed fonts, filter by spec [--filter]
--list--file: list installed fonts, filter by file [--pattern]
--patternstrfilter files using pattern
--filterlistkey-value pairs
--allshow all found instances (combined with other flags)
--infogive more details
--trackerslistenable trackers
--statisticssome info about the database
--namesuse name instead of unicodes
--cachestruse specific cache (otl or otf)
-
-

Examples

-mtxrun --script font --list somename (== --pattern=*somename*) -

mtxrun --script font --list --name somename -
mtxrun --script font --list --name --pattern=*somename* -

mtxrun --script font --list --spec somename -
mtxrun --script font --list --spec somename-bold-italic -
mtxrun --script font --list --spec --pattern=*somename* -
mtxrun --script font --list --spec --filter="fontname=somename" -
mtxrun --script font --list --spec --filter="familyname=somename,weight=bold,style=italic,width=condensed" -
mtxrun --script font --list --spec --filter="familyname=crap*,weight=bold,style=italic" -

mtxrun --script font --list --all -
mtxrun --script font --list --file somename -
mtxrun --script font --list --file --all somename -
mtxrun --script font --list --file --pattern=*somename* -

mtxrun --script font --convert texgyrepagella-regular.otf -
mtxrun --script font --convert --names texgyrepagella-regular.otf -

-
- - diff --git a/doc/context/scripts/mkiv/mtx-fonts.man b/doc/context/scripts/mkiv/mtx-fonts.man deleted file mode 100644 index c27731e33..000000000 --- a/doc/context/scripts/mkiv/mtx-fonts.man +++ /dev/null @@ -1,69 +0,0 @@ -.TH "mtx-fonts" "1" "01-01-2018" "version 1.00" "ConTeXt Font Database Management" -.SH NAME -.B mtx-fonts -.SH SYNOPSIS -.B mtxrun --script fonts [ -.I OPTIONS ... -.B ] [ -.I FILENAMES -.B ] -.SH DESCRIPTION -.B ConTeXt Font Database Management -.SH OPTIONS -.TP -.B --convert -save open type font in raw table -.TP -.B --unpack -save a tma file in a more readable format -.TP -.B --reload -generate new font database (use --force when in doubt) -.TP -.B --reload ---simple:generate luatex-fonts-names.lua (not for context!) -.TP -.B --list ---name: list installed fonts, filter by name [--pattern] -.TP -.B --list ---spec: list installed fonts, filter by spec [--filter] -.TP -.B --list ---file: list installed fonts, filter by file [--pattern] -.TP -.B --pattern=str -filter files using pattern -.TP -.B --filter=list -key-value pairs -.TP -.B --all -show all found instances (combined with other flags) -.TP -.B --info -give more details -.TP -.B --trackers=list -enable trackers -.TP -.B --statistics -some info about the database -.TP -.B --names -use name instead of unicodes -.TP -.B --cache=str -use specific cache (otl or otf) -.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-fonts.xml b/doc/context/scripts/mkiv/mtx-fonts.xml deleted file mode 100644 index d001f4f9a..000000000 --- a/doc/context/scripts/mkiv/mtx-fonts.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - mtx-fonts - ConTeXt Font Database Management - 1.00 - - - - - save open type font in raw table - save a tma file in a more readable format - - - generate new font database (use when in doubt) - :generate luatex-fonts-names.lua (not for context!) - - - : list installed fonts, filter by name [] - : list installed fonts, filter by spec [] - : list installed fonts, filter by file [] - - - filter files using pattern - key-value pairs - show all found instances (combined with other flags) - give more details - enable trackers - some info about the database - use name instead of unicodes - use specific cache (otl or otf) - - - - - - Examples - - mtxrun --script font --list somename (== --pattern=*somename*) - - - mtxrun --script font --list --name somename - mtxrun --script font --list --name --pattern=*somename* - - - mtxrun --script font --list --spec somename - mtxrun --script font --list --spec somename-bold-italic - mtxrun --script font --list --spec --pattern=*somename* - mtxrun --script font --list --spec --filter="fontname=somename" - mtxrun --script font --list --spec --filter="familyname=somename,weight=bold,style=italic,width=condensed" - mtxrun --script font --list --spec --filter="familyname=crap*,weight=bold,style=italic" - - - mtxrun --script font --list --all - mtxrun --script font --list --file somename - mtxrun --script font --list --file --all somename - mtxrun --script font --list --file --pattern=*somename* - - - mtxrun --script font --convert texgyrepagella-regular.otf - mtxrun --script font --convert --names texgyrepagella-regular.otf - - - - diff --git a/doc/context/scripts/mkiv/mtx-pdf.html b/doc/context/scripts/mkiv/mtx-pdf.html index b156c154e..61c3d60f9 100644 --- a/doc/context/scripts/mkiv/mtx-pdf.html +++ b/doc/context/scripts/mkiv/mtx-pdf.html @@ -41,8 +41,10 @@ --infoshow some info about the given file --metadatashow metadata xml blob + --prettyreplace newlines in metadata --fontsshow used fonts (--detail) --linearizelinearize given file +
diff --git a/doc/context/scripts/mkiv/mtx-pdf.man b/doc/context/scripts/mkiv/mtx-pdf.man index 30aacc03a..e7b35cdc2 100644 --- a/doc/context/scripts/mkiv/mtx-pdf.man +++ b/doc/context/scripts/mkiv/mtx-pdf.man @@ -17,6 +17,9 @@ show some info about the given file .B --metadata show metadata xml blob .TP +.B --pretty +replace newlines in metadata +.TP .B --fonts show used fonts (--detail) .TP diff --git a/doc/context/scripts/mkiv/mtx-pdf.xml b/doc/context/scripts/mkiv/mtx-pdf.xml index bc4a9d795..3c87abf49 100644 --- a/doc/context/scripts/mkiv/mtx-pdf.xml +++ b/doc/context/scripts/mkiv/mtx-pdf.xml @@ -10,9 +10,15 @@ show some info about the given file show metadata xml blob + replace newlines in metadata show used fonts ( linearize given file + + mtxrun --script pdf --info foo.pdf + mtxrun --script pdf --metadata foo.pdf + mtxrun --script pdf --metadata --pretty foo.pdf + diff --git a/doc/context/scripts/mkiv/mtxrun.html b/doc/context/scripts/mkiv/mtxrun.html index 3df54da6e..ff0a49885 100644 --- a/doc/context/scripts/mkiv/mtxrun.html +++ b/doc/context/scripts/mkiv/mtxrun.html @@ -66,7 +66,7 @@ --systeminfostrshow current operating system, processor, etc --editlaunch editor with found file - --launchlaunch files like manuals, assumes os support (--all) + --launchlaunch files like manuals, assumes os support (--all,--list) --timedrunrun a script and time its run --autogenerateregenerate databases if needed (handy when used to run context in an editor) diff --git a/doc/context/scripts/mkiv/mtxrun.man b/doc/context/scripts/mkiv/mtxrun.man index fdff5103c..8bd14ef5a 100644 --- a/doc/context/scripts/mkiv/mtxrun.man +++ b/doc/context/scripts/mkiv/mtxrun.man @@ -81,7 +81,7 @@ show current operating system, processor, etc launch editor with found file .TP .B --launch -launch files like manuals, assumes os support (--all) +launch files like manuals, assumes os support (--all,--list) .TP .B --timedrun run a script and time its run diff --git a/doc/context/scripts/mkiv/mtxrun.xml b/doc/context/scripts/mkiv/mtxrun.xml index d307239c3..240a9ff96 100644 --- a/doc/context/scripts/mkiv/mtxrun.xml +++ b/doc/context/scripts/mkiv/mtxrun.xml @@ -39,7 +39,7 @@ launch editor with found file - launch files like manuals, assumes os support () + launch files like manuals, assumes os support (,) run a script and time its run -- cgit v1.2.3