[NTG-context] Typing Unicode subscript and superscript numbers

2018-12-01 Thread Hans Åberg
Only some of the Unicode subscript and superscript numbers and signs show up in 
the example below in the typing and text environments, though all correct in 
the formula environment.


—
\setupbodyfont[stix,10pt]

\starttext

\startformula
 \startalign
  \NC 푨₀ 0  ₁ 1  ₂ 2  ₃ 3  ₄ 4  ₅ 5  ₆ 6  ₇ 7  ₈ 8  ₉ 9  ₊ +  ₋ -  ₌ =  ₍ (  ₎ 
)\NR
  \NC 푩⁰ 0  ¹ 1  ² 2  ³ 3  ⁴ 4  ⁵ 5  ⁶ 6  ⁷ 7  ⁸ 8  ⁹ 9  ⁺ +  ⁻ -  ⁼ =  ⁽ (  ⁾ 
)\NR
 \stopalign
\stopformula

\starttyping
  푨₀ 0  ₁ 1  ₂ 2  ₃ 3  ₄ 4  ₅ 5  ₆ 6  ₇ 7  ₈ 8  ₉ 9  ₊ +  ₋ -  ₌ =  ₍ (  ₎ )
  푩⁰ 0  ¹ 1  ² 2  ³ 3  ⁴ 4  ⁵ 5  ⁶ 6  ⁷ 7  ⁸ 8  ⁹ 9  ⁺ +  ⁻ -  ⁼ =  ⁽ (  ⁾ )
\stoptyping

  푨₀ 0  ₁ 1  ₂ 2  ₃ 3  ₄ 4  ₅ 5  ₆ 6  ₇ 7  ₈ 8  ₉ 9  ₊ +  ₋ -  ₌ =  ₍ (  ₎ )

  푩⁰ 0  ¹ 1  ² 2  ³ 3  ⁴ 4  ⁵ 5  ⁶ 6  ⁷ 7  ⁸ 8  ⁹ 9  ⁺ +  ⁻ -  ⁼ =  ⁽ (  ⁾ )

\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] Replace dashed lines with a solid line

2018-12-01 Thread Wolfgang Schuster

Fabrice Couvreur schrieb am 01.12.18 um 12:43:

Hello,
I would like to replace the dashed lines with a solid line much like 
with the \hairline command

Thank you.
Fabrice

\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]

\starttext
\input knuth \dorecurse{5}{\filler[dots]}

\input knuth \dorecurse{5}{\hairline}
\stoptext


\starttext
\input knuth \thinrules[n=5]
\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
___

[NTG-context] Replace dashed lines with a solid line

2018-12-01 Thread Fabrice Couvreur
Hello,
I would like to replace the dashed lines with a solid line much like with
the \hairline command
Thank you.
Fabrice

\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]

\starttext
\input knuth \dorecurse{5}{\filler[dots]}

\input knuth \dorecurse{5}{\hairline}
\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] vertically centering line numbers

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:49 AM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 30.11.18 um 19:29:
>> [...]
>> Is there a way to center vertically the line numbers?
> 
> \defineshift [RaiseNumber] [dy=-0.25,style=\tfxx]
> 
> \setuplinenumbering [step=3,command=\RaiseNumber]
Many thanks for your help, Wolfgang.

Pablo
-- 
http://www.ousia.tk
___
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] whitespace inside a description

2018-12-01 Thread Pablo Rodriguez
On 12/1/18 9:21 AM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 30.11.18 um 19:36:
>> [...]
>> How can I get a different whitespace inside the description?
> 
> \setupdescription
>[description]
>[style={\setupwhitespace[small]}]

Many thanks for your reply, Wolfgang.

I didn’t think that whitespace could be applied to style.

Pablo
-- 
http://www.ousia.tk
___
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] vertically centering line numbers

2018-12-01 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 30.11.18 um 19:29:

Dear list,

I have the following sample:

 \setuplinenumbering[step=3, style=\tfxx]
 \starttext
 \startlinenumbering
 \dorecurse{40}{This is a verse.\\}
 \stoplinenumbering
 \stoptext

Is there a way to center vertically the line numbers?



\defineshift [RaiseNumber] [dy=-0.25,style=\tfxx]

\setuplinenumbering [step=3,command=\RaiseNumber]

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] whitespace inside a description

2018-12-01 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 30.11.18 um 19:36:

Dear list,

I have the following sample:

 \setupwhitespace[big]
 \startsetups[small:whitespace]
 \setupwhitespace[small]
 \stopsetups
 \definedescription
 [description]
 [setups={small:whitespace},
  inbetween={\directsetup[small:whitespace]}]
 \starttext
 \input knuth

 \startdescription{Knuth}
 \input knuth
 \stopdescription
 \stoptext

How can I get a different whitespace inside the description?


\setupdescription
  [description]
  [style={\setupwhitespace[small]}]

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
___