ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re :luatex:first steps
       [not found] <mailman.1745.1189671299.2346.ntg-context@ntg.nl>
@ 2007-09-14 19:26 ` Wolfgang Werners-Lucchini
  2007-09-14 19:29   ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-09-14 19:26 UTC (permalink / raw)
  To: ntg-context

Hi Wolfgang,

> > 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 what about the nonstoping \rescan? I don't understand this 
example. The output is identical for the three variants. Does it mean 
that they are all equivalent? What should \rescan do?
What happend with the command \luatex? Does it not longer exist?

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

Why is it not possible to use palatino? The font is installed by 
default, Pagella is not. There should be a fallback to palatinno in 
this case.

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
___________________________________________________________________________________


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

* Re: Re :luatex:first steps
  2007-09-14 19:26 ` Re :luatex:first steps Wolfgang Werners-Lucchini
@ 2007-09-14 19:29   ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2007-09-14 19:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Werners-Lucchini wrote:
>
> And what about the nonstoping \rescan? I don't understand this 
> example. The output is identical for the three variants. Does it mean 
> that they are all equivalent? What should \rescan do?
> What happend with the command \luatex? Does it not longer exist?

i need to update these examples to the latest luatex/mkiv

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-09-14 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1745.1189671299.2346.ntg-context@ntg.nl>
2007-09-14 19:26 ` Re :luatex:first steps Wolfgang Werners-Lucchini
2007-09-14 19:29   ` Hans Hagen

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