* some small questions @ 2006-01-07 13:05 Peter Münster 2006-01-07 13:52 ` Alan Bowen [not found] ` <6faad9f00601070531o5660fe3bgc378d090ae1dcaf7@mail.gmail.com> 0 siblings, 2 replies; 10+ messages in thread From: Peter Münster @ 2006-01-07 13:05 UTC (permalink / raw) Hello, here comes a repost of some still unsolved (at least for me) questions: - What is the best way, to get never the serif version of the euro, only the sans? Test file: \usemodule[symb-eur] \useregime[il9] \enableregime[il9] \starttext bla € bla \stoptext - What is the right syntax to get "hz,normal" ? I tried \setupfonthandling[highquality] and \setupalign[hanging,hz] but these two commands don't seem to change anything. Test file: \starttext \input tufte \setupfonthandling[highquality] \setupalign[hanging,hz] \input tufte \stoptext TIA for any help! Cheers, Peter -- http://pmrb.free.fr/contact/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-07 13:05 some small questions Peter Münster @ 2006-01-07 13:52 ` Alan Bowen 2006-01-07 14:10 ` Peter Münster [not found] ` <6faad9f00601070531o5660fe3bgc378d090ae1dcaf7@mail.gmail.com> 1 sibling, 1 reply; 10+ messages in thread From: Alan Bowen @ 2006-01-07 13:52 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 1131 bytes --] Peter— On your second question, I use \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] and place this in the preamble before the particular fonts are introduced/defined, Alan On Jan 7, 2006, at 8:05 AM, Peter Münster wrote: > Hello, > here comes a repost of some still unsolved (at least for me) > questions: > - What is the best way, to get never the serif version of the euro, > only the > sans? > Test file: > \usemodule[symb-eur] \useregime[il9] \enableregime[il9] > \starttext > bla € bla > \stoptext > > - What is the right syntax to get "hz,normal" ? > I tried \setupfonthandling[highquality] and \setupalign[hanging,hz] > but > these two commands don't seem to change anything. Test file: > > \starttext > \input tufte > > \setupfonthandling[highquality] > \setupalign[hanging,hz] > \input tufte > \stoptext > > TIA for any help! > Cheers, Peter > > -- > http://pmrb.free.fr/contact/ > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context [-- Attachment #1.2: Type: text/html, Size: 4798 bytes --] [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-07 13:52 ` Alan Bowen @ 2006-01-07 14:10 ` Peter Münster 2006-01-07 15:30 ` Alan Bowen 0 siblings, 1 reply; 10+ messages in thread From: Peter Münster @ 2006-01-07 14:10 UTC (permalink / raw) On Sat, 7 Jan 2006, Alan Bowen wrote: > On your second question, I use > \usetypescript[serif,sans,mono,mm][hanging][normal] > \setupalign[hz,hanging] > and place this in the preamble before the particular fonts are > introduced/defined, Could you please send a minimal example? I tried \starttext \input tufte \stoptext and \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] \starttext \input tufte \stoptext But I see no difference... Cheers, Peter -- http://pmrb.free.fr/contact/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-07 14:10 ` Peter Münster @ 2006-01-07 15:30 ` Alan Bowen 2006-01-07 19:11 ` Peter Münster 0 siblings, 1 reply; 10+ messages in thread From: Alan Bowen @ 2006-01-07 15:30 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 1723 bytes --] Peter— You must put \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] before you define the font. In your example, these commands are coming after the default is identified. This means that if you want to get margin kerning and so forth with Latin Modern, you must actually re-specify Latin Modern. In your preamble, try %%%% Margin Kerning and Font Expansion \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] \setupfootnotes[align={hz,hanging}] % install Latin Modern % we must install margin kerning before the font is loaded: since Computer Modern is % loaded before our definitions, we must load it again \usetypescript [all] [latin-modern] [texnansi] \setupbodyfont[reset] \definebodyfont [10.5pt,9.5pt] [rm,ss,tt,mm] [default] \setupbodyfont[lm,10.5pt] This works for me. I hope it does for you too. Cheers, Alan On Jan 7, 2006, at 9:10 AM, Peter Münster wrote: > On Sat, 7 Jan 2006, Alan Bowen wrote: > >> On your second question, I use >> \usetypescript[serif,sans,mono,mm][hanging][normal] >> \setupalign[hz,hanging] >> and place this in the preamble before the particular fonts are >> introduced/defined, > > Could you please send a minimal example? > I tried > > \starttext > \input tufte > \stoptext > > and > > \usetypescript[serif,sans,mono,mm][hanging][normal] > \setupalign[hz,hanging] > \starttext > \input tufte > \stoptext > > But I see no difference... > Cheers, Peter > > -- > http://pmrb.free.fr/contact/ > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context [-- Attachment #1.2: Type: text/html, Size: 6345 bytes --] [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-07 15:30 ` Alan Bowen @ 2006-01-07 19:11 ` Peter Münster 2006-01-07 19:43 ` Peter Münster 0 siblings, 1 reply; 10+ messages in thread From: Peter Münster @ 2006-01-07 19:11 UTC (permalink / raw) On Sat, 7 Jan 2006, Alan Bowen wrote: > \usetypescript[serif,sans,mono,mm][hanging][normal] > \setupalign[hz,hanging] > \setupfootnotes[align={hz,hanging}] > > \usetypescript [all] [latin-modern] [texnansi] > \setupbodyfont[reset] > \definebodyfont [10.5pt,9.5pt] [rm,ss,tt,mm] [default] > \setupbodyfont[lm,10.5pt] Hello Alan, thanks for this example, yes it works now! I played a bit with your command-lines and found, that \usetypescript[all]... and \setupbodyfont[reset] are not needed. I understand serif, sans and mono, but what is "mm" ? Now I understand, why hz and hanging are not default: compile time is even longer now! ;-) Cheers, Peter -- http://pmrb.free.fr/contact/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-07 19:11 ` Peter Münster @ 2006-01-07 19:43 ` Peter Münster 0 siblings, 0 replies; 10+ messages in thread From: Peter Münster @ 2006-01-07 19:43 UTC (permalink / raw) On Sat, 7 Jan 2006, Peter Münster wrote: > I understand serif, sans and mono, but what is "mm" ? Ok, I asked too fast... Seems to be math! Cheers, Peter -- http://pmrb.free.fr/contact/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <6faad9f00601070531o5660fe3bgc378d090ae1dcaf7@mail.gmail.com>]
* Re: some small questions [not found] ` <6faad9f00601070531o5660fe3bgc378d090ae1dcaf7@mail.gmail.com> @ 2006-01-08 8:01 ` Peter Münster 2006-01-08 8:18 ` Peter Münster 0 siblings, 1 reply; 10+ messages in thread From: Peter Münster @ 2006-01-08 8:01 UTC (permalink / raw) Cc: ConTeXt list On Sat, 7 Jan 2006, Mojca Miklavec wrote: > Just a question: how is the symbol that you get if you compile > \starttext > \texteuro > \stoptext > on live.contextgarden.net? Hello Mojca, the symbol is "sans". Here a better example, to show what I want: \usemodule[symb-eur] \def\SomeEuros{\blank[small] normal \texteuro, {\sl slanted \texteuro}, {\bf bold \texteuro}, {\bs bold slanted \texteuro} {\tt tt \texteuro}, {\bf\tt bold tt \texteuro}} \starttext \ss here some sans euros: \SomeEuros \blank[big] \rm and here I want the same (sans, but they are serif): \SomeEuros \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-08 8:01 ` Peter Münster @ 2006-01-08 8:18 ` Peter Münster 2006-01-09 10:59 ` Mojca Miklavec 0 siblings, 1 reply; 10+ messages in thread From: Peter Münster @ 2006-01-08 8:18 UTC (permalink / raw) On Sun, 8 Jan 2006, Peter Münster wrote: > \usemodule[symb-eur] > \def\SomeEuros{\blank[small] normal \texteuro, {\sl slanted \texteuro}, > {\bf bold \texteuro}, {\bs bold slanted \texteuro} > {\tt tt \texteuro}, {\bf\tt bold tt \texteuro}} > \starttext > \ss here some sans euros: \SomeEuros \blank[big] > \rm and here I want the same (sans, but they are serif): \SomeEuros > \stoptext Of course, I can do \let\texteuroO\texteuro \def\texteuro{{\ss\texteuroO}} the question is just: what is the ConTeXt-way to do it. Cheers, Peter -- http://pmrb.free.fr/contact/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-08 8:18 ` Peter Münster @ 2006-01-09 10:59 ` Mojca Miklavec 2006-01-14 17:29 ` Peter Münster 0 siblings, 1 reply; 10+ messages in thread From: Mojca Miklavec @ 2006-01-09 10:59 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 1958 bytes --] On 1/8/06, Peter Münster wrote: > On Sun, 8 Jan 2006, Peter Münster wrote: > > > \usemodule[symb-eur] > > \def\SomeEuros{\blank[small] normal \texteuro, {\sl slanted \texteuro}, > > {\bf bold \texteuro}, {\bs bold slanted \texteuro} > > {\tt tt \texteuro}, {\bf\tt bold tt \texteuro}} > > \starttext > > \ss here some sans euros: \SomeEuros \blank[big] > > \rm and here I want the same (sans, but they are serif): \SomeEuros > > \stoptext > > Of course, I can do > \let\texteuroO\texteuro > \def\texteuro{{\ss\texteuroO}} > the question is just: what is the ConTeXt-way to do it. I don't have the fonts that are used by symb-eur, so I can't test your file, but my guess is that: - if you only want the official euro symbol, don't even load the package (but euro may not fit well with the font you're using) - if you would like to keep slanted/bold version of the font and if symb-eur satisfies your needs except that you want the sans version, one possibility is to rewrite the package: A long version is to change: \definefontsynonym [EuroSerif] [eurose] \definefontsynonym [EuroSerifBold] [euroseb] \definefontsynonym [EuroSerifItalic] [eurosei] \definefontsynonym [EuroSerifSlanted] [eurosei] \definefontsynonym [EuroSerifBoldItalic] [eurosebi] \definefontsynonym [EuroSerifBoldSlanted] [eurosebi] into: \definefontsynonym [EuroSerif] [EuroSans] \definefontsynonym [EuroSerifBold] [EuroSansBold] \definefontsynonym [EuroSerifItalic] [EuroSansItalic] \definefontsynonym [EuroSerifSlanted] [EuroSansSlanted] \definefontsynonym [EuroSerifBoldItalic] [EuroSansBoldItalic] \definefontsynonym [EuroSerifBoldSlanted] [EuroSansBoldSlanted] An alternative to the command you provided (but with the same functionality and approximately just as long as yours): % \startencoding[default] % don't know if this is needed or not \definecharacter texteuro {{\ss\symbol[euro]}} % \stopencoding Mojca [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some small questions 2006-01-09 10:59 ` Mojca Miklavec @ 2006-01-14 17:29 ` Peter Münster 0 siblings, 0 replies; 10+ messages in thread From: Peter Münster @ 2006-01-14 17:29 UTC (permalink / raw) On Mon, 9 Jan 2006, Mojca Miklavec wrote: > \definecharacter texteuro {{\ss\symbol[euro]}} Yes, this is nice! Thanks, Peter -- http://pmrb.free.fr/contact/ ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-01-14 17:29 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-01-07 13:05 some small questions Peter Münster 2006-01-07 13:52 ` Alan Bowen 2006-01-07 14:10 ` Peter Münster 2006-01-07 15:30 ` Alan Bowen 2006-01-07 19:11 ` Peter Münster 2006-01-07 19:43 ` Peter Münster [not found] ` <6faad9f00601070531o5660fe3bgc378d090ae1dcaf7@mail.gmail.com> 2006-01-08 8:01 ` Peter Münster 2006-01-08 8:18 ` Peter Münster 2006-01-09 10:59 ` Mojca Miklavec 2006-01-14 17:29 ` Peter Münster
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).