[NTG-context] About "clearpage"

2021-12-16 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all:

In the example below:


\setuppagenumbering[alternative=doublesided, location={footer,right},page=no]


\newdimen\Margin

\Margin=2cm

\newdimen\MarginRaise

\MarginRaise=56ex

\setuptexttexts[margin][][\setups{text a}][\setups{text b}][]

\setuptext[leftstyle=\sc,rightstyle=\em]

\startsetups[text a]

\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%

  \startalignment[right]

  \getmarking[chapter]

  \stopalignment

}}

\stopsetups


\startsetups[text b]

\raise\MarginRaise\hbox{\vtop{\hsize=\Margin%

  \startalignment[left]

  \getmarking[section]

  \stopalignment

}}

\stopsetups


\starttext

\chapter{First}

\section{first}

\dorecurse{6}{\input tufte}


\input tufte


\input tufte


\input tufte


\input tufte

\chapter{Second}

\section{second}

\dorecurse{6}{\input tufte}

\chapter{Third}

\section{third}

\dorecurse{6}{\input tufte}

\stoptext


How can I avoid the last page of the first chapter that appears in the PDF 
(page 4 in my output) before starting the new chapter?

Thank you

M. González.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] About margin notes

2021-12-14 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi all:
I send this minimal example:

\mainlanguage [es]
\definefontfamily [mainface] [serif] [Gentium]
\setupbodyfont[mainface]
\setuppagenumbering[alternative=doublesided, location={footer,right}]

\setuplayout[textwidth=12cm,margin=2.5cm]
\setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter]


\starttext

\chapter{Introduction}
\input{tufte}
\input{tufte}\inmargin{This is the first margin note}
\input{tufte}
\input{tufte}
\section{Whe start here}
\input{knuth}\inmargin{This is another margin note}
\input{tufte}\inmargin{This is another note in margin}
\input tufte
\chapter{Second chapter}
\section{First section}
\input{tufte}

\stoptext

Notes that appear in the right margin are justified, aligned with the text, but 
not the note in the left margin. How could I do this?
Thanks.
M. González.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] SciTE configuration Mac

2021-10-08 Thread MANUEL GONZALEZ SUAREZ via ntg-context
Hi everyone:
Could someone send me a minimal configuration for the SciTE editor of the files 
needed to work with ConTeXt? I work with MaC OS Big Sur.
Thanks.
M. González.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___