ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Reviczky, Adam" <adam.reviczky@kcl.ac.uk>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: Parsing CFF DICT failed
Date: Sat, 14 May 2011 20:33:22 +0100	[thread overview]
Message-ID: <7B4626C28B06A7418E938BF73D6DEE18F9F571ED1B@KCL-MAIL05.kclad.ds.kcl.ac.uk> (raw)
In-Reply-To: <7B4626C28B06A7418E938BF73D6DEE18F9F571ED19@KCL-MAIL05.kclad.ds.kcl.ac.uk>

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

It seems to be syntex/luatex related.

Here's a minimal example using the sample.bib from the wiki (http://wiki.contextgarden.net/sample_bib):
%%%
\enabledirectives[system.synctex]
\setupbibtex[database={sample},sort=author]
\starttext
\chapter{Bibliography}
\completepublications[criterium=text]
\stoptext
%%%

error:
!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf): Parsing CFF DICT failed. (error=-1)
 ==> Fatal error occurred, no output PDF file produced!

note: * criterium=all works, obviously I have cite's in my document, but that shouldn't matter
         * commenting out the synctex line also makes it work again
         * somehow the problem is in combination with a title element (part, chapter, etc.), because without it it works again as well

More verbose log attached.

Adam

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test.log --]
[-- Type: text/x-log; name="test.log", Size: 2963 bytes --]

(test.tex

ConTeXt  ver: 2011.05.14 16:34 MKIV  fmt: 2011.5.14  int: english/english

system          > cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > test.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "test.tex",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=test.tex]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(test.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
system          > synctex functionality is enabled!
publications    > wrote a new auxiliary file \jobname.aux
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
system          > begin file test.tex at line 4
structure       > sectioning > chapter @ level 2 : 0.1 -> Bibliography
backend         > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
structure       > sectioning > chapter @ level 2 : 0.2 -> \headtext {pubs}
publications    > loading database from test.bbl
(test.bbl)
pages           > flushing realpage 2, userpage 2
system          > end file test.tex at line 7
 )</usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
!LuaTeX error (file /usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf): Parsing CFF DICT failed. (error=-1)
 ==> Fatal error occurred, no output PDF file produced!

[-- Attachment #3: Type: text/plain, Size: 485 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:[~2011-05-14 19:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-14 18:12 Reviczky, Adam
2011-05-14 19:33 ` Reviczky, Adam [this message]
2011-05-14 19:38   ` Reviczky, Adam
2011-05-15  6:43     ` Taco Hoekwater
2011-05-15  8:16       ` Reviczky, Adam
2011-05-15  9:35         ` Taco Hoekwater

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=7B4626C28B06A7418E938BF73D6DEE18F9F571ED1B@KCL-MAIL05.kclad.ds.kcl.ac.uk \
    --to=adam.reviczky@kcl.ac.uk \
    --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).