Re: [NTG-context] Symbols
Hans, thank you very much for this section. - I see that the approach is different from what I was trying to do. - I will study and try it! Willi On Nov 21, 2012, at 10:26 AM, Hans Hagen wrote: > On 11/20/2012 5:21 PM, Willi Egger wrote: >> Hi all, >> >> could someone bring light into the way how to use symbols…in MKIV >> >> I wanted to extract a symbol from uzdr (Zapfdingbats). > > (Somehow uzdr.afm and uzdr.pfb are not in my tex tree. I always thought that > they were part of the standalone but nothing surprises me as these fonts have > a history of instability.) > > (Copied from an upcoming font manual:) > > \startsection[title=Unicoding] > > Nowadays we will mostly use fonts that ship with a \UNICODE\ aware encoding. > And > in \CONTEXT, even if we use a \TYPEONE\ font, it gets mapped onto \UNICODE. > However, there are some exceptions, for instance the Zapf Dingbats in > \TYPEONE\ > format. These have a rather obscure private encoding and the glyph names run > from > \type {a1} upto \type {a206} and have no relation to what the glyph > represents. > > In the case of Dingbats we're somewhat lucky that they ended up in \UNICODE, > so > we can relocate the glyphs to match their rightful place. This is done by > means > of a goodies file. We already discussed this in \in {section} [goodies] so we > only repeat the usage. > > \startbuffer > \definefontfeature > [dingbats] > [mode=base, > goodies=dingbats, > unicoding=yes] > > \definefontsynonym > [ZapfDingbats] > [file:uzdr.afm] > [features=dingbats] > \stopbuffer > > \typebuffer \getbuffer > > I tend to qualify the Dingbat font in \TEX\ distributions as rather unstable > because of name changes and them either or not being included. Therefore it's > best to > use the hard coded name because that triggers the most visible error message > when > the font is not found. > > A font like this can for instance be used with the glyph placement macros as > is > demonstrated below. In the last line we see that a direct \UTF\ input also > works > out well. > > \starttabulate[|||] > \HL > \NC \type{\getglyphdirect {ZapfDingbats*dingbats}{\number"2701}} \NC > \getglyphdirect {ZapfDingbats*dingbats}{\number"2701} \NC \NR > \NC \type{\getglyphdirect {ZapfDingbats*dingbats}{\char"2701}} \NC > \getglyphdirect {ZapfDingbats*dingbats}{\char"2701} \NC \NR > \NC \type{\getnamedglyphdirect{ZapfDingbats*dingbats}{a1}} \NC > \getnamedglyphdirect{ZapfDingbats*dingbats}{a1} \NC \NR > \NC \type{\getnamedglyphdirect{ZapfDingbats*dingbats}{a11}} \NC > \getnamedglyphdirect{ZapfDingbats*dingbats}{a11} \NC \NR > \HL > \NC \type{\getglyphdirect {ZapfDingbats}{\number"2701}} \NC > \getglyphdirect {ZapfDingbats}{\number"2701} \NC \NR > \NC \type{\getglyphdirect {ZapfDingbats}{\char"2701}}\NC > \getglyphdirect {ZapfDingbats}{\char"2701}\NC \NR > \NC \type{\getnamedglyphdirect{ZapfDingbats}{a1}}\NC > \getnamedglyphdirect{ZapfDingbats}{a1}\NC \NR > \NC \type{\getnamedglyphdirect{ZapfDingbats}{a11}} \NC > \getnamedglyphdirect{ZapfDingbats}{a11} \NC \NR > \HL > \NC \type{\definedfont[ZapfDingbats*dingbats]✁} \NC > \definedfont[ZapfDingbats*dingbats]✁ \NC \NR > \HL > \stoptabulate > > Keep in mind that fonts like Dejavu (that we use here as document font) > already > has these characters which is why it shows up in the verbose part of the > table. > > \stopsection > > -- > > - > 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 > ___ ___ 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] Symbols
On 11/20/2012 5:21 PM, Willi Egger wrote: Hi all, could someone bring light into the way how to use symbols…in MKIV I wanted to extract a symbol from uzdr (Zapfdingbats). (Somehow uzdr.afm and uzdr.pfb are not in my tex tree. I always thought that they were part of the standalone but nothing surprises me as these fonts have a history of instability.) (Copied from an upcoming font manual:) \startsection[title=Unicoding] Nowadays we will mostly use fonts that ship with a \UNICODE\ aware encoding. And in \CONTEXT, even if we use a \TYPEONE\ font, it gets mapped onto \UNICODE. However, there are some exceptions, for instance the Zapf Dingbats in \TYPEONE\ format. These have a rather obscure private encoding and the glyph names run from \type {a1} upto \type {a206} and have no relation to what the glyph represents. In the case of Dingbats we're somewhat lucky that they ended up in \UNICODE, so we can relocate the glyphs to match their rightful place. This is done by means of a goodies file. We already discussed this in \in {section} [goodies] so we only repeat the usage. \startbuffer \definefontfeature [dingbats] [mode=base, goodies=dingbats, unicoding=yes] \definefontsynonym [ZapfDingbats] [file:uzdr.afm] [features=dingbats] \stopbuffer \typebuffer \getbuffer I tend to qualify the Dingbat font in \TEX\ distributions as rather unstable because of name changes and them either or not being included. Therefore it's best to use the hard coded name because that triggers the most visible error message when the font is not found. A font like this can for instance be used with the glyph placement macros as is demonstrated below. In the last line we see that a direct \UTF\ input also works out well. \starttabulate[|||] \HL \NC \type{\getglyphdirect {ZapfDingbats*dingbats}{\number"2701}} \NC \getglyphdirect {ZapfDingbats*dingbats}{\number"2701} \NC \NR \NC \type{\getglyphdirect {ZapfDingbats*dingbats}{\char"2701}} \NC \getglyphdirect {ZapfDingbats*dingbats}{\char"2701} \NC \NR \NC \type{\getnamedglyphdirect{ZapfDingbats*dingbats}{a1}} \NC \getnamedglyphdirect{ZapfDingbats*dingbats}{a1} \NC \NR \NC \type{\getnamedglyphdirect{ZapfDingbats*dingbats}{a11}} \NC \getnamedglyphdirect{ZapfDingbats*dingbats}{a11} \NC \NR \HL \NC \type{\getglyphdirect {ZapfDingbats}{\number"2701}} \NC \getglyphdirect {ZapfDingbats}{\number"2701} \NC \NR \NC \type{\getglyphdirect {ZapfDingbats}{\char"2701}}\NC \getglyphdirect {ZapfDingbats}{\char"2701}\NC \NR \NC \type{\getnamedglyphdirect{ZapfDingbats}{a1}}\NC \getnamedglyphdirect{ZapfDingbats}{a1}\NC \NR \NC \type{\getnamedglyphdirect{ZapfDingbats}{a11}} \NC \getnamedglyphdirect{ZapfDingbats}{a11} \NC \NR \HL \NC \type{\definedfont[ZapfDingbats*dingbats]✁} \NC \definedfont[ZapfDingbats*dingbats]✁ \NC \NR \HL \stoptabulate Keep in mind that fonts like Dejavu (that we use here as document font) already has these characters which is why it shows up in the verbose part of the table. \stopsection -- - 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 ___
[NTG-context] Symbols
Hi all, could someone bring light into the way how to use symbols…in MKIV I wanted to extract a symbol from uzdr (Zapfdingbats). In MIII the that worked like this: \definefontsynonym[Dingbats][uzdr] \definesymbol[box][\getglyph{Dingbats}{\char113}] In MKIV this is not the case. I tried to find out with the font-manual, unfortunately it only shows the content of the symb-imp-eur.mkiv. I tried to find the fonts mentioned in that file, but miserably failed. I tried different approaches but get now result, except for the black diamond, but this is defined internally in ConTeXt (\definesymbol[blackdiamond] [\textormathchar{"2666}]. \definefontsynonym[Dingbats][uzdr] \definefontsynonym[MSAM][msam10] \definesymbol[boxA][\getglyph{Dingbats}{\char113}] %Seems to be changed... \definesymbol[boxB][\getglyph{Dingbats}{\char"274F}] % U+0274F, 00052, a74 \definesymbol[cuttingscissors] [\getglyph{Dingbats}{\utfchar{"2701}}] \definesymbol[blackdiamond][\textormathchar{"2666}] \definesymbol[blackdiamondvar][\textormathchar{"25C6}] \definesymbol[diamondfilled] [\getglyph{MSAM}{\utfchar{"F0067}}] \starttext Thanks for support… Willi \symbol{boxA} \symbol{boxB} \symbol{cuttingscissors} \symbol{blackdiamond} \symbol{blackdiamondvar} \symbol{diamondfilled} \stoptext ___ 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] Symbols Martin Vogel
On 27-3-2011 9:13, Willi Egger wrote: Hi, the following used to work: \usesymbols[mvs] \setupsymbolset[martinvogel 2] \starttext \symbol[HollowBox] \stoptext However with Context 2011.03.27 14:48 I get the following error: ! LuaTeX error:1: attempt to call field 'char' (a nil value) stack traceback: fixed tomorrow - 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 ___
[NTG-context] Symbols Martin Vogel
Hi, the following used to work: \usesymbols[mvs] \setupsymbolset[martinvogel 2] \starttext \symbol[HollowBox] \stoptext However with Context 2011.03.27 14:48 I get the following error: ! LuaTeX error :1: attempt to call field 'char' (a nil value) stack traceback: :1: in main chunk. ... \getnamedglyphdirect ...\ctxlua {fonts.char("#2")} } \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \fetchsymbol ... {\dodosymbol {#1}\currentsymbol } \fi \fetchsymbol {martinvogel 2} \fetchsymbol {navigation 1} \donormalsymbol ...\ifnosymbol \the \symbolsetups \ifnosymbol \redosymbol \c... \dodoubleemptyonespaced #1#2->#1[{#2}][] What do I miss? Kind regards Willi ___ 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] symbols fail in mkiv
Le 17 mars à 09:34:48 Wolfgang Schuster écrit notamment: | Am 17.03.2011 um 08:59 schrieb Jean Magnan de Bornier: > | > Hi all, | > The following file has the expected output with texexec but with mkiv the | > symbols are replaced by question marks in the output; all my other tests | > with symbols actually fail with mkiv. > | You need for mkiv the marvosym font in truetype format but the minimals | ship only the type1 version. You can download the font here: http://www.marvosym.com/ > | Wolfgang Thank you Wolfgang, I'll do that soon bye -- Jean ___ 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] symbols fail in mkiv
Am 17.03.2011 um 08:59 schrieb Jean Magnan de Bornier: > Hi all, > The following file has the expected output with texexec but with mkiv the > symbols are replaced by question marks in the output; all my other tests > with symbols actually fail with mkiv. You need for mkiv the marvosym font in truetype format but the minimals ship only the type1 version. You can download the font here: http://www.marvosym.com/ 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 ___
[NTG-context] symbols fail in mkiv
Hi all, The following file has the expected output with texexec but with mkiv the symbols are replaced by question marks in the output; all my other tests with symbols actually fail with mkiv. .. \starttext Hello world! \usesymbols[mvs] \symbol[martinvogel 2][PointingHand] \symbol[martinvogel 2][CheckedBox] \stoptext .. ConTeXt ver: 2011.02.25 22:03 MKIV fmt: 2011.3.15 -- Jean ___ 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] Symbols for copyright and registered
On Thursday 28 January 2010 17:59:07 Wolfgang Schuster wrote: > Am 28.01.10 23:43, schrieb John Culleton: > > In the past I have used defs like > > \def\reg{\char174} > > Is there a more universal way to get these symbols? > > ® and © > > or > > \registered and \copyright :) > > Wolfgang Thnks a bunch. Where did you find the documentation on these two characters? -- John Culleton "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___ 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] Symbols for copyright and registered
On Fri, Jan 29, 2010 at 10:03 AM, zs wrote: > On Fri, 29 Jan 2010 00:36:13 +0100 > Bernhard Rosensteiner wrote: > >> is there a source where i can find such definitions? I mean for other >> symbols and „hard to type“ characters >> >> best regards >> Bernhard > > > for my purpose, I made utf-8 text containing all unusual characters and I > copy and paste them. > It's the most convenient way, IMO. > > example: > > ≈≐∿ > №©®™ℎℏ°℃ > ⌀ diameter 2300 > ∅ empty set 2205 > ⍉ 2349 > ¼½¾⅓⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞⅟ > ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎ > ⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ √(x² ˖ y²) > √∛∜∢ nice idea It would be nice to collect the most used unicode char in a wiki page and also in a txt file to include in minimals just as convenience when typesetting in mkiv -- luigi ___ 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] Symbols for copyright and registered
On Fri, 29 Jan 2010 00:36:13 +0100 Bernhard Rosensteiner wrote: > is there a source where i can find such definitions? I mean for other symbols > and „hard to type“ characters > > best regards > Bernhard for my purpose, I made utf-8 text containing all unusual characters and I copy and paste them. It's the most convenient way, IMO. example: ≈≐∿ №©®™ℎℏ°℃ ⌀ diameter 2300 ∅ empty set 2205 ⍉ 2349 ¼½¾⅓⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞⅟ ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎ ⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ √(x² ˖ y²) √∛∜∢ Regards Zdenek ___ 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] Symbols for copyright and registered
Am 29.01.2010 um 00:46 schrieb Wolfgang Schuster: > Am 29.01.10 00:36, schrieb Bernhard Rosensteiner: >> is there a source where i can find such definitions? I mean for other >> symbols and „hard to type“ characters > For MkII look in the enco-xxx.mkii files, for MkIV you can find > all commands in char-def.lua > > rover:base wolf$ grep contextname char-def.lua > contextname="quotedbl", > contextname="textdollar", > contextname="percent", > contextname="quotesingle", > contextname="textslash", > contextname="textbackslash", > contextname="textasciicircum", > contextname="textunderscore", > contextname="textgrave", > contextname="idotaccent", > contextname="textbraceleft", > contextname="textbar", > ... > > The values of contextname are available as commands in ConTeXt. > > Wolfgang wow - millions of definitions. Thanks a lot. best regards Bernhard ___ 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] Symbols for copyright and registered
Am 29.01.10 00:36, schrieb Bernhard Rosensteiner: is there a source where i can find such definitions? I mean for other symbols and „hard to type“ characters For MkII look in the enco-xxx.mkii files, for MkIV you can find all commands in char-def.lua rover:base wolf$ grep contextname char-def.lua contextname="quotedbl", contextname="textdollar", contextname="percent", contextname="quotesingle", contextname="textslash", contextname="textbackslash", contextname="textasciicircum", contextname="textunderscore", contextname="textgrave", contextname="idotaccent", contextname="textbraceleft", contextname="textbar", ... The values of contextname are available as commands in ConTeXt. 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] Symbols for copyright and registered
Am 28.01.2010 um 23:59 schrieb Wolfgang Schuster: > Am 28.01.10 23:43, schrieb John Culleton: >> In the past I have used defs like >> \def\reg{\char174} >> Is there a more universal way to get these symbols? >> > ® and © > > or > > \registered and \copyright :) > > Wolfgang is there a source where i can find such definitions? I mean for other symbols and „hard to type“ characters best regards Bernhard ___ 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] Symbols for copyright and registered
Am 28.01.10 23:43, schrieb John Culleton: In the past I have used defs like \def\reg{\char174} Is there a more universal way to get these symbols? ® and © or \registered and \copyright :) 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 ___
[NTG-context] Symbols for copyright and registered
In the past I have used defs like \def\reg{\char174} Is there a more universal way to get these symbols? -- John Culleton "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___ 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] symbols in luatex?
On Tue, 08 Jan 2008 01:21:11 -0700, Hans Hagen <[EMAIL PROTECTED]> wrote: >> But after all: there's LinLibertine or the (symbol) Unicode font that >> one of you has mantioned a few days ago. > > yes, those fonts are very complete; i wonder if they may be distributed > with tex ... There's a LaTeX package... Anyway, thnx for mentioning LinLibertine, Wolfgang; downloding it now. Unfortunately they don't have a monospace font :-( For serious utf-8 work in an editor it's indispensable. I'm using Arial Unicode MS in the meantime (ugh). SC Unipad has the best and most complete unicode editing font out there (both mono and var options) but it's a bitmap and tied to the application. SIL has some pretty complete fonts as well. Doulos is pretty complete as far as Latin extensions are concerned, and is probably the richest font after Arial Unicode (which is still over an order of magnitude bigger). But the idea of a virtual uniode font is a good idea and I'd like to help. Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 8, 2008 9:21 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Mojca Miklavec wrote: > > On Jan 7, 2008 5:18 PM, Wolfgang Schuster wrote: > >> On Jan 6, 2008 9:26 PM, Hans Hagen wrote: > >> > >>> maybe a big fallback virtual font covering all of unicode ... > >> With Arial Unicode as fallback ;-) > > > > I can try to get some Microsofties* to the meeting. Perhaps they'll agree > > :-) :p > > actually the typography part of ms is not that bad -) also, if i'm right > all linux distributions permit you to download/install fonts from ms > (someow these fonts are free); not sure about osx Only the normal Arial font, Arial Unicode is only AFAIK available with MS Ofiice. > > After all, if I forget about all the advantages of it (covering > > unicode symbols where typeface doesn't matter so much etc.), the > > approach would be fully compatible with Word in that respect, > > replacing all accented letters with the ones from the fallback font > > :-) > > well, you may as well expect worse in the tex community ... font feature > abuse and such > > > But after all: there's LinLibertine or the (symbol) Unicode font that > > one of you has mantioned a few days ago. > > yes, those fonts are very complete; i wonder if they may be distributed > with tex ... The unicode symbol font should be no problem. You find the following text on the page. "Fonts in this site are offered free for any use; they may be opened, edited, modified, regenerated, packaged and redistributed." It's worth to write a mail to the designer. http://users.teilar.gr/~g1951d/index.html 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
Mojca Miklavec wrote: > On Jan 7, 2008 5:18 PM, Wolfgang Schuster wrote: >> On Jan 6, 2008 9:26 PM, Hans Hagen wrote: >> >>> maybe a big fallback virtual font covering all of unicode ... >> With Arial Unicode as fallback ;-) > > I can try to get some Microsofties* to the meeting. Perhaps they'll agree :-) > :p actually the typography part of ms is not that bad -) also, if i'm right all linux distributions permit you to download/install fonts from ms (someow these fonts are free); not sure about osx > After all, if I forget about all the advantages of it (covering > unicode symbols where typeface doesn't matter so much etc.), the > approach would be fully compatible with Word in that respect, > replacing all accented letters with the ones from the fallback font > :-) well, you may as well expect worse in the tex community ... font feature abuse and such > But after all: there's LinLibertine or the (symbol) Unicode font that > one of you has mantioned a few days ago. yes, those fonts are very complete; i wonder if they may be distributed with tex ... Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
> I can try to get some Microsofties* to the meeting. Perhaps they'll agree :-) > :p Maybe you can try by saying that a few (?) of us have some interest on xps as an output alternative of pdf ; with luatex should be no so difficult . You can even do better getting some Adobies to the meeting too, because a few (again, ?) of us have some interest on mars too . -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 7, 2008 5:18 PM, Wolfgang Schuster wrote: > On Jan 6, 2008 9:26 PM, Hans Hagen wrote: > > > maybe a big fallback virtual font covering all of unicode ... > > With Arial Unicode as fallback ;-) I can try to get some Microsofties* to the meeting. Perhaps they'll agree :-) :p After all, if I forget about all the advantages of it (covering unicode symbols where typeface doesn't matter so much etc.), the approach would be fully compatible with Word in that respect, replacing all accented letters with the ones from the fallback font :-) But after all: there's LinLibertine or the (symbol) Unicode font that one of you has mantioned a few days ago. Mojca * = trying to figure out an expression for people working there ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 6, 2008 9:26 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Wolfgang Schuster wrote: > > > Do you really a contextname for every adobename in the list? > > no, in mkiv we can have use adobe names as well > > > I would be enough for me access the glyphs by name, I don't a macro for > > every character but the list for adobenames should be filled with the > > information from glyphlist.txt. > > > > http://www.adobe.com/devnet/opentype/archives/glyph.html > > taht's what char-def is for > > >> Hans, should contextnames.txt be deleted now? So that only one list > >> will be kept up to date. > > well, we can keep it for a while for sentimental reasons > > >> XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve > >> the same with some coding), but I agree that some high-level macro to > >> access glyphs by name might be handy. > > > > I know XeTeX offers this method but method for XeTeX and LuaTeX would > > be better, it could be used as replacement for \symbol a many > > cases, untill you have the requestet glyph in your font but a fallback > > mode would be nice in this situation. > > maybe a big fallback virtual font covering all of unicode ... With Arial Unicode as fallback ;-) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
Wolfgang Schuster wrote: > Do you really a contextname for every adobename in the list? no, in mkiv we can have use adobe names as well > I would be enough for me access the glyphs by name, I don't a macro for > every character but the list for adobenames should be filled with the > information from glyphlist.txt. > > http://www.adobe.com/devnet/opentype/archives/glyph.html taht's what char-def is for >> Hans, should contextnames.txt be deleted now? So that only one list >> will be kept up to date. well, we can keep it for a while for sentimental reasons >> XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve >> the same with some coding), but I agree that some high-level macro to >> access glyphs by name might be handy. > > I know XeTeX offers this method but method for XeTeX and LuaTeX would > be better, it could be used as replacement for \symbol a many > cases, untill you have the requestet glyph in your font but a fallback > mode would be nice in this situation. maybe a big fallback virtual font covering all of unicode ... - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 6, 2008 12:06 PM, Wolfgang Schuster wrote: > On Sun, 6 Jan 2008 11:32:51 +0100 "Mojca Miklavec" wrote: > > > > I would be enough for me access the glyphs by name, I don't a macro for > > > every character but the list for adobenames should be filled with the > > > information from glyphlist.txt. > > > > > > http://www.adobe.com/devnet/opentype/archives/glyph.html > > > > It is (although I could imagine that it might have been filled with an > > older version of that list, but there are not to many differences > > anyway). > > The only list I found is from 2002, this mean Hans list is from ??? There are two different lists (for new and for "old" fonts) at different versions, one of the latests being. http://www.adobe.com/devnet/opentype/archives/aglfn.txt # Name: Adobe Glyph List For New Fonts # Table version: 1.6 # Date: 30 Januaury 2006 I have no idea what exactly is in char-def.lua (perhaps the same as in contextnames.txt, which has been generated from the old list). > > > > Hans, should contextnames.txt be deleted now? So that only one list > > > > will be kept up to date. > > What was this list used for? It has been created in order to clean up the encoding mess a bit (iso-8895-X, cp125X, viscii regimes - most regi-XXX files are autogenerated from that list), but now everthing from that list is in char-def.lua. (And char-def.lua is also used for autogenerating enco-utf, used in XeTeX initialisation.) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Sun, 6 Jan 2008 11:32:51 +0100 "Mojca Miklavec" <[EMAIL PROTECTED]> wrote: > On Jan 6, 2008 10:15 AM, Wolfgang Schuster wrote: > > On Sat, 5 Jan 2008 10:55:23 +0100 > > > > > One thing that you can try is to add > > > contextname='angleleft' > > > to the corresponding entry in char-def.lua and then use > > > \getglyph{name:TeXGyreHeros-Regular}{\angleleft} > > > improvements for char-def.lua are welcome anyway. > > > > Do you really a contextname for every adobename in the list? > > Of course not. But some addition still do make sense (and if you have > some on your wishlist, you can submit patches). > > > I would be enough for me access the glyphs by name, I don't a macro for > > every character but the list for adobenames should be filled with the > > information from glyphlist.txt. > > > > http://www.adobe.com/devnet/opentype/archives/glyph.html > > It is (although I could imagine that it might have been filled with an > older version of that list, but there are not so many differences > anyway). The only list I found is from 2002, this mean Hans list is from ??? > > > Hans, should contextnames.txt be deleted now? So that only one list > > > will be kept up to date. What was this list used for? > > > XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve > > > the same with some coding), but I agree that some high-level macro to > > > access glyphs by name might be handy. > > > > I know XeTeX offers this method but method for XeTeX and LuaTeX would > > be better, it could be used as replacement for \symbol a many > > cases, untill you have the requestet glyph in your font but a fallback > > mode would be nice in this situation. > > Sure. I have agreed that some macro to get a glyph by name would be > handy (and could be supported in both engines easily). > > Mojca 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 6, 2008 10:15 AM, Wolfgang Schuster wrote: > On Sat, 5 Jan 2008 10:55:23 +0100 > > > One thing that you can try is to add > > contextname='angleleft' > > to the corresponding entry in char-def.lua and then use > > \getglyph{name:TeXGyreHeros-Regular}{\angleleft} > > improvements for char-def.lua are welcome anyway. > > Do you really a contextname for every adobename in the list? Of course not. But some addition still do make sense (and if you have some on your wishlist, you can submit patches). > I would be enough for me access the glyphs by name, I don't a macro for > every character but the list for adobenames should be filled with the > information from glyphlist.txt. > > http://www.adobe.com/devnet/opentype/archives/glyph.html It is (although I could imagine that it might have been filled with an older version of that list, but there are not so many differences anyway). > > Hans, should contextnames.txt be deleted now? So that only one list > > will be kept up to date. > > > > XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve > > the same with some coding), but I agree that some high-level macro to > > access glyphs by name might be handy. > > I know XeTeX offers this method but method for XeTeX and LuaTeX would > be better, it could be used as replacement for \symbol a many > cases, untill you have the requestet glyph in your font but a fallback > mode would be nice in this situation. Sure. I have agreed that some macro to get a glyph by name would be handy (and could be supported in both engines easily). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Sat, 5 Jan 2008 10:55:23 +0100 "Mojca Miklavec" <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 10:03 AM, Wolfgang Schuster wrote: > > On Fri, 04 Jan 2008 21:40:55 +0100 > > Hans Hagen wrote: > > > > > Thomas A. Schmitz wrote: > > > > > > > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} > > > > > > ah so you know the number ... > > > > > > \getglyph{name:TeXGyreHeros-Regular}{\char"2329} > > > > > > should also work then > > > > Is it also possible to select glyphs with the "Adobe names", I saw you > > have a complete list char-def.lua and it would be nice to write > > \getnamedglyph{name:TeXGyreHeros-Regular}{angleleft} with the same > > result as above. > > One thing that you can try is to add > contextname='angleleft' > to the corresponding entry in char-def.lua and then use > \getglyph{name:TeXGyreHeros-Regular}{\angleleft} > improvements for char-def.lua are welcome anyway. Do you really a contextname for every adobename in the list? I would be enough for me access the glyphs by name, I don't a macro for every character but the list for adobenames should be filled with the information from glyphlist.txt. http://www.adobe.com/devnet/opentype/archives/glyph.html > Hans, should contextnames.txt be deleted now? So that only one list > will be kept up to date. > > XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve > the same with some coding), but I agree that some high-level macro to > access glyphs by name might be handy. I know XeTeX offers this method but method for XeTeX and LuaTeX would be better, it could be used as replacement for \symbol a many cases, untill you have the requestet glyph in your font but a fallback mode would be nice in this situation. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 5, 2008, at 10:00 AM, Wolfgang Schuster wrote: > There is a better font if you need only symbols, choose the "Unicode > Symbols" link on the following page. > > http://users.teilar.gr/~g1951d/ > > Wolfgang Great fonts! Really excellent, thanks a lot for the link, Wolfgang! Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 5, 2008 10:03 AM, Wolfgang Schuster wrote: > On Fri, 04 Jan 2008 21:40:55 +0100 > Hans Hagen wrote: > > > Thomas A. Schmitz wrote: > > > > > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} > > > > ah so you know the number ... > > > > \getglyph{name:TeXGyreHeros-Regular}{\char"2329} > > > > should also work then > > Is it also possible to select glyphs with the "Adobe names", I saw you > have a complete list char-def.lua and it would be nice to write > \getnamedglyph{name:TeXGyreHeros-Regular}{angleleft} with the same > result as above. One thing that you can try is to add contextname='angleleft' to the corresponding entry in char-def.lua and then use \getglyph{name:TeXGyreHeros-Regular}{\angleleft} improvements for char-def.lua are welcome anyway. Hans, should contextnames.txt be deleted now? So that only one list will be kept up to date. XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve the same with some coding), but I agree that some high-level macro to access glyphs by name might be handy. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Fri, 04 Jan 2008 21:40:55 +0100 Hans Hagen <[EMAIL PROTECTED]> wrote: > Thomas A. Schmitz wrote: > > > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} > > ah so you know the number ... > > \getglyph{name:TeXGyreHeros-Regular}{\char"2329} > > should also work then Is it also possible to select glyphs with the "Adobe names", I saw you have a complete list char-def.lua and it would be nice to write \getnamedglyph{name:TeXGyreHeros-Regular}{angleleft} with the same result as above. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Fri, 4 Jan 2008 21:30:09 +0100 "Thomas A. Schmitz" <[EMAIL PROTECTED]> wrote: > > On Jan 4, 2008, at 6:39 PM, Wolfgang Schuster wrote: > > > The following should work. > > > > % engine=luatex > > > > \definecharacter anglebracketleft \char"2329 > > \definecharacter anglebracketright \char"232A > > > > \starttext > > > > text \anglebracketleft text\anglebracketright\ text > > > > \stoptext > > > > Wolfgang > > On Jan 4, 2008, at 7:42 PM, Hans Hagen wrote: > > > > \definedfont[name:TeXGyreHeros-Regular] \otfchar{uni0323} % 803 ? > > Hans, Wolfgang, > > thanks a lot! Wolfgang's approach works immediately. \otfchar doesn't > seem to work, but I could combine your suggestion with Wolfgang's and > now have > > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} > > Cool! Without fiddling with map files and encodings, I can take glyphs > from whatever OTF font I want. There is a better font if you need only symbols, choose the "Unicode Symbols" link on the following page. http://users.teilar.gr/~g1951d/ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Fri, 04 Jan 2008 14:20:45 -0700, Hans Hagen <[EMAIL PROTECTED]> wrote: > Thomas A. Schmitz wrote: > >> BTW, fea files and font features are a bit flaky these days, in the >> latest two versions, none of my fea gsub stuff works... But it's >> difficult for me to say whether it is the current version of luaTeX or >> of ConTeXt which is at fault. Will try to give more useful information >> when I have a bit more time. > > best take the beta (some reported bugs fixed) Does that include the one I reported? -) > fea is flaky anyway ... currently fea *replaces* existing features; FL (and FF?) can export fea files, so one can (in principle) add features to the original fea file for further features etc. > future versions of luatex will do a proper merge but this has a low > priority not too low I hope ;-) it's a great feature (no pun intended)! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
Thomas A. Schmitz wrote: > BTW, fea files and font features are a bit flaky these days, in the > latest two versions, none of my fea gsub stuff works... But it's > difficult for me to say whether it is the current version of luaTeX or > of ConTeXt which is at fault. Will try to give more useful information > when I have a bit more time. best take the beta (some reported bugs fixed) fea is flaky anyway ... currently fea *replaces* existing features; future versions of luatex will do a proper merge but this has a low priority - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 4, 2008, at 9:40 PM, Hans Hagen wrote: > ah so you know the number ... > > \getglyph{name:TeXGyreHeros-Regular}{\char"2329} > > should also work then > Yes, that works too! Thanks, maybe even easier! BTW, fea files and font features are a bit flaky these days, in the latest two versions, none of my fea gsub stuff works... But it's difficult for me to say whether it is the current version of luaTeX or of ConTeXt which is at fault. Will try to give more useful information when I have a bit more time. Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
Thomas A. Schmitz wrote: > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} ah so you know the number ... \getglyph{name:TeXGyreHeros-Regular}{\char"2329} should also work then - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 4, 2008, at 6:39 PM, Wolfgang Schuster wrote: > The following should work. > > % engine=luatex > > \definecharacter anglebracketleft \char"2329 > \definecharacter anglebracketright \char"232A > > \starttext > > text \anglebracketleft text\anglebracketright\ text > > \stoptext > > Wolfgang On Jan 4, 2008, at 7:42 PM, Hans Hagen wrote: > > \definedfont[name:TeXGyreHeros-Regular] \otfchar{uni0323} % 803 ? Hans, Wolfgang, thanks a lot! Wolfgang's approach works immediately. \otfchar doesn't seem to work, but I could combine your suggestion with Wolfgang's and now have {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} Cool! Without fiddling with map files and encodings, I can take glyphs from whatever OTF font I want. Thanks so much! Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
Thomas A. Schmitz wrote: > > I tried several numbers, and get some symbols from TeXGyreHeros, but I > haven't yet found out how luaTeX interprets the \char numbers... OTOH, > this is a workaround: mkiv is unicode so \char point to a unicode point > doesn't use any of those, so I'm saved for today, but will be back in > a few weeks when I need the other stuff as well... \definedfont[name:TeXGyreHeros-Regular] \otfchar{uni0323} % 803 ? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Fri, 4 Jan 2008 18:03:28 +0100 "Thomas A. Schmitz" <[EMAIL PROTECTED]> wrote: > > On Jan 4, 2008, at 5:15 PM, Hans Hagen wrote: > > > doesn't \char work? > > Depends... fontforge tells me what I'm looking for is, e.g., character > 803 in TeXGyreHeros-Regular, so I tried this: > > \starttypescript[serif][greeksymbols][name] > \definefontsynonym [Serif] [name:TeXGyreHeros-Regular] > [features=default] > \stoptypescript > \starttypescript[GreekSymbols] > \definetypeface [GreekSymbols] [rm] [serif] [greeksymbols] [default] > \stoptypescript > > \usetypescript[GreekSymbols] > > \define{\anglebracketleft}% > {\bgroup\switchtobodyfont[GreekSymbols]\char803\egroup} > > I tried several numbers, and get some symbols from TeXGyreHeros, but I > haven't yet found out how luaTeX interprets the \char numbers... OTOH, > this is a workaround: It interprets the numbers in the same way as TeX. > \define{\anglebracketleft}% > {\bgroup\switchtobodyfont[GreekSymbols]〈\egroup} What you're looking for is "ANGLE BRACKET, RIGHT-POINTING". > but will obviously only work for symbols that are defined in Unicode, > so nothing in the "private" Unicode area. My presentation next week > doesn't use any of those, so I'm saved for today, but will be back in > a few weeks when I need the other stuff as well... The following should work. % engine=luatex \definecharacter anglebracketleft \char"2329 \definecharacter anglebracketright \char"232A \starttext text \anglebracketleft text\anglebracketright\ text \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 4, 2008, at 5:15 PM, Hans Hagen wrote: > doesn't \char work? > Depends... fontforge tells me what I'm looking for is, e.g., character 803 in TeXGyreHeros-Regular, so I tried this: \starttypescript[serif][greeksymbols][name] \definefontsynonym [Serif] [name:TeXGyreHeros-Regular] [features=default] \stoptypescript \starttypescript[GreekSymbols] \definetypeface [GreekSymbols] [rm] [serif] [greeksymbols] [default] \stoptypescript \usetypescript[GreekSymbols] \define{\anglebracketleft}% {\bgroup\switchtobodyfont[GreekSymbols]\char803\egroup} I tried several numbers, and get some symbols from TeXGyreHeros, but I haven't yet found out how luaTeX interprets the \char numbers... OTOH, this is a workaround: \define{\anglebracketleft}% {\bgroup\switchtobodyfont[GreekSymbols]〈\egroup} but will obviously only work for symbols that are defined in Unicode, so nothing in the "private" Unicode area. My presentation next week doesn't use any of those, so I'm saved for today, but will be back in a few weeks when I need the other stuff as well... Thanks Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
Thomas A. Schmitz wrote: > On Jan 2, 2008, at 2:04 PM, Thomas A. Schmitz wrote: > >> On Jan 2, 2008, at 12:42 PM, Hans Hagen wrote: >> >>> \startencoding[default] >>> >>> probably still works (may change in favor of virtual fonts) >> Thanks Hans, but nope, doesn't work. The font is found and used (I get >> glyphs for "normal" characters such as numbers), but the special >> characters just disappear from the output. >> >> Thomas > > Hmm, this is something I need for a presentation next week, so can I > ask again: how can I address arbitrary symbols in luaTeX? There has to > be some way, right? I'm also quite willing to look into the luaTeX way > of constructing a virtual font (I need some metrical and some math > symbols which I want to take from a different font), but I'm not sure > if there's any example out there how to do this. doesn't \char work? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 2, 2008, at 2:04 PM, Thomas A. Schmitz wrote: > > On Jan 2, 2008, at 12:42 PM, Hans Hagen wrote: > >> \startencoding[default] >> >> probably still works (may change in favor of virtual fonts) > > Thanks Hans, but nope, doesn't work. The font is found and used (I get > glyphs for "normal" characters such as numbers), but the special > characters just disappear from the output. > > Thomas Hmm, this is something I need for a presentation next week, so can I ask again: how can I address arbitrary symbols in luaTeX? There has to be some way, right? I'm also quite willing to look into the luaTeX way of constructing a virtual font (I need some metrical and some math symbols which I want to take from a different font), but I'm not sure if there's any example out there how to do this. Thanks! Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 2, 2008, at 12:42 PM, Hans Hagen wrote: > \startencoding[default] > > probably still works (may change in favor of virtual fonts) Thanks Hans, but nope, doesn't work. The font is found and used (I get glyphs for "normal" characters such as numbers), but the special characters just disappear from the output. Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
Thomas A. Schmitz wrote: > Hi all, > > first, a very happy new year 2008 to all of you! May ConTeXt continue > to prosper and develop at a brisk pace :-) > > What better way to start the new year than asking a stupid question on > the list? Here comes: I must be missing something really obvious here. > I have a font (otf) with a number of (metrical) symbols which I use in > a module. In mkii, I defined an encoding within this module to address > the symbols: > > \startencoding[metr] > \definecharacter metricbreve 66 > \stopencoding > > so I can use the symbold with \metricbreve. Works great in mkii. But > how do I do this in mkiv, which doesn't seem to read and use the > encoding anymore? \startencoding[default] probably still works (may change in favor of virtual fonts) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] symbols in luatex?
Hi all, first, a very happy new year 2008 to all of you! May ConTeXt continue to prosper and develop at a brisk pace :-) What better way to start the new year than asking a stupid question on the list? Here comes: I must be missing something really obvious here. I have a font (otf) with a number of (metrical) symbols which I use in a module. In mkii, I defined an encoding within this module to address the symbols: \startencoding[metr] \definecharacter metricbreve 66 \stopencoding so I can use the symbold with \metricbreve. Works great in mkii. But how do I do this in mkiv, which doesn't seem to read and use the encoding anymore? All best Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Symbols
Taco Hoekwater wrote: > Bernd Militzer wrote: > >> Hi all! >> in the past the following testfile works >> but now >> > > These two lines in your preamble should fix the problem: > >\definefontsynonym[fmvr8x][umvs] >\loadmapline[+][umvs MarVoSym > is there a fix needed in source files? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Symbols
Taco Hoekwater schrieb: > These two lines in your preamble should fix the problem: > >\definefontsynonym[fmvr8x][umvs] >\loadmapline[+][umvs MarVoSym > thanks, Bernd ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Symbols
Bernd Militzer wrote: > Hi all! > in the past the following testfile works > but now These two lines in your preamble should fix the problem: \definefontsynonym[fmvr8x][umvs] \loadmapline[+][umvs MarVoSym http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Symbols
Hi all! in the past the following testfile works but now ! Font \thedefinedfont=fmvr8x at 12.0pt not loadable: Metric (TFM) file not fou nd. \scaledfont \symbolicsizedfont ...ntfontbodyscale \scaledfont \thedefinedfont \getglyph #1#2->{\symbolicfont {#1} \doifnumberelse {#2}\char \donothing #2} \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \donormalsymbol ... {#1}{#2}{\dodosymbol {#1}{#2}} \else \edef \currentsymbol... l.20 ...n\dots\ \symbol[martinvogel 2][Telephone] % TEST \enableregime[il2] \mainlanguage[de] \setupencoding[default=texnansi] \usetypescript[modern][\defaultencoding] \setupbodyfont[modern,rm,12pt] % \starttext % Telephon\dots\ \symbol[martinvogel 2][Telephone] % \stoptext What have I to do? thanks for help Bernd ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] symbols in context
Hello all! I would like to know how I type the symbol in math mode that in LaTeX is written by $\mathcal{A}$. Thanks in advance Gonçalo IPLNet WebMail http://www.mail.ipl.pt "Campus Virtual" do IPL - Aguarda aprovação! http://www.net.ipl.pt/index.html#WIRELESS ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] symbols in CONTEXT
On Mon, Jul 14, 2003 at 05:09:34PM +0100, Gonçalo Morais wrote: > > I used to use in LaTeX the symbol with the code \mathbb{R} for representing > the set of real numbers. I would like to know how can I do it when I am > using CONTEXT. \Bbb{R} -- Eckhart ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] symbols in CONTEXT
I used to use in LaTeX the symbol with the code \mathbb{R} for representing the set of real numbers. I would like to know how can I do it when I am using CONTEXT. Thanks Gonçalo IPLNet WebMail http://www.mail.ipl.pt "Campus Virtual" do IPL - Aguarda aprovação! http://www.net.ipl.pt/index.html#WIRELESS ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context