Re: [NTG-context] Math alignment question

2022-09-24 Thread Jeong Dal via ntg-context
Dear Hans,


>> Thank you for your explanation.
>> I just wonder \alinghere can be applicable to multiple formula.
>> It is OK to use \NC \NR for multiple formulas.
> What probably can be done, is to let the next formula start with the align of 
> the previous one .. Mikael can add it to our todo
> 

Thank you for your concern.
When we write  two long formula, I think that to use "\alignhere, \breakhere" 
is a little bit simpler than use \NC\NR.
We may write them to use \startformula…\stopformula twice separetely. 
But, then the alignment of two formulas may be different because formula’s 
alignment is midaligned. 

Thanks again to add it todo list.

Best regards,

Dalyoung___
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] Command for specifying et al limit

2022-09-24 Thread Jethro Djan via ntg-context
Dear list,

I am trying to specify that 'et al’ should be appended after the first author 
if paper has multiple authors. It seems from the mkiv-publications.pdf manual 
that it should work like this but it doesn’t. Here is my MWE:

\startbuffer[ref]

@Article{bb:2017,
  author  = {Bronstein, Michael M. and Bruna, Joan and Cohen, Taco and 
Veličković, Petar},
  journal = {arXiv preprint arXiv:2104.13478},
  title   = {Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and 
Gauges},
  year= {2021},
}

\stopbuffer

\definebtxdataset[ref]
\setupbtx[dataset=ref]
\definebtxrendering
[ref]
[apa]
[
dataset=ref,
]
\usebtxdefinitions[apa]
\usebtxdataset[ref][ref.buffer]
\setupbtx[
  dataset=ref,
  etaldisplay = 1,
  etallimit = 1,
]

\starttext

\cite[author][bb:2017] says in their paper \cite[bb:2017] 

\startsection[title={References}, number=no, incrementnumber=no]
\placelistofpublications[ref][method=dataset]
\stopsection

\stoptext

Thanks in advance.

Jethro



___
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] line numbering for \setuptyping

2022-09-24 Thread Pablo Rodriguez via ntg-context
Dear list,

I have the following sample:

  \setuplinenumbering[typing]
[step=3]
  \starttext
\starttyping[numbering=line]
Line
Line
Line
\stoptyping
  \stoptext

Which \setuplinenumbering is applied to typing fragments?

Just in case my question isn’t clear: how can I get "step=3" in the
sample above?

Many thanks for your help,

Pablo
___
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] Math alignment question

2022-09-24 Thread Hans Hagen via ntg-context

On 9/24/2022 4:51 PM, Jeong Dal via ntg-context wrote:

Dear Aditya, Mikael,

Thank you for your explanation.
I just wonder \alinghere can be applicable to multiple formula.
It is OK to use \NC \NR for multiple formulas.
What probably can be done, is to let the next formula start with the 
align of the previous one .. Mikael can add it to our todo


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] Math alignment question

2022-09-24 Thread Jeong Dal via ntg-context
Dear Aditya, Mikael,

Thank you for your explanation.
I just wonder \alinghere can be applicable to multiple formula.
It is OK to use \NC \NR for multiple formulas.

Best regards,

Dalyoung


___
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] setupregister with realpage?

2022-09-24 Thread Hans Hagen via ntg-context

On 9/24/2022 3:30 AM, Benjamin Buchmuller wrote:

Thank you, Hans! This works, I get all the correct page references!

I didn't know about cont-new.mkxl to temporarily store "hacks". I assume the file is 
updated with each release? Is there a way to store local hacks, e.g., in texmf-local? I could not 
find "cont-loc" (maybe it's not a file).


Just use that file, as it will be updated. Local copies can only 
interfere later on (unless you check them each update).


You can have an cont-loc.mkxl file in you local tree for various 
personal preferences and hacks.


For dev there is also cont-exp.mkxl but that's not supposed to be known; 
it's what we use for experimental things that i test for a while.


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
___