[NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-04 Thread Rik Kabel via ntg-context

The following example:

   \starttext

   abc\footnote[fn:abc]{footnote abc}\ abc

   def
   \startfootnote[fn:def]
 footnote def
   \stopfootnote
   \ def

   No problem here: abc\note[fn:abc]

   Problem appears here: def\note[fn:def]

   \stoptext

Generates a missing reference error for a reference provided on 
\startfootnote (and \startendnote) accessed by \note:


   references  > start missing references
   references  >    1  [][fn:def]
   references  > stop missing references

ConTeXt  ver: 2021.08.04 17:51 LMTX  fmt: 2021.8.4

There was no problem with previous versions.

--
Rik

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] New error "page order problem in tree at page"

2021-08-04 Thread Rik Kabel via ntg-context

With today's LMTX release I see the warning:

   backend > tags > beware: page order problem in tree at page 1

This appears to be recently introduced to the code.

Should it be a concern? If so, where should I look to remedy it?

--
Rik

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Wolfgang Schuster via ntg-context

Pablo Rodriguez via ntg-context schrieb am 04.08.2021 um 15:53:

Dear list,

I have the following sample:

   \setupinteractionscreen[copies=5]
   \starttext
   \dorecurse{5}{\input zapf\par}
   \stoptext

The resulting file from current latest (2021.07.30 00:57) contains the
following /ViewerPreferences dictionary:

   /ViewerPreferences <<
 /Duplex /Simplex
 /PickTrayByPDFSize true
 /PrintScaling /None
   >>

I’m afraid that "copies" isn’t generating the proper /NumCopies entry in
the /ViewerPreferences dictionary.

Could anyone be so kind to confirm this?



A fix is needed in layo-ini.lmt, maybe not in the same way as below but 
the value has to be stored in canvas.copies.


function layouts.setupcanvas(specification)
[...]
--
local copies = specification.copies
if type(copies) == "number" and copies < 2 then
canvas.copies = false
+   else
+   canvas.copies = copies
end
--
[...]
end

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Alignment of bullets withn \tabulate within \itemize

2021-08-04 Thread Wolfgang Schuster via ntg-context



Lukas/ConTeXt via ntg-context schrieb am 04.08.2021 um 17:03:

Hello,

let's have the following sample:


\starttext
   \startitemize[packed_,][headstyle_=,]
 \item CC

 \starttabulate[|l|||]
   \NI aa \NC bb \NC\NR
 \stoptabulate

 \item AA
   \stopitemize
\stoptext


How do I make bullets (\itemtag) horizontally aligned one bellow another?

In my case - bullets within \tabulate are indented (shifted rightwards) 
somehow, which is undesired.



You can use the 'intext' keyword but this works only well for short 
texts, otherwise text continus below the bullet point.


\starttext

\startitemize[intext]
\item XXX
\starttabulate[|l|||]
\NI aa \NC bb \NC\NR
\stoptabulate
\item YYY
\stopitemize

\stoptext

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Alignment of bullets withn \tabulate within \itemize

2021-08-04 Thread Lukas/ConTeXt via ntg-context
Hello,

let's have the following sample:


\starttext
  \startitemize[packed_,][headstyle_=,]
\item CC

\starttabulate[|l|||]
  \NI aa \NC bb \NC\NR
\stoptabulate

\item AA
  \stopitemize
\stoptext


How do I make bullets (\itemtag) horizontally aligned one bellow another?

In my case - bullets within \tabulate are indented (shifted rightwards) 
somehow, which is undesired.

TIA.

Best regards,

Lukas\starttext
  \startitemize[packed_,][headstyle_=,]
\item CC

\starttabulate[|l||p|]
  \NI aa \NC bb \NC\NR
\stoptabulate

\item AA
  \stopitemize
\stoptext


t.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Pablo Rodriguez via ntg-context
Dear list,

I have the following sample:

  \setupinteractionscreen[copies=5]
  \starttext
  \dorecurse{5}{\input zapf\par}
  \stoptext

The resulting file from current latest (2021.07.30 00:57) contains the
following /ViewerPreferences dictionary:

  /ViewerPreferences <<
/Duplex /Simplex
/PickTrayByPDFSize true
/PrintScaling /None
  >>

I’m afraid that "copies" isn’t generating the proper /NumCopies entry in
the /ViewerPreferences dictionary.

Could anyone be so kind to confirm this?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___