Re: [NTG-context] Best way to access casul fonts

2023-01-30 Thread Mattias Märka via ntg-context
Ha, good to know. Do you know what one should do instead?

Also, do you know why this is? It would be good to mention this on the wiki.

Mattias

--- Original Message ---
On Monday, January 30th, 2023 at 7:49 PM, Henning Hraban Ramm via ntg-context 
 wrote:


> 
> 
> 
> Am 30.01.23 um 18:24 schrieb Mattias Märka via ntg-context:
> 
> > \definefontstyle is still bugging me. I gather from previous threads that 
> > it should be possible to define a new font style for casual and use that 
> > via a font switch, but I cannot get this to work. I'm not sure this is 
> > still possible.
> 
> 
> No, it isn’t, I recently asked Hans.
> 
> 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
> ___
___
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] Best way to access casul fonts

2023-01-30 Thread Mattias Märka via ntg-context
 this to the wiki as well? I feel like what I'm doing 
is non-standard. I'm also repeating a lot of what's in the Lucida typescript 
file that comes with the distribution. There must be some easy way to monkey 
patch the existing type script file.

Mattias

--- Original Message ---
On Monday, January 30th, 2023 at 1:20 PM, Pablo Rodriguez via ntg-context 
 wrote:


> 
> 
> 
> On 1/29/23 19:07, Mattias Märka via ntg-context wrote:
> 
> > Hi
> > 
> > This is probably the most reasonable solution.
> 
> 
> Hi Mattias,
> 
> would you be so kind to update
> https://wiki.contextgarden.net/Use_the_fonts_you_want to include this?
> 
> Many thanks for your 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
> ___
___
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] Best way to access casul fonts

2023-01-29 Thread Mattias Märka via ntg-context
Hi

This is probably the most reasonable solution.

Thanks
Mattias

--- Original Message ---
On Tuesday, January 24th, 2023 at 9:41 AM, Pablo Rodriguez via ntg-context 
 wrote:


> 
> 
> 
> On 1/23/23 20:32, Mattias Märka via ntg-context wrote:
> 
> > Hi Pablo,
> > 
> > Yes, I want to mix casual with serif, sans-serif and so on.
> 
> Hi Mattias (please, excuse my previous misspelling of your name),
> 
> here you have it:
> 
> \definefontfamily[mainface][rm][TeX Gyre Pagella]
> \definefontfamily[mainface][ss][TeX Gyre Heros]
> \definefontfamily[mainface][tt][TeX Gyre Cursor]
> \definefontfamily[mainface][hw][Lucida Casual]
> \definefontfamily[mainface][cg][Lucida Casual]
> \setupbodyfont[mainface]
> \starttext
> \doloopoverlist{\rm,\ss,\tt,\hw,\cg}
> {{\recursestring%
> The quick brown fox jumps over the lazy dog.\par}}
> \stoptext
> 
> Lucida Casual is handwriting and calligraphy in the sample. But you only
> need one of them.
> 
> I hope it helps,
> 
> 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
> ___
___
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] Best way to access casul fonts

2023-01-23 Thread Mattias Märka via ntg-context

Hi Pablo,

Yes, I want to mix casual with serif, sans-serif and so on. Sorry, I wasn't 
clear in my original message.

What Garulfo suggested is what I've been doing.

Mattias


--- Original Message ---
On Monday, January 23rd, 2023 at 9:10 PM, Pablo Rodriguez via ntg-context 
 wrote:


> 
> 
> 
> On 1/23/23 19:04, Mattias Märka via ntg-context wrote:
> 
> > Hi,
> > 
> > I'm trying to access Lucida Casual.
> 
> 
> Hi Matthias,
> 
> With a relatively recent version of ConTeXt (LMTX or MkIV), the
> following should work:
> 
> \definefontfamily[myserif][rm][Lucida Casual]
> \starttext
> The quick brown fox jumps over the lazy dog.
> 
> \setupbodyfont[myserif]
> The quick brown fox jumps over the lazy dog.
> \stoptext
> 
> This is the easiest way to access it.
> 
> Another question would be how to mix a casual font with serif,
> sans-serif and mono typefaces.
> 
> 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
> ___
___
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] Best way to access casul fonts

2023-01-23 Thread Mattias Märka via ntg-context
Hi,

I'm trying to access Lucida Casual. I see in type-imp-lucida-typeone.mkiv that 
there is, indeed, a typescript for it, but I can't figure out how to switch to 
it. That is, I want to make some text be Lucida Casual.

I gather from a previous thread that I should be using \definefontstyle, but I 
don't know how to go about this.

Currently I'm just defining a new typescript and making Lucida Casual a synonym 
for Serif and then using \switchtobodyfont --- but this feel silly.

I searched the wiki and skimmed the reference manual, but to no avail. Perhaps 
I don't know what I should be looking for.

Any help would be appreciated. What's the easiest way to access a casual font? 
What's the cleanest way?

Thanks,
Mattias Märka
___
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
___