ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Antykwa Toruńska and dashes
@ 2010-03-11 20:21 Philipp Gesang
  2010-03-12  7:24 ` Taco Hoekwater
  2010-03-12  8:09 ` zs
  0 siblings, 2 replies; 8+ messages in thread
From: Philipp Gesang @ 2010-03-11 20:21 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 730 bytes --]

Hi again,


when using Antykwa Toruńska I have problems getting dashes rights.
Example:

-0<----------------------------------------------------------------------------

\usetypescript[antykwa-torunska]
\setupbodyfont[antykwa]

\starttext
asdf -- adsf\par
asdf --- adsf\par
asdf--asdf\par
asdf---asdf\par
\stoptext

-0<----------------------------------------------------------------------------

In output here (MkIV as of yesterday) the double/triple dashes are not
concatenated to en/em dashes.  Everything works fine with latin modern,
schola, bonum etc.

What's wrong?


Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Antykwa Toruńska and dashes
  2010-03-11 20:21 Antykwa Toruńska and dashes Philipp Gesang
@ 2010-03-12  7:24 ` Taco Hoekwater
  2010-03-12  7:49   ` Philipp Gesang
  2010-03-12  8:09 ` zs
  1 sibling, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2010-03-12  7:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Philipp Gesang wrote:
> Hi again,
> 
> 
> when using Antykwa Toruńska I have problems getting dashes rights.
> Example:
> 
> -0<----------------------------------------------------------------------------
> 
> \usetypescript[antykwa-torunska]
> \setupbodyfont[antykwa]
> 
> \starttext
> asdf -- adsf\par
> asdf --- adsf\par
> asdf--asdf\par
> asdf---asdf\par
> \stoptext
> 
> -0<----------------------------------------------------------------------------
> 
> In output here (MkIV as of yesterday) the double/triple dashes are not
> concatenated to en/em dashes.  Everything works fine with latin modern,
> schola, bonum etc.
> 
> What's wrong?

The reason is that Antykwa Torunska has an actual opentype feature
to do the 'TeX ligatures': tlig. Those same ligatures in the other fonts
are faked by lua code. Here is the solution:

   \definefontfeature[default]  [default]
      [mode=node,script=latn,tlig=yes]
   \usetypescript[antykwa-torunska]
   \setupbodyfont[antykwa]

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Antykwa Toruńska and dashes
  2010-03-12  7:24 ` Taco Hoekwater
@ 2010-03-12  7:49   ` Philipp Gesang
  0 siblings, 0 replies; 8+ messages in thread
From: Philipp Gesang @ 2010-03-12  7:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1840 bytes --]

On 2010-03-12 <08:24:26>, Taco Hoekwater wrote:
> Philipp Gesang wrote:
> >Hi again,
> >
> >
> >when using Antykwa Toruńska I have problems getting dashes rights.
> >Example:
> >
> >-0<----------------------------------------------------------------------------
> >
> >\usetypescript[antykwa-torunska]
> >\setupbodyfont[antykwa]
> >
> >\starttext
> >asdf -- adsf\par
> >asdf --- adsf\par
> >asdf--asdf\par
> >asdf---asdf\par
> >\stoptext
> >
> >-0<----------------------------------------------------------------------------
> >
> >In output here (MkIV as of yesterday) the double/triple dashes are not
> >concatenated to en/em dashes.  Everything works fine with latin modern,
> >schola, bonum etc.
> >
> >What's wrong?
> 
> The reason is that Antykwa Torunska has an actual opentype feature
> to do the 'TeX ligatures': tlig. Those same ligatures in the other fonts
> are faked by lua code. Here is the solution:
> 
>   \definefontfeature[default]  [default]
>      [mode=node,script=latn,tlig=yes]
>   \usetypescript[antykwa-torunska]
>   \setupbodyfont[antykwa]

Seems I haven't got accustomed to The Progress yet; thanks!

Philipp


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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Antykwa Toruńska and dashes
  2010-03-11 20:21 Antykwa Toruńska and dashes Philipp Gesang
  2010-03-12  7:24 ` Taco Hoekwater
@ 2010-03-12  8:09 ` zs
  2010-03-12  8:29   ` Philipp Gesang
  1 sibling, 1 reply; 8+ messages in thread
From: zs @ 2010-03-12  8:09 UTC (permalink / raw)
  To: ntg-context


Try using directly unicode characters:
–	2013 - en dash
—	2014 - em dash

Regards

Zdenek


On Thu, 11 Mar 2010 21:21:23 +0100
Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> wrote:

> Hi again,
> 
> 
> when using Antykwa Toruńska I have problems getting dashes rights.
> Example:
> 
> -0<----------------------------------------------------------------------------
> 
> \usetypescript[antykwa-torunska]
> \setupbodyfont[antykwa]
> 
> \starttext
> asdf -- adsf\par
> asdf --- adsf\par
> asdf--asdf\par
> asdf---asdf\par
> \stoptext
> 
> -0<----------------------------------------------------------------------------
> 
> In output here (MkIV as of yesterday) the double/triple dashes are not
> concatenated to en/em dashes.  Everything works fine with latin modern,
> schola, bonum etc.
> 
> What's wrong?
> 
> 
> Philipp
> 
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Antykwa Toruńska and dashes
  2010-03-12  8:09 ` zs
@ 2010-03-12  8:29   ` Philipp Gesang
  2010-03-12 10:32     ` zs
  0 siblings, 1 reply; 8+ messages in thread
From: Philipp Gesang @ 2010-03-12  8:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1828 bytes --]

Ahoj Zdeňku,


On 2010-03-12 <09:09:02>, zs wrote:
> Try using directly unicode characters:
> –	2013 - en dash
> —	2014 - em dash
Believe me, my keyboard layout is overfull with stuff and it's already
hard to find suitable places for punctuation; thus I welcome the
original TeX notation.

Zdravím


Philipp

> 
> Regards
> 
> Zdenek
> 
> 
> On Thu, 11 Mar 2010 21:21:23 +0100
> Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> wrote:
> 
> > Hi again,
> > 
> > 
> > when using Antykwa Toruńska I have problems getting dashes rights.
> > Example:
> > 
> > -0<----------------------------------------------------------------------------
> > 
> > \usetypescript[antykwa-torunska]
> > \setupbodyfont[antykwa]
> > 
> > \starttext
> > asdf -- adsf\par
> > asdf --- adsf\par
> > asdf--asdf\par
> > asdf---asdf\par
> > \stoptext
> > 
> > -0<----------------------------------------------------------------------------
> > 
> > In output here (MkIV as of yesterday) the double/triple dashes are not
> > concatenated to en/em dashes.  Everything works fine with latin modern,
> > schola, bonum etc.
> > 
> > What's wrong?
> > 
> > 
> > Philipp
> > 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Antykwa Toruńska and dashes
  2010-03-12  8:29   ` Philipp Gesang
@ 2010-03-12 10:32     ` zs
  2010-03-12 11:25       ` luigi scarso
  2010-03-12 22:31       ` Philipp Gesang
  0 siblings, 2 replies; 8+ messages in thread
From: zs @ 2010-03-12 10:32 UTC (permalink / raw)
  To: ntg-context


... Do you speak Czech???

OK, I understand, but anyway copy/pasting may be sometimes the good way for typing characters you don't have on keyboard. I made wikipage for this purpose: wiki.contextgarden.net/Symbols/utf8

It seems like you use linux, try pressing <shift><ctrl>u2013 to type 'en dash' nearly anywhere.


Tschüs 

Zdeněk


On Fri, 12 Mar 2010 09:29:07 +0100
Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> wrote:

> Ahoj Zdeňku,
> 
> 
> On 2010-03-12 <09:09:02>, zs wrote:
> > Try using directly unicode characters:
> > –	2013 - en dash
> > —	2014 - em dash  
> Believe me, my keyboard layout is overfull with stuff and it's already
> hard to find suitable places for punctuation; thus I welcome the
> original TeX notation.
> 
> Zdravím
> 
> 
> Philipp
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Antykwa Toruńska and dashes
  2010-03-12 10:32     ` zs
@ 2010-03-12 11:25       ` luigi scarso
  2010-03-12 22:31       ` Philipp Gesang
  1 sibling, 0 replies; 8+ messages in thread
From: luigi scarso @ 2010-03-12 11:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Mar 12, 2010 at 11:32 AM, zs <zstryhal@physics.ujep.cz> wrote:
>
> ... Do you speak Czech???
>
> OK, I understand, but anyway copy/pasting may be sometimes the good way for typing characters you don't have on keyboard. I made wikipage for this purpose: wiki.contextgarden.net/Symbols/utf8

1) I think we should include in minimals a file of such kind in utf8 encoding

2) utf8 is a name of a particular encoding of Unicode (actually luatex
manage only utf8) .
It should be better something like wiki.contextgarden.net/Symbols/unicode
(but symbols are a subset of unicode so it's not perfect either)

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Antykwa Toruńska and dashes
  2010-03-12 10:32     ` zs
  2010-03-12 11:25       ` luigi scarso
@ 2010-03-12 22:31       ` Philipp Gesang
  1 sibling, 0 replies; 8+ messages in thread
From: Philipp Gesang @ 2010-03-12 22:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1794 bytes --]

On 2010-03-12 <11:32:07>, zs wrote:
> 
> ... Do you speak Czech???

Jistě!

> OK, I understand, but anyway copy/pasting may be sometimes the good way for typing characters you don't have on keyboard. I made wikipage for this purpose: wiki.contextgarden.net/Symbols/utf8
Btw there was a non-critical error on the page: a missing ‘v’ in
“uvozovky”.

> It seems like you use linux, try pressing <shift><ctrl>u2013 to type 'en dash' nearly anywhere.
True, but as <ctrl>-u deletes the entire line the tradeoff for just one
character may be a bit drastic.  Anyways, thanks for the suggestion.

> Tschüs 
>
> Zdeněk

Gruß,

Philipp


> 
> 
> 
> On Fri, 12 Mar 2010 09:29:07 +0100
> Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> wrote:
> 
> > Ahoj Zdeňku,
> > 
> > 
> > On 2010-03-12 <09:09:02>, zs wrote:
> > > Try using directly unicode characters:
> > > –	2013 - en dash
> > > —	2014 - em dash  
> > Believe me, my keyboard layout is overfull with stuff and it's already
> > hard to find suitable places for punctuation; thus I welcome the
> > original TeX notation.
> > 
> > Zdravím
> > 
> > 
> > Philipp
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-12 22:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11 20:21 Antykwa Toruńska and dashes Philipp Gesang
2010-03-12  7:24 ` Taco Hoekwater
2010-03-12  7:49   ` Philipp Gesang
2010-03-12  8:09 ` zs
2010-03-12  8:29   ` Philipp Gesang
2010-03-12 10:32     ` zs
2010-03-12 11:25       ` luigi scarso
2010-03-12 22:31       ` Philipp Gesang

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).