ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unexpected symbol with Enumeration
@ 2019-10-15 16:39 Fabrice Couvreur
  2019-10-15 16:52 ` Wolfgang Schuster
  2019-10-15 17:11 ` Otared Kavian
  0 siblings, 2 replies; 9+ messages in thread
From: Fabrice Couvreur @ 2019-10-15 16:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
Why items are numbered with a square instead of a bullet ?
Thanks.
Fabrice

  \definecolor[MyColorC][s=0.8784]
  \definecolor[MyColorD][m=0.27,y=1]

  \defineframed
      [FrameTitle]
      [frame=off,
       foregroundstyle=\bfx\ss,
       foregroundcolor=white,
       background=color,
       backgroundcolor=MyColorD,
       location=depth]

  \defineframedtext
      [FramedText]
      [offset=0.25em,
       style=\ss,
       toffset=\zeropoint,
       background=color,
       backgroundcolor=MyColorC,
       foregroundstyle={\switchtobodyfont[10pt]},
       align={right, broad},
       frame=off,
       corner=00,
       radius=0.5em,
       width=10cm]

  \definedescription
      [Info]
      [before=,
       after=,
       text=Vocabulaire,
       title=no,
       width=fit,
       distance=0.5em,
       headcommand=\FrameTitle,
       alternative=serried]
  \starttext
        \startFramedText[width=7cm]
          \startInfo
            \startitemize[1]
              \startitem
                La droite \m{(AM)} est {\bf une sécante} à la courbe
{\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.
              \stopitem \par
              \startitem
                La position limite de la sécante \m{(AM)} lorsque \m{M} se
rapproche de \m{A} est {\bf la tangente à la courbe} au point \m{A}.
              \stopitem\par
              \startitem
                Le coefficient directeur de la tangente est {\bf la
limite}, lorsque \m{h} tend vers 0, du taux de variation. On l'appelle {\bf
nombre dérivé} de la fonction \m{f} en 1.
              \stopitem
            \stopitemize
          \stopInfo
        \stopFramedText
  \stoptext

[-- Attachment #1.2: Type: text/html, Size: 2938 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  2019-10-15 16:39 Unexpected symbol with Enumeration Fabrice Couvreur
@ 2019-10-15 16:52 ` Wolfgang Schuster
  2019-10-15 17:11 ` Otared Kavian
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2019-10-15 16:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur


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

Fabrice Couvreur schrieb am 15.10.2019 um 18:39:
> Hello,
> Why items are numbered with a square instead of a bullet ?
Because the bullets for the default sans serif font are rectangular.

\starttext

\symbol[bullet]

{\ss\symbol[bullet]}

\blank

\setupsymbols[stylealternative=math]

\symbol[bullet]

{\ss\symbol[bullet]}

\stoptext

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1007 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  2019-10-15 16:39 Unexpected symbol with Enumeration Fabrice Couvreur
  2019-10-15 16:52 ` Wolfgang Schuster
@ 2019-10-15 17:11 ` Otared Kavian
  2019-10-15 19:57   ` Fabrice Couvreur
  1 sibling, 1 reply; 9+ messages in thread
From: Otared Kavian @ 2019-10-15 17:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Fabrice,

Wolfgang gave the right answer, but I wanted to point out that it is better not to use \setupbodyfont in the middle of your document, as you did in the excerpt below: in this case it is better to use 

\switchtobodyfont[xits]

or even better define the character you want before using it as in

\define\CScript{\start\switchtobodyfont[xits] \m{\mathscript{C}} \stop}

and then use that command as in:

La droite \m{(AM)} est {\bf une sécante} à la courbe \CScript en \m{A}.

Another solution is to define your own mixture of math fonts and text fonts.

Best regards: OK


> On 15 Oct 2019, at 18:39, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
>  La droite \m{(AM)} est {\bf une sécante} à la courbe {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.


[-- Attachment #1.2: Type: text/html, Size: 3487 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  2019-10-15 17:11 ` Otared Kavian
@ 2019-10-15 19:57   ` Fabrice Couvreur
  2019-10-16  3:28     ` Otared Kavian
  0 siblings, 1 reply; 9+ messages in thread
From: Fabrice Couvreur @ 2019-10-15 19:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
Thanks to you two.
"Another solution is to define your own mixture of math fonts and text
fonts."
I thought you should not mix several fonts in one text. I know you're a
teacher, what are you doing to write your documents ?
Fabrice

Le mar. 15 oct. 2019 à 19:11, Otared Kavian <otared@gmail.com> a écrit :

> Hi Fabrice,
>
> Wolfgang gave the right answer, but I wanted to point out that it is
> better not to use \setupbodyfont in the middle of your document, as you did
> in the excerpt below: in this case it is better to use
>
> \switchtobodyfont[xits]
>
> or even better define the character you want before using it as in
>
> \define\CScript{\start\switchtobodyfont[xits] \m{\mathscript{C}} \stop}
>
> and then use that command as in:
>
> La droite \m{(AM)} est {\bf une sécante} à la courbe \CScript en \m{A}.
>
> Another solution is to define your own mixture of math fonts and text
> fonts.
>
> Best regards: OK
>
>
> On 15 Oct 2019, at 18:39, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> wrote:
>
>  La droite \m{(AM)} est {\bf une sécante} à la courbe
> {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.
>
>
>
> ___________________________________________________________________________________
> 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: Type: text/html, Size: 5067 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  2019-10-15 19:57   ` Fabrice Couvreur
@ 2019-10-16  3:28     ` Otared Kavian
  2019-10-16 21:38       ` Fabrice Couvreur
  2019-10-17  6:00       ` Aditya Mahajan
  0 siblings, 2 replies; 9+ messages in thread
From: Otared Kavian @ 2019-10-16  3:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Fabrice,

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:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 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,9pt]

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

Then when I use for instance the command $\cal{C}$ the script font from Asana Math is used, instead of from Lucida OT.

Best regards: OK

> On 15 Oct 2019, at 21:57, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> Hello,
> Thanks to you two. 
> "Another solution is to define your own mixture of math fonts and text fonts."
> I thought you should not mix several fonts in one text. I know you're a teacher, what are you doing to write your documents ?
> Fabrice
> 
> Le mar. 15 oct. 2019 à 19:11, Otared Kavian <otared@gmail.com <mailto:otared@gmail.com>> a écrit :
> Hi Fabrice,
> 
> Wolfgang gave the right answer, but I wanted to point out that it is better not to use \setupbodyfont in the middle of your document, as you did in the excerpt below: in this case it is better to use 
> 
> \switchtobodyfont[xits]
> 
> or even better define the character you want before using it as in
> 
> \define\CScript{\start\switchtobodyfont[xits] \m{\mathscript{C}} \stop}
> 
> and then use that command as in:
> 
> La droite \m{(AM)} est {\bf une sécante} à la courbe \CScript en \m{A}.
> 
> Another solution is to define your own mixture of math fonts and text fonts.
> 
> Best regards: OK
> 
> 
>> On 15 Oct 2019, at 18:39, Fabrice Couvreur <fabrice1.couvreur@gmail.com <mailto:fabrice1.couvreur@gmail.com>> wrote:
>> 
>>  La droite \m{(AM)} est {\bf une sécante} à la courbe {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <http://contextgarden.net/>
> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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: Type: text/html, Size: 10138 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  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
  1 sibling, 1 reply; 9+ messages in thread
From: Fabrice Couvreur @ 2019-10-16 21:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Kavian,
It seems to me that these fonts are not free.
Thank you for your help.
Fabrice

Le mer. 16 oct. 2019 à 05:28, Otared Kavian <otared@gmail.com> a écrit :

> Hi Fabrice,
>
> 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:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %% 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,9pt]
>
> %% End of Font Definitions
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> Then when I use for instance the command $\cal{C}$ the script font from
> Asana Math is used, instead of from Lucida OT.
>
> Best regards: OK
>
> On 15 Oct 2019, at 21:57, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> wrote:
>
> Hello,
> Thanks to you two.
> "Another solution is to define your own mixture of math fonts and text
> fonts."
> I thought you should not mix several fonts in one text. I know you're a
> teacher, what are you doing to write your documents ?
> Fabrice
>
> Le mar. 15 oct. 2019 à 19:11, Otared Kavian <otared@gmail.com> a écrit :
>
>> Hi Fabrice,
>>
>> Wolfgang gave the right answer, but I wanted to point out that it is
>> better not to use \setupbodyfont in the middle of your document, as you did
>> in the excerpt below: in this case it is better to use
>>
>> \switchtobodyfont[xits]
>>
>> or even better define the character you want before using it as in
>>
>> \define\CScript{\start\switchtobodyfont[xits] \m{\mathscript{C}} \stop}
>>
>> and then use that command as in:
>>
>> La droite \m{(AM)} est {\bf une sécante} à la courbe \CScript en \m{A}.
>>
>> Another solution is to define your own mixture of math fonts and text
>> fonts.
>>
>> Best regards: OK
>>
>>
>> On 15 Oct 2019, at 18:39, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
>> wrote:
>>
>>  La droite \m{(AM)} est {\bf une sécante} à la courbe
>> {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.
>>
>>
>>
>> ___________________________________________________________________________________
>> 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
>>
>> ___________________________________________________________________________________
>>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
>
>
> ___________________________________________________________________________________
> 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: Type: text/html, Size: 10299 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  2019-10-16 21:38       ` Fabrice Couvreur
@ 2019-10-17  5:39         ` Otared Kavian
  0 siblings, 0 replies; 9+ messages in thread
From: Otared Kavian @ 2019-10-17  5:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi Fabrice,

The Lucida OT family is indeed not free (it costs 110 US dollars from TUG), but tha Asana Math is included in the distribution of ConTeXt, LuaMetaTeX and, I think, TeXLive.

Best regards: Otared 

> On 16 Oct 2019, at 23:38, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> Hi Kavian,
> It seems to me that these fonts are not free.
> Thank you for your help.
> Fabrice
> 
> Le mer. 16 oct. 2019 à 05:28, Otared Kavian <otared@gmail.com <mailto:otared@gmail.com>> a écrit :
> Hi Fabrice,
> 
> 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:
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %% 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,9pt]
> 
> %% End of Font Definitions
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> Then when I use for instance the command $\cal{C}$ the script font from Asana Math is used, instead of from Lucida OT.
> 
> Best regards: OK
> 
>> On 15 Oct 2019, at 21:57, Fabrice Couvreur <fabrice1.couvreur@gmail.com <mailto:fabrice1.couvreur@gmail.com>> wrote:
>> 
>> Hello,
>> Thanks to you two. 
>> "Another solution is to define your own mixture of math fonts and text fonts."
>> I thought you should not mix several fonts in one text. I know you're a teacher, what are you doing to write your documents ?
>> Fabrice
>> 
>> Le mar. 15 oct. 2019 à 19:11, Otared Kavian <otared@gmail.com <mailto:otared@gmail.com>> a écrit :
>> Hi Fabrice,
>> 
>> Wolfgang gave the right answer, but I wanted to point out that it is better not to use \setupbodyfont in the middle of your document, as you did in the excerpt below: in this case it is better to use 
>> 
>> \switchtobodyfont[xits]
>> 
>> or even better define the character you want before using it as in
>> 
>> \define\CScript{\start\switchtobodyfont[xits] \m{\mathscript{C}} \stop}
>> 
>> and then use that command as in:
>> 
>> La droite \m{(AM)} est {\bf une sécante} à la courbe \CScript en \m{A}.
>> 
>> Another solution is to define your own mixture of math fonts and text fonts.
>> 
>> Best regards: OK
>> 
>> 
>>> On 15 Oct 2019, at 18:39, Fabrice Couvreur <fabrice1.couvreur@gmail.com <mailto:fabrice1.couvreur@gmail.com>> wrote:
>>> 
>>>  La droite \m{(AM)} est {\bf une sécante} à la courbe {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.
>> 
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <http://contextgarden.net/>
>> ___________________________________________________________________________________
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <http://contextgarden.net/>
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <http://contextgarden.net/>
> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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: Type: text/html, Size: 13582 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  2019-10-16  3:28     ` Otared Kavian
  2019-10-16 21:38       ` Fabrice Couvreur
@ 2019-10-17  6:00       ` Aditya Mahajan
  2019-10-17 14:03         ` Otared Kavian
  1 sibling, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2019-10-17  6:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Unexpected symbol with Enumeration
  2019-10-17  6:00       ` Aditya Mahajan
@ 2019-10-17 14:03         ` Otared Kavian
  0 siblings, 0 replies; 9+ messages in thread
From: Otared Kavian @ 2019-10-17 14:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-10-17 14:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 16:39 Unexpected symbol with Enumeration 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 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).