--you can set input file here or in command line (parameter from command line has higher priority) input_file="x2.tex" --default settings: space . , ! ? „“ ; () - ' ctx_settings= { true, true, true, true, true, true, true, true, true, true} context_mode=true -- true value means that input format is .tex (ConTeXt), false means that correction will run in .txt mode and input file is in .txt format, so the entire file is plain texst brackets_equotation=true -- true value enables checking of the text in quotation marks e.g. \command [paramter = "text"] check_comments=false -- true value enables checking of the comment parts (%comment) check_typing_block=false -- true value enables checking of the block \starttyping -- stoptyping two_periods_ellipsis=false -- true value enables substitution .. -> … or \dots{} (based on use_dots) and false value substitutes .. -> . use_dots=false -- true value changes ... to \dots{} and false value changes ... to … mistake_description=true -- true value enables description of mistakes in change file thousands_separator=false -- true value enables period as the thousands separator in numbers e.g. 8.500,5 or 8.558.300 apostrophe_begin=false -- true value enables apostrophe at the beginning of word e.g. '97 apostrophe_middle=true -- true value enables apostrophe in the middle of word e.g. don't, we're semicolon_sequence=false -- true value enables sequence of semicolons e.g. CSV file with sequence val;val;;;;val;;val machine_date_format=false -- true value enables date in format 01.01.1901 chapters_number=true -- true value enables numbers in chapter format 1.1, eventually 5.5cm in structured text english_quotation=true -- true value enables checking of the English quotation marks start_stop_text=false -- true value enables checking only in block \starttext - \stoptext (this block can be only once in file) do_offered_corrections=true -- true value enables the corrections (user can disable them by inserting - before WARNING) and false disables corrections (+ before WARNING enables them) hyphen_one_side_space=false -- true value enables the situation, when the hyphen has space from one side e.g. yellow- or green-blue intervals=true -- true value enables intervals, it means dash surrounded by numbers e.g. 5—10 lines_to_output=1 -- how many lines before and after the error line will be written to the change file --add your own commands: --put the command to the braces with no backslash in format{"command","command2"} --bracesA means the {}, where the mistakes are being checked --bracesB means the {}, where the mistakes are not being checked --in brackets [] or parentheses () is typography never checked add_one_bracesA={} -- \command{A} add_two_bracesA={} -- \command{A}{A} add_three_bracesA={} -- \command{A}{A}{A} add_four_bracesA={} -- \command{A}{A}{A}{A} add_no_parameters={} -- \command add_brackets_bracesA={} -- \command[]{A} add_brackets_two_bracesA={} -- \command[]{A}{A} add_two_brackets_bracesA={} -- \command[][]{A} add_two_brackets_two_bracesA={} -- \command[][]{A}{A} add_parentheses={} -- \command(){A} add_block_begin={} -- \startblock (you have to add the \endblock to every command - in same order) add_block_end={} -- \endblock add_one_bracesB={} -- \command{B} add_two_bracesB={} -- \command{B}{B} add_file_name={} -- \command file.txt add_six_brackets={} -- \command[][][][][][] add_five_brackets={} -- \command[][][][][] add_four_brackets={} -- \command[][][][] add_three_brackets={} -- \command[][][] add_two_brackets={} -- \command[][] add_one_brackets={} -- \command[] add_two_bracesA_brackets={} -- \command{A}{A}[] add_brackets_bracesA_brackets={} -- \command[]{A}[] add_three_bracesB={} -- \command{B}{B}{B} -- there are not commands like this in Context command list, but in some cases it can be useful for your own commands add_four_bracesB={} -- \command{B}{B}{B}{B} -- there are not commands like this in Context command list, but in some cases it can be useful for your own commands universalA={} -- \command[]*{A}* - any amount of braces or brackets in any order, interrupted by text (or empty line)- useful if your own command does not fit to any set above universalB={} -- same as universalA, but in braces is not checked the typography add_file_suffix={} -- if it is missing, you can add file suffix or web page suffix e.g. add_file_suffix={"mp3", "org"} --ConTeXt commands one_bracesA={"colorvalue","displaylines","grayvalue","character","characters","ch","maframed","inmaframed","startdefinition","useMPgraphic", "sym","mathematics","unit","sethyphenatedurlafter","sethyphenatedurlbefore","sethyphenatedurlnormal","hyphenatedurl"} two_bracesA={""} three_bracesA={""} four_bracesA={""} no_parameters={"baselineskip","column","crlf","em","enumeration","fact","fixedspaces","lastpagenumber","mf","NC","noindenting","nomoreblocks","nop","nospace", "notopandbottomlines","NR","numberofpages","numberofsubpages","packed","pagenumber","par","parskip","preloadtypescript","preloadtypescripts","remark","smallcapped", "space","startappendices","startbackmatter","startbodymatter","startfact","startFORMULA","startformula","startfrontmatter","startlinecorrection","startlines", "startlocalfootnotes","startmarginblock","startopposite","starttext","startunpacked","stoplinecorrection","strut","subpagenumber","subremark","subsubremark", "subsubsubremark","topskip","totalnumberofpages","bTH","eTH","bTR","eTR","bTD","eTD","it","bf"} brackets_bracesA={"chapter","clip","color","footnote","framed","typefile","inframed","mar","marking","scale","rotate","section","subject","subsection", "subsubject","subsubsection","subsubsubject","textreference","textrule","title","writebetweenlist","reference","showgrid","startregister","starttextrule","items", "subsubsubsection","bookmark","placeongrid","part","marginrule","formulanumber","subformulanumber","usepackage"} brackets_two_bracesA={"fillinrule","lohi","writetolist","fillinrules","tooltip"} two_brackets_bracesA={"inleft","inmargin","inothermargin","inright","margintext","comment","placetable"} two_brackets_two_bracesA={"placefloat","startfiguretext"} parentheses_braces={"position"} block_typing={"starttyping"} block_begin={"startlines","startlua","startLUA","startMP","startformula","startchemical","startMPgraphic","startuseMPgraphic","startreusableMPgraphic","startMPcode","startLuaCode","startluacode"} block_end={"stoplines","stoplua","stopLUA","stopMP","stopformula","stopchemical","stopMPgraphic","stopuseMPgraphic","stopreusableMPgraphic","stopMPcode","stopLuaCode","stopluacode"} two_bracesB={"doifallmodes","doifmode","doifmodeelse","doifnotallmodes","doifnotmode","doifnotmodeelse","frac","fraction","getvariable","dorecurse","convertnumber"} file_name={"component","environment","product","project","startcomponent","startenvironment","startproduct","startproject","input"} six_brackets={"definetypeface"} five_brackets={"definetext"} four_brackets={"coupledocument","useURL","useexternalfigure","setupitemgroup","definesynonyms","bTABLE","eTABLE"} three_brackets={"starttypescript","usetypescript","completecontent","startitemgroup","setupitemize","setupheadertexts","setupfootertexts","coupledocument", "setuppageshift","setupparagraphs","setuptexttexts","setupbottomtexts","setuptoptexts","setupbackgrounds","setupsection","setupinteractionmenu","selectblocks", "setupregister","index","grabbufferdata","definefontfeature","definebodyfont","definecolorgroup","definetabulate","definelist","defineenumeration", "definealternativestyle","definepageshift","definebodyfontenvironment","definefonthandling","definefontsynonym","definefont","definecombinedlist","definesorting","setupTABLE"} two_brackets={"couplemarking","date","externalfigure","getmarking","showframe","hideblocks","installlanguage","starttabulate","keepblocks", "showcolorgroup","startFRAMEDTEXT","startframedtext","useblocks","showpalet","startcomment","placelist","setuphead","placebookmarks","processblocks","setupheadnumber", "interactionbuttons","starttable","setupblock","disableinteractionmenu","setuppapersize","setupmakeup","defineinteractionmenu","determinelistcharacteristics", "setupbodyfontenvironment","setupvariables","typesetbuffer","setupfonthandling","startTABULATE","definepapersize","setupfontsynonym","setupmargindata","defineblank", "setuplanguage","setupfillinline","defineparagraphs","setupsectionblock","adaptlayout","definemakeup","setuplist","setupfooter","definesymbol","setupcombinedlist", "setupheader","definecolor","setupsynonyms","setuptop","definepalet","setupsorting","setuptext","definetyping","setupmarking","setupbottom","defineoverlay", "setupindentations","setuptyping","definehead","setupfloat","setuplabeltext","definereference","setupcaption","setupheadtext","definereferenceformat","setupquotation", "setupdescriptions","defineregister","mapfontsize","setupenumerations","defineindenting","ref","setupframed","definelabel","bypassblocks","setupframedtexts","setupframedtext", "definefloat","forceblocks","setuptabulate","defineconversion","setupbuffer","definesectionblock","setupinframed","definemarking","setupframedin","definedescription","savebuffer", "defineframedtext","definefontstyle","definebodyfontswitch"} one_brackets={"setuppositioning","framedtext","startpositioning","atpage","setuppagenumbering","but","setupindenting","comparecolorgroup","setupspacing","comparepalet","setupalign","completecontent", "setuptolerance","coupleregister","setuplines","currentdate","setuplinenumbering","decouplemarking","setuppagenumber","determineheadnumber","setupsubpagenumber", "disablemode","setupfootnotedefinition","disableregime","setupmarginrules","enablemode","setupcapitals","enableregime","setupbodyfont","from","setupcolor", "godown","setuppalet","graycolor","setuptype","grid","setupscreens","indenting","setupbackground","inline","setuphyphenmark","language","setupreferencing", "loadmapfile","setupquote","mainlanguage","setupthinrules","note","setupfillinlines","pagereference","setupfillinrules","placecontent","setuptextrules", "preventmode","setupunderbar","resetmarking","setupblackrules","setup","setupfloats","setups","setupcaptions","setupnarrower","setupcombinations","showcolor", "setupoppositeplacing","showsymbolset","setupmarginblocks","someline","setupexternalfigures","startallmodes","setupformulas","setcharstrut","setupformulae", "startcolor","setupmarginrule","startcombination","setuppagesubnumbering","startinteractionmenu","usesymbols","startline","usetypescriptfile","startlinenumbering", "setupitems","bTABLE","setuplayout","startlocalenvironment","setupheads","startmarginrule","setupoutput","startmode","setupinteractions","startnotallmodes","setupcolors", "startnotmode","setupinteraction","startpostponing","setupinteractionbar","startquotation","setupinteractionscreen","startraster","setupurl","startsetups","setupcomment", "switchtobodyfonts","setupinteractionbar","typebuffer","interactionbar","usemodule","setuppaper","usereferences","setuparranging","version","translate","switchtobodyfont", "reset","placelogos","setuprotate","processMPbuffer","referral","url","startplacetable","blackrule","blackrules","blank","fillinline","getbuffer","head","headnumber", "item","its","page","placefootnotes","placelocalfootnotes","showbodyfont","showbodyfontenvironment","showboxes","showexternalfigure","showfont","showframe", "startalignment","startbuffer","startBUFFER","startcolumn","startcolumns","startitemize","startlegend","startlinecorrection","startnarrower","startpacked", "startstandardmakeup","sub","thinrules","setupwhitespace","setupblank","setupinterlinespace","setuplocalinterlinespace","setupcolumns","setupfootnotes","definedfont", "vl","hl","definesection","defineblock","definebuffer","setuptables"} two_bracesA_brackets={"at","about","goto","in","somewhere"} brackets_bracesA_brackets={"button"} one_bracesB={"www"} three_bracesB={} four_bracesB={} file_suffix = {"tex","zip", "pdf", "mp3", "jpg", "rar", "exe", "wmv", "doc", "avi", "ppt", "mpg", "tif", "wav", "mov", "psd", "wma", "sitx", "sit", "eps", "cdr", "ai", "xls", "mp4", "txt", "m4a", "rmvb", "bmp", "pps", "aif", "pub", "dwg", "gif", "qbb", "mpeg", "indd", "swf", "asf", "png", "dat", "rm", "mdb", "chm", "jar", "htm", "dvf", "dss", "dmg", "iso", "flv", "wpd", "cda", "m4b", "7z", "fla", "gz", "qxd", "rtf", "aiff", "jpeg", "msi", "3gp", "cdl", "vob", "ace", "divx", "m4p", "html", "pst", "cab", "xtm", "hqx", "ttf", "qbw", "sea", "bin", "ptb", "ifo", "mswmm", "tgz", "log", "dll", "mcd", "ss", "eml", "m4v", "mid", "ogg", "ram", "lnk", "torrent", "ses", "vcd", "mp2", "ps", "amr", "asx","bat","bup","cbr","csv","sql","lua", "cz","com","sk","org","edu","SK","CZ","COM", "ORG","EDU"} titles = {"Th.D.", "Ph.D.", "B.B.R.M.", "B.Sc.Env.", "B.Eng.", "Bc.A", "B.S.B.A.", "B.Sc.", "D.Phil.", "Dip.Surv.", "Ing.Paed.IGIP", "J.D.", "LL.M.", "M.eng", "M.Phil.", "M.Pol.Sc.", "M.Sc.",}