[NTG-context] interlines space for local footnotes

2023-04-22 Thread jbf via ntg-context
I am using only local footnotes in a document, but am having difficulty 
influencing the interlines space between these notes. Since I am only 
using local footnotes, I thought initially that the following would work 
for them


\startsetups[footnote:interlinespace]
  \setupinterlinespace[line=2.4ex]
\stopsetups

\setupnote[footnote][setups=footnote:interlinespace]

but it doesn't. I had hoped there might be something like 
\setuplocalfootnotes but there is not.  I also tried placing the setups 
locally, either with 
\startlocalfootnotes[setups=footnote:interlinespace] or 
\placelocalfootnotes[setups=footnote:interlinespace].


Any idea how I can successfully influence my local footnotes globally?

Julian


___
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] current Unicode blocks

2023-04-22 Thread Hans Hagen via ntg-context

On 4/22/2023 5:49 PM, Henning Hraban Ramm via ntg-context wrote:

This is probably for Hans:

The list of Unicode blocks in char-ini.lua is not complete, compared 
with ftp://www.unicode.org/Public/UNIDATA/Blocks.txt

(I was looking for Kaktovik numerals, of course ;))


hm, here i have

["kaktoviknumerals"]= { first = 
0x1D2C0, last = 0x1D2DF,  description = "Kaktovik Numerals" },


I’d offer to make an updated list, but maybe you already have a script 
for that?
yes, (of course) i have a script that i run when there is an update 
which then tells me what to add to the tables (not that much work, 
mostly emoiji and soem rare scripts nowadays)


maybe nice for a demo at the ctx meeting (generate new files, visually 
diff them so get the picture and then merge)


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] fallbacks

2023-04-22 Thread Thomas A. Schmitz via ntg-context
Thank you, Pablo, but that doesn't help. I know how to use fallback 
fonts. I was wondering if the check key is working as it should.


Thomas

On 4/22/23 20:33, Pablo Rodriguez via ntg-context wrote:

Hi Thomas,

I don’t know what check does (maybe just check?), but the standard
behaviour with \definefallbackfamily is only to fall back when the
character is missing from the main font.

To force all characters from the range in the fallback font, "force=yes"
is required.

Here you have a minimal sample (which doesn‘t use "preset=range:greek"),
adding "force=yes" gets all Greek glyphs from GFS Heraklit:

   \definefallbackfamily [presentation] [serif] [GFSHeraklit]
   [range={greekandcoptic, greekextended}]
   \definefontfamily [presentation] [serif] [TeXGyrePagella]
   \setupbodyfont [presentation,12pt]

   \starttext
   Pπμᾷσδ
   \stoptext

Just in case it might help,


--
Prof. Dr. Thomas A. Schmitz
Institut für Klassische und Romanische Philologie
Universität Bonn
Am Hof 1e
53113 Bonn
http://www.philologie.uni-bonn.de/de/personal/schmitz

___
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] fallbacks

2023-04-22 Thread Pablo Rodriguez via ntg-context
On 4/22/23 18:05, Thomas A. Schmitz via ntg-context wrote:
> Hi all,
> 
> today, I was struggling with a fallback font I had defined, and I 
> discovered that the key "check" doesn't work as I expected.
> [...] 
> If I have "check=no," the characters are taken from termes and replaced. 
> I was under the impression that "check" should, well, check if the 
> characters are not in the main font and fall back to the fallback font
> if they are not, but this doesn't appear to be the case.

Hi Thomas,

I don’t know what check does (maybe just check?), but the standard
behaviour with \definefallbackfamily is only to fall back when the
character is missing from the main font.

To force all characters from the range in the fallback font, "force=yes"
is required.

Here you have a minimal sample (which doesn‘t use "preset=range:greek"),
adding "force=yes" gets all Greek glyphs from GFS Heraklit:

  \definefallbackfamily [presentation] [serif] [GFSHeraklit]
  [range={greekandcoptic, greekextended}]
  \definefontfamily [presentation] [serif] [TeXGyrePagella]
  \setupbodyfont [presentation,12pt]

  \starttext
  Pπμᾷσδ
  \stoptext

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
___


[NTG-context] fallbacks

2023-04-22 Thread Thomas A. Schmitz via ntg-context

Hi all,

today, I was struggling with a fallback font I had defined, and I 
discovered that the key "check" doesn't work as I expected. Here's a 
small example:


\definefallbackfamily [presentation] [serif] [TeXGyreTermes] 
[range=0x2329-0x232A,check=yes]

\definefontfamily [presentation] [serif] [AntykwaTorunska]
\setupbodyfont [presentation,12pt]

\starttext

(〈P〉)

\stoptext

With this input, the two characters 〈 and 〉 are not typeset; in the log, 
I find


fonts   > checking > char 〈 (U+02329) in font 
'AntykwaTorunska-Regular' with id 1: missing
fonts   > checking > char 〉 (U+0232A) in font 
'AntykwaTorunska-Regular' with id 1: missing


If I have "check=no," the characters are taken from termes and replaced. 
I was under the impression that "check" should, well, check if the 
characters are not in the main font and fall back to the fallback font 
if they are not, but this doesn't appear to be the case. So what does 
"check" do? Or is this a bug?


Have a great weekend

Thomas
___
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] current Unicode blocks

2023-04-22 Thread Henning Hraban Ramm via ntg-context

This is probably for Hans:

The list of Unicode blocks in char-ini.lua is not complete, compared 
with ftp://www.unicode.org/Public/UNIDATA/Blocks.txt

(I was looking for Kaktovik numerals, of course ;))

I’d offer to make an updated list, but maybe you already have a script 
for that?


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
___