Re: [NTG-context] A problem with itemize in columns - once again, now with an MWE

2014-01-17 Thread Wolfgang Schuster
] \endgroup \blank \stopsetups \starttext \startitemize[columns,two,packed][before=\directsetup{itemize:before},after=\directsetup{itemize:after}] \item abc \item \math{a^2} \item xyz \item \math{\frac{1}{2}} \item foo \item bar \item baz \item \math{\sqrt{2}} \item asdf \item qwerty \stopitemize

Re: [NTG-context] A problem with itemize in columns - once again, now with an MWE

2014-01-17 Thread Marcin Borkowski
[itemize:before] \blank \begingroup \setupinterlinespace[medium] \stopsetups \startsetups[itemize:after] \endgroup \blank \stopsetups \starttext \startitemize[columns,two,packed][before=\directsetup{itemize:before},after=\directsetup{itemize:after}] \item abc \item \math{a^2

Re: [NTG-context] Is alternative=serried broken in enumerations?

2012-02-22 Thread Wolfgang Schuster
{\constructionparameter\c!width}% CHECK ! ! ! wrong parameter namespace \doifsetupselse{\??constructionrenderings:\v!serried:\p_width} { \directsetup{\??constructionrenderings:\v!serried:\p_width} } { \directsetup{\??constructionrenderings:\v!serried:\v!wide} } \stopsetups Wolfgang

Re: [NTG-context] Links in TOC not working properly?!

2012-02-01 Thread Hans Hagen
you can put this in cont-new.mkiv (after \unprotect) \unexpanded\def\strc_lists_apply_renderingsetup {\the\t_lists_every_renderingsetup \edef\currentlistalternative{\listparameter\c!alternative}% \directsetup{\listalternativeparameter\c!renderingsetup}\relax

Re: [NTG-context] Links in TOC not working properly?! SOLVED

2012-02-01 Thread Verhaag, G.C.H.M.
On 02/01/2012 11:16 AM, Hans Hagen wrote: you can put this in cont-new.mkiv (after \unprotect) \unexpanded\def\strc_lists_apply_renderingsetup {\the\t_lists_every_renderingsetup \edef\currentlistalternative{\listparameter\c!alternative}% \directsetup{\listalternativeparameter\c

Re: [NTG-context] FLOWchart module broken

2011-12-27 Thread Wolfgang Schuster
Am 26.12.2011 um 14:00 schrieb Willi Egger: Hi,test-flowchart.tex The FLOW-chart module is broken at least since the version 22-12-2011 and still is in the version of 23-12-2011. m-chart.mkvi \startsetups flowcell:text:place:indeed \begingroup \directsetup{flowcell:text:user

Re: [NTG-context] FLOWchart module broken

2011-12-27 Thread Willi Egger
\startsetups flowcell:text:place:indeed \begingroup \directsetup{flowcell:text:user} \doifelsenothing {\getvariable{flowcell:text}{figure}} { % \doframed % [flowcell:\getvariable{flowcell:text}{align}] \expandcheckedcsname{flowcell:}{\getvariable

Re: [NTG-context] no color with interaction and reference format

2011-11-30 Thread Wolfgang Schuster
{\directsetup\currentreferenceformatsetups}% \fi % \let\leftofreferencecontent \empty \let\rightofreferencecontent\empty \pickup_goto_reference} Wolfgang ___ If your question is of interest to others as well

[NTG-context] beta

2011-10-12 Thread Hans Hagen
\setvariables [document] [before=\directsetup{document:start}, after=\directsetup{document:stop}] \stoptyping You can for instance define these setups to generate a title page (using document variables) and a colophon page. In the future more functionality might be added. == Yet another new feature

Re: [NTG-context] markdown

2011-07-22 Thread Wolfgang Schuster
\unexpanded\def\markdownrule {\directsetup{markdown:rule}} \setupmarkdown[rule=\...] would fir better in the normal setup concept of ConTeXt but as this would be the only setting for \setupmarkdown it can wait till John had more time to play with the module and find missing features. Wolfgang

Re: [NTG-context] markdown

2011-07-21 Thread Hans Hagen
On 21-7-2011 9:31, Wolfgang Schuster wrote: %\unexpanded\def\markdownrule % {\hairline\par} \unexpanded\def\markdownrule {\markdownparameter\c!rule} or maybe better \startsetups markdown:rule \hairline \par \stopsetups \unexpanded\def\markdownrule {\directsetup{markdown:rule

[NTG-context] Lettermodule: error message

2010-10-24 Thread Willi Egger
[lettercontent]... \stopletter -\processlettervalues \directsetup {\v!letter :\v!place }\endgr... l.31 \stopletter I used the following test-file: \usemodule[letter][style=dutch] \mainlanguage[de] \language[de] \starttext \startletter Nach unserem Treffen

Re: [NTG-context] Verbatim typing with numbers inside float

2010-10-06 Thread Hans Hagen
[strut=no,align=normal,frame=off]{\typebuffer} \stoplinenumbering \stopsetups \placealgorithm [here][alg:myalgorithm] {Very neat algorithm.} {\directsetup{algorithm}} - Hans Hagen

Re: [NTG-context] vim syntax highlighting in MKIV

2010-06-27 Thread Wolfgang Schuster
of \doprocesslocalsetups to MkII? If you don't matter about performance you can use '\processcommacommand[...]\directsetup' Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] vim syntax highlighting in MKIV

2010-06-27 Thread Aditya Mahajan
\doprocesslocalsetups is not defined in MkII. Hans, can you add the definition of \doprocesslocalsetups to MkII? If you don't matter about performance you can use '\processcommacommand[...]\directsetup' Thanks. Works perfectly. Aditya

Re: [NTG-context] Two \framed texts, one below the other

2010-06-15 Thread Taco Hoekwater
, so now I have a question: what am I doing wrong? This works : \starttext \definelayer[lyr][width=\overlaywidth,height=\overlayheight] \defineoverlay[ovl][{\directsetup{lyr}\tightlayer[lyr]}] \startsetups lyr \setlayer[lyr][preset=lefttop]{left top} \setlayer[lyr][preset=righttop]{right top

Re: [NTG-context] Problem with \doifelse testing of UTF-8 chars

2010-04-23 Thread Hans Hagen
\separatedlistmode\plusone}% \setcurrentlistseparator \edef\currentlistquotechar{\csname\??ls\currentseparatedlist\c!quotechar\endcsname}% \expandafter\dodefineprocessseplist\expandafter{\currentlistseparator}\doprocessseparateditem \initializeseparatedlistdata \directsetup

Re: [NTG-context] letter: backaddress

2010-03-27 Thread Wolfgang Schuster
\lsoptionmarking \v!yes{\directsetup{\v!letter:\v!place:\v!foldmark }} \doif\lsoptionbackaddress\v!yes{\directsetup{\v!letter:\v!place:\v!backaddress}} \doif\lsoptionaddress \v!yes{\directsetup{\v!letter:\v!place:\v!address}} \doif\lsoptionreference \v!yes

[NTG-context] streams

2010-03-11 Thread Philipp Gesang
} \directsetup {stream:\seco... \@@ar@@1 ...lushoutputstreams [\v!left ,\v!right ] \ifvoid \outputstreamtag \... \redoloop -\expandrecursecontent \endofloop ... l.20 \FlushLeftAndRight

Re: [NTG-context] The ultimate (?) float problem

2009-05-14 Thread Piotr Kopszak
of layers so that the text inside them is set on the grid. Here is my initial setup for a single page. \definelayer [figure][width=\overlaywidth,height=\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}] \setupcolors[state=start] \setupbackgrounds[page][background

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Only to show better how I would like text and images placed on the page. \definelayer [figure][width=\overlaywidth,height=\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}] \setupcolors[state=start] \setupbackgrounds[page][background=figure] \starttext

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread luigi scarso
On Tue, May 12, 2009 at 1:28 PM, Piotr Kopszak kops...@gmail.com wrote: Only to show better how I would like text and images placed on the page. \definelayer [figure][width=\overlaywidth,height=\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}] \setupcolors

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
...@gmail.com wrote: Only to show better how I would like text and images placed on the page. \definelayer  [figure][width=\overlaywidth,height=\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}] \setupcolors[state=start] \setupbackgrounds[page][background=figure

Re: [NTG-context] A few minor questions

2009-03-10 Thread Taco Hoekwater
\definestartstop [Abstract] [before=\directsetup{abstract:before}, after=\directsetup{abstract:after}] \startAbstract ... \stopAbstract Best wishes, Taco ___ If your question is of interest to others as well, please add

Re: [NTG-context] A few minor questions (Taco Hoekwater)

2009-03-10 Thread Taco Hoekwater
} or use the \directsetup calls directly (then you don't need the \definestartstop, and keep on using \define): \define[1]\Abstract {\directsetup{abstract:before}#1\directsetup{abstract:after}} Best wishes, Taco

Re: [NTG-context] latest beta

2009-02-05 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi, with the latest beta of this morning and the latest luatex, a call like texexec --lua --env=mystyle myfile.xml fails, the environment file is not read (there is no error about not finding it in the log). ah .. in core-def.tex ... \appendtoks \directsetup

Re: [NTG-context] latest beta

2009-02-05 Thread Thomas A. Schmitz
On Feb 5, 2009, at 4:25 PM, Hans Hagen wrote: ah .. in core-def.tex ... \appendtoks \directsetup{*runtime:modules}\to \everyjob 's' missing in modules OK, but now I get: ! LuaTeX error main ctx instance:1: attempt to index global 'ptbs' (a nil value) stack traceback

Re: [NTG-context] latest beta

2009-02-05 Thread Wolfgang Schuster
Am 05.02.2009 um 16:47 schrieb Thomas A. Schmitz: On Feb 5, 2009, at 4:25 PM, Hans Hagen wrote: ah .. in core-def.tex ... \appendtoks \directsetup{*runtime:modules}\to \everyjob 's' missing in modules OK, but now I get: [...] l.330 \xmlprocess{main}{\inputfilename}{} Do

Re: [NTG-context] fullpage and XeTeX typescript

2008-12-23 Thread Wolfgang Schuster
\dofullpagelayout#1% {\directsetup{\v!fullpage:#1}} \processcommacommand[\currentmoduleparameter\c!style]\dofullpagelayout \stopmodule \protect \endinput /file Wolfgang ___ If your question is of interest to others

Re: [NTG-context] looking for equivalence to LaTeX algorithm package

2008-11-30 Thread Wolfgang Schuster
][algorithms] \definestartstop [algorithm] [before=\startlines, after=\stoplines, commands=\directsetup{algorithm}] \startsetups algorithm \def\STATE {\hskip1em} \def\REQUIRE {{\bf Require: }} \def\ENSURE{{\bf Ensure: }} \def\IF ##1{\bgroup\doadaptleftskip{1em}{\bf if} ##1

Re: [NTG-context] setupwhitespace

2008-11-13 Thread Wolfgang Schuster
be enough but you could define a new environment and hide the setup in the environment file. \definestartstop [mycolumns] [before=\startcolumns, after=\stopcolumns, commands=\directsetup{mycolumn:setup}] \startsetups mycolumn:setup \setupwhitespace[...] \stopsetups \starttext

Re: [NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens
=\stopcolumns, commands=\directsetup{mycolumn:setup}] \startsetups mycolumn:setup \setupwhitespace[...] \stopsetups \starttext \startmycolumns text text text ... \stopmycolumns \stoptext Wolfgang Thanks again - that's just what I was looking for! Richard

Re: [NTG-context] Question about columns and etc

2008-11-03 Thread Wolfgang Schuster
for any help in advance! Vyatchelsav You need something more low level. \definestartstop [verse] [commands=\directsetup{verse}, before=\endgraf, after=\allowbreak\endgraf] \startsetups verse \def\obeyedline {\futurelet\next\doobeyedline} \def\doobeyedline

Re: [NTG-context] Labelling figures

2008-09-17 Thread Hans Hagen
my own macros to do this but I hoped you have already something available to do this. hm, i thought that you knew all those things -) wikifyable ... \definelayer[figure][width=\overlaywidth,height=\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}] \setupcolors

Re: [NTG-context] greek

2008-08-10 Thread Thomas A. Schmitz
~ {\lettertilde } \defineactivecharacter | {... \localgreek #1-\bgroup \directsetup {enablegreek} {#1}\egroup l.6 \localgreek{mo~usa,} ? Oh sorry, that's an error that crept in when handling of active characters was changed

[NTG-context] greek

2008-08-04 Thread Jörg Hagmann
#1-\bgroup \directsetup {enablegreek} {#1}\egroup l.6 \localgreek{mo~usa,} ? B. \usemodule[oldgreek] works with the default font or with Teubner (mark ii and mark iv). But not with Gentium, although

[NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Thomas A. Schmitz
and papyrological texts.) In pdf(e)tex, Hans wrote this macro for me: \long\def\rescanwithsetup#1#2% {{\directsetup{#1}\scantokens{#2\ignorespaces}}} but I'm not sure how to have a similar thing for mkiv (and ! is special anyway, so I'm running into trouble here...). Any pointers

Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Hans Hagen
which is used for epigraphical and papyrological texts.) In pdf(e)tex, Hans wrote this macro for me: \long\def\rescanwithsetup#1#2% {{\directsetup{#1}\scantokens{#2\ignorespaces}}} but I'm not sure how to have a similar thing for mkiv (and ! is special anyway, so I'm running

Re: [NTG-context] afterpage

2006-08-28 Thread Hans Hagen
=20mm,y=15mm] [background=color,backgroundcolor=white] {\tfb This page is inserted on page \realfolio} \stopsetups \setupheadertexts[\doifinset{\realfolio}{3,4}{\directsetup{at some pages}}] now, this inserts *as overlay* however if one wants to insert something after a specific page

Re: [NTG-context] afterpage

2006-08-28 Thread Peter Rolf
] \setlayerframed [info] [preset=rightbottom,x=20mm,y=15mm] [background=color,backgroundcolor=white] {\tfb This page is inserted on page \realfolio} \stopsetups \setupheadertexts[\doifinset{\realfolio}{3,4}{\directsetup{at some pages}}] now, this inserts *as overlay

Re: [NTG-context] Part head centering and empty header

2006-05-04 Thread Hans Hagen
Johannes Graumann wrote: Hans Hagen wrote: \defineXMLenvironment [appendices] {\directsetup{appendices:start}} {\directsetup{appendices:stop}} \startsetups appendices:start \startappendices \setuppagenumbering [ way=bytext, partnumber=no, conversion=numbers, location={header

Re: [NTG-context] Part head centering and empty header

2006-05-03 Thread Hans Hagen
] {\directsetup{appendices:start}} {\directsetup{appendices:stop}} \startsetups appendices:start \startappendices \setuppagenumbering [ way=bytext, partnumber=no, conversion=numbers, location={header,right} ] \startstandardmakeup

Re: [NTG-context] Part head centering and empty header

2006-05-03 Thread Johannes Graumann
Hans Hagen wrote: \defineXMLenvironment [appendices] {\directsetup{appendices:start}} {\directsetup{appendices:stop}} \startsetups appendices:start \startappendices \setuppagenumbering [ way=bytext, partnumber=no, conversion=numbers, location={header,right} ] \startstandardmakeup

Re: [NTG-context] audio files in pdf

2006-02-10 Thread luigi scarso
Floyd \startTEXpage \button [width=fit,height=fit,align=middle,offset=1em, frame=off,foregroundcolor=middleblue, background=color,backgroundcolor=middleyellow] {\nohyphens \getbuffer[text]} [JS(SpeakToMe{{\directsetup{text}}}] \stopTEXpage \stoptext

Re: [NTG-context] Short greek quote in otherwise english text

2006-01-31 Thread Matthias Weber
\localrelativefontsiz... \directsetup ...:#1}{\csname \??su :#1\endcsname } \empty \startgreek ...\getvalue {\??be greek\c!commands } \dostartattributes {\??be ... l.7 \startgreek ? Process aborted

[NTG-context] Re: mag-0008

2004-12-15 Thread Hans Hagen
} {c} \mapXMLvalue {fox:tab:style} {italic} {I} \mapXMLvalue {fox:tab:style} {bold} {B} \mapXMLvalue {fox:tab:style} {slanted}{S} \defineXMLenvironment [fx:tabulate] [fox] [] {} {} \defineXMLenvironment [fx:tabulate] [fox] [] {\bgroup \directsetup{fox:tabulate}} {\egroup

Re: [NTG-context] Re: Ancient Greek (bodyfont conflict?)

2004-09-02 Thread Hans Hagen
\definestartstop [greek] [commands=\directsetup{cbgreek}] \doifnotmode{demo}{\endinput} % The following sample file was submitted to the \CONTEXT\ % mailing list by Giuseppe Bilotta, along with the right % typescripts. % already loaded: \usemodule[greek] \mainlanguage[english] \starttext

Re: [NTG-context] Ancient Greek / a few modules for SW with thanks to GB

2004-08-23 Thread Hans Hagen Outside
. \usetypescriptfile[type-cbg] \usetypescript [all] [cbgreek] \startsetups [cbgreek] \catcode`~=\other \catcode`|=\other \language[greek] \switchtobodyfont[cbgreek] \stopsetups \definestartstop [greek] [commands=\directsetup{cbgreek}] \doifnotmode{demo}{\endinput} % The following sample file

Re: [NTG-context] Ancient Greek / a few modules for SW with thanks to GB

2004-08-23 Thread Steffen Wolfrum
-cbg] \usetypescript [all] [cbgreek] \startsetups [cbgreek] \catcode`~=\other \catcode`|=\other \language[greek] \switchtobodyfont[cbgreek] \stopsetups \definestartstop [greek] [commands=\directsetup{cbgreek}] \doifnotmode{demo}{\endinput} % The following

<    1   2   3