[NTG-context] Works and Doesn't Work

2019-01-17 Thread jdh

Here is my small sample ConTeXt sample:  I want to be able to control the blank 
gap between the end of an item and the next item.  It has to be fine tuned at 
times.  Any advice would be appreciated.


NOTE: Two cases with inbetween attempting use use two variations of the \blank  
command which
  causes 'context' run to hang.  The comment escape on them has to be 
removed to test them.


The rightmost column contains result comments.

Note that inbetween=\blank[.5mm]  and \blank[small] cause context to hang .
But, underbar'd command with a text string works as advertised.

Regards
 dh

 start of contxt source

\definesymbol[5][$\diamond$]

\starttext
\setupitemgroup[itemize][each][packed][before=\underbar{mae-da 
},after=\underbar{ato-da}] % WORKS
\setupitemgroup[itemize][each][  ][symbol=5]% 
WORKS
\setupitemgroup[itemize][each][  ][left=\underbar{lefttxt}] % 
NO EFFECT
\setupitemgroup[itemize][each][  ][right=\underbar{rhttxt}] % 
NO EFFECT
\setupitemgroup[itemize][each][  ][inbetween=\underbar{inbetween} ] % 
WORKS
%\setupitemgroup[itemize][each][ ][inbetween=\blank[small]] % 
!!! HANGS WONT COMPILE !!!
%\setupitemgroup[itemize][each][ ][inbetween=\blank[2mm]]   % 
!!! HANGS WONT COMPILE !!!
\setupitemgroup[itemize][each][  ][beforehead=\underbar{befhead}]   % 
NO EFFECT  
\setupitemgroup[itemize][each][  ][afterhead=\underbar{AHEAD}]  % 
NO EFFECT  
\setupitemgroup[itemize][each][  ][itemalign=right] % 
NO EFFECT
\setupitemgroup[itemize][each][  ][textdistance=3cm]% 
NO EFFECT  
\startitemize[]
\item \input knuth 
\item \input knuth
\item \input knuth
\stopitemize

\stoptext
  end of sample context source



___
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
___

Re: [NTG-context] Scaling down symbols and emojis

2019-01-17 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster
 wrote:
> > % Which factor should I use to match \tfxx?
> > \symbol[ShortForty]
> > \scale[factor=4]{\symbol[ShortForty]}
> x = 0.8
> xx = 0.6

That's what the ConTeXt Reference Manual also says, but that doesn't
seem to match what ConTeXt does. The 'x' ratio is 0.835 and the 'xx'
ratio is 0.6667. The 'm' ratio is 0.802 and the 'n' ratio is 0.601,
which is "close enough".

\definefontsize[m]
\definefontsize[n]

\setupbodyfontenvironment
  [default]
  [m=0.8,
   n=0.6,
  ]

\starttext
{\tfx m}{\tfm m}m
{\tfxx m}{\tfn m}m

\setbox\scratchbox\hbox{m}
\the\ht\scratchbox
\setbox\scratchbox\hbox{\tfx m}
\the\ht\scratchbox
\setbox\scratchbox\hbox{\tfxx m}
\the\ht\scratchbox

\setbox\scratchbox\hbox{m}
\the\ht\scratchbox
\setbox\scratchbox\hbox{\tfm m}
\the\ht\scratchbox
\setbox\scratchbox\hbox{\tfn m}
\the\ht\scratchbox
\stoptext
___
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
___

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-17 Thread Taco Hoekwater
Hi,

> On 17 Jan 2019, at 12:27, Jan U. Hasecke  wrote:
> 
> Am 14.01.19 um 19:25 schrieb Wolfgang Schuster:
> 
>> 
>>> I'll try to wikify this later this week.
> 
> I wikified it here:
> https://wiki.contextgarden.net/Command/setuphead
> 
> Is there a way to suppress the context output?
> The output does not show the effect.

I patched your example a little so that it now does show the effect.

Best wishes,
Taco





___
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
___

Re: [NTG-context] Scaling down symbols and emojis

2019-01-17 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster
 wrote:
>
> User 19087 schrieb am 16.01.19 um 21:56:
> > I'm having trouble scaling down symbols and emojis. For a while I
> > assumed these don't scale with the current font size. Then I scoured
> > the mailing list and realized that while scaling down seems broken,
> > scaling up works as expected:
> \tx (or \tfx, \bfx etc.) and \txx are ignored in some cases unlike the
> other size switches (\tfa etc.).

Out of curiosity, why are these switches sometimes ignored?
___
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
___

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-17 Thread Jan U. Hasecke
Am 14.01.19 um 19:25 schrieb Wolfgang Schuster:

> 
>> I'll try to wikify this later this week.

I wikified it here:
https://wiki.contextgarden.net/Command/setuphead

Is there a way to suppress the context output?
The output does not show the effect.

juh
___
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
___