[NTG-context] Seems to be a bug with \definelayout

2022-12-09 Thread peter.hopcroft--- via ntg-context
I’ve rewritten my last email. The context below produces the pdf in the 
screenshot below.

I expect the layout[short] to be applied to pages 2 and 3. It is. But there 
seem to be 2 bugs:

1 - Pages 4, 5 and 6 have the [short] layout. They should have the default 
layout.

2 - On pages 5 and 6, the text flows beyond the bottom of the frame. It should 
stop at the bottom of the frame.

Why do I think these are bugs? If I change the page number in 
\definelayout[3][short] to \definelayout[4][short], then it behaves differently 
and as I expect: only pages 2 and 4 have the [short] layout and the text flows 
within the frames.

Peter

%==
\showframe
\setuppapersize[A4][A3,landscape] \setuparranging[2SIDE]
\setuplayout[backspace=80mm, width=100mm, topspace=50mm, header=0mm, 
footer=0mm, height=200mm, margindistance=10mm, leftmargin=40mm]

\definelayout[short][backspace=80mm, width=100mm, topspace=50mm, header=0mm, 
footer=0mm, height=80mm, margindistance=10mm, leftmargin=40mm]

\starttext 
\definelayout[2][short]
\definelayout[3][short]
\dorecurse{10}{\input{knuth} }  
\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
___


[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-12-09 Thread Cron Daemon via ntg-context
receiving incremental file list
 ./
 ctan.lsr
 document-2.htm
 download-1.htm
 download-2.htm
 logo-ade.png
 logo-cts.png
 logo-pod.png
 rss.xml
 show-fil.pdf
 context/latest/
 context/latest/cont-mpd.zip
 context/latest/cont-ppc.zip
 context/latest/cont-sci.zip
 context/latest/cont-tmf.zip
 context/latest/cont-tst.7z
 context/latest/cont-tst.tar.xz
 context/latest/cont-tst.zip
 
 sent 101,560 bytes  received 20,768,560 bytes  2,196,854.74 bytes/sec
 total size is 449,075,205  speedup is 21.52


Running archiver:

New dir: /var/www/aanhet.net/context//htdocs/archives/context-2022-12-09.18
172160508   
/var/www/aanhet.net/context//htdocs/archives/context-2022-12-09.18/latest
126745317   
/var/www/aanhet.net/context//htdocs/archives/context-2022-12-09.18/current
18956262
/var/www/aanhet.net/context//htdocs/archives/context-2022-12-09.18/alpha
126707516   
/var/www/aanhet.net/context//htdocs/archives/context-2022-12-09.18/beta
444573699   
/var/www/aanhet.net/context//htdocs/archives/context-2022-12-09.18
444573699   total
___
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] two issues with variable fonts

2022-12-09 Thread Pablo Rodriguez via ntg-context
On 12/6/22 21:07, Henning Hraban Ramm via ntg-context wrote:
> Am 06.12.22 um 19:56 schrieb Pablo Rodriguez via ntg-context:
>> [...]
>> Hi Hraban,
>>
>> I have just added a first draft about variable font usage:
>> https://wiki.contextgarden.net/Variable_Fonts.
>>
>> Would you be so kind to improve it?
> 
> As I wrote: I never used variable fonts.
> While it would be interesting to try, I’ll hardly find time until new
> year.
Sorry, Hraban, I totally misread your message.

Now I realize that my original message doesn’t make sense.

Sorry for the noise and the inconveniences.

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
___


[NTG-context] upload

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

Hi,

A new upload:

- we had a dir node leak (in some cases), fixed
- some fun stuff that i couldn't resist adding:

% \bgroup
% \unprotect
% \catcode`< \lettercatcode
\ifnum 1  = 2 n \else y \fi
\ifnum 1  > 2 n \else y \fi
\ifnum 1  < 2 y \else n \fi
\ifnum 1 != 2 y \else n \fi
\ifnum 1 !> 2 y \else n \fi
\ifnum 1 !< 2 n \else y \fi
\ifnum 1 ≠  2 y \else n \fi
\ifnum 1 ≥  2 n \else y \fi
\ifnum 1 ≤  2 y \else n \fi
\ifnum 1 ≱  2 n \else y \fi
\ifnum 1 ≰  2 y \else n \fi
\ifnum 1 ∈  3 y \else n \fi
\ifnum 1 ∉  3 n \else y \fi
% \protect
% \egroup

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] \definelayout[pagenumber][layout] behaving strangely

2022-12-09 Thread Pablo Rodriguez via ntg-context
On 12/9/22 05:42, peter.hopcroft--- via ntg-context wrote:
> The pdf from the tex below looks wrong to me, screenshot attached.
> It’s always like this when the page number in the second
> \definelayout is 1 more than the page number in the first. For other
> pairs of numbers, it behaves like I expect: the short layout is only
> on those 2 pages.
Hi Peter,

I must confess it isn’t totally clear to me whether I’m getting your point.

The following might achieve what you intend:

  \definelayout[odd][reset]
  \definelayout[even][reset]
  \definelayout[2][short]
  \definelayout[3][short]

Just in case it might 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] Achieving different \cite styles

2022-12-09 Thread Max Chernoff via ntg-context

Hi Jethro,

> I am interested in being able to cite in different ways. By analogy, I
> refer to the \texcite{}, \parencite{} and other options available with
> biblatex in LaTeX. How do I achieve something like \textcite{} in
> ConTeXt?

Page 34 of the publications manual lists the various styles:

   https://www.pragma-ade.nl/general/manuals/mkiv-publications.pdf#page=35
   
\parencite is like \cite[authoryear][article] and \textcite is like
\cite[authoryears][article]. The names are admittedly a little confusing,
but you can define your own wrappers with something like

   \define\parencite[1]{\cite[authoryear][#1]}
   \define\textcite[1]{\cite[authoryears][#1]}

-- Max
___
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] Achieving different \cite styles

2022-12-09 Thread Henning Hraban Ramm via ntg-context

Am 09.12.22 um 04:42 schrieb Jethro Djan via ntg-context:

Hello everyone

I am interested in being able to cite in different ways. By analogy, I 
refer to the \texcite{}, \parencite{} and other options available with 
biblatex in LaTeX. How do I achieve something like \textcite{} in 
ConTeXt?


Please assume that most ConTeXt users (and even more, developers) aren’t 
very familiar with LaTeX and its many packages. Please explain what 
you’d like to achieve.


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
___