ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bernhard Rosensteiner <brosensteiner@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: latest beta: trouble with font loading
Date: Sun, 22 Nov 2009 12:12:18 +0100	[thread overview]
Message-ID: <01C526EB-4D7A-4436-B75C-0DF036E5C592@gmail.com> (raw)
In-Reply-To: <c3f901470911211734v346b4521gba189e0a8ee2e719@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

Hello all,

thanks for help Li. It seems since the latest beta this "name:" is obligatory. However, now i get an error (see attachment). I think its the same error reported in "[ntg-context] font-syn.lua error". 

[-- Attachment #2: keine otf fonts.log --]
[-- Type: application/octet-stream, Size: 4008 bytes --]

("/Users/bernhardrosensteiner/Documents/ConTeXt Experimente/Fatal Error Tests/keine otf fonts"

ConTeXt  ver: 2009.11.21 11:45 MKIV  fmt: 2009.11.21  int: english/english

system          : cont-new loaded
(/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv))
system          : cont-fil loaded
(/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/type-tmf.tex (/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/type-siz.tex (/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/type-otf.tex (/Users/bernhardrosensteiner/Library/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system          : keine otf fonts.top loaded
%
%	begin of optionfile
%
%	% runtime options files (command line driven)
%	\unprotect
%	% special commands, mostly for the ctx development team
%	% feedback and basic job control
%	% handy for special styles
%	\startluacode
%	document = document or { }
%	document.arguments={
%	}
%	document.files={
%	 "/Users/bernhardrosensteiner/Documents/ConTeXt Experimente/Fatal Error Tests/keine otf fonts",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[\c!n=1,\c!m=1]
%	\setupsystem[\c!type=unix]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
("keine otf fonts.top")
fonts           : preloading latin modern fonts
bodyfont        : 12pt rm is loaded
language        : language en is active
systems         : begin file keine otf fonts at line 13
! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value)
stack traceback:
	...TeXt/tex/texmf-context/tex/context/base/font-syn.lua:666: in function 'resetdata'
	...TeXt/tex/texmf-context/tex/context/base/font-syn.lua:671: in function 'identify'
	...TeXt/tex/texmf-context/tex/context/base/font-syn.lua:696: in function 'load'
	...TeXt/tex/texmf-context/tex/context/base/font-syn.lua:707: in function 'load'
	...TeXt/tex/texmf-context/tex/context/base/font-syn.lua:844: in function 'resolve'
	...TeXt/tex/texmf-context/tex/context/base/font-def.lua:243: in function 'r'
	...TeXt/tex/texmf-context/tex/context/base/font-def.lua:270: in function 'resolve'
	...TeXt/tex/texmf-context/tex/context/base/font-def.lua:574: in function 'read'
	...TeXt/tex/texmf-context/tex/context/base/font-ctx.lua:359: in function 'command_2'
	<main ctx instance>:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
                                                  \edef \somefontspec {at \s...
\dododefinefont ...inefont {#2}\rawfontidentifier 
                                                  \csname \rawfontidentifier...
l.15 \TitleFont
                Wy the hell is there no font visible!!!
? 
! Emergency stop.
\lowleveldefinefont ...dimexpr \textface \relax )}
                                                  \edef \somefontspec {at \s...
\dododefinefont ...inefont {#2}\rawfontidentifier 
                                                  \csname \rawfontidentifier...
l.15 \TitleFont
                Wy the hell is there no font visible!!!
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!

[-- Attachment #3: keine otf fonts.tex --]
[-- Type: application/octet-stream, Size: 624 bytes --]


\setuplayout [grid=yes, backspace=\dimexpr(\leftcombitotal),  cutspace=\dimexpr(\leftcombitotal), 
location=singlesided, width=fit, height=fit, rightmargin=1cm, leftmargin=1cm, topspace=3\baselineskip, 
bottomspace=6\baselineskip, header=1\baselineskip, footer=1\baselineskip, headerdistance=1.25\baselineskip, 
footerdistance=1.25\baselineskip, leftedge=1cm, rightedge=1cm, marking=on, scale=1]

%\usetypescriptfile[type-MyTypeScript]
%\usetypescript[MinionProMyriadPro]

\definefont[TitleFont][GaramondPremrPro-Disp at 30pt]

\setupbodyfont[11pt]
\starttext

\TitleFont Wy the hell is there no font visible!!!

\stoptext

[-- Attachment #4: Type: text/plain, Size: 1523 bytes --]



best regards
Bernhard



Am 22.11.2009 um 02:34 schrieb Yanrui Li:

> 2009/11/22 Bernhard Rosensteiner <brosensteiner@gmail.com>:
>> Hello all,
>> 
>> now i only have attached the .log and .tex (minimal example) files (first i
>> attached the .otf font too). My problem with the otf font loading still
>> exists (even after completely removing the old minimals and uptating via
>> first-setup.sh). All my documents compile normal but the fonts are not
>> visible (in one document i can see some strange numbers...predominantly 9)
>> no matter what otf font i use (all my fonts are located in
>> /Users/bernhardrosensteiner/Library/Fonts). All graphic related stuff works
>> normal even the defined position on the paper is right. Fallback fonts
>> (normal cmr) works (when i out-comment the \definefont line in my minimal
>> example). I have Mac OS X 10.6.
> 
> You can try
> 
> \definefont[TitleFont][name:GaramondPremrPro-Disp at 30pt]
> 
> -- 
> Best regards,
> 
> Li Yanrui
> ___________________________________________________________________________________
> 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 #5: 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
___________________________________________________________________________________

  reply	other threads:[~2009-11-22 11:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 10:45 Thomas A. Schmitz
2009-11-20 10:59 ` Taco Hoekwater
2009-11-20 11:00   ` Taco Hoekwater
2009-11-20 12:17 ` Wolfgang Schuster
2009-11-20 12:34   ` Yanrui Li
2009-11-20 12:51     ` Hans Hagen
2009-11-20 13:03       ` Yanrui Li
2009-11-20 17:49         ` Hans Hagen
2009-11-21  1:28           ` Yanrui Li
2009-11-21  8:29             ` Yanrui Li
2009-11-21 20:45             ` Bernhard Rosensteiner
2009-11-22  1:34               ` Yanrui Li
2009-11-22 11:12                 ` Bernhard Rosensteiner [this message]
2009-11-20 12:38   ` Thomas A. Schmitz
2009-11-20 12:50     ` Hans Hagen
2009-11-20 13:41       ` Thomas A. Schmitz
2009-11-20 12:38 ` Hans Hagen

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=01C526EB-4D7A-4436-B75C-0DF036E5C592@gmail.com \
    --to=brosensteiner@gmail.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).