[NTG-context] Fonts... bold smallcaps

2015-10-08 Thread Willi Egger
Hi all,

sorry for bothering you with this.

I have a font Seravek-Regular.otf and Seravek-Bold.otf. It is actually my 
company font.

Now I needed to use bold-smallcaps. But I can not get it working, though 
otfinfo tells, that in the bold font there are smallcaps

In my typescript file I have the following two lines, from which the Regular 
variant works perfectly well.

 \definefontsynonym [SansCaps]  [Seravek-Regular]
[features=smallcaps]
 \definefontsynonym [SansBoldCaps]  [Seravek-Bold]   
[features=smallcaps]

I tried to get bold smallcaps with \bf\sc but without success.

Can anyone point me what to do?

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
___

[NTG-context] Windows GUI installer

2015-10-08 Thread Vya. Y.
Hi,

Wiki http://wiki.contextgarden.net/Windows_Installation leads to
http://minimals.contextgarden.net/setup/context-installer/ which is 404 Not
Found now. Whom should I contact to return my Windows installer to Web
again?

Regards,
Vaytcheslav Yatskovsky
___
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] Fonts... bold smallcaps

2015-10-08 Thread Wolfgang Schuster

Willi Egger 
8. Oktober 2015 um 11:40
Hi all,

sorry for bothering you with this.

I have a font Seravek-Regular.otf and Seravek-Bold.otf. It is actually 
my company font.


Now I needed to use bold-smallcaps. But I can not get it working, 
though otfinfo tells, that in the bold font there are smallcaps


In my typescript file I have the following two lines, from which the 
Regular variant works perfectly well.


\definefontsynonym [SansCaps] [Seravek-Regular] [features=smallcaps]
\definefontsynonym [SansBoldCaps] [Seravek-Bold] [features=smallcaps]

I tried to get bold smallcaps with \bf\sc but without success.

Can anyone point me what to do?

\bf\setsmallcaps

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] Fonts... bold smallcaps

2015-10-08 Thread Taco Hoekwater

> On 08 Oct 2015, at 12:09, Wolfgang Schuster  
> wrote:
> 
>> Willi Egger  8. Oktober 2015 um 11:40
>> Hi all,
>> 
>> sorry for bothering you with this.
>> 
>> I have a font Seravek-Regular.otf and Seravek-Bold.otf. It is actually my 
>> company font.
>> 
>> Now I needed to use bold-smallcaps. But I can not get it working, though 
>> otfinfo tells, that in the bold font there are smallcaps
>> 
>> In my typescript file I have the following two lines, from which the Regular 
>> variant works perfectly well.
>> 
>> \definefontsynonym [SansCaps] [Seravek-Regular] [features=smallcaps]
>> \definefontsynonym [SansBoldCaps] [Seravek-Bold] [features=smallcaps]
>> 
>> I tried to get bold smallcaps with \bf\sc but without success.

SansBoldCaps does not have a ‘short form’, afaik.

>> Can anyone point me what to do?
> \bf\setsmallcaps

(or \let\sc\setsmallcaps, somewhere in the setup section, which is what I 
usually do).

Note that this method does not need nor use the SansCaps and SansBoldCaps 
synonyms in the typescript, and that it only works for well-behaved opentype 
fonts. Oh, and it may give you italic smallcaps, something the old ’SansCaps’ 
based method never did.

Best wishes,
Taco



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \reference and \setupinteraction[focus=...] not working

2015-10-08 Thread Christoph Reller
Hi everybody,

An even more minimal example

\setupinteraction[state=start,focus=standard] % <- defect
%\setupinteraction[state=start, focus=fit]% <- works
\starttext
  \reference[tuf]{Tufte}
  \input tufte
  \page
  \about[tuf].
\stoptext

The resulting PDF has an annotation that points to a named destination
"(tuf)". But "Names" in the PDF root contains then key "(#1)" and a correct
destination as value. It is only the key in the Names tree that is wrong.

Unfortunately, I cannot locate the code where this is written (maybe
strc-ref.lua?).

Any help is welcome.

Regards,
Christoph

On Fri, Sep 18, 2015 at 11:25 AM,  wrote:

> Send ntg-context mailing list submissions to
> ntg-context@ntg.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
> ntg-context-requ...@ntg.nl
>
> You can reach the person managing the list at
> ntg-context-ow...@ntg.nl
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
>
>
> Today's Topics:
>
>1. Re: comparing strings (Wolfgang Schuster)
>2. Re: suppress header-footers (Wolfgang Schuster)
>3. Re: comparing strings (Pablo Rodriguez)
>4. Re: formatting of reference links (Henning Hraban Ramm)
>5. Re: \reference and \setupinteraction[focus=...] not   working
>   (Christoph Reller)
>6. Re: formatting of reference links (Wolfgang Schuster)
>
>
> --
>
> Message: 1
> Date: Thu, 17 Sep 2015 19:26:45 +0200
> From: Wolfgang Schuster 
> To: mailing list for ConTeXt users 
> Subject: Re: [NTG-context] comparing strings
> Message-ID: <55faf7d5.8080...@gmail.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> > Pablo Rodriguez 
> > 17. September 2015 18:47
> > Dear list,
> >
> > I have the following sample:
> >
> > \startluacode
> > function document.gouppercase(str)
> > tex.print(str:upper())
> > end
> > \stopluacode
> >
> > \unexpanded\def\MyUpper#1%
> > {\ctxlua{document.gouppercase("#1")}}
> >
> > \starttext
> > \doif{\MyUpper{adfalkjfaeñf}}{\MyUpper{aDFAlkjfaeñf}}{equal}{unequal}
> >
> > \ctxlua{if string.upper("adfalkjfaeñf") == string.upper("aDFAlkjfaeñf")
> > then tex.print("equal") else tex.print("unequal") end}
> > \stoptext
> >
> > Why are are the first two strings unequal?
> You can’t use a unexpandable (which you created with \unexpanded) in
> ConTeXts \doifXXX commands.
>
> PS. You need \doifelse and not \doif.
>
> Wolfgang
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://www.ntg.nl/pipermail/ntg-context/attachments/20150917/d9453cc7/attachment-0001.html
> >
>
> --
>
> Message: 2
> Date: Thu, 17 Sep 2015 19:29:20 +0200
> From: Wolfgang Schuster 
> To: mailing list for ConTeXt users 
> Subject: Re: [NTG-context] suppress header-footers
> Message-ID: <55faf870.1020...@gmail.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> > Pablo Rodriguez 
> > 17. September 2015 17:55
> >
> > Many thanks for your reply, Wolfgang.
> >
> > I thought that blank implied the how the next page would look like, but
> > not the insertion of a new page.
> The blank keyword doesn’t insert a new page, it sets only a flag which
> hides all page backgrounds
> (colors, overlays or headers) on the given page but the flag lasts only
> for a single page.
>
> Wolfgang
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://www.ntg.nl/pipermail/ntg-context/attachments/20150917/4381038e/attachment-0001.html
> >
>
> --
>
> Message: 3
> Date: Thu, 17 Sep 2015 19:51:14 +0200
> From: Pablo Rodriguez 
> To: mailing list for ConTeXt users 
> Subject: Re: [NTG-context] comparing strings
> Message-ID: <55fafd92.10...@gmx.es>
> Content-Type: text/plain; charset=utf-8
>
> On 09/17/2015 07:26 PM, Wolfgang Schuster wrote:
> >> Pablo Rodriguez 17. September 2015 18:47
> >> [...]
> >> \unexpanded\def\MyUpper#1%
> >> {\ctxlua{document.gouppercase("#1")}}
> >>
> >> \starttext
> >> \doif{\MyUpper{adfalkjfaeñf}}{\MyUpper{aDFAlkjfaeñf}}{equal}{unequal}
> >>
> >> Why are are the first two strings unequal?
> >
> > You can’t use a unexpandable (which you created with \unexpanded) in
> > ConTeXts \doifXXX commands.
>
> Many thanks for your reply, Wolfgang.
>
> I see. I thought it was better to add \unexpanded before a pure \def.
>
> Is it \unexpaded required before a \def with more than one argument?
>
> (Sorry, but expansion is a concept which I’m not familiar with.)
>
> > PS. You need \doifelse and not \doif.
>
> I realized this too 

Re: [NTG-context] chapter numbering

2015-10-08 Thread Wolfgang Schuster

Meer, Hans van der 
8. Oktober 2015 um 12:13
The reference manual explains that one can set individual numbers on a 
chapter:

\setuphead[subsection][ownnumber=yes]
\subsection{399}{The old number}

So I tried \setuphead[chapter][ownnumber=yes] but then I am in the 
dark how to use this.
The reference manual (september 2013 -- latest?) was of no help 
because it does treat \chapter but not yet explains \startchapter. 
Neither did the ConTeXt Commands (July 2015 version) offer me I clue.


I tried \startchapter[number=6] but this doesn't work.
How to?
You need \setuphead[chapter][ownnumber=yes] only when you want to use 
the \chapter command but not when you use \startchapter.


\starttext

\startchapter[title=Knuth]
\input knuth
\stopchapter

\startchapter[title=Zapf,ownnumber=11]
\input zapf
\stopchapter

\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] Fonts... bold smallcaps

2015-10-08 Thread Willi Egger
Wolfgang and Taco,

thank you for this!

Tac, the font Seravek I have is a bought font from processtype.

Willi
> On 8 okt. 2015, at 12:24, Taco Hoekwater  wrote:
> 
>> 
>> On 08 Oct 2015, at 12:09, Wolfgang Schuster  
>> wrote:
>> 
>>> Willi Egger  8. Oktober 2015 um 11:40
>>> Hi all,
>>> 
>>> sorry for bothering you with this.
>>> 
>>> I have a font Seravek-Regular.otf and Seravek-Bold.otf. It is actually my 
>>> company font.
>>> 
>>> Now I needed to use bold-smallcaps. But I can not get it working, though 
>>> otfinfo tells, that in the bold font there are smallcaps
>>> 
>>> In my typescript file I have the following two lines, from which the 
>>> Regular variant works perfectly well.
>>> 
>>> \definefontsynonym [SansCaps] [Seravek-Regular] [features=smallcaps]
>>> \definefontsynonym [SansBoldCaps] [Seravek-Bold] [features=smallcaps]
>>> 
>>> I tried to get bold smallcaps with \bf\sc but without success.
> 
> SansBoldCaps does not have a ‘short form’, afaik.
> 
>>> Can anyone point me what to do?
>> \bf\setsmallcaps
> 
> (or \let\sc\setsmallcaps, somewhere in the setup section, which is what I 
> usually do).
> 
> Note that this method does not need nor use the SansCaps and SansBoldCaps 
> synonyms in the typescript, and that it only works for well-behaved opentype 
> fonts. Oh, and it may give you italic smallcaps, something the old ’SansCaps’ 
> based method never did.
> 
> Best wishes,
> Taco
> 
> 
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

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