Re: [NTG-context] [startstop]

2021-01-22 Thread Floris van Manen
On 22/01/2021 23:39, Wolfgang Schuster wrote: No \do...empty (LMTX only): \tolerant\protected\def\startzzz#=%   {\hrule    \doifsomething{#1}{\bold{\strut#1}\blank}} \protected\def\stopzzz   {\blank[10mm]} \starttext \startzzz \input weisman \stopzzz \startzzz{Ward} \input ward

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
El vie, 22 de ene. de 2021 a la(s) 17:39, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 22.01.2021 um 23:14: > > How strange. I guess you don't have your modules installed. In such a > > case, you could install them from modules.contextgarden.net >

Re: [NTG-context] [startstop]

2021-01-22 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 22.01.2021 um 23:14: How strange. I guess you don't have your modules installed. In such a case, you could install them from modules.contextgarden.net and put content under texmf-modules so after mtxrun --generate and context

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
How strange. I guess you don't have your modules installed. In such a case, you could install them from modules.contextgarden.net and put content under texmf-modules so after mtxrun --generate and context --make examples work. Another possibility is to use \do...empty and such, but it feels odd

Re: [NTG-context] [startstop]

2021-01-22 Thread Floris van Manen
unfortunately this does not work, 'annotation' is not found. But is it possible to give a start/stop definition user parameters? And if so, how? .F ___ If your question is of interest to others as well, please add

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
Like this? \usemodule[annotation] %Thanks for this module, Wolfgang \defineannotation[zzz] \define[2]\AnnotationCommand {\doifelse{\placeannotationtitle}{}{}{\hrule\bf\placeannotationtitle\par}#2\blank[10mm]} \setupannotation[zzz] [alternative=command, command=\AnnotationCommand, text=]

[NTG-context] [startstop]

2021-01-22 Thread Floris van Manen
I'd like to create a start/stop command with a parameter \startzzz[a] one two three \stopzzz \startzzz[b] one two three \stopzzz How do i define/pass the tag parameter in the definition? This does not work (obviously) \definestartstop[zzz][ before={\hrule\bf tag\blank},

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Andres Conrado
This works for me, is probably not what you want, but at leat it's consistent (it uses the interline of the main text). \definestartstop[passus][ before={\startnarrower}, after={\stopnarrower}, style={\tfxx}, ] \starttext \subject{It looks OK here:} \input knuth \startnarrower \tfxx \input

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Alan Braslau
On Wed, 22 Mar 2017 20:38:01 +0100 "Mikael P. Sundqvist" wrote: > What am I doing wrong? Any ideas to solve it Add a \par: \input knuth\par Alan ___ If your question is of interest to others as

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Mikael P. Sundqvist
On Wed, Mar 22, 2017 at 8:38 PM, Mikael P. Sundqvist wrote: > Hi, > > with the latest standalone, the file below runs, but gives strange > results. Look at the interline space in the last paragraph (starting > with "But a system...") of the document. It is too big. Resulting pdf

[NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Mikael P. Sundqvist
Hi, with the latest standalone, the file below runs, but gives strange results. Look at the interline space in the last paragraph (starting with "But a system...") of the document. It is too big. Resulting pdf is attached. What am I doing wrong? Any ideas to solve it (i.e. to be able to define