Re: [NTG-context] Non-standard font alternatives

2023-04-20 Thread Pawel Urbanski via ntg-context

I've found the following Github repository with the typscripts definitions:

https://github.com/r3n4ud/roboto-context


When I use this type-imp-roboto.mkiv file fonts are used and embedded 
when using Roboto in thes \setupbodyfont[].



When I use ebgaramond as the body font but use:

\switchtobodyfont[roboto,20pt] in the \setuphead[] call the font is not 
embedded and seems to be not used.



I am more optimistic but still confused what can be wrong.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Kaktovik numerals

2023-04-20 Thread Willi Egger via ntg-context
Hans thank you very much for this update. Indeed now automatic conversion comes 
out correctly.

Willi

> On 19 Apr 2023, at 23:41, Hans Hagen via ntg-context  
> wrote:
> 
> On 4/19/2023 10:45 PM, Willi Egger via ntg-context wrote:
>> Hello Gavin,
>> thank you so much for your input. — Indeed you are right. Please find 
>> attached the corrected version.
>> Willi
>>> On 19 Apr 2023, at 20:58, Gavin via ntg-context  wrote:
>>> 
>>> Hi Willi,
>>> 
>>> What fun! I think I found a couple math items to correct.
>>> 
>>> 1) The second line of the tables at the top of page 2 should be:
>>>1000' 100, 10, 1; 8000, 400, 20, 1
>>> 
>>> 2) For the year conversion: 2023 = 5x20^2 + 1x20 + 3. (Your 0 should be my 
>>> 1). This will give a three digit Kaktovik numeral. You have 4 digit 
>>> Kaktovik numerals for 2023, with both a 0 and a 1.
> je kunt direct dat nummer converteren maar blijkbaar gaf ik de verkeerde 
> volgorde uit:
> 
> \useMPlibrary[kaktovik] % de officiele manier
> 
> \definefontfeature
>  [default]
>  [default]
>  [metapost=kaktovik]
> 
> \setupbodyfont[dejavu]
> 
> \starttext
> 2023 \kaktoviknumerals{5}\kaktoviknumerals{1}\kaktoviknumerals{3}
> 
> \kaktoviknumerals{2023} % deze split dus voor je, order fixed
> 
> \stoptext
> 
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context

On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote:

Hi,
I don't see why the table of contents does not appear. On the other 
hand, the 12 chapters are present.


\startproduct[terminale-manual]

\startfrontmatter
\starttitle[title=Table des matières]
\placelist
   [chapter,section,subsection,subsubsection]
   [criterium=all,
   interaction=all,
alternative=c]
\stoptitle
\stopfrontmatter

\startbodymatter
\chapter{xxx}
\stopbodymatter

\stopproduct

shows a table of contents so it must be something in your components


Fabrice


\startproduct[terminale-manual]

   \project[terminale-environment]
   \startfrontmatter

     \setuppagenumbering
        [location=]

     \definefont
       [ChapterTextStyle]
       [SansBold*default sa 2.2]

     \setuphead
       [title]
       [style=ChapterTextStyle,
        align=flushright]

     \setuplist
        [chapter]
        [style=bold,
         alternative=b,
         width=1em]

     \setuplist
        [section]
        [margin=1em,
         width=1.75em]

     \setuplist
        [subsection]
        [margin=2.75em,
         width=2.25em,
        distance=\spaceamount]


     \starttitle[title=Table des matières]

          \placelist
            [chapter,section,subsection,subsubsection]
            [criterium=all,
            interaction=all,
             alternative=c]

       \stoptitle

     \stopfrontmatter

     \startbodymatter
       \component[chapitre_1]
       \component[chapitre_2]
       \component[chapitre_3]
       \component[chapitre_4]
       \component[chapitre_5]
       \component[chapitre_6]
       \component[chapitre_7]
       \component[chapitre_8]
       \component[chapitre_9]
       \component[chapitre_10]
       \component[chapitre_11]
       \component[chapitre_12]
     \stopbodymatter

\stopproduct


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi,
I don't see why the table of contents does not appear. On the other hand,
the 12 chapters are present.
Thanks
Fabrice


\startproduct[terminale-manual]

  \project[terminale-environment]
  \startfrontmatter

\setuppagenumbering
   [location=]

\definefont
  [ChapterTextStyle]
  [SansBold*default sa 2.2]

\setuphead
  [title]
  [style=ChapterTextStyle,
   align=flushright]

\setuplist
   [chapter]
   [style=bold,
alternative=b,
width=1em]

\setuplist
   [section]
   [margin=1em,
width=1.75em]

\setuplist
   [subsection]
   [margin=2.75em,
width=2.25em,
   distance=\spaceamount]


\starttitle[title=Table des matières]

 \placelist
   [chapter,section,subsection,subsubsection]
   [criterium=all,
   interaction=all,
alternative=c]

  \stoptitle

\stopfrontmatter

\startbodymatter
  \component[chapitre_1]
  \component[chapitre_2]
  \component[chapitre_3]
  \component[chapitre_4]
  \component[chapitre_5]
  \component[chapitre_6]
  \component[chapitre_7]
  \component[chapitre_8]
  \component[chapitre_9]
  \component[chapitre_10]
  \component[chapitre_11]
  \component[chapitre_12]
\stopbodymatter

\stopproduct
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] About \blackrule

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang,
Thanks a lot.
Fabrice

Le mer. 19 avr. 2023 à 15:05, Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> a écrit :

> Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01:
>
> Hi,
> The idea is to have a black square whose height is that of the number 3.
> Thanks
> Fabrice
>
> \setupbodyfont[12pt,pagella]
> \starttext
>  \blackrule[width=0.71em,height=0.71em]37254H
>
>
> \blackrule[width=\wdofstring{3},height=\htofstring{3},depth=\dpofstring{3}]
>
> Wolfgang
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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