ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Unexpected symbol with Enumeration
Date: Thu, 17 Oct 2019 16:03:24 +0200	[thread overview]
Message-ID: <F30FFB85-AA56-4C85-8FA2-902A1644D26A@gmail.com> (raw)
In-Reply-To: <nycvar.YAK.7.76.1910170156220.26533@nqv-guvaxcnq>


[-- Attachment #1.1: Type: text/plain, Size: 3014 bytes --]

Hi Aditya,

Thanks for your hint: I didn't know that subtelty about Lucida OT (and I don't know how to set it up when using Lucida OT).

That being said, actually what I would like to use is the kind of script font which is the attached document (those script fonts were widely used in higher mathematics textbooks in France). 
So when I use mkiv the result is the one I like and is attached to this message (test-scriptfonts-mkiv.pdf). However, thanks to your message I went to check, and noticed that lmtx does not give the same math script fonts, and I don't know what has changed between mkiv and lmtx regarding Asana Math, or the way in which fallback fonts are managed (please see the attached file test-scriptfonts-lmtx.pdf).

Thanks for your help: Otared
PS: this the the file test-scriptfonts.tex:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Some Font Definitions
\definefallbackfamily[myfont][math][Asana Math]
	[range={uppercasescript,lowercasescript}]

% lucida font
\definefontfamily[myfont][serif][Lucida Bright OT]
\definefontfamily[myfont][math][LucidaBrightMathOT]
\definefontfamily[myfont][sans][LucidaSansOT]
\definefontfamily[myfont][mono][LucidaSansTypewriterOT]

%\setupbodyfont[myfont,10pt]

%% End of Font Definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\starttext

\startbuffer[test]
Testing script fonts in maths
\startformula
x^2 + y^2 = z^2, \quad \sin(a)^2 + \cos(b)^2 = 1.
\stopformula
\startformula
\cal{A}, 
\quad \cal{B}, 
\quad \cal{C}, 
\quad \cal{D},
\quad \cal{E},
\quad \cal{F},
\quad \cal{G},
\quad \cal{H},
\quad \cal{K},
\quad \cal{L},
\quad \cal{M},
\quad \cal{P},
\quad \cal{S},
\quad \cal{T}
\stopformula
\hairline
\stopbuffer

\switchtobodyfont[lucidaot]
{\bf Lucida OT: }
\getbuffer[test]

\switchtobodyfont[myfont]
{\bf Lucida OT with Asana Math: }
\getbuffer[test]

\stoptext





> On 17 Oct 2019, at 08:00, Aditya Mahajan <adityam@umich.edu> wrote:
> 
> On Wed, 16 Oct 2019, Otared Kavian wrote:
> 
>> I use Lucida OT fonts for all my documents, but since I prefer the script fonts from another font I have the following setups for my font:
> 
> OT: Do you use this to get a less cursive script font?
> 
> Lucida (like many opentype math fonts) comes with two stylistic variants for script letters. The default is the cursive variant, but you can get the less cursive variant using ss04 stylistic set. See page 8 of
> https://tug.org/store/lucida/lucidaot.pdf
> 
> Aditya
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2.1: Type: text/html, Size: 8839 bytes --]

[-- Attachment #1.2.2: test-scriptfonts-mkiv.pdf --]
[-- Type: application/pdf, Size: 23238 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 230 bytes --]

[-- Attachment #1.2.4: test-scriptfonts-lmtx.pdf --]
[-- Type: application/pdf, Size: 18455 bytes --]

[-- Attachment #1.2.5: Type: text/html, Size: 1912 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2019-10-17 14:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 16:39 Fabrice Couvreur
2019-10-15 16:52 ` Wolfgang Schuster
2019-10-15 17:11 ` Otared Kavian
2019-10-15 19:57   ` Fabrice Couvreur
2019-10-16  3:28     ` Otared Kavian
2019-10-16 21:38       ` Fabrice Couvreur
2019-10-17  5:39         ` Otared Kavian
2019-10-17  6:00       ` Aditya Mahajan
2019-10-17 14:03         ` Otared Kavian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F30FFB85-AA56-4C85-8FA2-902A1644D26A@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).