From 6ca88e6f1f15cea89db047839c3126a501f39eea Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 15 Oct 2021 15:03:57 +0200 Subject: 2021-10-15 13:59:00 --- doc/context/scripts/mkiv/mtx-spell.html | 53 +++++++++++++++ doc/context/scripts/mkiv/mtx-spell.man | 36 ++++++++++ doc/context/scripts/mkiv/mtx-spell.xml | 26 ++++++++ .../manuals/lowlevel/lowlevel-paragraphs.tex | 78 ++++++++++++++++++++++ 4 files changed, 193 insertions(+) create mode 100644 doc/context/scripts/mkiv/mtx-spell.html create mode 100644 doc/context/scripts/mkiv/mtx-spell.man create mode 100644 doc/context/scripts/mkiv/mtx-spell.xml (limited to 'doc') diff --git a/doc/context/scripts/mkiv/mtx-spell.html b/doc/context/scripts/mkiv/mtx-spell.html new file mode 100644 index 000000000..5590ffd1a --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-spell.html @@ -0,0 +1,53 @@ + + + + + + + + + + + ConTeXt Word Filtering 0.10 + + + + + +
+
ConTeXt Word Filtering 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + +
flagvaluedescription
--expandexpand hunspell dics and aff files
--dictionaryword file (.dics)
--specificationaffix specification file (.aff)
--resultdestination file
+
+

Examples

+mtxrun --script spell --expand --dictionary="en_US.dic" --specification="en_US.txt" --result="data-us.txt" +

+
+ + diff --git a/doc/context/scripts/mkiv/mtx-spell.man b/doc/context/scripts/mkiv/mtx-spell.man new file mode 100644 index 000000000..acc22d1aa --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-spell.man @@ -0,0 +1,36 @@ +.TH "mtx-spell" "1" "01-01-2021" "version 0.10" "ConTeXt Word Filtering" +.SH NAME + mtx-spell - ConTeXt Word Filtering +.SH SYNOPSIS +.B mtxrun --script spell [ +.I OPTIONS ... +.B ] [ +.I FILENAMES +.B ] +.SH DESCRIPTION +.B ConTeXt Word Filtering +.SH OPTIONS +.TP +.B --expand +expand hunspell dics and aff files +.TP +.B --dictionary +word file (.dics) +.TP +.B --specification +affix specification file (.aff) +.TP +.B --result +destination file +.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-spell.xml b/doc/context/scripts/mkiv/mtx-spell.xml new file mode 100644 index 000000000..9fc3fe859 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-spell.xml @@ -0,0 +1,26 @@ + + + + mtx-spell + ConTeXt Word Filtering + 0.10 + + + + + expand hunspell dics and aff files + word file (.dics) + affix specification file (.aff) + destination file + + + + + + Examples + + mtxrun --script spell --expand --dictionary="en_US.dic" --specification="en_US.txt" --result="data-us.txt" + + + + diff --git a/doc/context/sources/general/manuals/lowlevel/lowlevel-paragraphs.tex b/doc/context/sources/general/manuals/lowlevel/lowlevel-paragraphs.tex index 7fd120e06..bd9fd7b76 100644 --- a/doc/context/sources/general/manuals/lowlevel/lowlevel-paragraphs.tex +++ b/doc/context/sources/general/manuals/lowlevel/lowlevel-paragraphs.tex @@ -1045,3 +1045,81 @@ examples are visualized in \in {figure} [fig:flow]. % \par[newgraf][16=1,17=1], .... pretolerance 6000, .... % \parfillleftskip + +% todo: + +% \starttext +% +% \showframe +% +% % this is the current default behaviour; we have a topskip with quite some stretch +% % and that stretch is taken into account when tex calculates the badness; watch +% % the next page +% +% \dorecurse{4}{ +% \bgroup +% \shapingpenaltiesmode\zerocount +% \showmakeup[penalty] +% \placefigure[left]{}{} +% \input tufte \par +% \egroup +% } +% +% \page EMPTY \page +% +% % the ntop is new and when >= 0 it is a multiplier for the number of lines +% % stretch, here we have one line; watch the next page +% +% \dorecurse{4}{ +% \bgroup +% \shapingpenaltiesmode\zerocount +% \setupinterlinespace[ntop=1] +% \showmakeup[penalty] +% \placefigure[left]{}{} +% \input tufte \par +% \egroup +% } +% +% \page EMPTY \page +% +% % these shaping parameters will discourage a linebreak within a shape; +% % the placement macro checked available space but that doesn't mean that +% % there can be no linebreak +% +% \dorecurse{4}{ +% \bgroup +% \showmakeup[penalty] +% \shapingpenalty\plushundred +% \shapingpenaltiesmode"FF\relax +% \placefigure[left]{}{} +% \input tufte \par +% \egroup +% } +% +% \page EMPTY \page +% +% % the next pages show the effect of changed topskip on page breaks with +% % footnotes +% +% \dorecurse{10}{ +% [#1] \input tufte \footnote{\input{tufte}} \par +% } +% +% \page EMPTY \page +% +% \setupinterlinespace[ntop=2] +% +% \dorecurse{10}{ +% [#1] \input tufte \footnote{\input{tufte}} \par +% } +% +% \page EMPTY \page +% +% \setupinterlinespace[ntop=0] +% +% \dorecurse{10}{ +% [#1] \input tufte \footnote{\input{tufte}} \par +% } +% +% \stoptext + -- cgit v1.2.3