Re: [NTG-context] use parentheses in itemize

2020-06-05 Thread David Rogers
On June 3, 2020 7:01:57 a.m. PDT, Mike Cooper 
 wrote:
>The logic in that approach is obvious.  Thanks Aditya.
>
>But then, what is "stopper"?  What's it for?  What happens if you just
>leave it out?

When you leave it out, it's simply not used. In broad general terms, ConTeXt is 
set up to allow you to just ignore any features you don't need.

Stopper is for when you want

(1.)
(2.)

or

(1:)
(2:)

or any other thing that suits you, to be placed after each number. "Nothing" is 
certainly one of the legitimate and common choices for this purpose, and Aditya 
took the step of actually defining it as "nothing" by typing "stopper=". (After 
the equals sign comes... you guessed it.) :) 

Doing such a "define it to be nothing" step would be especially 
helpful/important if you DID have it defined as something for a different part 
of your document, and then wanted to change styles part way through.

-- 
David
___
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] Two issues with respect to sections in ConTeXt

2020-06-05 Thread Wolfgang Schuster

Jairo A. del Rio schrieb am 05.06.2020 um 05:28:

First:

[...]

Second:

The TeX command \S (section mark) seems to be insensitive to font size 
commands. I've tried with


\setuphead[section][sectionstarter=\S]

And the sign is smaller than the surrounding letters. I thought it was a 
matter of font design, but I've tried


\setuphead[section][sectionstarter=§]

And it worked. My question is: why? Is it a bug or a feature with 
respect to \S? I'm using ConTeXt MKIV version 2020.05.25 23:39 with LuaTeX


I think a side effect of backwards compatibility to plain TeX which 
provides \S. The reason for the odd output is that \S is defined as math 
symbol and size switches for them work only when you use them in math 
mode (you can try \m{\S}).


To get a symbol in the correct size you have to use the \sectionmark 
command or use §, there is no difference between both ways.


\starttext

\S \sectionmark §

\ss \S \sectionmark §

\stoptext

Wolfgang
___
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] [overstrike] with different color?

2020-06-05 Thread Wolfgang Schuster

Henning Hraban Ramm schrieb am 03.06.2020 um 16:30:




Am 03.06.2020 um 16:19 schrieb Floris van Manen :

What is the preferred way to overstrike a text with a different color?
This does not work:
One \overstrike[color=red]{Two} Three


\setupbar[color=red,rulethickness=1.4] % measurement in pt


\setupbar [overstrike] [..,..=..,..]

Wolfgang
___
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] [overstrike] with different color?

2020-06-05 Thread Henning Hraban Ramm

> Am 04.06.2020 um 20:00 schrieb Floris van Manen :
> 
>> \setupbar[color=red,rulethickness=1.4] % measurement in pt
> 
> the command also takes a parameter offset as well as dy.
> I assume the offset will position the line higher / lower .
> But I see no effect.
> 
> \setupbar[color=red,rulethickness=.3,offset=0.5]

According to https://wiki.contextgarden.net/Command/underbar, offset should 
work.

Maybe \definebar behaves different to \setupbar

Hraban

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