Re: [NTG-context] Parsing CFF DICT failed

2011-05-15 Thread Taco Hoekwater

On 05/14/2011 09:38 PM, Reviczky, Adam wrote:

It seems to be syntex/luatex related.

Just noticed that there's no luatex banner in the log because of the error, so:

This is LuaTeX, Version beta-0.71.0-2011051313 (rev 4265)


Any chance of a (smallish) test file?

Best wishes,
Taco
___
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
___


Re: [NTG-context] Parsing CFF DICT failed

2011-05-15 Thread Reviczky, Adam
 Any chance of a (smallish) test file?

I've attached the test file, log and broken pdf/synctex files.

Do you need anything else?

Adam
\enabledirectives[system.synctex]
\setupbibtex[database={sample},sort=author]
\starttext
\chapter{Bibliography}
\completepublications[criterium=text]
\stoptext
@STRING{hh = {Hans Hagen}}

@ELECTRONIC{hh2010,
  author = hh,
  year = {2010},
  title = {Metafun. \CONTEXT\ mkiv},
  url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf},
}

@ARTICLE{hh2010a,
  author = hh,
  title = {The Font Name Mess},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {2-8},
  keywords = {context},
}

@ARTICLE{hh2010b,
  author = hh,
  title = {Grouping in Hybrid Environments},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {67-71},
  keywords = {context},
}

@BOOK{Eijkhout1991,
  title = {\TeX\ by Topic. A \TeX nician's Reference},
  publisher = {Addison-Wesley},
  year = {1991},
  author = {Victor Eijkhout},
  address = {London},
  keywords = {general},
}
(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)
fontslatin modern fonts are not preloaded
languageslanguage 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}
fontspreloading 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}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
system   begin file test.tex at line 3
structuresectioning  chapter @ level 2 : 0.1 - Bibliography
backend  xmp  using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
structuresectioning  chapter @ level 2 : 0.2 - \headtext {pubs}
publications loading database from test.bbl
(test.bbl)
pagesflushing realpage 2, userpage 2
system   end file test.tex at line 6
 )/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!


test.pdf
Description: test.pdf


test.synctex.gz(b.txt
Description: test.synctex.gz(b.txt
___
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
___

Re: [NTG-context] Parsing CFF DICT failed

2011-05-15 Thread Taco Hoekwater

On 05/15/2011 10:16 AM, Reviczky, Adam wrote:

Any chance of a (smallish) test file?


I've attached the test file, log and broken pdf/synctex files.

Do you need anything else?


No, I could reproduce the error just fine. Oddly enough, it seems
to be a bug in the getcwd() implementation in glibc, that I have
now written a workaround for.

Best wishes,
Taco
___
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
___


[NTG-context] Parsing CFF DICT failed

2011-05-14 Thread Reviczky, Adam
Hi

Not sure where the problem is but using the latest beta (2011.05.14) I get this 
error:

!LuaTeX error (file 
/usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf): 
Parsing CFF DICT failed. (error=-1)
 == Fatal error occurred, no output PDF file produced!

This used to work a couple of days ago ...
Log attached.

Adam
(/home/reviczky/Downloads/thesis/src/prd_finalreport.tex

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

(/usr/share/texmf/tex/context/base/cont-new.mkiv) (prd_finalreport.top
){/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map} (/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} (project_6ccs3prj.tex (env_6ccs3prj.tex (/usr/share/texmf/tex/context/base/colo-imp-x11.mkiv) (/usr/share/texmf/tex/context/base/m-database.mkiv+ /usr/share/texmf/tex/context/base/m-database.lua) (/usr/share/texmf/tex/context/base/page-run.mkiv))) (c_titlepage.tex) (c_legal.tex) (c_abstract.tex) (c_acknowledgements.tex) (c_tableofcontents.tex) (c_introduction.tex) (c_background.tex) (c_body.tex) (c_evaluation.tex) (c_conclusions.tex
Overfull \hbox (9.75206pt too wide) in paragraph at lines 26--26
[][]\*TeX Gyre11ptrmtf* (-15) Second\*TeX Gyre11ptrmtf* (-20) ly, \*TeX Gyre11ptrmtf* (-15) an ana\*TeX Gyre11ptrmtf* (-20) ­l\*TeX Gyre11ptrmtf* (-15) og\*TeX Gyre11ptrmtf* (-20) y \*TeX Gyre11ptrmtf* (-15) can be d\*TeX Gyre11ptrmtf* (-20) r\*TeX Gyre11ptrmtf* (-15) awn w\*TeX Gyre11ptrmtf* (-20) it\*TeX Gyre11ptrmtf* (-15) h \*TeX Gyre11ptrmtf* (-20) t\*TeX Gyre11ptrmtf* (-15) he wa\*TeX Gyre11ptrmtf* (-20) y L[]T[]X \*TeX Gyre11ptrmtf* (-15) enhanced \*TeX Gyre11ptrmtf* (-20) T[]X \*TeX Gyre11ptrmtf* (-15) o\*TeX Gyre11ptrmtf* (-20) r X\*TeX Gyre11ptrmtf* (-15) H\*TeX Gyre11ptrmtf* (-20) T\*TeX Gyre11ptrmtf* (-15) M\*TeX Gyre11ptrmtf* (-20) L+\*TeX Gyre11ptrmtf* (-15) CSS

\hbox(7.887+2.6675)x426.78743, glue set - 1.0, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\*TeX Gyre11ptrmtf* (-15) S
.\*TeX Gyre11ptrmtf* (-15) e
.\*TeX Gyre11ptrmtf* (-15) c
.etc.

) (c_bibliography.tex (prd_finalreport.bbl)) (c_appendix.tex /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/0e9b8cc57c0432d5c772dda2b9cd6dfe.png /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/20423a750695b2b662ba0d45cffb47d7.png /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5e275d1076b71ab932ea5ebd4ebf214.png /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/d4119ab8da3dcb23984cfb71ad63d7fd.png /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/38eb45f44eddb6c6d26bb5dd5aeb81f8.png /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/77bb547e2ae6cfc8f18ed6ac3fcc4cb0.png /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5ef87eb4b66f38fd4ed47540edace38 /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/cab33a4eaf4616b446d5e19baa4af9d7) (c_userguide.tex /home/reviczky/Downloads/thesis/src/graphics/goldbach_main.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_about.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_credits.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_licence.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_open.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_filters.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_progress.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_clear.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_recognition.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_relational.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_ellipses.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_operator.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_arrow.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_logical.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_sets.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_misc.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_greeklo.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_greekup.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_typeset.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_mkiv.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_save.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_export.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_modified.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_de.png /home/reviczky/Downloads/thesis/src/graphics/goldbach_fr.png 

Re: [NTG-context] Parsing CFF DICT failed

2011-05-14 Thread Reviczky, Adam
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
(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)
fontslatin modern fonts are not preloaded
languageslanguage 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}
fontspreloading 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}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
system   begin file test.tex at line 4
structuresectioning  chapter @ level 2 : 0.1 - Bibliography
backend  xmp  using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
structuresectioning  chapter @ level 2 : 0.2 - \headtext {pubs}
publications loading database from test.bbl
(test.bbl)
pagesflushing 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!
___
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
___

Re: [NTG-context] Parsing CFF DICT failed

2011-05-14 Thread Reviczky, Adam
 It seems to be syntex/luatex related.
Just noticed that there's no luatex banner in the log because of the error, so:

This is LuaTeX, Version beta-0.71.0-2011051313 (rev 4265)

Adam
___
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
___