Re: [NTG-context] numbering sections/subsections

2022-07-10 Thread Alan Bowen via ntg-context
Thank you, Hraban, for the solution and the link!

All best, Alan

On Sat, Jul 9, 2022 at 6:59 PM Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:

> Am 10.07.22 um 00:35 schrieb Alan Bowen via ntg-context:
> > I’m trying to get my sections numbered with capital letters and my
> > subsections with Arabic numbers. So far, no joy. What am I missing?
> >
> > Alan
> >
> > Mwe: with ConText ver: 2022.01.21 20:13 LMTX  fmt: 2022.2.1. (The
> > problem persists when I run ConTeXt online)
> >
> > \setuphead[section][conversion=A]
> >
> \setuphead[subsection][conversion=n, sectionsegements=section:subsection, 
> stopper={.}]
>
> \definestructureconversionset[mySet][A,n,A,n][n] % starts at part!
> \setuphead[section,subsection][sectionconversionset=mySet]
> \setuphead[subsection][sectionsegments=section:subsection, stopper={.}]
>
> % found in https://wiki.contextgarden.net/Titles
>
> > \starttext
> >
> > \startsection[title=New section]
> > \input knuth
> > \startsubsection[title=New subsection]
> > \input ward
> > \stopsubsection
> > \stopsection
> >
> > \stoptext
>
> Hraban
>
> ___
> 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] Workshop at FrOSCon

2022-07-10 Thread Axel Kielhorn via ntg-context


> Am 10.07.2022 um 16:56 schrieb Henning Hraban Ramm via ntg-context 
> :
> 
> Am 10.07.22 um 16:43 schrieb Axel Kielhorn via ntg-context:
>>> Thank you – I can’t remember you ever announced that?
>> I did in 2018 and in return you send me an early version of your book.
> 
> Ok, it’s been a while.
> 
>>> I quickly looked through it and, of course, found a few things that I 
>>> didn’t cover yet.
> 
> Looking deeper, I also found a lot of errors.

I appreciate your feedback.
Please contact me off list.

Greetings
Axel

___
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] Workshop at FrOSCon

2022-07-10 Thread Henning Hraban Ramm via ntg-context

Am 10.07.22 um 16:43 schrieb Axel Kielhorn via ntg-context:

Thank you – I can’t remember you ever announced that?


I did in 2018 and in return you send me an early version of your book.


Ok, it’s been a while.


I quickly looked through it and, of course, found a few things that I didn’t 
cover yet.


Looking deeper, I also found a lot of errors.


Most of the things in there I learned on this mailing list.


Me too. And of course at ConTeXt meetings
(hint: https://meeting.contextgarden.net/2022/)

Hraban
___
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] Workshop at FrOSCon

2022-07-10 Thread Axel Kielhorn via ntg-context


> Am 10.07.2022 um 10:22 schrieb Henning Hraban Ramm via ntg-context 
> :
> 
> Am 10.07.22 um 08:36 schrieb Axel Kielhorn via ntg-context:
>>> Am 09.07.2022 um 19:27 schrieb Henning Hraban Ramm via ntg-context 
>>> :
>>> 
>>> Tell them there will be a German book next year (I hope...); I’ll send you 
>>> a link off-list.
>> I’m looking forward to your book.
>> In the meantime there is a short guide at:
>> https://github.com/AKielhorn/Context-Intro
> 
> Thank you – I can’t remember you ever announced that?

I did in 2018 and in return you send me an early version of your book.

> I quickly looked through it and, of course, found a few things that I didn’t 
> cover yet.

Most of the things in there I learned on this mailing list.

Greetings
Axel
___
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] Getting started with Japanese

2022-07-10 Thread Wolfgang Schuster via ntg-context

Gerben Wierda via ntg-context schrieb am 09.07.2022 um 13:58:
I’d like to experiment a bit with typesetting Japanese in ConTeXt 
(LMTX), to see if it is doable.


I tried looking for Japanese on ConTeXtgarden, but did not find anything.

Can someone point me to instructions to get started with Japanese in 
LMTX (on macOS).


1. You need a font to typeset japanese.

2. Add \setscript[nihongo] to your document to enable line breaks.

 begin example
\definefontfamily [noto-cjk-jp] [serif] [Noto Serif CJK JP]
  [it={style:regular,features:{*,slanted}},
   bi={style:bold,features:{*,slanted}}]

\definefontfamily [noto-cjk-jp] [sans]  [Noto Sans CJK JP]
  [it={style:regular,features:{*,slanted}},
   bi={style:bold,features:{*,slanted}}]

\definefontfamily [noto-cjk-jp] [mono]  [Noto Sans Mono CJK JP]
  [it={style:regular,features:{*,slanted}},
   bi={style:bold,features:{*,slanted}}]

\definetypeface [noto-cjk-jp] [mm] [math] [pagella] [default]

\setupbodyfont [noto-cjk-jp]

\setscript [nihongo]

\starttext

\rm\tf 日本語 \it 日本語 \bf 日本語 \bi 日本語

\ss\tf 日本語 \it 日本語 \bf 日本語 \bi 日本語

\tt\tf 日本語 \it 日本語 \bf 日本語 \bi 日本語

\stoptext
 end example

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
___


Re: [NTG-context] Workshop at FrOSCon

2022-07-10 Thread Hans Hagen via ntg-context

On 7/10/2022 8:36 AM, Axel Kielhorn via ntg-context wrote:




Am 09.07.2022 um 19:27 schrieb Henning Hraban Ramm via ntg-context 
:

Tell them there will be a German book next year (I hope...); I’ll send you a 
link off-list.


I’m looking forward to your book.
In the meantime there is a short guide at:

https://github.com/AKielhorn/Context-Intro
Just for the record: luametatex is *not* optimized for context, it just 
provides (rather generic) stuff not present in other engines that we can 
benefit from. That said: of course after decades of context we know what 
is missing in tex that we could benefit from, and we do. One distinction 
between luatex and luametatex is that we delegate some more to lua.


The reworked math engine is something that is probably very contextisch 
if only because other macro packages are locked into "chisseled in stone 
ams (and alike) math as the only thruthful and accepted by publishers 
way to do it" so there the "optimized" sort of applies, in the sense 
that we can fully benefit from it as well have extra features that make 
certain things possible.


Hans

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


Re: [NTG-context] Workshop at FrOSCon

2022-07-10 Thread Henning Hraban Ramm via ntg-context

Am 10.07.22 um 08:36 schrieb Axel Kielhorn via ntg-context:




Am 09.07.2022 um 19:27 schrieb Henning Hraban Ramm via ntg-context 
:

Tell them there will be a German book next year (I hope...); I’ll send you a 
link off-list.


I’m looking forward to your book.
In the meantime there is a short guide at:

https://github.com/AKielhorn/Context-Intro


Thank you – I can’t remember you ever announced that?

I quickly looked through it and, of course, found a few things that I 
didn’t cover yet.


Hraban

___
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] Workshop at FrOSCon

2022-07-10 Thread Axel Kielhorn via ntg-context


> Am 09.07.2022 um 19:27 schrieb Henning Hraban Ramm via ntg-context 
> :
> 
> Tell them there will be a German book next year (I hope...); I’ll send you a 
> link off-list.

I’m looking forward to your book.
In the meantime there is a short guide at:

https://github.com/AKielhorn/Context-Intro

Greetings
Axel

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