Am 07.01.2026 um 09:42 schrieb Hans Hagen via ntg-context:
On 1/6/2026 11:34 PM, Henning Hraban Ramm wrote:

Sorry for opening a rabbit hole!

well, that's how it goes ....

While I find this interesting, I have no use for Gaelic, but let’s pick the low hanging fruits.

...

I tried "mtxrun --script patterns …" on the patterns in my TeX live installation, and it seems to work, but I can‘t find the generated files, regardless of --destination.

I uncommented the line in mtx-patterns and made the files that we need in context. I'll add that to the distribution, with the following definition:

\installlanguage
   [\s!ga]
   [\c!define=\v!no,
    % these ate from english
    \c!spacing=\v!broad,
    \c!leftsentence=\emdash,
    \c!rightsentence=\emdash,
    \c!leftsubsentence=\emdash,
    \c!rightsubsentence=\emdash,
    \c!leftquote=\upperleftsinglesixquote,
    \c!rightquote=\upperrightsingleninequote,
    \c!leftquotation=\upperleftdoublesixquote,
    \c!rightquotation=\upperrightdoubleninequote,
    \c!date={\v!month,\space,\v!day,{,\space},\v!year},
    %
    \s!patterns=\s!ga,
    \s!lefthyphenmin=2,
    \s!righthyphenmin=3]

\installlanguage [\s!gaelic] [\s!ga]

Maybe Wolfgang can make a typescript file as he already played with the fonts.

Done.

Wolfgang
%D \module
%D   [       file=type-imp-gadelica,
%D        version=2026.01.10,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Typescript file for Gadelica,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]

% https://www.gaelchlo.com/clonna2.html -> Gadelica Ultima.zip

\starttypescriptcollection [gadelica]

    \loadtypescriptfile [dejavu]
    \loadtypescriptfile [iwona]

    \starttypescript [\s!serif] [gadelica] [\s!name]
        \definefontsynonym [Gadelica-Regular] [\s!file:gadelica]        
[\s!features=\s!default]
        \definefontsynonym [Gadelica-Italic]  [\s!file:gadelicacursiva] 
[\s!features=\s!default]
        \definefontsynonym [Gadelica-Bold]    [\s!file:gadelicagravis]  
[\s!features=\s!default]
    \stoptypescript

    \starttypescript [\s!serif] [gadelica] [\s!name]
        \setups[\s!font:\s!fallback:\s!serif]
        \definefontsynonym [\s!Serif]       [Gadelica-Regular]
        \definefontsynonym [\s!SerifItalic] [Gadelica-Italic]
        \definefontsynonym [\s!SerifBold]   [Gadelica-Bold]
    \stoptypescript

    \starttypescript [gadelica]
        \definetypeface [gadelica] [\s!rm] [\s!serif] [gadelica] [\s!default]
        \definetypeface [gadelica] [\s!tt] [\s!mono]  [dejavu]   [\s!default] 
[\s!rscale=0.85]
        \definetypeface [gadelica] [\s!mm] [\s!math]  [iwona]    [\s!default]
        \quittypescriptscanning
    \stoptypescript

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

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to