Hi Hans,
is this really needed in s-mod-01.mkiv
\defineparagraphs [interface] [\c!n=2]
\setupparagraphs [interface] [1] [\c!width=4cm]
because this makes it impossible to make a PDF from a module source when it
contains something like this
\startinterface all
\setinterfaceconstant
Am 02.03.2012 um 20:55 schrieb Hans Hagen:
On 24-2-2012 17:52, Wolfgang Schuster wrote:
Hi Hans,
the \structurevariable command which can be used the access the value in the
headings don’t show any text because context looks into the wrong table.
In strc-doc.lua something like this has
Am 24.02.2012 um 13:06 schrieb luigi scarso:
It seems that xtable doesn't export @rows and @columns
This patch to tabl-xtb.mkvi works, not sure if it is a good style.
\unexpanded\def\tabl_x_start_cell_construct_yes[#settings]%
{\dostarttagged\t!tablecell\empty % can't we just tag the box
Hi Hans,
can you add the following list alternative to strc-lst.mkvi
\def\v!interactive{interactive}
\definelistalternative
[\v!interactive]
[\c!renderingsetup=\??listrenderings:interactive]
\startsetups[\??listrenderings:interactive]
?
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
You have to regenerate the format (context --make en) when you patch a core
file.
Just did so. The odd-page-invocations still fail. Does it work on your end?
There was a typo, this works:
\def\spac_align_flush_horizontal
Hi,
these two options can be removed because MkIV has no \enablespacehandling and
\enablekernhandling commands.
\setvalue{\??aligncommand\v!spacing
}{\t_spac_align_collected\expandafter{\the\t_spac_align_collected\enablespacehandling
\enablekernhandling }}
Hi,
\unexpanded\def\usealignparameter#1% faster local variant
{\edef\m_spac_align{#1\c!align}%
- \ifx\m_spac_align\else
+ \ifx\m_spac_align\empty\else
\expandafter\let\expandafter\raggedcommand\csname\??alignmentnormalcache\m_spac_align\endcsname
\ifx\raggedcommand\relax
Hi,
\def\tabl_start_regular[#1][#2]%
{%\let\currenttabulationparent\v!tabulate
\let\currenttabulationparent\empty
\let\currenttabulation\currenttabulationparent
\def\p_format{#1}%
\ifx\p_format\empty
\def\p_format{|l|p|}%
\fi
\lettabulationparameter\c!format\p_format
Hi,
shouldn’t these values be global?
\def\strc_constructions_register_yes[#1][#2]% #1=interfaced-settings,
#2=optional user data
{\begingroup % similar to structure so we might
generalize this
...
\ifnoconstructioncaption % then why analyze anyway?
Hi Hans,
\def\colo_groups_define_entry#1#2#3% name mode specification
{\advance\c_colo_groups_n\plusone
-
\csname\??colorgroupsetter\ifcsname\??colorgroupssetter#2\endcsname#2\else\s!rgb\fi\endcsname[#1:\the\c_colo_groups_n][#3:0:0:0:0]}
+
Hi Hans,
\def\colo_groups_define_entry#1#2#3% name mode specification
{\advance\c_colo_groups_n\plusone
-
\csname\??colorgroupsetter\ifcsname\??colorgroupssetter#2\endcsname#2\else\s!rgb\fi\endcsname[#1:\the\c_colo_groups_n][#3:0:0:0:0]}
+
Hi,
remove the \v!-prefix for “none” and “command”
-\startsetups[\??listrenderings:\v!none]
+\startsetups[\??listrenderings:none]
% nothing, nb we use the [] syntax here because we end with a \cs
\stopsetups
-\startsetups[\??listrenderings:\v!command]
Hi,
\def\tsvar#key#default% undocumented and unofficial
{\expandafter\ifx\csname\??ts#key\endcsname\empty
\csname\??ts#key\endcsname
\else
#default%
\fi}
has to be (#default in the empty branch)
\def\tsvar#key#default% undocumented and unofficial
Am 24.01.2012 um 18:06 schrieb luigi scarso:
\showframe put
[unknown command \showframe]
but it doesn'h stop halt the run.
file-mod.mkvi (change \setgvalue to \letgvalue):
\def\dofetchruntimecommand#1#2% actually a test on #1 being define would be ok
as well
Hi,
can the \defineplistplacement command in the same way be modified as the
\defineheadplacement command to allow
\definelistplacement[…][…]#1#2#3{…} % old form with parameters
and
\definelistplacement[…][…]{…} % new form without parameters
\unexpanded\def\definelistplacement
Hi,
can the \setnumber/\setstructurecounter syntax be changed to allow also
\setnumber[…][3]
besides the current
\setnumber[…]{3}
The first form fits better with the other setup commands etc.
\unprotect
\unexpanded\def\setstructurecounter
{\dodoubleempty\dosetstructurecounter}
Am 16.01.2012 um 19:26 schrieb Hans Hagen:
On 16-1-2012 16:06, Wolfgang Schuster wrote:
Hi,
can the \setnumber/\setstructurecounter syntax be changed to allow also
\setnumber[…][3]
besides the current
\setnumber[…]{3}
The first form fits better with the other setup commands
Am 16.01.2012 um 22:59 schrieb Hans Hagen:
Hi Wolfgang,
I redid some of strc-num so you'd better test it. One difference is that the
'user variants' do some checking due to the dodouble etc
An alternative is to have different ones for normal and sub and do something
like
Hi Hans,
in the new beta buffers are fixed but one \endgroup is on the wrong position.
In the following macros \endgroup has to be before \buff_stop{#4}.
\def\buff_start_indeed#1#2#3#4% \donothing needed !
{\normalexpanded{\buff_pickup{#2}{#3}{#4}{}{\buff_stop{#4}\endgroup}}} % (3
4 5 6)
Am 15.01.2012 um 15:31 schrieb Wolfgang Schuster:
Hi Hans,
in the new beta buffers are fixed but one \endgroup is on the wrong position.
In the following macros \endgroup has to be before \buff_stop{#4}.
\def\buff_start_indeed#1#2#3#4% \donothing needed !
{\normalexpanded
Am 15.01.2012 um 18:14 schrieb Hans Hagen:
On 14-1-2012 19:55, Wolfgang Schuster wrote:
The problem is the following setting in page-app.mkiv
\setuplayout
[fittingpage]
[\c!width=\d_page_fitting_width,
\c!height=\d_page_fitting_height,
\c!location=\v!middle
Hi Hans,
When \setupnote is called in preamble footnotes are placed wrong.
%\setuppapersize[A4]
\setupnote[footnote][]
\starttext
Text\footnote{Note}.
\stoptext
This happens because \dimen\currentnoteins is set to 1pt (the current value of
\textheight before \starttext).
The problem is the
Hi Hans,
there is \dimexpr missing otherwise \mapfontsize has no effect.
%\def\font_basics_set_mapped_fontsize#from%
% {\ifcsname\??mappedfontsize#from\endcsname
% \csname\??mappedfontsize#from\endcsname\else#from%
% \fi}
\def\font_basics_set_mapped_fontsize#from%
Hi Hans,
there is \dimexpr missing otherwise \mapfontsize has no effect.
%\def\font_basics_set_mapped_fontsize#from%
% {\ifcsname\??mappedfontsize#from\endcsname
% \csname\??mappedfontsize#from\endcsname\else#from%
% \fi}
\def\font_basics_set_mapped_fontsize#from%
Am 08.01.2012 um 18:09 schrieb Hans Hagen:
On 8-1-2012 15:18, Wolfgang Schuster wrote:
Hi Hans,
is there any reason to keep \definefrozenfont because it doesn’t work.
\definefrozenfont[test][Sans sa 1]
\starttext
\test Test %
\expandafter\let\csname\lastfontidentifier\expandafter
Hi Hans,
there is \setbox missing before the \b_assign_width\emptybox assignments.
\setvalue{\??dimensionwidth
}#value#dimension#content#extra{\setbox\b_assign_width\hbox{#content}#dimension\wd\b_assign_width\b_assign_width\emptybox}
\setvalue{\??dimensionwidth\v!fit
Hi Hans,
can you add a \pagehandler command to access the defined commands
\def\pagehandler#1%
{\expandcheckedcsname{\??pp:h:}{#1}\v!normal}
In the following examples from the past the only method to shipout the saved
pages was (the no longer available) \actualshipout and this was never
Am 21.12.2011 um 23:26 schrieb Hans Hagen:
Hi Wolfgang et al,
I cleaned up mkiv'd pack-rul, meta-ini, anch-pgr etc and for sure there have
been bugs introduced. A couple of mkii artefacts have been removed and some
speedups were possible (important as framed is a core macro so especially
Hi Hans,
the \margindata commands still used the no longer available \dosetupstrut
command.
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
Am 22.12.2011 um 01:19 schrieb Aditya Mahajan:
On Thu, 22 Dec 2011, Wolfgang Schuster wrote:
PS. I hope that in 2012 I've redone all the code (consistency, mkiv'd,
namespaces, etc).
Can we now consider the following prefixes for registers as the suggested
method to name them
Hi Hans,
-\unexpanded\def\righttopbox_finish
+\def\boxes_righttopbox_finish
{\global\boxhdisplacement\boxoffset
\global\boxvdisplacement-\dp\nextbox
\global\advance\boxvdisplacement-\boxoffset
\boxcursor\hskip\boxhdisplacement\raise-\boxvdisplacement\box\nextbox
\egroup}
Wolfgang
Hi Hans,
can you add a \installsimpleframedcommandhandler command to pack-rul.mkiv!
\unexpanded\def\installsimpleframedcommandhandler#1#2#3%
{\installsimplecommandhandler{#1}{#2}{#3}%
\installinheritedframed{#2}}
Wolfgang
___
dev-context mailing
Hi,
there is a typo in the following command.
\def\place_initial[#1]% todo: optional text
{\par
\begingroup
\edef\currentinitial{#1}%
\begingroup
\useinitialcolorparameter\c!color
\ctxlua{typesetters.paragraphs.droppers.set {
location = \initialparameter\c!location,
Hi Hans,
can you add
\let\changetolayout\page_layouts_change
to page-lay.mkiv. I use the command in my letter module and with the new beta
from the ftp you made this a internal command only.
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
Hi,
\ifemptyfloatcaption should always be false when there is a text for the caption
\def\check_float_caption_content
{\ifnofloatcaption \else
\setbox\float_caption_box\hbox
{\settrialtypesetting
\notesenabledfalse
\float_make_complete_caption}%
% new,
Hi,
-\ifdefined\else \newcount\textlevel \fi % might go away
+\ifdefined\textlevel \else \newcount\textlevel \fi % might go away
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
Hi Hans,
\def\stopenvironmentindeed
- {\signalendofinput\v!project}
+ {\signalendofinput\v!environment}
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
Am 08.11.2011 um 18:59 schrieb Hans Hagen:
On 7-11-2011 09:46, Wolfgang Schuster wrote:
Hi Hans,
there is a extra space at the end of the buffer content.
\def\starttest
{\dowithbuffer{testbuffer}{starttest}{stoptest}\relax\processtest}
\def\processtest{“\ctxcommand{getbuffer
Hi Hans,
there is a extra space at the end of the buffer content.
\def\starttest
{\dowithbuffer{testbuffer}{starttest}{stoptest}\relax\processtest}
\def\processtest{“\ctxcommand{getbuffer(testbuffer)}”}
%\def\processtest{“\ctxcommand{getbuffer(testbuffer)}\removeunwantedspaces”}
\starttext
Am 25.10.2011 um 10:34 schrieb Hans Hagen:
On 24-10-2011 23:24, Wolfgang Schuster wrote:
Am 24.10.2011 um 14:18 schrieb Hans Hagen:
On 21-10-2011 07:07, Wolfgang Schuster wrote:
Hi Hans,
I try to set and access a reference in the example below but both
\in and \at result in a fatal
Am 24.10.2011 um 14:18 schrieb Hans Hagen:
On 21-10-2011 07:07, Wolfgang Schuster wrote:
Hi Hans,
I try to set and access a reference in the example below but both
\in and \at result in a fatal error. What’s missing in my code,
I looked in the float and math code but I can’t find
Hi Hans,
I try to set and access a reference in the example below but both
\in and \at result in a fatal error. What’s missing in my code,
I looked in the float and math code but I can’t find a solution.
\starttexcode
\installnamespace{test}
\installcommandhandler \test
Hi Hans,
shouldn’t the inner test be “\ifx\hasstructurecounternumber\v!yes”?
\def\dostructurecountercomponent#1#2#3#4#5#6#7[#8][#9]%
{\begingroup
…
\ifx\hasstructurecountercaption\v!yes
…
\ifx\hasstructurecountercaption\v!yes
prefixdata = {
prefix=
Hans,
can you give me a top what’t missing in the code below.
Wolfgang
Am 14.10.2011 um 12:59 schrieb Wolfgang Schuster:
Hi Hans,
how can i use the \dostructurecountercomponent command for my own macros?
I tried it with the following code but nothing appear in the tuc file
Am 14.10.2011 um 12:59 schrieb Wolfgang Schuster:
Hi Hans,
how can i use the \dostructurecountercomponent command for my own macros?
I tried it with the following code but nothing appear in the tuc file.
\starttexcode
\installnamespace{test}
\installcommandhandler
Hi Hans,
how can i use the \dostructurecountercomponent command for my own macros?
I tried it with the following code but nothing appear in the tuc file.
\starttexcode
\installnamespace{test}
\installcommandhandler \test {test} \test
Hi,
page-one.mkiv:
\def\OTRONEdosetbothinserts
{\global\topinserted\zeropoint
\global\botinserted\zeropoint
\ifflushingfloats \else
\OTRONEdosettopinserts
\OTRONEdosetbotinserts
\ifsomefloatwaiting
- \doif\rootfloatparameter\c!cache\v!no\doflushfloats
+
Hi Hans,
is \ifsectionnumber really needed?
When you run the following example \setuphead sets \ifsectionnumber to false
and this disables are heading numbers:
\setuphead[section][number=no]%\sectionnumbertrue
\starttext
\chapter{Chapter}
\section{Section}
\stoptext
Wolfgang
Hi Hans,
what’s the status of the \reset command, is it a valid command or obsolete.
When it is a usable command you should change the definition, i think this
should for \definenumber created counters (functions like enumeration already
provide their own mechanism).
\def\reset
Hi Hans,
can you make \setupnumbering a synonym for \setupstructurecountering?
\let\setupnumbering\setupstructurecountering
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
Am 13.07.2011 um 19:56 schrieb Hans Hagen:
On 13-7-2011 7:18, Wolfgang Schuster wrote:
Hi Hans,
can you make \setupnumbering a synonym for \setupstructurecountering?
\let\setupnumbering\setupstructurecountering
sure (still not sure about dropping the structurecounter names)
I’ll
Am 13.07.2011 um 19:58 schrieb Hans Hagen:
On 13-7-2011 6:00, Wolfgang Schuster wrote:
Hi Hans,
what’s the status of the \reset command, is it a valid command or obsolete.
When it is a usable command you should change the definition, i think this
should for \definenumber created
Am 13.07.2011 um 20:13 schrieb Hans Hagen:
Actually I wanted to get rid of it ... but we can make this one
\resetnumber (at least it's clear then what gets reset)
In this case I’m going to ignore it because there is already a \resetnumber
command:
\let \resetnumber
Missing “do” in the else branch:
-\unexpanded\def\directgoto{\ifconditional\uselocationstrut\expandafter\dodirectgoto\else\expandafter\directgotohtdp\fi}
-\unexpanded\def\goto {\ifconditional\uselocationstrut\expandafter\dogoto
\else\expandafter\gotohtdp \fi}
local function setlanguage(l,m,d,u)
...
method = predefinedmethods[variables[method]] or method
data.method = method
--
- data.digits = digite
+ data.digits = digits
--
local seq = utilities.parsers.settings_to_array(method or ) -- check the
list
...
end
-\def\registersynonym[#1][#2]%
+\def\doregistersynonym[#1][#2]%
{\ctxlua{structures.synonyms.registerused(#1,#2)}}
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
\def\docompletelistofsorts[#1][#2]%
- {\normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext{#2}}}%
+ {\edef\currentsorting{#1}%
+
\normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext{\sortingparameter\s!multi}}}%
\doplacelistofsorts[#1][#2]%
\page[\v!yes]}
Wolfgang
\def\docompletelistofsorts[#1][#2]%
- {\normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext{#2}}}%
+ {\edef\currentsorting{#1}%
+
\normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext{\sortingparameter\s!multi}}}%
\doplacelistofsorts[#1][#2]%
\page[\v!yes]}
Wolfgang
-\def\registersort[#1][#2]%
+\def\doregistersort[#1][#2]%
{\ctxlua{structures.synonyms.registerused(#1,#2)}}
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
\unexpanded\def\stopsubformulas
{\nonoindentation
- \checknextindentation[\formulaparameter\c!indentnext]%
+ \checknextindentation[\subformulaparameter\c!indentnext]%
\the\everyresetformulas % to be checked
\global\setfalse\insidesubformulas
\dorechecknextindentation} % here ?
Hi Hans,
after the change for \defineheadplacement i suggest to remove the parameters
from \definelistplacement too.
\unprotect
\unexpanded\def\definelistplacement
{\dodoubleempty\dodefinelistplacement}
\def\dodefinelistplacement[#1][#2]%
{\doifnextbgroupelse
I’m not sure about this:
\def\movedownsidefloat[#1]% already in core
{\bgroup
\cleanupfeatures
\doifinstringelse{:}{#1}
\donothing
{\def\docommand##1%
{\processaction
[##1]%
[ \v!line=\dodocommand+,%
+\v!line=\dodocommand+,%
core-con.mkiv: missing “)
-\def\ordinaldaynumber #1{\ctxcommand{ordinal(#1,\currentlanguage}}
+\def\ordinaldaynumber #1{\ctxcommand{ordinal(#1,\currentlanguage)}}
core-con.lua: missing “w” in the last two
local ordinals = {
english = function(n)
local two = n % 100
- if
Hi Hans,
can you add
\ifdefined\dotagfigure \else \let\dotagfigure\relax \fi
to grph-fig.mkiv, otherwise \externalfigure fails.
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
Hi Hans,
-\setvalue{@strut@\s!empty }{\setstrut}
+\setvalue{@strut@\empty}{\setstrut}
This should be \empty otherwise \setupstrut (without arguments) expands to
\setcharstrut without any content.
Wolfgang
___
dev-context mailing list
-\def\dodomoveongrid[#1]%
+\def\domoveongrid[#1]%
{} % gone, unless we set an attribute
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
\def\dostartgridcorrection[#1]%
{\ifgridsnapping
-\iffirstargument\doifsomething{#1}{\moveongrid[#1]}\fi
-\snaptogrid\vbox\bgroup
+\snaptogrid[#1]\vbox\bgroup
\else
\startbaselinecorrection
\fi}
Wolfgang
___
dev-context mailing
Hi Hans,
is it possible to integrate the two parameters for the number and text in the
definition of the command?
%\def\dodefineheadplacement[#1][#2]% #3#4
% {\setvalue{\??ns:#1}{#2}%
% \setvalue{\??ns::#1}}
\def\dodefineheadplacement[#1][#2]%
{\setvalue{\??ns:#1}{#2}%
Hi Hans,
is it possible to integrate the two parameters for the number and text in the
definition of the command?
%\def\dodefineheadplacement[#1][#2]% #3#4
% {\setvalue{\??ns:#1}{#2}%
% \setvalue{\??ns::#1}}
\def\dodefineheadplacement[#1][#2]%
{\setvalue{\??ns:#1}{#2}%
-\ifdefined \else \let\presetnumberheadalternative\relax \fi
+\ifdefined\presetnumberheadalternative \else
\let\presetnumberheadalternative\relax \fi
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
Am 16.06.2011 um 23:27 schrieb Hans Hagen:
I grepped all my projects and if you want that we need a more clever patch:
[…]
Can you check that?
It works with and without parameters.
As the command is at user level it’s better to get rid of the arguments (like
\define[2]\Command and
Missind do’s:
\def\dosetraggedvbox#1% can be more keys
{\let\raggedbox\vbox
- \processcommacommand[#1]\dosetraggedvbox}
+ \processcommacommand[#1]\dodosetraggedvbox}
\def\dosetraggedhbox#1% can be more keys
{\let\raggedbox\hbox
- \processcommacommand[#1]\dosetraggedhbox}
+
Hi Hans,
-\setvalue{@strut@\s!empty }{\setstrut}
+\setvalue{@strut@\empty}{\setstrut}
This should be \empty otherwise \setupstrut (without arguments) expands to
\setcharstrut without any content.
Wolfgang
___
dev-context mailing list
\def\dodefinestylecollection[#1]%
{\iffirstargument
\setuvalue{#1}{\styleinstance[#1]}%
\def\docommand##1%
-
{\def\dodocommand1{\letbeundefined{\??sx##1:1:\commalistelement}}%
+ {\def\dodocommand1{\letbeundefined{\??sx#1:##1:1}}%
Hi Hans,
the \blank command is ignored when the complete list is printed with
\placesetups
because packed mode is used, with a normal \vskip this doesn’t happen. I reduced
the skip because “.75\lineheight” looks better for commands without optional
arguments.
\startxmlsetups xml:setups:typeset
Hi Hans,
can you add a ConTeXt version of plain TeX’s \line (\hbox to \hsize) command.
I think this should do it: \def\fullaligned{\doalignline \relax \relax}
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
Am 14.06.2011 um 15:43 schrieb Hans Hagen:
On 14-6-2011 1:58, Wolfgang Schuster wrote:
Hi Hans,
can you add a ConTeXt version of plain TeX’s \line (\hbox to \hsize) command.
I think this should do it: \def\fullaligned{\doalignline \relax \relax}
sure, but shouldn't we also add
\def\doplaceheadnumbercomponent#1%
{\begingroup
\setupheadcomponentfont\c!numberstyle\c!numbercolor
\placeheadmargintexts
\ifcsname\??nh\currentstructurehead\c!deepnumbercommand\endcsname
-
\def\nonoanchor[#1]%
- {}
+ {\csname\??an#1\endcsname}
otherwise \defineanchor is useless.
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context
Hi Hans,
there’s a typo in pack-mis.mkvi
\def\pack_placement_indeed[#settings]% set test can be sped up but non critical
{\iffirstargument
-\setupcurrentplacement[#settings]%
+\setupplacement[\currentplacement][#settings]%
\fi
Am 07.06.2011 um 13:02 schrieb Wolfgang Schuster:
Hi Hans,
there’s a typo in pack-mis.mkvi
\def\pack_placement_indeed[#settings]% set test can be sped up but non
critical
{\iffirstargument
-\setupcurrentplacement[#settings]%
+\setupplacement[\currentplacement][#settings
Am 02.06.2011 um 01:06 schrieb Aditya Mahajan:
Hi,
I will like to propose a new command, \definestructureenumeration, which is
similar to \defineenumeration, but follows the conventions of
\definestructuresection, that is, allows one to write
\definestructureenumeration[theorem]
Isn’t there a \fontbody missing as first argument of
\setscaledstyledsymbolicfont?
font-ini.mkiv:
\unexpanded\def\getscaledglyph
#1#2#3{{\setscaledstyledsymbolicfont{#1}{#2}\doifnumberelse{#3}\char\donothing#3}}
Wolfgang
___
dev-context mailing
Hi Hans,
is there a simple way to change the status from commands created with
\newconditional id \newif from, e.g. in the following example it’s easy to pass
the value of the conditional from TeX to Lua but not in the reverse way.
\newconditional\test
\starttext
\settrue\test
TeX:
Am 26.04.2011 um 16:15 schrieb Hans Hagen:
On 26-4-2011 4:08, Wolfgang Schuster wrote:
Hi Hans,
is there a simple way to change the status from commands created with
\newconditional id \newif from, e.g. in the following example it’s easy to
pass the value of the conditional from TeX
Hi Hans,
can you change the defintion of DefaultFont because it doesn’t work when you
apply font features to it:
\starttext
\definedfont[DefaultFont]DefaultFont % works
%\definedfont[DefaultFont*default]DefaultFont % breaks
\stoptext
type-set.mkiv
- \definefontsynonym [DefaultFont] [cmvtt10]
Hi,
the \setraggedparagraphmode command miss a few \expandafter
% \def\setraggedparagraphmode
% {\doifrightpageelse
% {\ifdoublesided\signalinnerrealign\firstoftwoarguments \fi}
% {\ifdoublesided\signalouterrealign\secondoftwoarguments\fi}}
\def\setraggedparagraphmode
Hi Hans,
the following example fails with named parameters, is this a limitation of mkvi?
% macros=mkvi
\def\definefoo[#1]%
{\setvalue{start#1}{\dostartfoo{#1}}}
\def\dostartfoo#1%
{\normalexpanded{\def\noexpand\next##1\expandafter\noexpand\csname
stop#1\endcsname}{#1 : ##1}%
\next}
Am 07.04.2011 um 21:12 schrieb Hans Hagen:
it's the \normalexpanded{ } ... i could probably catch that but i wonder if
we should go that route
Should i then use in this case TeX’s normal numbered arguments. It’s no big deal
because i have this odd case only at one place in my annotation
Hi Hans,
shouldn’t the result for Lua from the delay key be 0 or 1?
\def\scrn_transitions_set_indeed
{\begingroup
\edef\currentinteractionscreendelay{\interactionscreenparameter\c!delay}%
\ctxcommand{setpagetransition{
n = \scrn_transitions_list,
delay =
Hi Hans,
the \definenamespace command don’t use the \installparametersethandler command,
can you add it because i need the generated \let...parameter in a module.
Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
Hi Hans,
missing namespaces in the parent keys
\def\dodefinebar[#1][#2][#3]%
{\ifthirdargument
-\getparameters[\??on#1][\s!parent=#2,#3]%
+\getparameters[\??on#1][\s!parent=\??on#2,#3]%
\else
-\getparameters[\??on#1][\s!parent=,#2]%
+
Am 09.02.2011 um 15:37 schrieb Hans Hagen:
Hi,
Something new. If you add a section like this in a module:
% begin info
%
% title : show character data
%
% comment : show some info about characters in the character database
% status : experimental, used for luatex testing
%
% end
Am 14.10.2010 um 14:57 schrieb Mojca Miklavec:
2010/10/14 Ulrike Fischer wrote:
I don't have a context currently to try, but what would happen if
you use it e.g. this way:
\usemodule[translate]
\translateinput[im][mm]
\enableinputtranslation
\starttext\tt
\scratchdimen=2mm 2mm:
Am 13.10.2010 um 01:01 schrieb Aditya Mahajan:
I thought that Mojca was asking if we can also specify units in Greek. For
example, 1μμ instead of 1mm (Although, I am not sure what are the
corresponding units in Greek).
\usemodule[translate]
\translateinput[μμ][mm]
\enableinputtranslation
Am 05.07.10 12:26, schrieb Taco Hoekwater:
On 07/05/2010 11:44 AM, Marius wrote:
On Fri, Jul 2, 2010 at 1:21 PM, Taco Hoekwatert...@elvenkind.com
wrote:
I think this will be a wasted effort. I predict that any future
version of context that will be able to do syntax checking is going
to be
Am 30.06.10 12:57, schrieb Marius:
Hello,
I think that the best way is to put command syntax description just
before its definition in the context file. This way it will be easier
to keep it always in sync with the code. And most important point here
is that it must be in sync always. If it is,
Am 17.06.10 15:11, schrieb Mojca Miklavec:
On Wed, Jun 16, 2010 at 19:56, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Hi,
i plan to update cont-en.xml with changes in mkiv (new keys and commands)
but i'm unsure if it's good to mix mkii and mkiv. I think it's to make
Hi,
i plan to update cont-en.xml with changes in mkiv (new keys and
commands) but i'm unsure if it's good to mix mkii and mkiv. I think it's
to make a separate definition file for mkiv which contains the extra
keys for the commands (e.g. sectionsegments for \setuphead) and use the
current
Hi,
one of the \ifdim’s should be \ifdim#1=#2
syst-aux.mkiv|syst-ext.mkii
\def\comparedimension#1#2%
{\chardef\compresult
\ifdim#1#2%
\zerocount
\else\ifdim#1#2%
\plusone
\else
\plustwo
\fi\fi}
Wolfgang
___
dev-context mailing list
301 - 400 of 428 matches
Mail list logo