ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Changes in simplefonts
@ 2010-02-02 11:43 John Haltiwanger
  2010-02-02 12:24 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: John Haltiwanger @ 2010-02-02 11:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi all,

So the following used to work perfectly, but no longer does:

\usemodule[simplefonts]
\setmainfont[Liberation-Serif]

\starttext

I feel so Liberated that {\ConTeXt} can see all my system fonts!

\stoptext

I don't seem to remember changing any configuration in order to get ConTeXt
to see my system fonts (running ArchLinux, so it follows Linux standards).
Yet now I cannot get the simplefonts module to see what it used to see fine.
Has there been some backend changes so that *.ttf files on the system are
now ignored? Do I need to install it to the ConTeXt directory or is there
another alternative?

(Updating my font database does nothing, unless 'luatools --generate' does
not do this?)

% context --version
MTXrun | main context file:
/home/serk17/context/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2009.11.24 10:13

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

* Re: Changes in simplefonts
  2010-02-02 11:43 Changes in simplefonts John Haltiwanger
@ 2010-02-02 12:24 ` Wolfgang Schuster
  2010-02-02 13:35   ` John Haltiwanger
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2010-02-02 12:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 02.02.10 12:43, schrieb John Haltiwanger:
> Hi all,
>
> So the following used to work perfectly, but no longer does:
>
> \usemodule[simplefonts]
> \setmainfont[Liberation-Serif]
>
> \starttext
>
> I feel so Liberated that {\ConTeXt} can see all my system fonts!
>
> \stoptext
>
> I don't seem to remember changing any configuration in order to get 
> ConTeXt to see my system fonts (running ArchLinux, so it follows Linux 
> standards). Yet now I cannot get the simplefonts module to see what it 
> used to see fine. Has there been some backend changes so that *.ttf 
> files on the system are now ignored? Do I need to install it to the 
> ConTeXt directory or is there another alternative?
>
> (Updating my font database does nothing, unless 'luatools --generate' 
> does not do this?)
For system fonts on Linux you need a entry the OSFONTDIR environment 
variable,
how you can do this is explained here:

http://wiki.contextgarden.net/Fonts_in_LuaTex#Getting_access_to_the_system_fonts
http://archive.contextgarden.net/message/20091026.201256.cbd7927c.en.html
http://archive.contextgarden.net/message/20091027.062301.0a8817d0.en.html

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

* Re: Changes in simplefonts
  2010-02-02 12:24 ` Wolfgang Schuster
@ 2010-02-02 13:35   ` John Haltiwanger
  2010-02-02 14:11     ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: John Haltiwanger @ 2010-02-02 13:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Alright! Thanks Wolfgang!

However, I'm running into another weirdness: all the text is italicized.

See attached (and for Liberation fonts see your package manager or
https://www.redhat.com/promo/fonts/).

~~~~~~~~~
% context --version
MTXrun | main context file:
/home/serk17/context/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2010.02.01 11:19

% luatex --version
This is LuaTeX, Version beta-0.50.0-2009122419
~~~~~~~~~~

On Tue, Feb 2, 2010 at 1:24 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

> Am 02.02.10 12:43, schrieb John Haltiwanger:
>
>  Hi all,
>>
>> So the following used to work perfectly, but no longer does:
>>
>> \usemodule[simplefonts]
>> \setmainfont[Liberation-Serif]
>>
>> \starttext
>>
>> I feel so Liberated that {\ConTeXt} can see all my system fonts!
>>
>> \stoptext
>>
>> I don't seem to remember changing any configuration in order to get
>> ConTeXt to see my system fonts (running ArchLinux, so it follows Linux
>> standards). Yet now I cannot get the simplefonts module to see what it used
>> to see fine. Has there been some backend changes so that *.ttf files on the
>> system are now ignored? Do I need to install it to the ConTeXt directory or
>> is there another alternative?
>>
>> (Updating my font database does nothing, unless 'luatools --generate' does
>> not do this?)
>>
> For system fonts on Linux you need a entry the OSFONTDIR environment
> variable,
> how you can do this is explained here:
>
>
> http://wiki.contextgarden.net/Fonts_in_LuaTex#Getting_access_to_the_system_fonts
> http://archive.contextgarden.net/message/20091026.201256.cbd7927c.en.html
> http://archive.contextgarden.net/message/20091027.062301.0a8817d0.en.html
>
> 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: 3580 bytes --]

[-- Attachment #2: font_error.tex --]
[-- Type: application/x-tex, Size: 172 bytes --]

[-- Attachment #3: font_error.pdf --]
[-- Type: application/pdf, Size: 22558 bytes --]

[-- Attachment #4: 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] 7+ messages in thread

* Re: Changes in simplefonts
  2010-02-02 13:35   ` John Haltiwanger
@ 2010-02-02 14:11     ` Wolfgang Schuster
  2010-02-02 14:18       ` John Haltiwanger
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2010-02-02 14:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 02.02.10 14:35, schrieb John Haltiwanger:
> Alright! Thanks Wolfgang!
>
> However, I'm running into another weirdness: all the text is italicized.
I uploaded a new version today which should fix this, please update
your context (it can take a few hours till the minimals use the new
simplefonts version).

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

* Re: Changes in simplefonts
  2010-02-02 14:11     ` Wolfgang Schuster
@ 2010-02-02 14:18       ` John Haltiwanger
  2010-02-02 14:30         ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: John Haltiwanger @ 2010-02-02 14:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I take
the time to tackle the native font stuff (which seems to be too in flux to
really learn at this point anyway). Perfect for getting short documents
together and looking good.

So, to clarify, I just wait a few hours and then update my minimals?

On Tue, Feb 2, 2010 at 3:11 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

> Am 02.02.10 14:35, schrieb John Haltiwanger:
>
>  Alright! Thanks Wolfgang!
>>
>> However, I'm running into another weirdness: all the text is italicized.
>>
> I uploaded a new version today which should fix this, please update
> your context (it can take a few hours till the minimals use the new
> simplefonts version).
>
>
> 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: 2173 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] 7+ messages in thread

* Re: Changes in simplefonts
  2010-02-02 14:18       ` John Haltiwanger
@ 2010-02-02 14:30         ` Wolfgang Schuster
  2010-02-02 14:34           ` John Haltiwanger
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2010-02-02 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 02.02.10 15:18, schrieb John Haltiwanger:
> Thanks Wolfgang! simplefonts is an amazing tool to tide me over until 
> I take the time to tackle the native font stuff (which seems to be too 
> in flux to really learn at this point anyway).
The font system is stable and from the user side nothing has changed
since a very long time, you write a typescript where you map the font
files to a style (Serif, Sans, Mono) and load it in your document
with \setupbodyfont.

One new feature is that \setupbodyfont is enough in certain cases and
you no longer need \usetypescript.
> Perfect for getting short documents together and looking good.
>
> So, to clarify, I just wait a few hours and then update my minimals?
Yes, it takes a while till the files from the modules section
are included in the minimals (only Mojca can tell how long :).

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

* Re: Changes in simplefonts
  2010-02-02 14:30         ` Wolfgang Schuster
@ 2010-02-02 14:34           ` John Haltiwanger
  0 siblings, 0 replies; 7+ messages in thread
From: John Haltiwanger @ 2010-02-02 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Tue, Feb 2, 2010 at 3:30 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

> Am 02.02.10 15:18, schrieb John Haltiwanger:
>
>  Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I
>> take the time to tackle the native font stuff (which seems to be too in flux
>> to really learn at this point anyway).
>>
> The font system is stable and from the user side nothing has changed
> since a very long time, you write a typescript where you map the font
> files to a style (Serif, Sans, Mono) and load it in your document
> with \setupbodyfont.
>
> One new feature is that \setupbodyfont is enough in certain cases and
> you no longer need \usetypescript.


Okay, I guess I've gotten myself confused reading documents describing many
new features that were opened up by LuaTeX. Good to know, but still glad to
have simplefonts ;)

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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-02 11:43 Changes in simplefonts John Haltiwanger
2010-02-02 12:24 ` Wolfgang Schuster
2010-02-02 13:35   ` John Haltiwanger
2010-02-02 14:11     ` Wolfgang Schuster
2010-02-02 14:18       ` John Haltiwanger
2010-02-02 14:30         ` Wolfgang Schuster
2010-02-02 14:34           ` John Haltiwanger

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