On 10/21/2021 9:13 PM, Pablo Rodriguez via ntg-context wrote:
On 10/21/21 8:04 PM, Hans Hagen via ntg-context wrote:
Hi,
I cleaned up some more backend code. There were some mails about dates and such and although the date field in setupinteraction works ok a more drastic overload is doen with directives. The reason is that the fact that we can set the date (and traler) is only because it permits generating pdf files that can be compared. No date as a bad idea anyway.
\setupinteraction[title=My Title] % \enabledirectives[backend.date=2034-06-07]
Many thanks for the new version, Hans.
Is there a way to add time and timezone in backend.date?
Pablo : transparencies should work again (wrong alias fixed).
Many thanks for this fix too.
Sorry for insisting, but could you check what is wrong with an extra blank space in rotated imposition (https://mailman.ntg.nl/pipermail/ntg-context/2021/103909.html)? .. it was not really a minimal example ...
\showframe \starttext \topskip4cm \rotate[rotation=90] {\externalfigure[A3page.pdf][page=1,width=\textheight]}\page \rotate[rotation=270]{\externalfigure[A3page.pdf][page=2,width=\textheight]}\page \rotate[rotation=90] {\externalfigure[A3page.pdf][page=1,width=\textheight]}\page \rotate[rotation=270]{\externalfigure[A3page.pdf][page=2,width=\textheight]}\page \stoptext so, you need to wrap it, like \startpagemakeup \rotate[rotation=90] {\externalfigure[A3page.pdf][page=1,width=\textheight]}\stoppagemakeup \startpagemakeup \rotate[rotation=270]{\externalfigure[A3page.pdf][page=2,width=\textheight]}\stoppagemakeup \startpagemakeup \rotate[rotation=90] {\externalfigure[A3page.pdf][page=1,width=\textheight]}\stoppagemakeup \startpagemakeup \rotate[rotation=270]{\externalfigure[A3page.pdf][page=2,width=\textheight]}\stoppagemakeup and not make it 'sort of text that breaks or not across the page'. Now it is an interesting question why ... (spoiler: nice animation:) \starttext \topskip4cm \dostepwiserecurse{0}{360}{1}{ \rotate[rotation=#1]{\externalfigure[A3page.pdf][page=1,width=\textheight]} } \stoptext so we probably cross some threshold with some angles and because these are basically lines, we then get an interplay woth topskip, maxdepth etc (which normally goes unnoticed) the good news is that you can play with it because rotate is normally configured for inline usage (so we get depth and height) you can use the location parameter to do otherwise: % normal default depth fit broad high middle \starttext \topskip4cm \dostepwiserecurse{0}{360}{1}{ \ruledhbox{\rotate[rotation=#1,location=high]{\externalfigure[A3page.pdf][page=1,width=\textheight]}} } \stoptext irr it's actually shown somewhere in a manual but the source also has this % \dostepwiserecurse{0}{360}{10} % {\startlinecorrection[blank] % \hbox % {\expanded{\setuprotate[rotation=\recurselevel]}% % \traceboxplacementtrue % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=depth] {\ruledhbox{\bfb (depth)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=fit] {\ruledhbox{\bfb (fit)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=broad] {\ruledhbox{\bfb (broad)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=normal]{\ruledhbox{\bfb (normal)}}}}% % \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=high] {\ruledhbox{\bfb (high)}}}}} % \stoplinecorrection} % \def\Test{\ruledhbox{% % \def\DemoX{\vl\kern.5\emwidth\vl}% % \kern\emwidth\ruledhpack{\green\rotate[rotation=20] {\ruledhpack{\DemoX}}}% % \kern\emwidth\ruledhpack{\blue \rotate[rotation=0] {\ruledhpack{\DemoX}}}% % \kern\emwidth\ruledhpack{\red \rotate[rotation=-20] {\ruledhpack{\DemoX}}}% % \kern\emwidth\ruledhpack{\green\rotate[rotation=200] {\ruledhpack{\DemoX}}}% % \kern\emwidth\ruledhpack{\blue \rotate[rotation=180] {\ruledhpack{\DemoX}}}% % \kern\emwidth\ruledhpack{\red \rotate[rotation=-200]{\ruledhpack{\DemoX}}}% % \kern\emwidth}} % \startTEXpage[offset=10pt,align=middle] % \setuprotate[location=fit] \Test \par {\infofont\setstrut\strut fit} \par % \setuprotate[location=depth] \Test \par {\infofont\setstrut\strut depth} \par % \setuprotate[location=broad] \Test \par {\infofont\setstrut\strut broad} \par % \setuprotate[location=high] \Test \par {\infofont\setstrut\strut high} \par % \setuprotate[location=middle] \Test \par {\infofont\setstrut\strut middle} \par % \setuprotate[location=default] \Test \par {\infofont\setstrut\strut default} \par % \stopTEXpage so, not a bug but a features (that code hasn't been touched for ages, apart from maybe some lmtx interface adaptation), and if it's not in the wiki .. you know what to do now 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 -----------------------------------------------------------------