Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread C.

 sure, if you cook up the definition for the virtualization (if the
encoding is
 default tex it's no big deal, otherwise some extra tables are needed) ...

Since I don't even know how to check the encoding of a font - let alone
creating/changing it - I must pass on this one.
Can someone with more background on the subject have a look?
I'd love to use MnSymbol with Context.

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread Steffen Wolfrum

Am 07.03.2011 um 17:31 schrieb C.:

 
 sure, if you cook up the definition for the virtualization (if the
 encoding is
 default tex it's no big deal, otherwise some extra tables are needed) ...
 
 Since I don't even know how to check the encoding of a font - let alone
 creating/changing it - I must pass on this one.
 Can someone with more background on the subject have a look?

Same for me ... but it would be nice to learn these things!
Can someone explain what is needed and how to start?

Steffen
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread Mojca Miklavec
On Wed, Feb 23, 2011 at 12:37, Wolfgang Schuster wrote:

 As a side note: Is mathdesign available for context? I remember reading
 about it somewhere, but the third-party module site has nothing listed.

 I made a package [1] with all necessary font files a while ago but it’s
 Mojcas job to include them in the minimals. The typescripts are already
 part of context.

I still have complete rewrite of minimals in my
as-soon-as-i-can-take-some-time todo list. The idea back then was to
use the same switch for mathdesign as for modules.

The fonts are already here:
http://minimals.contextgarden.net/current/fonts/extra/
but I sent (and probably also already lost) a patch to Hans to allow
adding extra fonts. Three lines have to be added to mtx-update.lua to
fetch fonts from the extra tree. (And something else to fetch testing
files inside context directory.)

(An alternative is simply to take all the fonts into default
distribution, but that might start growing to infinity.)

Mojca
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread Wolfgang Schuster

Am 05.03.2011 um 22:41 schrieb Hans Hagen:

 On 5-3-2011 2:58, Steffen Wolfrum wrote:
 Hi C., hi Taco,
 
 But I am wondering, too: how can MnSymbol be made available as a true 
 context-math- font,
 eg. to produce an example like C. posted it (with latex and minion-package)?
 
 sure, if you cook up the definition for the virtualization (if the encoding 
 is default tex it's no big deal, otherwise some extra tables are needed) ...

the symbols aren’t the problem, what’s difficult is greek because the greek 
letters are taken from minion pro (the text font) and not from a special math 
font and this is where it gets tricky

Wolfgang
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread Aditya Mahajan

On Mon, 7 Mar 2011, Steffen Wolfrum wrote:



Am 07.03.2011 um 17:31 schrieb C.:




sure, if you cook up the definition for the virtualization (if the

encoding is

default tex it's no big deal, otherwise some extra tables are needed) ...


Since I don't even know how to check the encoding of a font - let alone
creating/changing it - I must pass on this one.
Can someone with more background on the subject have a look?


Same for me ... but it would be nice to learn these things!
Can someone explain what is needed and how to start?


I must confess that I no longer understand how the math virtual fonts work 
are implemented. I understood how things worked a year ago (see the 
tugboat article for details), but I have not been able to keep up with all 
the internal rearrangements.


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread Florian Wobbe
 sure, if you cook up the definition for the virtualization (if the encoding 
 is default tex it's no big deal, otherwise some extra tables are needed) ...
 
 the symbols aren’t the problem, what’s difficult is greek because the greek 
 letters are taken from minion pro (the text font) and not from a special math 
 font and this is where it gets tricky

Why not just merge Minion with MnSymbol and create a new font if virtualisation 
is tricky? Of cause you cannot redistribute the new font but you could 
distribute a fontforge script which does the merge. This way you could create 
an OpenType Math font with greek already in the right slots. Maybe also merge 
with Cronos to get sans math into the font.

Florian

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread C.
Seems like a good idea, but it's harder than it sounds. Here is what I
tried:
-Load MnSymbol12 in FontForge
-Run the script (by Florian, see email from 20. Feb 2011)
-Merge in Minion Pro (all of it :D )
-Generate OTF

...but the font (I also renamed it to be sure) does not show up in the
output. Instead LM-Math is used.
If someone succeeds, please let me know how you did it.



 -Ursprüngliche Nachricht-
 Von: Florian Wobbe [mailto:florian.wo...@awi.de]
 Gesendet: Montag, 7. März 2011 19:41
 An: mailing list for ConTeXt users
 Betreff: Re: [NTG-context] MnSymbol in ConText
 
  sure, if you cook up the definition for the virtualization (if the
encoding is
 default tex it's no big deal, otherwise some extra tables are needed) ...
 
  the symbols aren’t the problem, what’s difficult is greek because the
greek
 letters are taken from minion pro (the text font) and not from a special
math
 font and this is where it gets tricky
 
 Why not just merge Minion with MnSymbol and create a new font if
 virtualisation is tricky? Of cause you cannot redistribute the new font
but you
 could distribute a fontforge script which does the merge. This way you
could
 create an OpenType Math font with greek already in the right slots. Maybe
 also merge with Cronos to get sans math into the font.
 
 Florian
 


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread Hans Hagen

On 7-3-2011 7:32, Aditya Mahajan wrote:

On Mon, 7 Mar 2011, Steffen Wolfrum wrote:



Am 07.03.2011 um 17:31 schrieb C.:




sure, if you cook up the definition for the virtualization (if the

encoding is

default tex it's no big deal, otherwise some extra tables are
needed) ...


Since I don't even know how to check the encoding of a font - let alone
creating/changing it - I must pass on this one.
Can someone with more background on the subject have a look?


Same for me ... but it would be nice to learn these things!
Can someone explain what is needed and how to start?


I must confess that I no longer understand how the math virtual fonts
work are implemented. I understood how things worked a year ago (see the
tugboat article for details), but I have not been able to keep up with
all the internal rearrangements.


Don't worry, it didn't really change that much. The most important 
change is that font specific definitions moved to the lfg files (only 
the default vectors are preloaded). For a non standard font lucida can 
be taken as example.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-07 Thread Aditya Mahajan

On Tue, 8 Mar 2011, Hans Hagen wrote:


On 7-3-2011 7:32, Aditya Mahajan wrote:

On Mon, 7 Mar 2011, Steffen Wolfrum wrote:



Am 07.03.2011 um 17:31 schrieb C.:




sure, if you cook up the definition for the virtualization (if the

encoding is

default tex it's no big deal, otherwise some extra tables are
needed) ...


Since I don't even know how to check the encoding of a font - let alone
creating/changing it - I must pass on this one.
Can someone with more background on the subject have a look?


Same for me ... but it would be nice to learn these things!
Can someone explain what is needed and how to start?


I must confess that I no longer understand how the math virtual fonts
work are implemented. I understood how things worked a year ago (see the
tugboat article for details), but I have not been able to keep up with
all the internal rearrangements.


Don't worry, it didn't really change that much. The most important change is 
that font specific definitions moved to the lfg files


Ah... that is why I could not search for them :)

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-05 Thread Steffen Wolfrum
Hi C., hi Taco,

I followed Florians path, re-generated font MnSymbol now is found.

But I am wondering, too: how can MnSymbol be made available as a true 
context-math- font, 
eg. to produce an example like C. posted it (with latex and minion-package)?


Steffen



Am 23.02.2011 um 11:59 schrieb C.:

 Ok, that explains why context is literally ignoring the font. But will the
 described procedure allow the usage like in the attached example? It's done
 with latex and the minion package. Looks beautiful to me (except maybe some
 small scaling issues with the big '(' ) Sorry for the crappy screenshot, the
 64k-Limit blocked attaching the one page 200k PDF.





___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-03-05 Thread Hans Hagen

On 5-3-2011 2:58, Steffen Wolfrum wrote:

Hi C., hi Taco,

I followed Florians path, re-generated font MnSymbol now is found.

But I am wondering, too: how can MnSymbol be made available as a true 
context-math- font,
eg. to produce an example like C. posted it (with latex and minion-package)?


sure, if you cook up the definition for the virtualization (if the 
encoding is default tex it's no big deal, otherwise some extra tables 
are needed) ...


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-23 Thread C.
Ok, that explains why context is literally ignoring the font. But will the
described procedure allow the usage like in the attached example? It's done
with latex and the minion package. Looks beautiful to me (except maybe some
small scaling issues with the big '(' ) Sorry for the crappy screenshot, the
64k-Limit blocked attaching the one page 200k PDF.

As a side note: Is mathdesign available for context? I remember reading
about it somewhere, but the third-party module site has nothing listed.
Also: the 64K-Limit is a pain in the ass. Had to try 4 times to get it out
:(
attachment: MnSymbol.png___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-23 Thread Wolfgang Schuster

Am 23.02.2011 um 11:59 schrieb C.:

 Ok, that explains why context is literally ignoring the font. But will the
 described procedure allow the usage like in the attached example? It's done
 with latex and the minion package. Looks beautiful to me (except maybe some
 small scaling issues with the big '(' ) Sorry for the crappy screenshot, the
 64k-Limit blocked attaching the one page 200k PDF.

You can use Dropbox are any other service to provide large files.

 As a side note: Is mathdesign available for context? I remember reading
 about it somewhere, but the third-party module site has nothing listed.

I made a package [1] with all necessary font files a while ago but it’s
Mojcas job to include them in the minimals. The typescripts are already
part of context.

[1] http://d.pr/CC5aF

Wolfgang

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-23 Thread C.


 -Ursprüngliche Nachricht-
 Von: Wolfgang Schuster [mailto:schuster.wolfg...@googlemail.com]
 Gesendet: Mittwoch, 23. Februar 2011 12:38
 An: mailing list for ConTeXt users
 Cc: Mojca Miklavec
 Betreff: Re: [NTG-context] MnSymbol in ConText
 
 
 Am 23.02.2011 um 11:59 schrieb C.:
 
  Ok, that explains why context is literally ignoring the font. But will
  the described procedure allow the usage like in the attached example?
  It's done with latex and the minion package. Looks beautiful to me
  (except maybe some small scaling issues with the big '(' ) Sorry for
  the crappy screenshot, the 64k-Limit blocked attaching the one page
200k
 PDF.
 
 You can use Dropbox are any other service to provide large files.

True, that's a workaround. But those who read the archive may find expired
links.

  As a side note: Is mathdesign available for context? I remember
  reading about it somewhere, but the third-party module site has nothing
 listed.
 
 I made a package [1] with all necessary font files a while ago but it’s
Mojcas
 job to include them in the minimals. The typescripts are already part of
 context.
 
 [1] http://d.pr/CC5aF
 

Thank you very much.
I installed the URW-Garamond manually from CTAN and now it's working. Some
minor troubles like too much italic (brackets and numbers in math mode are
italic O_o) but it's a start. 

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-21 Thread Taco Hoekwater

On 02/20/2011 09:01 PM, Florian Wobbe wrote:



--
Florian Wobbe
Alfred Wegener Institute for Polar and Marine Research
Division of Geosciences, Section of Geophysics
Postfach 120161
27515 Bremerhaven

On Feb 20, 2011, at 20:38 , Khaled Hosny wrote:


On Sun, Feb 20, 2011 at 08:30:53PM +0100, Florian Wobbe wrote:

Is there any way to use MnSymbol in context?


It is, but somebody needs to write support for it. Both for MKII and MKIV.


The problem is, that luatex refuses to load any of the MnSymbol*.otf
font files available from CTAN with an error message. I don't know
what is broken with the fonts.


Reporting the errors would help finding what is wrong.


Hi Khaled,

luatax says:
  )texmf/fonts/opentype/public/mnsymbol/MnSymbol12.otf
!LuaTeX error (file texmf/fonts/opentype/public/mnsymbol/MnSymbol12.otf): 
Invalid character.



It is the CFF parser in the backend that gives up on the font. I have no 
idea why that is, but a (re-)generate fonts in fontforge fixed

it for me.

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-20 Thread Florian Wobbe
 Is there any way to use MnSymbol in context?
 
 It is, but somebody needs to write support for it. Both for MKII and MKIV.

The problem is, that luatex refuses to load any of the MnSymbol*.otf font files 
available from CTAN with an error message. I don't know what is broken with the 
fonts.

Should you just be interested in the symbols you can fix the otf font with 
fontforge by reencoding and saving it to a unicode font again. Glyphs with 
undefined unicode value will be assigned to unicode slots starting from 0xF.

Then you can do this:

\definefontsynonym [MnSymbol12U] [name:MnSymbol12Uni]
\starttext
\definedfont [MnSymbol12U at 16pt] ABC XYZ \char25B7 \char2660 \char2720 
\char10391 \char10393 \char10335
\stoptext

To print a table with glyphs and unicode values do:

\usemodule[fnt-10]
\starttext
\ShowCompleteFont{name:MnSymbol12Uni}{11pt}{1} % MnSymbol12Uni.otf
\stoptext

I used the following fontforge script to re-generate the font:

#begin fontforge script

#usage: fontforge -script fontBMP2Full.ff MnSymbol12.otf

Open($1);

F1 = $fontname+Uni # fontname
F2 =  # familyname
F3 = $fullname+Uni # fullname
F4 =  # weight
F5 =  # copyright
F6 =  # fontversion

#SetFontNames(fontname[,family[,fullname[,weight[,copyright-notice[,fontversion])
#Sets various postscript names associated with a font. If a name is omitted (or 
is the
#empty string) it will not be changed. 
SetFontNames(F1,F2,F3,F4,F5,F6)

Reencode(unicode);
Generate($fontname+.otf);
Quit(0);

#end fontforge script

Florian

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-20 Thread Khaled Hosny
On Sun, Feb 20, 2011 at 08:30:53PM +0100, Florian Wobbe wrote:
  Is there any way to use MnSymbol in context?
  
  It is, but somebody needs to write support for it. Both for MKII and MKIV.
 
 The problem is, that luatex refuses to load any of the MnSymbol*.otf
 font files available from CTAN with an error message. I don't know
 what is broken with the fonts.

Reporting the errors would help finding what is wrong.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-20 Thread Florian Wobbe


--
Florian Wobbe
Alfred Wegener Institute for Polar and Marine Research
Division of Geosciences, Section of Geophysics
Postfach 120161
27515 Bremerhaven

On Feb 20, 2011, at 20:38 , Khaled Hosny wrote:

 On Sun, Feb 20, 2011 at 08:30:53PM +0100, Florian Wobbe wrote:
 Is there any way to use MnSymbol in context?
 
 It is, but somebody needs to write support for it. Both for MKII and MKIV.
 
 The problem is, that luatex refuses to load any of the MnSymbol*.otf
 font files available from CTAN with an error message. I don't know
 what is broken with the fonts.
 
 Reporting the errors would help finding what is wrong.

Hi Khaled,

luatax says:
 )texmf/fonts/opentype/public/mnsymbol/MnSymbol12.otf
!LuaTeX error (file texmf/fonts/opentype/public/mnsymbol/MnSymbol12.otf): 
Invalid character.

Florian

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-19 Thread Mojca Miklavec
On Sat, Feb 19, 2011 at 01:26, C. meta...@gmx.de wrote:

 Is there any way to use MnSymbol in context?

It is, but somebody needs to write support for it. Both for MKII and MKIV.

 And why does it work in Latex?

Simply because the author created fonts and LaTeX support files at the
same time, but he doesn't know ConTeXt well enough.

 Please tell me it’s possible

It should be, but not yet out of the box. Somebody needs to take a
look and write a few support files.

Mojca
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MnSymbol in ConText

2011-02-18 Thread Arthur Reutenauer
 Please tell me it's possible

  It is possible.

   I don't want to go back to Latex, context is
 much cooler.

  Then don't go back to LaTeX.

Arthur
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___