[dev-context] typo-dir.mkiv: Making the directions attribute global

2018-07-04 Thread Wolfgang Schuster
Hi Hans, the example below shows a problems Idris has reported a few times. When you enable the bidi mechanism it gets reset for - footnotes, - margin notes and - header/footer texts, because the attribute setting in typo-dir.mkiv doesn’t include the "global" keyword.

[dev-context] scrn-pag.mkiv: Set custom values for the page dimensions

2018-03-18 Thread Wolfgang Schuster
Hi Hans, can you add a command to set own values for \clf_setupcanvas, e.g. \def\scrn_canvas_synchronize_set#1#2% {\clf_setupcanvas paperwidth \dimexpr#1\relax paperheight \dimexpr#2\relax \relax} \let\scrn_canvas_synchronize_reset\scrn_canvas_synchronize_only This is needed

[dev-context] supp-box.mkiv: \lastlinewidth

2018-02-28 Thread Wolfgang Schuster
Hi, supp-box.mkiv, line 2970: -\unexpanded\def\lastlinewidth{\dimexpr\clf_lastlinelength\scaledpoint\relax} +\unexpanded\def\lastlinewidth{\dimexpr\clf_lastlinewidth\scaledpoint\relax} Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] utilities.parsers.stepper

2018-01-02 Thread Wolfgang Schuster
Hi, the function "utilities.parsers.stepper" from util-prs.lua gives me always the following error message when I try one of the examples from the source. begin error lua error > lua error on line 11 in file /Users/wolf/TeX/test/test.tex:

[dev-context] type-del.mkiv

2017-10-23 Thread Wolfgang Schuster
Hi, there are missing \bgroup (and one \aftergroup) on line 793 and 810 in typo-del.mkiv: \def\typo_delimited_attributed {\dontleavehmode \begingroup \dostarttaggedchained\t!delimited\currentdelimitedtext\??delimitedtext \usedelimitedtextstyleandcolor\c!style\c!color

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-17 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 17. Mai 2017 um 20:21 On Wed, 17 May 2017 08:15:11 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: This is what I get from running context x-setups-generate.mkiv varia

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-17 Thread Wolfgang Schuster
Yu,Jason 17. Mai 2017 um 20:27 I suppose not all abstract commands has tag. For example, \ORNAMENT does not have , but it is still recognized as an abstract keyword (slanted). In my python script, I recognized every abstract keyword by determining if it has

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-16 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 16. Mai 2017 um 14:27 Hi Wolfgang, On Mon, 15 May 2017 13:00:37 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Hans Hagen <mailto:pra...@wxs.nl> low level is fuzzy anyway: \xmlfir

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-16 Thread Wolfgang Schuster
Hans Hagen 16. Mai 2017 um 10:23 aha, so all these have to be entered then Yes but it won’t be finished in the next time. Wolfgang ___ dev-context mailing list dev-context@ntg.nl

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-15 Thread Wolfgang Schuster
Hans Hagen <mailto:pra...@wxs.nl> 15. Mai 2017 um 21:45 On 5/15/2017 9:00 PM, Wolfgang Schuster wrote: i assume that with primitive you mean primitive context No, TeX primitives. Wolfgang ___ dev-context mailing list dev-context@

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-14 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 14. Mai 2017 um 20:55 On Sun, 14 May 2017 12:20:43 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: OTOH user-defined commands can be added to the ConTeXt lexer via the Style Configurator (Notepa

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-14 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 14. Mai 2017 um 20:06 On Sun, 14 May 2017 11:38:19 -0600, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: The lua tables in the scite distribution are incomplete. For example, in scite-context-data-in

Re: [dev-context] setup-en.pdf and mkiv command list

2017-05-14 Thread Wolfgang Schuster
Hans Hagen 14. Mai 2017 um 19:15 On 5/14/2017 6:43 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sun, 14 May 2017 09:33:04 -0600, Hans Hagen wrote: 2. Modification: It appears that all command names that appear in slanted text are used to mention

Re: [dev-context] syst-aux.lua

2017-01-17 Thread Wolfgang Schuster
Wolfgang Schuster <mailto:schuster.wolfg...@gmail.com> 17. Januar 2017 um 20:40 Hi, line 280 (extra t in triple): should be line 260 local option = ( P("single") + P("double") - + P("tripple") + + P("triple") + P

[dev-context] strc-con.mkvi: Unwanted vertical space

2016-11-05 Thread Wolfgang Schuster
Hi, the \nobreak command after \p_strc_constructions_inbetween in the top alternative inserts a unwanted parskip. strc-con.mkvi: \startsetups[\??constructionrenderings:\v!top] \strc_sectioning_prevent_page_break\plusone \let\\=\space \noindent \copy\constructionheadbox % why

[dev-context] strc-con.mkvi: referenceprefix

2016-11-04 Thread Wolfgang Schuster
Hi Hans, can you enable the referenceprefix key for enumerations/descriptions: strc-con.mkvi: @@ -914,6 +914,10 @@ \global\let\currentconstructionexpansion\v!no \fi % + \ifx\currentconstructionreferenceprefix\empty +

[dev-context] lang-def.mkiv

2016-10-27 Thread Wolfgang Schuster
Hi, the quotation marks for greek have to be fixed because \greekleftquot doesn’t exist in MkIV. I changed also the symbols from (( to « which is shown on wikipedia. \installlanguage [\s!gr] [\c!spacing=\v!packed, \c!leftsentence=\emdash, \c!rightsentence=\emdash,

[dev-context] strc-tag.lua

2016-10-22 Thread Wolfgang Schuster
Hi, function tags.start(tag,specification) if not enabled then codeinjections.enabletags() enabled = true end -- labels[tag] = tag -- can go away -- local attribute = #taglist + 1 local tagindex = (ids[tag] or 0) + 1 -- local completetag = tag

[dev-context] x-setups-basics.mkiv

2016-10-16 Thread Wolfgang Schuster
Hi, \startxmlsetups xml:setups:inherit % \cmd_column_two_start{}{} \rawsetupstring{cd:inherits}: \enspace \letterbackslash \xmlatt{#1}{name} + \par % \cmd_column_two_stop \ignorespaces \stopxmlsetups Wolfgang

[dev-context] m-visual.mkiv

2016-10-15 Thread Wolfgang Schuster
Hi, the scale values need a 0 before the decimal point. \unexpanded\def\bodyfontgrid {\hpack -{{\linewidth.1pt\yellow\smashedgrid[\c!nx=30,\c!ny=30,\c!scale=.]}% + {{\linewidth.1pt\yellow\smashedgrid[\c!nx=30,\c!ny=30,\c!scale=0.]}% - {\linewidth.2pt\green

[dev-context] m-hemistich.mkiv

2016-10-13 Thread Wolfgang Schuster
Hi, \appendtoks - \setvalue{\currenthemistich}{\dohemistiches{\currenthemistich}}% + \setuevalue{\currenthemistich}{\hemistiches[\currenthemistich]}% \to \everydefinehemistich Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] m-chart.lua

2016-10-12 Thread Wolfgang Schuster
Hi, not sure of this is correct. local function process_texts(chart,xoffset,yoffset) local data = chart.data local hash = chart.hash if not data then return end charttexts = { } for i=1,#data do local cell = visible(chart,data[i]) if cell then

[dev-context] x-setups-basics.mkiv

2016-10-12 Thread Wolfgang Schuster
Hi, grouping is necessary to keep \ttbf local. \startxmlsetups xml:setups:typeset:line + \bgroup \ttbf \nohyphens \xmlsetup{#1}{xml:setups:make:prepare} \directsetup{xml:setups:make:start} \xmldoif{#1}{/arguments} { \bgroup \settrue\c_cmd_doing_line

Re: [dev-context] bad i-common-value.xml

2016-10-10 Thread Wolfgang Schuster
luigi scarso 10. Oktober 2016 um 13:54 tex/texmf-context/tex/context/interface/mkiv$ xmllint *.xml >/dev/null i-common-value.xml:14: parser error : Opening and ending tag mismatch: parameter line 10 and define ^ i-common-value.xml:577: parser error : Opening and

[dev-context] x-setups-basics.mkiv

2016-09-28 Thread Wolfgang Schuster
Hi, \startxmlsetups xml:setups:instance - \xmlatt{#1}{value}\enspace + \xmlatt{#1}{value}\enskip \stopxmlsetups Wolfgang ___ dev-context mailing list dev-context@ntg.nl https://mailman.ntg.nl/mailman/listinfo/dev-context

[dev-context] m-educat.mkiv

2016-09-28 Thread Wolfgang Schuster
Hi, \def\doanswerspace[#1]% {\begingroup \dontcomplain \setupanswerarea [\c!n=0,\c!m=,#1,\c!location=\v!text]% + \let\currenttextbackground\v!answerarea \doifelsenothing{\textbackgroundparameter\c!m} {\expandafter\donoanswerspace} {\expandafter\dodoanswerspace}%

[dev-context] x-setups-basics.mkiv

2016-09-27 Thread Wolfgang Schuster
Hi, \unexpanded\def\show_setup_any#1#2% {\bgroup \global\advance\c_cmd_current_argument\plusone - \doif{\xmlatt{#1}{optional}}{yes}\donetrue\donefalse + \doifelse{\xmlatt{#1}{optional}}{yes}\donetrue\donefalse \setbox0=\hbox {\ifdone\sl\fi \doifelse{\xmlatt{#1}{list}}{yes}

[dev-context] mult-def.lua

2016-09-27 Thread Wolfgang Schuster
Hi, cd:oneargument etc. are strings (no -s or -l variants)but something has to be changed because they end up with duplicated hashes (##1 instead of #1). A entry for parentheses has to be added as well. mult-def.lua: ["cd:xmlsetup"]={ ["cs"]="xmlsetup", ["de"]="xmlsetup",

[dev-context] tabl-tbl.mkiv

2016-09-26 Thread Wolfgang Schuster
Hi, \def\tabl_tabulate_inside_before {\ifhmode\par\fi \ifhmode \ifinsidesplitfloat \let\tabl_tabulate_inside_after\relax + \let\tabl_tabulate_inside_inbetween\relax \else \vbox\bgroup \let\tabl_tabulate_inside_after\egroup +

[dev-context] strc-itm.mkvi: \noitem

2016-07-23 Thread Wolfgang Schuster
Hi Hans, can you fix the \noitem command with the definition below. The command is used to increment the item counter to create lists like this: 1.a. ... 1.b. ... 2.a. ... 2.b. ... %% begin example \unprotect

[dev-context] supp-box.mkiv: \beginvtop

2016-07-23 Thread Wolfgang Schuster
Hi Hans, I saw you added \beginvbox (line 2928) etc. to the file, can you also add \beginvtop etc. Wolfgang ___ dev-context mailing list dev-context@ntg.nl https://mailman.ntg.nl/mailman/listinfo/dev-context

[dev-context] pack-rul.mkiv

2016-07-22 Thread Wolfgang Schuster
Hi, \def\pack_framed_text_start_direct[#1]% {\usebodyfontparameter\framedtextparameter \iffirstargument \setupcurrentframedtext[#1]% \fi - \edef\p_framed_text_strut{\letframedtextparameter\c!strut}% + \edef\p_framed_text_strut{\framedtextparameter\c!strut}%

[dev-context] page-sel.mkvi

2016-07-12 Thread Wolfgang Schuster
Hi, the new category has to be added to the default settings for \insertpages and \filterpages. \def\page_selectors_insert_indeed[#filename][#emptylist][#settings]% {\bgroup \dontcomplain \getfiguredimensions[#filename]% -

[dev-context] tabl-tsp.mkiv

2016-06-16 Thread Wolfgang Schuster
Hi Hans, the position to set the \usesamefloatnumber conditional has to be moved up a few lines to fix a bug demonstrated by the example below. \def\tabl_split_loop_body {\ifinsidecolumns [...] \else % hack \ifdim\pagegoal<\maxdimen

[dev-context] strc-mat.mkiv

2016-06-12 Thread Wolfgang Schuster
Hi Hans, below is a simple patch for a error which is generated by the example at the end of the mail. \unexpanded\def\strc_formulas_start_formula_indeed[#1][#2]% setting leftskip adaption is slow ! {\bgroup % HERE \def\currentformula{#1}%

[dev-context] pack-rul.mkiv

2016-05-30 Thread Wolfgang Schuster
Hi Hans, \def\pack_framed_start_content[#1]% {\bgroup \edef\currentframedcontent{#1}% \ifx\currentframedcontent\v!off \let\stopframedcontent\egroup \else +\checkframedcontentparent \let\stopframedcontent\pack_framed_stop_content_indeed

[dev-context] i-fontfamily.xml

2016-05-23 Thread Wolfgang Schuster
Hi Hans, 1. The default value for the "force" key from \definefallbackfamily is "no". [...] - - + + [...] 2. There is a "s" missing in at the end of the assignments tag. - - - + + + Wolfgang

[dev-context] i-math.xml

2016-05-23 Thread Wolfgang Schuster
Hi Hans, I got a mail by Hans van der Meer about wrong entry for the \setupmathematics command. [...] - - - + + + Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] page-mak.mkvi

2016-04-19 Thread Wolfgang Schuster
Hi, is the empty second argument on purpose? \definemakeup [\v!page] [] Wolfgang ___ dev-context mailing list dev-context@ntg.nl https://mailman.ntg.nl/mailman/listinfo/dev-context

[dev-context] font-ini.mkvi

2016-04-18 Thread Wolfgang Schuster
Hi, use of "b" instead of "#". \unexpanded\def\font_basics_define_body_font_c[#whatever][#dummya][#dummyb]% body|identifier - {\font_basics_define_body_font_a[bwhatever][\s!rm][]} + {\font_basics_define_body_font_a[#whatever][\s!rm][]} Wolfgang ___

Re: [dev-context] No format file with last beta

2016-04-10 Thread Wolfgang Schuster
Hans Hagen 11. April 2016 um 00:18 new zip ... i'll only upload to the web server when ok The format is generated and I get a PDF, Luajittex does also work. Wolfgang ___ dev-context mailing list dev-context@ntg.nl

Re: [dev-context] No format file with last beta

2016-04-10 Thread Wolfgang Schuster
Hans Hagen 10. April 2016 um 19:16 i wonder at what point it crashes (where in what file) It stops at the following line in node-ini.lua local boundarycodes = mark(getsubtypes("boundary")) Wolfgang ___ dev-context mailing list

[dev-context] No format file with last beta

2016-04-10 Thread Wolfgang Schuster
Hi Hans, I’m unable to generate a format file for MkIV with the last beta, the last line in the log is: open source > 1 > 34 > /Users/wolf/context/beta/tex/texmf-context/tex/context/base/mkiv/node-ini.mkiv loading : ConTeXt Node Support / Initialization Could this be related to the LuaTeX

[dev-context] scrn-pag.mkvi

2016-04-03 Thread Wolfgang Schuster
Hi, \appendtoks - \global\let\scrn_canvas_synchronize_simple \scrn_canvas_synchronize_simple - \global\let\scrn_canvas_synchronize_complex\scrn_canvas_synchronize_complex + \global\let\scrn_canvas_synchronize_simple \scrn_canvas_synchronize_simple_indeed +

[dev-context] font-pre.mkiv

2016-03-30 Thread Wolfgang Schuster
Hi Hans, the lnum tag is wrong in both features because the opposite of tnum is pnum. \definefontfeature [inlinenumbers] - [lnum=yes, + [pnum=yes, tnum=no] \definefontfeature [tabularnumbers] [tnum=yes, - lnum=no] + pnum=no] Wolfgang ___

Re: [dev-context] \showsetups

2016-03-18 Thread Wolfgang Schuster
Alan BRASLAU 17. März 2016 um 19:07 \showsetups displays "0ptpt". Oops! Do you have a minimal example because I can’t reproduce it. \starttext \showsetups \stoptext Wolfgang ___ dev-context mailing list dev-context@ntg.nl

Re: [dev-context] syst-aux.mkiv: \checkedstrippedcsname

2016-03-15 Thread Wolfgang Schuster
Hans Hagen 15. März 2016 um 10:10 as it maps onto a (new) primitive it's \checkedstrippedcsname\foo \checkedstrippedcsname foo only OK (noticed the existence \csstring a while ago). Wolfgang ___ dev-context mailing list

[dev-context] x-set-11.mkiv:

2016-03-14 Thread Wolfgang Schuster
Hi Hans, the "=>" in the apply tag has to be lowered to avoid a collision with the index number. \unexpanded\def\showSETUPapply#1% {\showSETUP{#1} - {[..=>..]} - {[..,..=>..,...]}} + {[..\lower.25ex\hbox{=>}..]} + {[..,..\lower.25ex\hbox{=>}..,...]}} Wolfgang

Re: [dev-context] \startplaceformula

2016-02-25 Thread Wolfgang Schuster
Hans Hagen 25. Februar 2016 um 14:04 i made the next ... so it's not entirely compatible (we need to keep the explicit \start..\stop because there can be matrices as well (unless i also patch those but let's not go too fast) \starttext \startplaceformula this

[dev-context] strc-itm.mkvi

2016-02-24 Thread Wolfgang Schuster
Hi, a simple fix for the new “horizontal” optional for itemgroups: \def\strc_itemgroups_collected_flush_horizontal {\begingroup \scratchcounter\itemgroupparameter\c!n\relax \ifnum\c_strc_itemgroups_collected_done>\plusone

[dev-context] \math: math-ini.mkiv

2016-02-23 Thread Wolfgang Schuster
Hi Hans, can you this to math-ini.mkiv (line 262): \let\math\mathematics because the \math command is at the moment only a copy of the \mathmatics command from supp-mat.mkiv which doesn’t support the optional argument. Wolfgang ___ dev-context

[dev-context] itemgroupcolumns: page-mix.mkiv

2016-02-22 Thread Wolfgang Schuster
Hi, can the direction setting be added to the itemgroup columns? \definemixedcolumns [\s!itemgroupcolumns] [\c!n=\itemgroupparameter\c!n, + \c!direction=\itemgroupparameter\c!direction, \c!separator=\v!none, \c!splitmethod=\v!none, \c!grid=\v!tolerant,

[dev-context] page-mix.mkiv

2016-02-22 Thread Wolfgang Schuster
Hi, the space between columns is missing in the default direction. \unexpanded\def\page_mix_routine_package {\clf_mixfinalize \setbox\b_page_mix_collected\vbox \bgroup \ifvoid\b_page_mix_preceding \else % \page_postprocessors_linenumbers_deepbox\b_page_mix_preceding % already

[dev-context] font-ctx.lua

2016-02-13 Thread Wolfgang Schuster
Hi, implement { name = "doifelsecurrentfonthasfeature", - actions = { currentfonthasfeature, commands.doifelse }, + actions = { constructors.currentfonthasfeature, commands.doifelse }, arguments = "string" } Wolfgang

[dev-context] math-ini.mkiv: \dotlessi

2016-02-08 Thread Wolfgang Schuster
Hi, there is a extra pair of braces needed in folllowing definitions, otherwise all following i and j are dotless. -\unexpanded\def\mathdotlessi{\mathdotless i} -\unexpanded\def\mathdotlessj{\mathdotless j} +\unexpanded\def\mathdotlessi {{\mathdotless i}}

[dev-context] x-set-11.mkiv

2016-02-03 Thread Wolfgang Schuster
Hi Hans, can you add the following two delimiters types (none and parentheses) to the keywords tag. \xmlmapvalue {setups:keyword} {braces} {\showSETUPkeywordbraces} \xmlmapvalue {setups:keyword} {brackets}{\showSETUPkeywordbrackets} +\xmlmapvalue {setups:keyword} {parentheses}

[dev-context] typo-inj.mkiv

2016-01-07 Thread Wolfgang Schuster
Hi, are the definitions for \checknextinjector and \checkpreviousinjector correct because \checkpreviousinjector takes a argument but \checknextinjector doesn’t? typo-inj.mkiv: \unexpanded\def\checknextinjector {\clf_checknextinjector} \unexpanded\def\checkpreviousinjector

[dev-context] trac-vis.mkiv

2016-01-06 Thread Wolfgang Schuster
Hi, \def\syst_visualizers_filled_hbox#1% - {\node_backgrounds_boxes_initialize\hbox\backgroundcolorattr{#1}} + {\node_backgrounds_boxes_add\hbox[#1]} Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] type-ini.mkvi

2016-01-06 Thread Wolfgang Schuster
Hi, \def\font_typefaces_setup[#class][#settings]% {\setcurrentfontclass{#class}% \let\globalfontclass\fontclass - \iffourthargument + \ifsecondargument \setupbodyfont[#settings]% \else\ifx\fontclass\empty \setupbodyfont[\s!rm]%

[dev-context] math-fen.mkiv

2016-01-04 Thread Wolfgang Schuster
Hi, on line 185 it should be \llangle: \installmathfencepair \lbrace \Lbrace \rbrace \Rbrace \installmathfencepair \lbracket \Lbracket \rbracket \Rbracket \installmathfencepair \lparen \Lparen \rparen \Rparen \installmathfencepair \lparent\Lparent

[dev-context] \lparent or \lparent?

2016-01-04 Thread Wolfgang Schuster
Hi, do we need both definitions in math-fen.mkiv? \installmathfencepair \lparen \Lparen \rparen \Rparen \installmathfencepair \lparent \Lparent \rparent \Rparent AFAIK \left\lparen should be the same as \left( but this doesn’t work because there is no defintion for \Lparen in math-fen.mkiv

[dev-context] math-fen.mkiv

2016-01-04 Thread Wolfgang Schuster
Hi, on line 193 it should be \rrbracket: \installmathfencepair \ulcorner \Luppercorner \urcorner \Ruppercorner \installmathfencepair \llcorner \Llowercorner \lrcorner \Rlowercorner \installmathfencepair \lmoustache \Lmoustache \rmoustache \Rmoustache -\installmathfencepair \llbracket

[dev-context] math-fen.mkiv: \lbar and \rbar

2016-01-04 Thread Wolfgang Schuster
Hi, another broken delimiter command: \starttext \startformula \left\lbar x \right\rbar \stopformula \type{\lbar}: \meaning\lbar \par \type{\rbar}: \meaning\rbar \stoptext Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] tabl-mis.mkiv: \setupparagraphs

2016-01-03 Thread Wolfgang Schuster
Hi, \def\typo_paragraphs_setup[#1][#2][#3]% we are downward compatible with [each] and [1,3] {\ifthirdargument \doifelse{#2}\v!each - {\typo_paragraphs_setup_saved[#1][#3]} +

[dev-context] strc-tag.lua

2016-01-01 Thread Wolfgang Schuster
Hi, line 514: implement { name = "settaggedmetadata", - actions = structures.tags.registermetadata, + actions = tags.registermetadata, arguments = "string" Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] strc-syn.mkiv

2015-12-31 Thread Wolfgang Schuster
Hi, \def\strc_synonyms_define_entry[#1][#2][#3]#4#5% {\begingroup \edef\currentsynonym{#2}% \edef\currentsynonymtag{#3}% - \let\currentsimplelist\currentsimplelist + \let\currentsimplelist\currentsynonym ... \fi \endgroup} Wolfgang

[dev-context] strc-syn.mkiv

2015-12-31 Thread Wolfgang Schuster
Hi, a simple check for the value of \setupsynonyms[alternative=…] can be usefull because when the synonym is shown in the running text only a limited set is allowed but when you flush the list with all entries the \placelistofsynonyms command accepts all arguments (e.g. serried or left) from

[dev-context] strc-reg.mkiv: \stopstructurepageregister

2015-12-29 Thread Wolfgang Schuster
Hi, \def\strc_registers_stop[#1][#2]% - {\normalexpanded{\ctxlatelua{structures.registers.extend("#1","#2")}}} + {\normalexpanded{\ctxlatecommand{extendregister("#1","#2")}}} Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] scrn-pag.mkvi: \setuppapersize

2015-12-28 Thread Wolfgang Schuster
Hi Hans, these settings in scrn-pag.mkvi to change the paperwidth and paperheight values in the PDF file have to be done also for the \setupapersize command. \appendtoks \global\let\scrn_canvas_synchronize_simple \scrn_canvas_synchronize_simple_indeed

[dev-context] lpdf-ini.lua

2015-12-28 Thread Wolfgang Schuster
Hi, there is a "to" missing in the names for the ...addtopage... commands (line 1242-1244): implement { name = "lpdf_collectedresources", actions = { lpdf.collectedresources, context } } implement { name = "lpdf_addtocatalog", arguments = two_strings,

Re: [dev-context] scrn-pag.mkvi: \setuppapersize

2015-12-28 Thread Wolfgang Schuster
Hans Hagen <mailto:pra...@wxs.nl> 28. Dezember 2015 um 15:05 On 12/28/2015 10:34 AM, Wolfgang Schuster wrote: Hi Hans, these settings in scrn-pag.mkvi to change the paperwidth and paperheight values in the PDF file have to be done also for the \setupapersize command. \appendtoks \glob

[dev-context] math-ini.mkiv

2015-12-21 Thread Wolfgang Schuster
Hi, the \??mathstylecache (line 2010) shouldn’t be there. \def\math_style_set_mathstyle_mathstyle {\ifcsname\??mathstylecache\m_math_style_asked\endcsname \lastnamedcs \else \math_style_set_mathstyle_mathstylecache - \??mathstylecache \fi} Wolfgang

[dev-context] strc-num.mkiv

2015-12-13 Thread Wolfgang Schuster
Hi, -\unexpanded\def\savecounter {\dodoubleempty \strc_counters_save_interfaced} -\unexpanded\def\restorecounter{\dodoubleempty \strc_counters_restore_interfaced} +\unexpanded\def\savecounter {\dosingleempty \strc_counters_save_interfaced} +\unexpanded\def\restorecounter

[dev-context] strc-ref.mkvi: \contentreference

2015-12-13 Thread Wolfgang Schuster
Hi, \def\strc_references_content_pickup {\ifsecondargument \expandafter\strc_references_content_pickup_yes \else -\expandafter\strc_references_content_pickup_yes +\expandafter\strc_references_content_pickup_nop \fi} Wolfgang ___

[dev-context] strc-not.mkvi: \doifelsenoteonsamepage

2015-12-12 Thread Wolfgang Schuster
Hi Hans, shouldn’t the first argument of the \doifelsenoteonsamepage command (line 1775) be {…} and not […] like all other \doifelse… commands? -\def\doifelsenoteonsamepage[#tag]{\clf_doifnoteonsamepageasprevious{#tag}} +\def\doifelsenoteonsamepage#tag{\clf_doifnoteonsamepageasprevious{#tag}}

[dev-context] strc-not.mkvi: \startfootnote

2015-12-10 Thread Wolfgang Schuster
Hi Hans, the \startfootnote command doesn’t work well when you use the assignment method to set the reference. \starttext First note. \startfootnote[note_one] This is the first footnote. \stopfootnote Second note. \startfootnote[reference=note_two] This is the second footnote. \stopfootnote

[dev-context] strc-mat.mkiv

2015-12-09 Thread Wolfgang Schuster
Hi, there is a 's' missing in \currentformulasreference: \def\strc_formulas_handle_number % formulas - {\strc_formulas_check_reference\c_strc_formulas_number_mode\currentformulareference} + {\strc_formulas_check_reference\c_strc_formulas_number_mode\currentformulasreference} Wolfgang

[dev-context] strc-mat.mkiv

2015-12-09 Thread Wolfgang Schuster
Hi, \def\strc_formulas_place[#1]% {\def\currentplaceformulareference{#1}% \let\currentplaceformulasuffix\empty - \doifelsenextbgroup\strc_formulas_place_yes\strc_formulas_place_nop\strc_formulas_place_nop} % [ref]{} + \doifelsenextbgroup\strc_formulas_place_yes\strc_formulas_place_nop}

[dev-context] strc-mat.mkiv

2015-12-09 Thread Wolfgang Schuster
Hi, \def\strc_formulas_number_again[#1]% {\def\currentformulareference{#1}% - \dosinglegroupempty\strc_formulas_number_indeed} + \strc_formulas_number_indeed} Wolfgang ___ dev-context mailing list dev-context@ntg.nl

[dev-context] strc-lnt.mkvi

2015-12-04 Thread Wolfgang Schuster
Hi, the following definitions in strc-lnt.mkvi (line 259–266) should be in reverse order with \definelinenote[linenote] before \let\fromlinenote\startlinenote. %D Use these when not properly nested: \let\fromlinenote\startlinenote \let\tolinenote \stoplinenote % We predefine one, namely

[dev-context] spac-ver.mkiv

2015-11-22 Thread Wolfgang Schuster
Hi, \unexpanded\def\dosynchronizestrut#1% no [] parsing, faster for internal {\ifcsname\??struts#1\endcsname \csname\??struts#1\endcsname \else -\setcharstrut\m_strut +\setcharstrut{#1}% \fi} Wolfgang ___ dev-context mailing list

[dev-context] spac-hor.mkiv

2015-11-19 Thread Wolfgang Schuster
Hi, line 157 uses the no longer existing \simplesetupindenting command: \installindentingmethod \v!normal{\ifx\normalindentation\empty\else \let\v_spac_indentation_current\normalindentation - \simplesetupindenting +

[dev-context] spac-ali.mkiv

2015-11-17 Thread Wolfgang Schuster
Hi, -\unexpanded\def\ibox#1#2#3% +\unexpanded\def\ibox {\vbox\bgroup \forgetall \let\\=\endgraf \ifdoublesided\signalinnerrealign\fi \doifelserightpage\spac_align_set_horizontal_right\spac_align_set_horizontal_left \let\next} -\unexpanded\def\obox#1#2#3%

[dev-context] scrn-hlp.mkvi

2015-11-15 Thread Wolfgang Schuster
Hi, \def\scrn_help_argument_indeed[#reference]#text#target% {\edef\currenthelpreference{#reference}% \dontleavehmode \hbox \bgroup \dontcomplain \setbox\b_scrn_help_box\hbox{\strut#text}% -\doregisterhelp{#target}% +\scrn_help_register{#target}% \egroup % can be

[dev-context] scrn-ref.lua

2015-11-15 Thread Wolfgang Schuster
Hi, the value of the calculate key from \setupinteraction is passed to the \doregistercalculationse macro which doesn’t exist in MkIV. scrn-ref.mkvi (line 20-25): \appendtoks \doifsomething{\interactionparameter\c!calculate}{\doregistercalculationset{\interactionparameter\c!calculate}}%

[dev-context] scrn-wid.mkvi

2015-11-15 Thread Wolfgang Schuster
Hi, \def\scrn_attachment_use[#tag][#title][#name][#file]% {\iffourthargument \registerattachment[#tag][title=#title,name=#name,file=#file]% \else\ifthirdargument \registerattachment[#tag][title=#title,name=#title,file=#name]% \else\ifsecondargument

[dev-context] scrn-but.mkvi

2015-11-08 Thread Wolfgang Schuster
Hi, \unexpanded\def\scrn_menu_nop_start#text\stopnop {\scrn_menu_action_start \letinteractionmenuparameter\c!frame\v!off \letinteractionmenuparameter\c!background\empty - \letinteractionmenuparameter\v!yes + \letinteractionmenuparameter\c!empty\v!yes

[dev-context] scrn-but.lua

2015-11-08 Thread Wolfgang Schuster
Hi, there is a misspelled "data" variable. local function registerbuttons(tag,register,language) local data = sorters.definitions[language] - local orders = daya and data.orders or sorters.definitions.default.orders + local orders = data and data.orders or

[dev-context] page-set.mkiv

2015-11-01 Thread Wolfgang Schuster
Hi, there is a extra 1 after the arguments 3 and 7. \def\OTRSETstoreincolumnslotindeed#1#2#3#4#5#6#7#8#9% {\OTRSETcheckprefered \enoughcolumncellsfalse \donefalse - \dostepwiserecurse{#1}{#2}{#31} + \dostepwiserecurse{#1}{#2}{#3} {\ifdone \exitloop \else

[dev-context] strc-mar.mkiv

2015-10-22 Thread Wolfgang Schuster
Hi, the wrong parameter is passed to the Lua function. % the fetchers are fully expandable: [name][method] -\def\fetchonemark[#1]#2[#3]{\ifconditional\inhibitgetmarking\else\clf_fetchonemark {#1}{\v!page}{#2}\fi}

[dev-context] page-lin.mkvi

2015-10-21 Thread Wolfgang Schuster
Hi, \def\page_lines_start_zero[#1][#2]% {\edef\m_argument{\linenumberingparameter\c!continue}% - \ifx\m_argument\v!continue + \ifx\m_argument\v!yes \c_page_lines_mode\zerocount \else \c_page_lines_mode\plusone \fi \page_lines_start_followup} Wolfgang

[dev-context] page-imp.mkiv

2015-10-11 Thread Wolfgang Schuster
Hi, \installpagearrangement 1*2-Conference {\dosetuparrangement{1}{2}{4}{3}{2}% X,Y,Total,hcutmarks,vcutmarks - \pusharrangedpageCONFERENCE2\poparrangedpagesAB\relax} + \pusharrangedpageCONFERENCETWO\poparrangedpagesAB\relax} -\def\pusharrangedpageCONFERENCE2#1%

[dev-context] pack-rul.mkiv: \fastlocalframed

2015-09-30 Thread Wolfgang Schuster
Hi, \unexpanded\def\fastlocalframed[#1]#2[#3]#4% 3-4 {\bgroup \edef\currentframed{#1}% \pack_framed_initialize \setbox\b_framed_normal\hbox{#4}% \edef\p_framed_region{\framedparameter\c!region}% \ifx\p_framed_region\v!yes % maybe later named \pack_framed_add_region \fi -

[dev-context] pack-box.mkiv: \placelayeredtext

2015-09-23 Thread Wolfgang Schuster
Hi Hans, you have to add a parent check to the \placelayeredtext command. \unexpanded\def\placelayeredtext[#1]% {\bgroup \edef\currentlayeredtext{#1}% - \checklayeredtextparent \dodoubleempty\pack_layeredtexts_place} Wolfgang ___ dev-context

[dev-context] math-stc.mkvi: \mathdouble

2015-09-17 Thread Wolfgang Schuster
Hi Hans, the definition for \mathdouble is wrong (I guess you did this because it’s not really used) because it takes only a code point instead of two (the second always takes the default value 0): \unexpanded\def\mathdouble{\begingroup\dodoubleempty\math_stackers_handle_double}

[dev-context] math-stc.mkvi: moffset key

2015-09-16 Thread Wolfgang Schuster
Hi Hans, what is the purpose of the moffset key for \setupmathstackers? There is a definition where you assign a dimension to the key \definemathstackers [\v!wide] [\c!moffset=\thickmuskip,\c!mathclass=\s!rel] but this makes no sense as can be seen in the code below because it isn’t used.

[dev-context] math-fen.mkiv: \lfence, \rfence and \mfence

2015-09-15 Thread Wolfgang Schuster
Hi, when you pass a undefined argument to \lfence (or \rfence and \mfence) you get the "unknown" alternative \setvalue{\??mathleft \s!unknown}{\setfalse\c_math_fenced_done\ifconditional\c_math_fenced_unknown\normalleft \nexttoken\fi} which doesn’t work here because \nexttoken is never

[dev-context] XML Manual

2015-09-15 Thread Wolfgang Schuster
Hi Hans, a few commands in the XML Manual [1] don’t match with their definitions in lxml-ini.mkiv. The commands - xmlremovedocumentsetup (page 20) - xmlflushdocumentsetups (page 20) take two arguments instead of the document single argument. The command \xmlregistereddocumentsetups

[dev-context] math-stc.mkvi: \singlebond (was: math-arr.mkiv: \singlebond)

2015-09-14 Thread Wolfgang Schuster
Alan BRASLAU 14. September 2015 16:37 On Mon, 14 Sep 2015 16:15:33 +0200 I am not familiar with $\singlebond$ etc. In ConTeXt, one can also use a different mechanism (chem-str.mkiv): \chemical{1,SINGLE,2,DOUBLE,3,TRIPLE,4} Looking at the result of the above, I

[dev-context] font-ini.mkvi: \bodyfontenvironmentlist

2015-09-14 Thread Wolfgang Schuster
Hi, the allocation of the token list \bodyfontenvironmentlist on line 1192 \newtoks\bodyfontenvironmentlist can be removed because the command is redefined a few lines below. Wolfgang ___ dev-context mailing list dev-context@ntg.nl

<    1   2   3   4   5   >