ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TTF fonts and MKIV
@ 2011-01-28 21:39 John Culleton
  2011-01-28 21:52 ` Marco Pessotto
  2011-01-29  5:42 ` David Rogers
  0 siblings, 2 replies; 15+ messages in thread
From: John Culleton @ 2011-01-28 21:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Is there a short, simple guide somewhere that shows how to use TTF and 
OTF fonts in Context? I downloaded the new Fonts chapter but it goes 
deep into the weeds on typescripts etc.  I am looking for a method 
that allows me to do in Context what I can already do in most other 
DTP programs: simply designate for use a font or font family that 
exists in /usr/share/fonts without typescripts, complex and confusing 
aliasing schemes or tfm files. 


-- 
John Culleton
Create Book Covers with Scribus:
http://www.booklocker.com/p/books/4055.html
Typesetting and indexing http://wexfordpress.com
book sales http://wexfordpress.net
Free  barcode: http://www.tux.org/~milgram/bookland/

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

* Re: TTF fonts and MKIV
  2011-01-28 21:39 TTF fonts and MKIV John Culleton
@ 2011-01-28 21:52 ` Marco Pessotto
  2011-01-29 16:53   ` John Culleton
  2011-01-29  5:42 ` David Rogers
  1 sibling, 1 reply; 15+ messages in thread
From: Marco Pessotto @ 2011-01-28 21:52 UTC (permalink / raw)
  To: ntg-context

John Culleton <john@wexfordpress.com> writes:

> Is there a short, simple guide somewhere that shows how to use TTF and 
> OTF fonts in Context? I downloaded the new Fonts chapter but it goes 
> deep into the weeds on typescripts etc.  I am looking for a method 
> that allows me to do in Context what I can already do in most other 
> DTP programs: simply designate for use a font or font family that 
> exists in /usr/share/fonts without typescripts, complex and confusing 
> aliasing schemes or tfm files. 

http://wiki.contextgarden.net/Fonts_in_LuaTex


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


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

* Re: TTF fonts and MKIV
  2011-01-28 21:39 TTF fonts and MKIV John Culleton
  2011-01-28 21:52 ` Marco Pessotto
@ 2011-01-29  5:42 ` David Rogers
  2011-01-29  8:55   ` Wolfgang Schuster
  1 sibling, 1 reply; 15+ messages in thread
From: David Rogers @ 2011-01-29  5:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

* John Culleton <john@wexfordpress.com> [2011-01-28 16:39]:

>Is there a short, simple guide somewhere that shows how to use TTF and
>OTF fonts in Context? I downloaded the new Fonts chapter but it goes
>deep into the weeds on typescripts etc.  I am looking for a method
>that allows me to do in Context what I can already do in most other
>DTP programs: simply designate for use a font or font family that
>exists in /usr/share/fonts without typescripts, complex and confusing
>aliasing schemes or tfm files.


The Simplefont module by Wolfgang Schuster is very good for my (not
highly demanding) purposes. Certainly it is intended to do just what you
describe.

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

* Re: TTF fonts and MKIV
  2011-01-29  5:42 ` David Rogers
@ 2011-01-29  8:55   ` Wolfgang Schuster
  2011-01-29  9:17     ` John Haltiwanger
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2011-01-29  8:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.01.2011 um 06:42 schrieb David Rogers:

> * John Culleton <john@wexfordpress.com> [2011-01-28 16:39]:
> 
>> Is there a short, simple guide somewhere that shows how to use TTF and
>> OTF fonts in Context? I downloaded the new Fonts chapter but it goes
>> deep into the weeds on typescripts etc.  I am looking for a method
>> that allows me to do in Context what I can already do in most other
>> DTP programs: simply designate for use a font or font family that
>> exists in /usr/share/fonts without typescripts, complex and confusing
>> aliasing schemes or tfm files.
> 
> The Simplefont module by Wolfgang Schuster is very good for my (not
> highly demanding) purposes. Certainly it is intended to do just what you
> describe.

Or you use \definetypeface and specserif, specsans and specmono, e.g.

\definetypeface[mainface][rm][specserif][Times New Roman][default]
\definetypeface[mainface][ss][specsans] [Arial]          [default]
\definetypeface[mainface][tt][specmono] [Courier]        [default]
\definetypeface[mainface][mm][math]     [times]          [default]

\setupbodyfont[mainface]

\starttext
…
\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] 15+ messages in thread

* Re: TTF fonts and MKIV
  2011-01-29  8:55   ` Wolfgang Schuster
@ 2011-01-29  9:17     ` John Haltiwanger
  2011-01-29  9:46       ` Hans Hagen
  2011-01-29  9:51       ` Wolfgang Schuster
  0 siblings, 2 replies; 15+ messages in thread
From: John Haltiwanger @ 2011-01-29  9:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Sat, Jan 29, 2011 at 9:55 AM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

>
> Am 29.01.2011 um 06:42 schrieb David Rogers:
>
> > * John Culleton <john@wexfordpress.com> [2011-01-28 16:39]:
> >
> >> Is there a short, simple guide somewhere that shows how to use TTF and
> >> OTF fonts in Context? I downloaded the new Fonts chapter but it goes
> >> deep into the weeds on typescripts etc.  I am looking for a method
> >> that allows me to do in Context what I can already do in most other
> >> DTP programs: simply designate for use a font or font family that
> >> exists in /usr/share/fonts without typescripts, complex and confusing
> >> aliasing schemes or tfm files.
> >
> > The Simplefont module by Wolfgang Schuster is very good for my (not
> > highly demanding) purposes. Certainly it is intended to do just what you
> > describe.
>
> Or you use \definetypeface and specserif, specsans and specmono, e.g.
>
> \definetypeface[mainface][rm][specserif][Times New Roman][default]
> \definetypeface[mainface][ss][specsans] [Arial]          [default]
> \definetypeface[mainface][tt][specmono] [Courier]        [default]
> \definetypeface[mainface][mm][math]     [times]          [default]
>
> \setupbodyfont[mainface]
>
> \starttext
> …
> \stoptext
>

I've added this to the wiki page on using Fonts in LuaTeX, but since I don't
know anything about these spec settings it for now just consists of our
example Wolfgang. If you send back some explanations then I will add them to
the wiki as well.

Are these basically the same settings as used in simplefonts?



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

[-- Attachment #1.2: Type: text/html, Size: 3260 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] 15+ messages in thread

* Re: TTF fonts and MKIV
  2011-01-29  9:17     ` John Haltiwanger
@ 2011-01-29  9:46       ` Hans Hagen
  2011-01-29  9:51       ` Wolfgang Schuster
  1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2011-01-29  9:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 29-1-2011 10:17, John Haltiwanger wrote:

> Are these basically the same settings as used in simplefonts?

Although the spec: interface (in addition to file: and name:) has 
fallback heuristics, simplefonts is more clever and does more extensive 
testing, But as with all heuristics, you can never be 100% sure what you 
get so in critical long term projects you can best use names or filename 
(and keep the files someplace backed up). It all depends on the situation.

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
___________________________________________________________________________________


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

* Re: TTF fonts and MKIV
  2011-01-29  9:17     ` John Haltiwanger
  2011-01-29  9:46       ` Hans Hagen
@ 2011-01-29  9:51       ` Wolfgang Schuster
  1 sibling, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2011-01-29  9:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.01.2011 um 10:17 schrieb John Haltiwanger:

> I've added this to the wiki page on using Fonts in LuaTeX, but since I don't know anything about these spec settings it for now just consists of our example Wolfgang. If you send back some explanations then I will add them to the wiki as well.

The third argument use instead of serif specserif, etc. and the fourth argument is the familyname of a font.

> Are these basically the same settings as used in simplefonts?

No, specserif etc. use the “spec:…” mechanism to load a font (the other two are file:… and name:…) while simplefonts use the name:… mechanism to look for a font.

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

* Re: TTF fonts and MKIV
  2011-01-28 21:52 ` Marco Pessotto
@ 2011-01-29 16:53   ` John Culleton
  2011-01-30 15:34     ` Curly quotes was " John Culleton
  0 siblings, 1 reply; 15+ messages in thread
From: John Culleton @ 2011-01-29 16:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Friday 28 January 2011 16:52:57 Marco Pessotto wrote:
> John Culleton <john@wexfordpress.com> writes:
> > Is there a short, simple guide somewhere that shows how to use
> > TTF and OTF fonts in Context? I downloaded the new Fonts chapter
> > but it goes deep into the weeds on typescripts etc.  I am looking
> > for a method that allows me to do in Context what I can already
> > do in most other DTP programs: simply designate for use a font or
> > font family that exists in /usr/share/fonts without typescripts,
> > complex and confusing aliasing schemes or tfm files.
>
> http://wiki.contextgarden.net/Fonts_in_LuaTex
OK I used this guide and have access to one of the fonts in
/usr/share/fonts/Type1 but not the rest. Courier is in the database. 
AGaramond is not.  The wiki paper seems to state that Type1 fonts 
should be available via the database and \simplefonts. AGaramond is in
the
/usr/share/fonts/Type1
directory and is listed in the
/usr/share/fonts/Type1/fonts.dir 
file. It does not show up in the mtxrun generated data base.

set shows the following entry:
OSFONTDIR='/usr/share/fonts;/home/safe/.fonts'


Now if Type1 isn't included the font data base yet I can be cool with 
that. But in that case the wiki needs to be corrected.

-- 
John Culleton
Create Book Covers with Scribus:
http://www.booklocker.com/p/books/4055.html
Typesetting and indexing http://wexfordpress.com
book sales http://wexfordpress.net
Free  barcode: http://www.tux.org/~milgram/bookland/

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

* Re: Curly quotes was TTF fonts and MKIV
  2011-01-29 16:53   ` John Culleton
@ 2011-01-30 15:34     ` John Culleton
  2011-01-30 15:52       ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: John Culleton @ 2011-01-30 15:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Saturday 29 January 2011 11:53:20 John Culleton wrote:
> On Friday 28 January 2011 16:52:57 Marco Pessotto wrote:
> > John Culleton <john@wexfordpress.com> writes:
> > > Is there a short, simple guide somewhere that shows how to use
> > > TTF and OTF fonts in Context? I downloaded the new Fonts
> > > chapter but it goes deep into the weeds on typescripts etc.  I
> > > am looking for a method that allows me to do in Context what I
> > > can already do in most other DTP programs: simply designate for
> > > use a font or font family that exists in /usr/share/fonts
> > > without typescripts, complex and confusing aliasing schemes or
> > > tfm files.
> >
> > http://wiki.contextgarden.net/Fonts_in_LuaTex
>
> OK I used this guide and have access to one of the fonts in
> /usr/share/fonts/Type1 but not the rest. Courier is in the
> database. AGaramond is not.  The wiki paper seems to state that
> Type1 fonts should be available via the database and \simplefonts.
> AGaramond is in the
> /usr/share/fonts/Type1
> directory and is listed in the
> /usr/share/fonts/Type1/fonts.dir
> file. It does not show up in the mtxrun generated data base.
>
> set shows the following entry:
> OSFONTDIR='/usr/share/fonts;/home/safe/.fonts'
>
>
> Now if Type1 isn't included the font data base yet I can be cool
> with that. But in that case the wiki needs to be corrected.
I have tried various fonts, including charterbt, calibri (ttf) and so 
on. I get the called-for font but the sequences for curly double 
quotes, in use since Ramses II, give me either two back ticks followed 
by two forward ticks, (calibri) or two back ticks followed by an inch 
symbol (charterbt).  So this defect is not limited to one font. My 
main file is as follows:

\input macros.tex
\usemodule [simplefonts]
\setmainfont [calibri]
\starttext
\input body.tex
\stoptext

and macros.tex looks like this:

\setupoutput[pdftex]
\definepapersize[bok][width=7.0in,height=10.0in]
%\setuppapersize[bok][letter]
\setuppapersize[bok][bok]
\setuplayout[location=middle,marking=on]%
\setupwhitespace[line]
\setuptyping[style=small]


Anyone else have this problem?


 
-- 
John Culleton
Create Book Covers with Scribus:
http://www.booklocker.com/p/books/4055.html
Typesetting and indexing http://wexfordpress.com
book sales http://wexfordpress.net
Free  barcode: http://www.tux.org/~milgram/bookland/

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

* Re: Curly quotes was TTF fonts and MKIV
  2011-01-30 15:34     ` Curly quotes was " John Culleton
@ 2011-01-30 15:52       ` Wolfgang Schuster
  2011-01-30 16:29         ` John Culleton
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2011-01-30 15:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.01.2011 um 16:34 schrieb John Culleton:

> I have tried various fonts, including charterbt, calibri (ttf) and so 
> on. I get the called-for font but the sequences for curly double 
> quotes, in use since Ramses II, give me either two back ticks followed 
> by two forward ticks, (calibri) or two back ticks followed by an inch 
> symbol (charterbt).  So this defect is not limited to one font. My 
> main file is as follows:
> 
> \input macros.tex

\environment macros

> \usemodule [simplefonts]
> \setmainfont [calibri]
> \starttext
> \input body.tex
> \stoptext
> 
> and macros.tex looks like this:

\startenvironment macros

> \setupoutput[pdftex]
> \definepapersize[bok][width=7.0in,height=10.0in]
> %\setuppapersize[bok][letter]
> \setuppapersize[bok][bok]
> \setuplayout[location=middle,marking=on]%
> \setupwhitespace[line]
> \setuptyping[style=small]

\stopenvironment

> Anyone else have this problem?

Learn to make a minimal *working* example, this works:

\usemodule[simplefonts]
\setmainfont[Calibri]
\starttext
“quoted 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
___________________________________________________________________________________


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

* Re: Curly quotes was TTF fonts and MKIV
  2011-01-30 15:52       ` Wolfgang Schuster
@ 2011-01-30 16:29         ` John Culleton
  2011-01-30 21:52           ` Wolfgang Schuster
  2011-02-01 14:02           ` Mojca Miklavec
  0 siblings, 2 replies; 15+ messages in thread
From: John Culleton @ 2011-01-30 16:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sunday 30 January 2011 10:52:10 Wolfgang Schuster wrote:
> Am 30.01.2011 um 16:34 schrieb John Culleton:
> > I have tried various fonts, including charterbt, calibri (ttf)
> > and so on. I get the called-for font but the sequences for curly
> > double quotes, in use since Ramses II, give me either two back
> > ticks followed by two forward ticks, (calibri) or two back ticks
> > followed by an inch symbol (charterbt).  So this defect is not
> > limited to one font. My main file is as follows:
> >
> > \input macros.tex
>
> \environment macros
>
> > \usemodule [simplefonts]
> > \setmainfont [calibri]
> > \starttext
> > \input body.tex
> > \stoptext
> >
> > and macros.tex looks like this:
>
> \startenvironment macros
>
> > \setupoutput[pdftex]
> > \definepapersize[bok][width=7.0in,height=10.0in]
> > %\setuppapersize[bok][letter]
> > \setuppapersize[bok][bok]
> > \setuplayout[location=middle,marking=on]%
> > \setupwhitespace[line]
> > \setuptyping[style=small]
>
> \stopenvironment
>
> > Anyone else have this problem?
>
> Learn to make a minimal *working* example, this works:
>
> \usemodule[simplefonts]
> \setmainfont[Calibri]
> \starttext
> “quoted 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
> ___________________________________________________________________
>________________

Thanks for your reply. Are you telling me that \input foo no longer 
works the way it used to? 

Let me simplify the example:
-----------------------------------------------------------
\setupoutput[pdftex]
\definepapersize[bok][width=7.0in,height=10.0in]
\setuppapersize[bok][bok]
\usemodule [simplefonts]
\setmainfont [georgia]
\starttext
Here is ``foo''.
\stoptext
---------------------------------
I still get the same wrong results. In a ttf font like georgia the 
close quote looks OK but the open quote are two left tick marks.
In Bitstream Charter the close quote is the inch sign and the open 
quote is again two left tick marks. So my original question remains:
Why do the double quote codes not work as they have since the days of 
plain tex?

-- 
John Culleton
Create Book Covers with Scribus:
http://www.booklocker.com/p/books/4055.html
Typesetting and indexing http://wexfordpress.com
book sales http://wexfordpress.net
Free  barcode: http://www.tux.org/~milgram/bookland/

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

* Re: Curly quotes was TTF fonts and MKIV
  2011-01-30 16:29         ` John Culleton
@ 2011-01-30 21:52           ` Wolfgang Schuster
  2011-01-31 20:45             ` John Culleton
  2011-02-01 14:02           ` Mojca Miklavec
  1 sibling, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2011-01-30 21:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.01.2011 um 17:29 schrieb John Culleton:

> Thanks for your reply. Are you telling me that \input foo no longer 
> works the way it used to? 

\input works but \environment is the “ConTeXt Way” to load your personal
settings for a document, environment prevents also multiple loading of
the file when you use context’s document structure.

> Let me simplify the example:
> -----------------------------------------------------------
> \setupoutput[pdftex]

simplefonts is mkiv only, so remove this or don’t use simplefonts

> \definepapersize[bok][width=7.0in,height=10.0in]
> \setuppapersize[bok][bok]
> \usemodule [simplefonts]
> \setmainfont [georgia]
> \starttext
> Here is ``foo''.
> \stoptext
> ---------------------------------
> I still get the same wrong results. In a ttf font like georgia the 
> close quote looks OK but the open quote are two left tick marks.
> In Bitstream Charter the close quote is the inch sign and the open 
> quote is again two left tick marks. So my original question remains:
> Why do the double quote codes not work as they have since the days of 
> plain tex?

Use “…” or \quotation{…}, we have 2011 and Unicode is available since years.

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

* Re: Curly quotes was TTF fonts and MKIV
  2011-01-30 21:52           ` Wolfgang Schuster
@ 2011-01-31 20:45             ` John Culleton
  2011-01-31 21:35               ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: John Culleton @ 2011-01-31 20:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sunday 30 January 2011 16:52:55 Wolfgang Schuster wrote:
> Am 30.01.2011 um 17:29 schrieb John Culleton:
> > Thanks for your reply. Are you telling me that \input foo no
> > longer works the way it used to?
>
> \input works but \environment is the “ConTeXt Way” to load your
> personal settings for a document, environment prevents also
> multiple loading of the file when you use context’s document
> structure.
>
> > Let me simplify the example:
> > -----------------------------------------------------------
> > \setupoutput[pdftex]
>
> simplefonts is mkiv only, so remove this or don’t use simplefonts
>
> > \definepapersize[bok][width=7.0in,height=10.0in]
> > \setuppapersize[bok][bok]
> > \usemodule [simplefonts]
> > \setmainfont [georgia]
> > \starttext
> > Here is ``foo''.
> > \stoptext
> > ---------------------------------
> > I still get the same wrong results. In a ttf font like georgia
> > the close quote looks OK but the open quote are two left tick
> > marks. In Bitstream Charter the close quote is the inch sign and
> > the open quote is again two left tick marks. So my original
> > question remains: Why do the double quote codes not work as they
> > have since the days of plain tex?
>
> Use “…” or \quotation{…}, we have 2011 and Unicode is available
> since years.
>
> Wolfgang
>
> 
> ___________________________________________________________________
>________________

\quotation{} works, but nothing else does. 

It is not clear how one sets the main font size. Is this correct?
\setmainfont[charterbt][size=11pt]
?
-- 
John Culleton
Create Book Covers with Scribus:
http://www.booklocker.com/p/books/4055.html
Typesetting and indexing http://wexfordpress.com
book sales http://wexfordpress.net
Free  barcode: http://www.tux.org/~milgram/bookland/

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

* Re: Curly quotes was TTF fonts and MKIV
  2011-01-31 20:45             ` John Culleton
@ 2011-01-31 21:35               ` Wolfgang Schuster
  0 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2011-01-31 21:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.01.2011 um 21:45 schrieb John Culleton:

> \quotation{} works, but nothing else does. 

just write the quotes: '“' and '”'

> It is not clear how one sets the main font size. Is this correct?
> \setmainfont[charterbt][size=11pt]

\setupsimplefonts[size=11pt]

or

\setupbodyfont[11pt]

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

* Re: Curly quotes was TTF fonts and MKIV
  2011-01-30 16:29         ` John Culleton
  2011-01-30 21:52           ` Wolfgang Schuster
@ 2011-02-01 14:02           ` Mojca Miklavec
  1 sibling, 0 replies; 15+ messages in thread
From: Mojca Miklavec @ 2011-02-01 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jan 30, 2011 at 17:29, John Culleton wrote:
>
> Here is ``foo''.

See Wolfgang's answer, I just wanted to add a note.

This syntax has deliberately been disabled. In MKII it was a hack
implemented in fonts. In XeLaTeX you need mapping=tex-text to get that
behaviour (which adds some non-existant features to the font), but
that way you won't be able to get "breve" or "plain backtick" in your
final document, so it had to be disabled.

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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-02-01 14:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 21:39 TTF fonts and MKIV John Culleton
2011-01-28 21:52 ` Marco Pessotto
2011-01-29 16:53   ` John Culleton
2011-01-30 15:34     ` Curly quotes was " John Culleton
2011-01-30 15:52       ` Wolfgang Schuster
2011-01-30 16:29         ` John Culleton
2011-01-30 21:52           ` Wolfgang Schuster
2011-01-31 20:45             ` John Culleton
2011-01-31 21:35               ` Wolfgang Schuster
2011-02-01 14:02           ` Mojca Miklavec
2011-01-29  5:42 ` David Rogers
2011-01-29  8:55   ` Wolfgang Schuster
2011-01-29  9:17     ` John Haltiwanger
2011-01-29  9:46       ` Hans Hagen
2011-01-29  9:51       ` Wolfgang Schuster

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