Re: [NTG-context] Command for specifying et al limit

2022-09-27 Thread Alan Braslau via ntg-context
On Tue, 27 Sep 2022 13:33:20 +
jethro Reuel via ntg-context  wrote:

> I want something like:
> 
> Bronstein et al. says in their paper…
> 
> I found the etaldisplay affects the display of the references and I
> don’t want that. 

Try

\setupbtx[apa:cite]

and leave [apa:list] alone.

Alan
___
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 macro numberstriped ()

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

On 9/27/2022 7:49 PM, Fabrice Couvreur via ntg-context wrote:

Hello,
I notice a strange behavior of the macro numberstriped ( ).
Thanks.
Fabrice

\starttext
  \switchtobodyfont[9pt]
  \startMPcode

   path p, q, r, b ;
   p  := unitsquare xyscaled (4cm,4cm) ;
   z[0] = (2cm,0cm) ;
   z[1] = (2cm,4cm) ;
   z[2] = (0cm,2cm) ;
   q := llcorner p--z[0]--z[1]--z[2]--cycle ;
   r := unitsquare xyscaled (1cm,1cm) shifted(0,3cm) ;
   b := unitsquare xyscaled (3cm,3cm) shifted(1cm,0) ;
   draw p ;
   draw r withcolor red;
   draw r numberstriped (.25,20,5) withcolor magenta ;
   draw b numberstriped (.25,20,5) withcolor magenta ;
   label.llft("D", p) ;
   label.lrt("C", p) ;
   label.ulft("A", p) ;
   label.urt("B", p) ;
   label.urt("P", lrcorner r) ;
   label.lft("Q", llcorner r) ;
   label.top("M", urcorner r) ;

   \stopMPcode
\stoptext

you need to find a volunteer to make the pattern have the two corner  blobs

\starttext

\startMPcode
path p, q, r, b ;
path p ; p  := unitsquare xyscaled (4cm,4cm) ;
draw p ;
draw p
withpattern image (
draw (llcorner unitsquare -- urcorner unitsquare) scaled 5mm ;
% how to get the corner dots
)
withpatternscale 1/16
withpen pencircle scaled 1mm
;
\stopMPcode

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


[NTG-context] About macro numberstriped ()

2022-09-27 Thread Fabrice Couvreur via ntg-context
Hello,
I notice a strange behavior of the macro numberstriped ( ).
Thanks.
Fabrice

\starttext
 \switchtobodyfont[9pt]
 \startMPcode

  path p, q, r, b ;
  p  := unitsquare xyscaled (4cm,4cm) ;
  z[0] = (2cm,0cm) ;
  z[1] = (2cm,4cm) ;
  z[2] = (0cm,2cm) ;
  q := llcorner p--z[0]--z[1]--z[2]--cycle ;
  r := unitsquare xyscaled (1cm,1cm) shifted(0,3cm) ;
  b := unitsquare xyscaled (3cm,3cm) shifted(1cm,0) ;
  draw p ;
  draw r withcolor red;
  draw r numberstriped (.25,20,5) withcolor magenta ;
  draw b numberstriped (.25,20,5) withcolor magenta ;
  label.llft("D", p) ;
  label.lrt("C", p) ;
  label.ulft("A", p) ;
  label.urt("B", p) ;
  label.urt("P", lrcorner r) ;
  label.lft("Q", llcorner r) ;
  label.top("M", urcorner r) ;

  \stopMPcode
\stoptext
___
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] Missing letters and numbers in printout

2022-09-27 Thread Angel M Alganza via ntg-context

On Tue, Sep 27, 2022 at 04:03:06PM +0200, Pablo Rodriguez via ntg-context wrote:


Producer:   LuaMetaTeX-2.09

No, this was compiled with LuaMetaTeX.


It looks so obvious now, but it didn't (to me) before.  :-)


In that case, run "context --luatex --generate" first and then
"context --luatex a6lua.tex".


Excellent, thank you!


This would give you a pure LuaTeX-compiled PDF document.
I think that this PDF document will be fine with your printer.


I'll let you know tomorrow, when I'll try printing it out on the rebel printer.

Thanks!
Ángel
___
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] lmtx status

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

Hi,

At the ctx meeting we released luametatex, that is, the source code is 
now in the context zip (so it grew a few MB). At the same time Mojca set 
up some contextgarden repositories on github. We're working on a setup 
for users to generate older snapshots, if needed (for instance because 
there are platform changes). She's also working on cmake based 
installation helpers.


One of the things we did was pruning the fonts that are part of the 
installation. With a few exceptions the type one fonts were dropped, 
which is most noticeable for math. There is no need for px and tx fonts, 
they served their puspose in the transition from old style t1 fonts to 
opentype math (when we started with mkiv; we could have dropped them 
already).


We're looking into antykwa math as well as in alternative script and 
calligraphic math alphabets so eventually virtual math from t1 
construction can be dropped completely (in principle if can be 
integrated in the tweak mechanisms) because it is not wirth the effort 
to make them better. That means that we will ship some additional 
companion fonts.


There are math times fonts but they are currently not free and there is 
some effort going on to turn them opentype so we can ditch their setups 
too (we can't test anyway; to some extend that is also true for minion 
math).


High on the agenda is euler (in combination with pagella). This also 
relates to upgraded mixed script and calligraphic support in math. It 
actually means that enabling alternative alphabets will happen a bit 
differently (more naturally integrated as we introduced dedicated ranges 
of slots). Again a side effect is that we have more granular math glyph 
properties (opentype math is too limited but basically frozen so we have 
to get over that and move on). We (Mikael and me) also try to compensate 
for the ommissions and weird things in unicode math but it will take 
some time before we have that all documented.


One of the next uploads will have the pruned / upgraded texmf tree (one 
can always install more in the local tree of course). At some point 
installing from the garden (or from a git clone) will also be supported 
(basically anyone can host a lmtx install).


For the next texlive we hope to switch to lmtx as default and that also 
means that luametatex is the runner then. One can (as currently in lmtx) 
always run luatex with "--luatex".


Als-in-all it's a lot of work but we're getting there.

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] Missing letters and numbers in printout

2022-09-27 Thread Pablo Rodriguez via ntg-context
On 9/26/22 23:04, Angel M Alganza via ntg-context wrote:
> On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote:
>
>> mtxrun --script pdf --info oeps.pdf
> [...]
> mtx-pdf | creation date > D:20220920071929+02'00'
> mtx-pdf | modification date > D:20220920071929+02'00'
> mtx-pdf | cropbox   > pages: 1-1, width: 841.889758, height: 
> 595.27559

Hans,

many thanks for the pdf script in mtxrun.

I have two suggestions:

1. Would it be possible that dates could be in a more friendly format
such as the following one?

  creation date > 2022-09-20 07:19:29 +02:00

2. Would it be possible that page dimensions would be in mm (or cm),
with an option for other length units?

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] Missing letters and numbers in printout

2022-09-27 Thread Pablo Rodriguez via ntg-context
On 9/26/22 20:26, Angel M Alganza via ntg-context wrote:
> On Mon, Sep 26, 2022 at 07:10:40PM +0200, Pablo Rodriguez via ntg-context 
> wrote:
> [...]
>> There might be a workaround (or a way of testing this), compiling the
>> PDF document with LuaTeX instead of with LuaMetaTeX.
>
> It seems it is compiled with LuaTeX:
>
> $ pdfinfo a6.pdf
> Title:  a6
> Creator:LuaMetaTeX 2.09 20220429 + ConTeXt LMTX 2022.05.11 11:36
> Producer:   LuaMetaTeX-2.09

No, this was compiled with LuaMetaTeX.

>> If you compile it invoking "context source.tex", use "context --luatex
>> source.tex".
>
> When I try that I get:
>
> $ context --luatex a6lua.tex
> [...]
> mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

In that case, run "context --luatex --generate" first and then "context
--luatex a6lua.tex".

This would give you a pure LuaTeX-compiled PDF document.

I think that this PDF document will be fine with your printer.

I hope it helps,

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

2022-09-27 Thread jethro Reuel via ntg-context
Dear Alan, 

Thanks again for all your help.

Deleting the definebtxrendering[ref] part makes my citations disappear. I get 
something like:

 says in their paper…

Also, the setupbtx[apa:list]… doesn’t solve my etallimit problem.

Could you test my code and tweak it for me? Can’t find examples of what I want 
to achieve in the mailing list archives although it seems it should be fairly 
straightforward. I want something like:

Bronstein et al. says in their paper…

I found the etaldisplay affects the display of the references and I don’t want 
that. 

Jethro 

> On 27 Sep 2022, at 04:13, Alan Braslau via ntg-context  
> wrote:
> 
> On Mon, 26 Sep 2022 21:40:14 -0600
> Alan Braslau via ntg-context  wrote:
> 
>>> On Sat, 24 Sep 2022 18:57:25 +
>>> Jethro Djan via ntg-context  wrote:
>>> 
>>> \setupbtx[
>>>  dataset=ref,
>>>  etaldisplay = 1,
>>>  etallimit = 1,
>>> ]
>> 
>> Remove extra spaces.
> 
> Sorry,
> 
> Try
> 
> \setupbtx
>  [apa:list]
>  [etaldisplay=1,
>   etallimit=1]
> 
> and drop the 
> 
> \definebtxrendering
>  [ref]
> 
> 
> I have not tested your example, but the bibliography subsystem creates
> many inherited namespaces, so changing parameters in a general
> namespace after inheritance has occurred (in the definitions) has no
> effect.
> 
> Of course, the etaldisplay and etallimits are set to the APA standard
> in the APA definitions.
> 
> Alan
> ___
> 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
___