Re: [NTG-context] bold small caps

2023-04-03 Thread Pablo Rodriguez via ntg-context
On 4/3/23 09:07, Peter Münster via ntg-context wrote:
> Hi,
> 
> I'm quite sure, that this worked some time ago with the standard font (LM):

I had the same impression, Peter.

But LM fonts don‘t have the OT feature smcp:

  \setuppapersize[A8]
  \starttext
  \doloopoverlist{lm, pagella, termes, heros}
  {\setupbodyfont[\recursestring]
  \feature[+][smallcaps]
  smcp {\bf smcp}
  \feature[-][smallcaps]
  smcp {\bf smcp}}
  \stoptext

Just in case it makes it clearer,

Pablo
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] bold small caps

2023-04-03 Thread Hans Hagen via ntg-context

On 4/3/2023 9:07 AM, Peter Münster via ntg-context wrote:

Hi,

I'm quite sure, that this worked some time ago with the standard font (LM):

\setff{smallcaps} Normal and \bf bold Small Caps.
(See also https://wiki.contextgarden.net/Bold_small_caps).

But it does not work with the latest ConTeXt version.

How could I get bold small caps with the latest version please?

TIA for any hints,

best use a font that has smallcaps (otherwise use pseudocaps \cap{..} etc)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] bold small caps

2023-04-03 Thread Peter Münster via ntg-context
Hi,

I'm quite sure, that this worked some time ago with the standard font (LM):

\setff{smallcaps} Normal and \bf bold Small Caps.
(See also https://wiki.contextgarden.net/Bold_small_caps).

But it does not work with the latest ConTeXt version.

How could I get bold small caps with the latest version please?

TIA for any hints,
-- 
   Peter
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Bold small caps

2014-05-23 Thread Mojca Miklavec
Hi,

I always forget how to use bold or italic small caps (I keep mixing
addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be
nice if simply
{\sc Normal and \bf Bold Small Caps} or
{\bf\sc Bold Small Caps}
would work out-of-the-box.

The first hit on the wiki was
http://wiki.contextgarden.net/Bold_small_caps
which contained just the MKII example. I added a MKIV example
{\setff{smallcaps} Normal and \bf bold Small Caps.}
but the problem is that this example only works with put any font
name here except for the default Latin Modern setup.

Would it make sense to fix this for the default LM setup as well?

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] Bold small caps

2014-05-23 Thread Wolfgang Schuster

Am 23.05.2014 um 17:55 schrieb Mojca Miklavec mojca.miklavec.li...@gmail.com:

 Hi,
 
 I always forget how to use bold or italic small caps (I keep mixing
 addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be
 nice if simply
{\sc Normal and \bf Bold Small Caps} or
{\bf\sc Bold Small Caps}
 would work out-of-the-box.
 
 The first hit on the wiki was
http://wiki.contextgarden.net/Bold_small_caps
 which contained just the MKII example. I added a MKIV example
{\setff{smallcaps} Normal and \bf bold Small Caps.}
 but the problem is that this example only works with put any font
 name here except for the default Latin Modern setup.
 
 Would it make sense to fix this for the default LM setup as well?

This need to be done by the font designers because Latin Modern
uses a separate font for the small capitals and the \setff (better use
\feature) has no effect in this case.

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] Bold small caps

2014-05-23 Thread Mojca Miklavec
On Fri, May 23, 2014 at 6:11 PM, Wolfgang Schuster wrote:
 Am 23.05.2014 um 17:55 schrieb Mojca Miklavec:

 Would it make sense to fix this for the default LM setup as well?

 This need to be done by the font designers because Latin Modern
 uses a separate font for the small capitals and the \setff (better use
 \feature) has no effect in this case.

For some reason I thought that they did both (supported all the small
cap glyphs as well as released a separate font).

But now I remembered that LM doesn't have bold small caps at all.

But apart from fixing the font: would creating some kind of a virtual
font with small cap glyphs taken from the other small cap font(s)
(where they exist) be feasible/doable? From what I see there are four
small caps fonts: regular and italic for both the roman and typewriter
style. No bold and no sans.

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] Bold small caps

2014-05-23 Thread Hans Hagen

On 5/23/2014 5:55 PM, Mojca Miklavec wrote:

Hi,

I always forget how to use bold or italic small caps (I keep mixing
addff/setff and smcp/+smcp/smallcaps etc.). In ideal world it could be
nice if simply
 {\sc Normal and \bf Bold Small Caps} or
 {\bf\sc Bold Small Caps}
would work out-of-the-box.

The first hit on the wiki was
 http://wiki.contextgarden.net/Bold_small_caps
which contained just the MKII example. I added a MKIV example
 {\setff{smallcaps} Normal and \bf bold Small Caps.}
but the problem is that this example only works with put any font
name here except for the default Latin Modern setup.

Would it make sense to fix this for the default LM setup as well?


I don't know .. I'd rather see lm shipped with the smallcaps in the 
regular font instead of separate.


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] Bold small caps

2014-05-23 Thread Hans Hagen

On 5/23/2014 6:46 PM, Mojca Miklavec wrote:

On Fri, May 23, 2014 at 6:11 PM, Wolfgang Schuster wrote:

Am 23.05.2014 um 17:55 schrieb Mojca Miklavec:


Would it make sense to fix this for the default LM setup as well?


This need to be done by the font designers because Latin Modern
uses a separate font for the small capitals and the \setff (better use
\feature) has no effect in this case.


For some reason I thought that they did both (supported all the small
cap glyphs as well as released a separate font).

But now I remembered that LM doesn't have bold small caps at all.

But apart from fixing the font: would creating some kind of a virtual
font with small cap glyphs taken from the other small cap font(s)
(where they exist) be feasible/doable? From what I see there are four
small caps fonts: regular and italic for both the roman and typewriter
style. No bold and no sans.


I wonder what the gyre folks would answer if we ask for proper embedding 
of smallcaps ...


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
___


[NTG-context] Bold Small Caps

2013-06-25 Thread Malte Stien
Hello,

I am trying for bold small caps, such like

  {\bf This is bold {\sc and bold small caps} and just bold again}

However, out of the box, the inner {\sc ...} part is not typeset in bold. So 
after a bit of looking I found this:

  http://wiki.contextgarden.net/Bold_small_caps

But it does not work for me. I noticed the module 
(http://pmrb.free.fr/work/OS/ConTeXt/) is from 2006, so the bit rot might have 
set in. Should it still work? Or is there a better way these days?

Thank you,
Malte.


--
“The Electric Monk was a labour-saving device, like a dishwasher or a video 
recorder... Electric Monks believed things for you, thus saving you what was 
becoming an increasingly onerous task, that of believing all the things the 
world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

___
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] Bold Small Caps

2013-06-25 Thread Wolfgang Schuster

Am 25.06.2013 um 14:59 schrieb Malte Stien ma...@stien.de:

 Hello,
 
 I am trying for bold small caps, such like
 
  {\bf This is bold {\sc and bold small caps} and just bold again}
 
 However, out of the box, the inner {\sc ...} part is not typeset in bold. So 
 after a bit of looking I found this:
 
  http://wiki.contextgarden.net/Bold_small_caps
 
 But it does not work for me. I noticed the module 
 (http://pmrb.free.fr/work/OS/ConTeXt/) is from 2006, so the bit rot might 
 have set in. Should it still work? Or is there a better way these days?


When you have a opentype font with bold smallcaps you can enable them with the 
\feature command:

\setupbodyfont[pagella]

\starttext
{\bf This is bold {\feature[+][f:smallcaps] and bold small caps} and just bold 
again}
\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Bold Small Caps

2013-06-25 Thread Malte Stien
Wolfgang,

Thank you. However, I am getting an undefined control sequence here:

l.4 {\bf This is bold {\feature
   [+][f:smallcaps] and bold small caps} and jus...

However, the wiki page http://wiki.contextgarden.net/Featuresets confirms your 
syntax. What am I missing?

Regards,
Malte.


--
“The Electric Monk was a labour-saving device, like a dishwasher or a video 
recorder... Electric Monks believed things for you, thus saving you what was 
becoming an increasingly onerous task, that of believing all the things the 
world expected you to believe.”

― Douglas Adams, Dirk Gently's Holistic Detective Agency

On 25/06/2013, at 11:08 PM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 25.06.2013 um 14:59 schrieb Malte Stien ma...@stien.de:
 
 Hello,
 
 I am trying for bold small caps, such like
 
 {\bf This is bold {\sc and bold small caps} and just bold again}
 
 However, out of the box, the inner {\sc ...} part is not typeset in bold. So 
 after a bit of looking I found this:
 
 http://wiki.contextgarden.net/Bold_small_caps
 
 But it does not work for me. I noticed the module 
 (http://pmrb.free.fr/work/OS/ConTeXt/) is from 2006, so the bit rot might 
 have set in. Should it still work? Or is there a better way these days?
 
 
 When you have a opentype font with bold smallcaps you can enable them with 
 the \feature command:
 
 \setupbodyfont[pagella]
 
 \starttext
 {\bf This is bold {\feature[+][f:smallcaps] and bold small caps} and just 
 bold again}
 \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  : 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] Bold Small Caps

2013-06-25 Thread Sietse Brouwer
Malte wrote:
 Thank you. However, I am getting an undefined control sequence here:

 l.4 {\bf This is bold {\feature
[+][f:smallcaps] and bold small caps} and 
 jus...

 However, the wiki page http://wiki.contextgarden.net/Featuresets
 confirms your syntax. What am I missing?

The version you are using? The `\feature[+][...]` syntax has been
around only since about March 2013; before that you had to use
`\addfeature[...]`. Does that explain the error you're getting?

Cheers,
Sietse
___
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] bold small caps

2010-12-15 Thread Hans Hagen

On 12-12-2010 8:39, Peter Münster wrote:

On Sun, Dec 12 2010, Wolfgang Schuster wrote:


\unexpanded\def\sc{\doifelsecurrentfonthasfeature{smcp}{\addfs{smcp}}\normalsc}


Nice!  Hans, what about integration into the core?


when it works out ok, I'm sure that wolfgang and I will look into it

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] bold small caps

2010-12-13 Thread Marco
On 2010-12-12 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:

  Maybe it is possible that the \sc macro can check if the font contains the
  small caps as a feature. Is there a switch like
  \doiffontfeatureexists{smcp}{...}?
 
 \startluacode
 function commands.doifelsecurrentfonthasfeature(name)
 local f = fonts.identifiers[font.current()]
 f = f and f.shared
 f = f and f.otfdata
 f = f and f.luatex
 f = f and f.features
 commands.doifelse(f and (f.gpos[name] or f.gsub[name]))
 end
 \stopluacode
 
 \def\doifelsecurrentfonthasfeature#1%
   {\ctxlua{commands.doifelsecurrentfonthasfeature(#1)}}
 
 \let\normalsc\sc
 \definefontfeature[smcp][smcp=yes]
 \definefontfeature[latn][script=latn]
 
 \unexpanded\def\sc{\doifelsecurrentfonthasfeature{smcp}{\addfs{smcp}}\normalsc}
 
 \starttext
 
 \tf text \sc text
 
 \switchtobodyfont[cambria]\addfs{latn} % cambria needs the latin script for
 smallcaps
 
 \tf text \addfs{smcp} text
 
 \switchtobodyfont[modern]
 
 \tf text \sc text
 
 \stoptext
That's a nice piece of code! Thanks for your effort.

Marco


___
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] bold small caps

2010-12-12 Thread Wolfgang Schuster

Am 12.12.2010 um 00:12 schrieb Peter Münster:

 On Sat, Dec 11 2010, Florian Wobbe wrote:
 
 {\setff{smallcaps} SmallCaps {\bf BoldCaps}}
 
 Hello,
 
 Thanks! What's the difference between \sc and \setff{smallcaps}?

By default \sc switch to a different font like \it or \bf but now
with opentype fonts smallcaps are a part of many fonts which can
be enabled with the smcp feature.

 Could something like \def\sc{\setff{smallcaps}} in the preamble harm
 in any way?

I would change this to

\definefontfeature[smcp][mode=node,smcp=yes]

\unexpanded\def\sc{\addfs{smcp}}

 Depending on your answers, I would perhaps request to trigger
 \setff{smallcaps} by \sc in the core.

Can be a problem because we have font (e.g. Latin Modern) where
smallcaps are still in a separate file.

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] bold small caps

2010-12-12 Thread Marco
On 2010-12-12 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:

  Depending on your answers, I would perhaps request to trigger
  \setff{smallcaps} by \sc in the core.
 
 Can be a problem because we have font (e.g. Latin Modern) where
 smallcaps are still in a separate file.
So the user has to know in which fashion the small caps were created, as font
feature or in a seperate file. That's not very convenient. When the user
switches to another font it may break the document, since he has to change the
\setff{smallcaps} to \sc.

Maybe it is possible that the \sc macro can check if the font contains the
small caps as a feature. Is there a switch like
\doiffontfeatureexists{smcp}{...}? I have the following logic in mind:

1) Check if small caps are a font feature, if not
2) check if small caps are in a seperate font, if not
3) fake them.


Regards
Marco


___
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] bold small caps

2010-12-12 Thread Wolfgang Schuster

Am 12.12.2010 um 16:22 schrieb Marco:

 On 2010-12-12 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
 
 Depending on your answers, I would perhaps request to trigger
 \setff{smallcaps} by \sc in the core.
 
 Can be a problem because we have font (e.g. Latin Modern) where
 smallcaps are still in a separate file.
 So the user has to know in which fashion the small caps were created, as font
 feature or in a seperate file. That's not very convenient. When the user
 switches to another font it may break the document, since he has to change the
 \setff{smallcaps} to \sc.
 
 Maybe it is possible that the \sc macro can check if the font contains the
 small caps as a feature. Is there a switch like
 \doiffontfeatureexists{smcp}{...}? I have the following logic in mind:
 
 1) Check if small caps are a font feature, if not
 2) check if small caps are in a seperate font, if not
 3) fake them.

\startluacode
function commands.doifelsecurrentfonthasfeature(name)
local f = fonts.identifiers[font.current()]
f = f and f.shared
f = f and f.otfdata
f = f and f.luatex
f = f and f.features
commands.doifelse(f and (f.gpos[name] or f.gsub[name]))
end
\stopluacode

\def\doifelsecurrentfonthasfeature#1%
  {\ctxlua{commands.doifelsecurrentfonthasfeature(#1)}}

\let\normalsc\sc
\definefontfeature[smcp][smcp=yes]
\definefontfeature[latn][script=latn]

\unexpanded\def\sc{\doifelsecurrentfonthasfeature{smcp}{\addfs{smcp}}\normalsc}

\starttext

\tf text \sc text

\switchtobodyfont[cambria]\addfs{latn} % cambria needs the latin script for 
smallcaps

\tf text \addfs{smcp} text

\switchtobodyfont[modern]

\tf text \sc 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bold small caps

2010-12-12 Thread Peter Münster
On Sun, Dec 12 2010, Wolfgang Schuster wrote:
 
 \unexpanded\def\sc{\doifelsecurrentfonthasfeature{smcp}{\addfs{smcp}}\normalsc}

Nice!  Hans, what about integration into the core?
Thanks Wolfgang!
Peter

-- 
Contact information: http://pmrb.free.fr/contact/
___
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] bold small caps

2010-12-11 Thread Peter Münster
Hello,

Is there a font in the minimals with bold small caps? I've tried lm and some
tex-gyre fonts, but no success so far...

Test file:

\setupbodyfont[???]
\starttext
{\sc\bf Test} or {\bf\sc Test} should give bold small caps...
\stoptext

http://wiki.contextgarden.net/Pseudo_Small_Caps seems to apply only to mkii.

TIA for any help!
Peter

-- 
Contact information: http://pmrb.free.fr/contact/
___
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] bold small caps

2010-12-11 Thread Florian Wobbe
On Dec 11, 2010, at 23:40 , Peter Münster wrote:

 Hello,
 
 Is there a font in the minimals with bold small caps? I've tried lm and some
 tex-gyre fonts, but no success so far...
 
 Test file:
 
 \setupbodyfont[???]
 \starttext
 {\sc\bf Test} or {\bf\sc Test} should give bold small caps...
 \stoptext

Hi, this should work:

\setupbodyfont[pagella]

\starttext
{\setff{smallcaps} SmallCaps {\bf BoldCaps}}
\stoptext

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] bold small caps

2010-12-11 Thread Peter Münster
On Sat, Dec 11 2010, Florian Wobbe wrote:

 {\setff{smallcaps} SmallCaps {\bf BoldCaps}}

Hello,

Thanks! What's the difference between \sc and \setff{smallcaps}?

Could something like \def\sc{\setff{smallcaps}} in the preamble harm
in any way?

Depending on your answers, I would perhaps request to trigger
\setff{smallcaps} by \sc in the core.

Peter

-- 
Contact information: http://pmrb.free.fr/contact/
___
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] bold small caps with latin modern

2008-11-19 Thread Peter Münster
On Tue, Nov 18 2008, Wolfgang Schuster wrote:

 On Tue, Nov 18 2008, Yue Wang wrote:

 you should apply a font feature to bold font.

 This is nonsense, the smallcaps for latin modern are
 a separate font like they had been in computer modern,
 trying to access them with font feature is useless.

 Besides this smallcaps are only available for the upright
 and the italic style but not for the bold.

What a pity...

With MKII and texlive, I could do this:

\definebodyfont[15pt,14pt,13pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt]
[sc] [bf=cmbcsc10 sa 1, tf=cmcsc10 sa 1]
\pdfpkresolution=1200
\starttext
\sc Normal and \bf bold Small Caps.
\stoptext

But there seems to be no possibility to use bitmap fonts in the minimals.

Once, I've heard about workarounds, for example getting bold by double
printing with some displacement. Would this be possible?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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] bold small caps with latin modern

2008-11-19 Thread Mojca Miklavec
On Wed, Nov 19, 2008 at 9:20 AM, Peter Münster wrote:

 But there seems to be no possibility to use bitmap fonts in the minimals.

Almost-on-purpose decision. (You can still add some binaries to
minimals yourself.)

 Once, I've heard about workarounds, for example getting bold by double
 printing with some displacement. Would this be possible?

Not by displacement, but you can use \starteffect[outer] in both mkii
and mkiv or some embolden option in XeTeX.

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] bold small caps with latin modern

2008-11-18 Thread Peter Münster
On Tue, Nov 18 2008, Yue Wang wrote:

 you should apply a font feature to bold font.

Oh! Cool! Thank you, Yue, you really help!
:-D

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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] bold small caps with latin modern

2008-11-17 Thread Peter Münster
Hello

Is it possible to get bold small caps with latin modern and MKIV, and if
yes, how?
I would like to get working this example file:

\starttext
\sc Normal and \bf bold Small Caps.
\stoptext

Thanks in advance for any help, Peter

-- 
http://pmrb.free.fr/contact/

___
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] bold small caps with latin modern

2008-11-17 Thread Yue Wang
you should apply a font feature to bold font.

On Tue, Nov 18, 2008 at 4:07 AM, Peter Münster [EMAIL PROTECTED] wrote:
 Hello

 Is it possible to get bold small caps with latin modern and MKIV, and if
 yes, how?
 I would like to get working this example file:

 \starttext
 \sc Normal and \bf bold Small Caps.
 \stoptext

 Thanks in advance for any help, Peter

 --
 http://pmrb.free.fr/contact/

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

___
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] bold small caps

2004-01-09 Thread Peter Mnster
Hello,
I just tried the Latin Modern font, but there are no bold small caps
available, as in the EC fonts. Is it possible to add EC support to ConTeXt?
TIA for any hint, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context