ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: luatex:first steps
Date: Thu, 13 Sep 2007 07:59:46 +0200	[thread overview]
Message-ID: <115224fb0709122259j1818536eu2fd966ae652c184e@mail.gmail.com> (raw)
In-Reply-To: <46E87A93.957.3EC529@wwl.musensturm.de>

2007/9/12, Wolfgang Werners-Lucchini <wwl@musensturm.de>:
> Hallo,
>
> I have installed the newest windows standalone context package.
>
> My first try was with this snippet, found as 'test-2' at
> luatex.org:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \lua {tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) .. "$")}
> \luatex {tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) .. "$")}
> \rescan{\lua{tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) ..
> "$")}}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> but \luatex is unknown. After commenting line 2
> I get a TeX prompt (*) and after some \end's I got the result.
>
> Should this work in this way?

replace \luatex with \cxtlua

> And with this
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> % coding: utf-8
>
> \mainlanguage[deo]
> \enableregime[utf]
>
> \usetypescript[palatino][texnansi]
> \setupbodyfont[palatino,rm,12pt]
>
> \starttext
> Bla {\bf blub}
> \stoptext
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> I get the error
>
> ----------------------------------
> error >> define font: font with name texgyrepagella-regular is not
> found.
> <to be read again>
>                    \relax
> \xxdododefinefont ...tspec {#4}\newfontidentifier
>                                                   \let
> \localrelativefontsiz...
> \fontstrategy ...me \fontclass #2#3#4#5\endcsname
>                                                   \tryingfontfalse
> \fi
> <inserted text> ...yle \fontalternative \fontsize
>                                                   \fi \iftryingfont
> \fontstr...
> \synchronizefont ...strategy \the \fontstrategies
>                                                   \relax \fi
> \iftryingfont \...
> <argument> \getvalue {\@style@ \fontstyle }
>                                            \edef \fontstyle
> {\fontstyle }\if...
> ...
> l.7 \setupbodyfont[palatino,rm,12pt]
> ----------------------------------
>
> Palatino is installed!
> What should I do to use Palatino not Pagella, which obviously is not
> installed?
>
> Wolfgang

You need the TeXgyre fonts for MkIV because palatino is mapped to pagella.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2007-09-13  5:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-12 21:47 Wolfgang Werners-Lucchini
2007-09-13  5:59 ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=115224fb0709122259j1818536eu2fd966ae652c184e@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).