ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* url: subscripts not displayed
@ 2011-11-24 12:07 Paul Menzel
  2011-11-24 12:31 ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Menzel @ 2011-11-24 12:07 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 907 bytes --]

Dear ConTeXt folks,


using

    ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.24  int: english/english

in the following “minimal” example the subscript in H₂O Books is not
displayed in the *URL*.

        \setupinteraction[state=start]
        
        % Define \Site[id][url]{description} to put in a clickable link
        % with footnoted URL
        \def\Site[#1][#2]#3{\useURL[#1][#2][][#3]\from[#1]\footnote[#1]{\tt\hyphenatedurl{#2}}}
        
        \setupbibtex[database=bib]
        \starttext
        Everybody should read the \MetaFun\ manual \cite{hh2010}. Buy it at \Site[h2obooks][http://www.h2o-books.com/]{H₂O Books}.
        
        I like \Site[context][http://www.contextgarden.net]{\ConTeXt}. This sentence has a footnote.\footnote{This is a footnote.}
        
        \completepublications[criterium=all]
        \stoptext


Thanks,

Paul

[-- Attachment #1.1.2: bib.bib --]
[-- Type: text/x-bibtex, Size: 181 bytes --]

@BOOK{hh2010,
  title = {MetaFun manual},
  year = 2010,
  month = 10,
  isbn = {978-94-90688-02-8},
  author = {Hans Hagen},
  publisher = {H₂O Books},
  pages = 375,
}

[-- Attachment #1.1.3: coloring-references.pdf --]
[-- Type: application/pdf, Size: 24103 bytes --]

[-- Attachment #1.1.4: coloring-references.tex --]
[-- Type: text/x-tex, Size: 555 bytes --]

\setupinteraction[state=start]

% Define \Site[id][url]{description} to put in a clickable link
% with footnoted URL
\def\Site[#1][#2]#3{\useURL[#1][#2][][#3]\from[#1]\footnote[#1]{\tt\hyphenatedurl{#2}}}

\setupbibtex[database=bib]
\starttext
Everybody should read the \MetaFun\ manual \cite{hh2010}. Buy it at \Site[h2obooks][http://www.h2o-books.com/]{H₂O Books}.

I like \Site[context][http://www.contextgarden.net]{\ConTeXt}. This sentence has a footnote.\footnote{This is a footnote.}

\completepublications[criterium=all]
\stoptext

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 9+ messages in thread

* Re: url: subscripts not displayed
  2011-11-24 12:07 url: subscripts not displayed Paul Menzel
@ 2011-11-24 12:31 ` Wolfgang Schuster
  2011-11-24 12:43   ` Fonts with subscripts (was: url: subscripts not displayed) Paul Menzel
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-11-24 12:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.11.2011 um 13:07 schrieb Paul Menzel:

> Dear ConTeXt folks,
> 
> 
> using
> 
>    ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.24  int: english/english
> 
> in the following “minimal” example the subscript in H₂O Books is not
> displayed in the *URL*.


It’s not in the font:

\starttext
H₂O Books
\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
___________________________________________________________________________________

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

* Fonts with subscripts (was: url: subscripts not displayed)
  2011-11-24 12:31 ` Wolfgang Schuster
@ 2011-11-24 12:43   ` Paul Menzel
  2011-11-24 13:30     ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Menzel @ 2011-11-24 12:43 UTC (permalink / raw)
  To: ntg-context


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

Am Donnerstag, den 24.11.2011, 13:31 +0100 schrieb Wolfgang Schuster:
> Am 24.11.2011 um 13:07 schrieb Paul Menzel:

> > using
> > 
> >    ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.24  int: english/english
> > 
> > in the following “minimal” example the subscript in H₂O Books is not
> > displayed in the *URL*.
> 
> It’s not in the font:
> 
> \starttext
> H₂O Books
> \stoptext

Thank you again. And I am sorry that I always forget about that.

It is also not in XITS.

Neither

        \setupbodyfont[xits]

or

        \setupbodyfont[euler]

or

        \usetypescript[palatino] \setupbodyfont[palatino,10pt,rm]

worked. Is there a font having subscripts included?


Thanks,

Paul

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 9+ messages in thread

* Re: Fonts with subscripts (was: url: subscripts not displayed)
  2011-11-24 12:43   ` Fonts with subscripts (was: url: subscripts not displayed) Paul Menzel
@ 2011-11-24 13:30     ` Wolfgang Schuster
  2011-11-24 13:48       ` [solved] Fonts with subscripts Paul Menzel
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-11-24 13:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Paul Menzel


Am 24.11.2011 um 13:43 schrieb Paul Menzel:

> Am Donnerstag, den 24.11.2011, 13:31 +0100 schrieb Wolfgang Schuster:
>> Am 24.11.2011 um 13:07 schrieb Paul Menzel:
> 
>>> using
>>> 
>>>   ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.24  int: english/english
>>> 
>>> in the following “minimal” example the subscript in H₂O Books is not
>>> displayed in the *URL*.
>> 
>> It’s not in the font:
>> 
>> \starttext
>> H₂O Books
>> \stoptext
> 
> Thank you again. And I am sorry that I always forget about that.
> 
> It is also not in XITS.
> 
> Neither
> 
>        \setupbodyfont[xits]
> 
> or
> 
>        \setupbodyfont[euler]
> 
> or
> 
>        \usetypescript[palatino] \setupbodyfont[palatino,10pt,rm]
> 
> worked. Is there a font having subscripts included?

\def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}

\starttext
\ShowSubscript[dejavu]
\ShowSubscript[antykwa-torunska]
\ShowSubscript[antykwa-poltawskiego]
\ShowSubscript[iwona]
\ShowSubscript[cambria]
\ShowSubscript[libertine]
\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
___________________________________________________________________________________

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

* Re: [solved] Fonts with subscripts
  2011-11-24 13:30     ` Wolfgang Schuster
@ 2011-11-24 13:48       ` Paul Menzel
  2011-11-24 13:56         ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Menzel @ 2011-11-24 13:48 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 681 bytes --]

Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster:
> Am 24.11.2011 um 13:43 schrieb Paul Menzel:

[…]

> Is there a font having subscripts included?
> 
> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
> 
> \starttext
> \ShowSubscript[dejavu]
> \ShowSubscript[antykwa-torunska]
> \ShowSubscript[antykwa-poltawskiego]
> \ShowSubscript[iwona]
> \ShowSubscript[cambria]
> \ShowSubscript[libertine]
> \stoptext

Nice! So in this set only cambria and libertine cannot display
subscripts. (Please find the output attached.)

        ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.24  int: english/english


Thanks,

Paul

[-- Attachment #1.1.2: showsubscript.tex --]
[-- Type: text/x-tex, Size: 260 bytes --]

\def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}

\starttext
\ShowSubscript[dejavu]
\ShowSubscript[antykwa-torunska]
\ShowSubscript[antykwa-poltawskiego]
\ShowSubscript[iwona]
\ShowSubscript[cambria]
\ShowSubscript[libertine]
\stoptext

[-- Attachment #1.1.3: showsubscript.pdf --]
[-- Type: application/pdf, Size: 27593 bytes --]

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 9+ messages in thread

* Re: [solved] Fonts with subscripts
  2011-11-24 13:48       ` [solved] Fonts with subscripts Paul Menzel
@ 2011-11-24 13:56         ` Wolfgang Schuster
  2011-11-24 14:03           ` Wolfgang Schuster
  2011-11-24 14:09           ` Paul Menzel
  0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2011-11-24 13:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]


Am 24.11.2011 um 14:48 schrieb Paul Menzel:

> Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster:
>> Am 24.11.2011 um 13:43 schrieb Paul Menzel:
> 
> […]
> 
>> Is there a font having subscripts included?
>> 
>> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
>> 
>> \starttext
>> \ShowSubscript[dejavu]
>> \ShowSubscript[antykwa-torunska]
>> \ShowSubscript[antykwa-poltawskiego]
>> \ShowSubscript[iwona]
>> \ShowSubscript[cambria]
>> \ShowSubscript[libertine]
>> \stoptext
> 
> Nice! So in this set only cambria and libertine cannot display
> subscripts. (Please find the output attached.)


No, I get subscripts for all listed fonts but it’s possible we use different versions of the them.

Wolfgang

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 43651 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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] 9+ messages in thread

* Re: [solved] Fonts with subscripts
  2011-11-24 13:56         ` Wolfgang Schuster
@ 2011-11-24 14:03           ` Wolfgang Schuster
  2011-11-24 14:09           ` Paul Menzel
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2011-11-24 14:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.11.2011 um 14:56 schrieb Wolfgang Schuster:

> 
> Am 24.11.2011 um 14:48 schrieb Paul Menzel:
> 
>> Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster:
>>> Am 24.11.2011 um 13:43 schrieb Paul Menzel:
>> 
>> […]
>> 
>>> Is there a font having subscripts included?
>>> 
>>> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
>>> 
>>> \starttext
>>> \ShowSubscript[dejavu]
>>> \ShowSubscript[antykwa-torunska]
>>> \ShowSubscript[antykwa-poltawskiego]
>>> \ShowSubscript[iwona]
>>> \ShowSubscript[cambria]
>>> \ShowSubscript[libertine]
>>> \stoptext
>> 
>> Nice! So in this set only cambria and libertine cannot display
>> subscripts. (Please find the output attached.)
> 
> 
> No, I get subscripts for all listed fonts but it’s possible we use different versions of the them.

Mine are:

Linux Libertine O Regular: Version 4.6.5
Cambria Regular: 5.97

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
___________________________________________________________________________________

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

* Re: [solved] Fonts with subscripts
  2011-11-24 13:56         ` Wolfgang Schuster
  2011-11-24 14:03           ` Wolfgang Schuster
@ 2011-11-24 14:09           ` Paul Menzel
  2011-11-24 15:12             ` Christian
  1 sibling, 1 reply; 9+ messages in thread
From: Paul Menzel @ 2011-11-24 14:09 UTC (permalink / raw)
  To: ntg-context


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

Am Donnerstag, den 24.11.2011, 14:56 +0100 schrieb Wolfgang Schuster:
> Am 24.11.2011 um 14:48 schrieb Paul Menzel:
> 
> > Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster:
> >> Am 24.11.2011 um 13:43 schrieb Paul Menzel:
> > 
> > […]
> > 
> >> Is there a font having subscripts included?
> >> 
> >> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
> >> 
> >> \starttext
> >> \ShowSubscript[dejavu]
> >> \ShowSubscript[antykwa-torunska]
> >> \ShowSubscript[antykwa-poltawskiego]
> >> \ShowSubscript[iwona]
> >> \ShowSubscript[cambria]
> >> \ShowSubscript[libertine]
> >> \stoptext
> > 
> > Nice! So in this set only cambria and libertine cannot display
> > subscripts. (Please find the output attached.)
> 
> No, I get subscripts for all listed fonts but it’s possible we use different versions of the them.

Even more trivial. I do not have Cambria installed and Libertine is also
not found although I have the Debian package (fonts-linuxlibertine,
5.1.3-1) installed. I guess I need to update the cache somehow.


Thanks,

Paul

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 9+ messages in thread

* Re: [solved] Fonts with subscripts
  2011-11-24 14:09           ` Paul Menzel
@ 2011-11-24 15:12             ` Christian
  0 siblings, 0 replies; 9+ messages in thread
From: Christian @ 2011-11-24 15:12 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

> > > Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster:
> > >> Am 24.11.2011 um 13:43 schrieb Paul Menzel:
> > >
> > > […]
> > >
> > >> Is there a font having subscripts included?
> > >>
> > >> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
> > >>
> > >> \starttext
> > >> \ShowSubscript[dejavu]
> > >> \ShowSubscript[antykwa-torunska]
> > >> \ShowSubscript[antykwa-poltawskiego]
> > >> \ShowSubscript[iwona]
> > >> \ShowSubscript[cambria]
> > >> \ShowSubscript[libertine]
> > >> \stoptext
> > >
> > > Nice! So in this set only cambria and libertine cannot display
> > > subscripts. (Please find the output attached.)
> >
> > No, I get subscripts for all listed fonts but it’s possible we use different
> versions of the them.
> 
> Even more trivial. I do not have Cambria installed and Libertine is also not
> found although I have the Debian package (fonts-linuxlibertine,
> 5.1.3-1) installed. I guess I need to update the cache somehow.
> 
> 
> Thanks,
> 
> Paul

Just a note: There is also an Opentype feature called "scientific inferiors", for example in Libertine. The "subscript" glyph you are looking for is called 'two.inferior' and can be accessed via this feature.

___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2011-11-24 15:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 12:07 url: subscripts not displayed Paul Menzel
2011-11-24 12:31 ` Wolfgang Schuster
2011-11-24 12:43   ` Fonts with subscripts (was: url: subscripts not displayed) Paul Menzel
2011-11-24 13:30     ` Wolfgang Schuster
2011-11-24 13:48       ` [solved] Fonts with subscripts Paul Menzel
2011-11-24 13:56         ` Wolfgang Schuster
2011-11-24 14:03           ` Wolfgang Schuster
2011-11-24 14:09           ` Paul Menzel
2011-11-24 15:12             ` Christian

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