ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mari Voipio <mari.voipio@iki.fi>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Lucida hangs (?) on latest beta
Date: Wed, 12 Oct 2011 12:04:29 +0300	[thread overview]
Message-ID: <CAGbDsP3t0zGhYXyucouLgU3avZezKSgQCMK2MZW9T_wE_GXDDw@mail.gmail.com> (raw)

Hello!

Encouraged by the recent User Meeting, I'm experimenting with sans
serif fonts, trying to find something that I could use all over our
documents (European languages) and that would be acceptable to the
design people.

One of the possibilities would be Lucida, but I'm not having much
success with it...


First I tried with the wiki, <http://wiki.contextgarden.net/Lucida>.
The lucida.zip downloads and extracts nicely, but does not contain any
.pfb files, so so much for that.

Then I took a leap of faith and just put

\setupbodyfont[lucida]


in the setup area of my file and something is definitely happening,
but then the process hangs. I retried with just

==============

\setupbodyfont[lucida]

\starttext

\chapter{Testing Lucida}

\input knuth

\stoptext


==============

Same result... The whole log is in the end of this message, but I
suspect this is the essential part (which SciTe also marks with red):

fonts           > defining > font with asked name 'lbl' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 12
with name file:lbl.afm at 458752 is skipped, not found
! LuaTeX error ...text/tex/texmf-context/tex/context/base/math-vfu.lua:476:
bad argument #1 to '(for generator)' (table expected, got nil)
stack traceback:
	[C]: in function '(for generator)'
	...text/tex/texmf-context/tex/context/base/math-vfu.lua:476: in
function <...text/tex/texmf-context/tex/context/base/math-vfu.lua:397>
	(tail call): ?
	(tail call): ?
	...text/tex/texmf-context/tex/context/base/font-def.lua:406: in function 'read'
	...text/tex/texmf-context/tex/context/base/font-ctx.lua:767: in
function 'definefont_two'
	<main ctx instance>:1: in main chunk.

system          > tex > error on line 1 in file 20111012_Lucida1.tex:
LuaTeX error  ...



I'm running the newest beta, ConTeXt  ver: 2011.10.08 11:42 MKIV, and
ConTeXt with SciTe in Win7. I compile the pdf with Ctrl+F12 and I get
palatino and dejavu to work to an extent (if I switch the font name in
the test file from "lucida" to "dejavu", everything works perfectly,
so I guess either I'm missing something essential or there's a problem
somewhere in the beta.


In the font jungle once again,

Mari


The full log:

(20111012_Lucida1.tex

ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.11  int: english/english

system          > cont-new.mkiv loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > 20111012_Lucida1.top loaded

system          > options > start used options

used options    > % runtime options files (command line driven)
used options    > \unprotect
used options    > % feedback and basic job control
used options    > % handy for special styles
used options    > \startluacode
used options    > document = document or { }
used options    > document.arguments={
used options    >  ["autopdf"]=true,
used options    > }
used options    > document.files={
used options    >  "20111012_Lucida1.tex",
used options    > }
used options    > \stopluacode
used options    > % process info
used options    > \setupsystem[inputfile=20111012_Lucida1.tex]
used options    > \setupsystem[\c!n=1,\c!m=1]
used options    > % modes
used options    > % options (not that important)
used options    > \startsetups *runtime:options
used options    > \stopsetups
used options    > % styles and modules
used options    > \startsetups *runtime:modules
used options    > \stopsetups
used options    > % done
used options    > \protect \endinput

system          > options > stop used options

(20111012_Lucida1.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
(C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv)
(C:/context/tex/texmf-context/tex/context/base/type-otf.mkiv)
files           > readfile > asked name: 'loc', not found
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > defining > font with asked name 'LucidaBright' is
not found using lookup 'name'
fonts           > defining > unknown font LucidaBright, loading aborted
fonts           > defining > unable to define LucidaBright as
\*lucida12ptrmtfrm*
fonts           > defining > forced type afm of lbr not found
fonts           > defining > font with asked name 'lbr' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 1
with name file:lbr.afm*virtualmath at 458752 is skipped, not found
fonts           > defining > forced type tfm of hlcrim not found
fonts           > defining > font with asked name 'hlcrim' is not
found using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 2
with name hlcrim.tfm at 458752 is skipped, not found
fonts           > defining > forced type tfm of hlcrim not found
fonts           > defining > font with asked name 'hlcrim' is not
found using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 3
with name hlcrim.tfm at 458752 is skipped, not found
fonts           > defining > forced type tfm of hlcry not found
fonts           > defining > font with asked name 'hlcry' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 4
with name hlcry.tfm at 458752 is skipped, not found
fonts           > defining > forced type tfm of hlcrv not found
fonts           > defining > font with asked name 'hlcrv' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 5
with name hlcrv.tfm at 458752 is skipped, not found
fonts           > defining > forced type tfm of hlcra not found
fonts           > defining > font with asked name 'hlcra' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 6
with name hlcra.tfm at 458752 is skipped, not found
fonts           > defining > forced type tfm of hlcrm not found
fonts           > defining > font with asked name 'hlcrm' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 7
with name hlcrm.tfm at 458752 is skipped, not found
fonts           > defining > forced type afm of lbd not found
fonts           > defining > font with asked name 'lbd' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 8
with name file:lbd.afm at 458752 is skipped, not found
fonts           > defining > forced type afm of lbdi not found
fonts           > defining > font with asked name 'lbdi' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 9
with name file:lbdi.afm at 458752 is skipped, not found
fonts           > defining > forced type afm of lsr not found
fonts           > defining > font with asked name 'lsr' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 10
with name file:lsr.afm at 458752 is skipped, not found
fonts           > defining > forced type afm of lstr not found
fonts           > defining > font with asked name 'lstr' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 11
with name file:lstr.afm at 458752 is skipped, not found
fonts           > defining > forced type afm of lbl not found
fonts           > defining > font with asked name 'lbl' is not found
using lookup 'file'
fonts           > virtual math > loading font lucidamath subfont 12
with name file:lbl.afm at 458752 is skipped, not found
! LuaTeX error ...text/tex/texmf-context/tex/context/base/math-vfu.lua:476:
bad argument #1 to '(for generator)' (table expected, got nil)
stack traceback:
	[C]: in function '(for generator)'
	...text/tex/texmf-context/tex/context/base/math-vfu.lua:476: in
function <...text/tex/texmf-context/tex/context/base/math-vfu.lua:397>
	(tail call): ?
	(tail call): ?
	...text/tex/texmf-context/tex/context/base/font-def.lua:406: in function 'read'
	...text/tex/texmf-context/tex/context/base/font-ctx.lua:767: in
function 'definefont_two'
	<main ctx instance>:1: in main chunk.

system          > tex > error on line 1 in file 20111012_Lucida1.tex:
LuaTeX error  ...

 1 >>  \setupbodyfont[lucida]
 2
 3     \starttext
 4
 5     \chapter{Testing Lucida}
 6
 7     \input knuth
 8
 9     \stoptext
10


\ctxcommand ...\directlua \zerocount {commands.#1}

\lowleveldefinefont ...ies ", "\@@fontgoodies " )}
                                                  \edef \somefontspec {at \n...
\xxdododefinefont ...efont {#4}\newfontidentifier
                                                  \fi \csname \newfontidenti...
\dodosetmathfamily ...\currentmathsize \endcsname
                                                  \else \ifcsname \fontclass...
\dosetmathfamilyindeed ...ily \scriptscriptfont #1
                                                  \let \currentmathsize \!!p...
\dosetmathfamily ...se \dosetmathfamilyindeed #1#2
                                                  \fi
...
l.1 \setupbodyfont[lucida]

? \x1a
Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
?
! Emergency stop.

system          > tex > error on line 1 in file 20111012_Lucida1.tex:
Emergency stop ...

 1 >>  \setupbodyfont[lucida]
 2
 3     \starttext
 4
 5     \chapter{Testing Lucida}
 6
 7     \input knuth
 8
 9     \stoptext
10


\ctxcommand ...\directlua \zerocount {commands.#1}

\lowleveldefinefont ...ies ", "\@@fontgoodies " )}
                                                  \edef \somefontspec {at \n...
\xxdododefinefont ...efont {#4}\newfontidentifier
                                                  \fi \csname \newfontidenti...
\dodosetmathfamily ...\currentmathsize \endcsname
                                                  \else \ifcsname \fontclass...
\dosetmathfamilyindeed ...ily \scriptscriptfont #1
                                                  \let \currentmathsize \!!p...
\dosetmathfamily ...se \dosetmathfamilyindeed #1#2
                                                  \fi
...
l.1 \setupbodyfont[lucida]

End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2011-10-12  9:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-12  9:04 Mari Voipio [this message]
2011-10-12  9:11 ` luigi scarso
2011-10-12  9:23   ` Mari Voipio
2011-10-12  9:37     ` Wolfgang Schuster
2011-10-12 10:31       ` Mari Voipio
2011-10-12 10:54         ` Wolfgang Schuster
2011-10-12  9:16 ` Wolfgang Schuster
2011-10-12  9:20   ` Hans Hagen
2011-10-12  9:22     ` luigi scarso
2011-10-12  9:24       ` Hans Hagen
2011-10-12 10:07 ` Henning Hraban Ramm

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=CAGbDsP3t0zGhYXyucouLgU3avZezKSgQCMK2MZW9T_wE_GXDDw@mail.gmail.com \
    --to=mari.voipio@iki.fi \
    --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).