[NTG-context] font error in float placement?

2024-01-13 Thread Henning Hraban Ramm

(LMTX, latest beta with self-compiled binary on OSX-intel.)

With my book, I run into an Lua error while placing a sidefloat.
If I comment \externalfigure or replace the image with a different one, 
the error disappears.


I can’t reproduce it in a minimal example, so I guess it depends on the 
current surroundings.


Since it points to some font handling and the figure is a PDF containing 
fonts, I guess it might depend on the new handling of fonts in PDFs, but 
it doesn’t change regardless of 
\setupexternalfigures[compact=preset:merge] or other settings.


Here’s the image:
https://yemaya.fiee.net/s/8TqwfcP7mLMmy9p
(In a simple document it works.)

Hraban

"""
lua error   > lua error on line 516 in file de/c_feinheiten.tex:

registered function call [1565]: 
...xmf-context/tex/context/base/mkxl/lpdf-fix-imp-fonts.lmt:596: attempt 
to index a nil value (field 'embed')

stack traceback:
	...xmf-context/tex/context/base/mkxl/lpdf-fix-imp-fonts.lmt:596: in 
local 'handler'
	...xmf-context/tex/context/base/mkxl/lpdf-fix-imp-fonts.lmt:709: in 
upvalue 'plugin'
	...xmf-context/tex/context/base/mkxl/lpdf-fix-imp-fonts.lmt:938: in 
upvalue 'lpdf_epdf_fontplugin'
	[string "local lpdf_epdf_fontplugin = lpdf.epdf.fontpl..."]:3: in local 
'runner'
	...-10/tex/texmf-context/tex/context/base/mkxl/lpdf-fix.lmt:97: in 
upvalue 'lpdf_epdf_contentplugin'
	[string "local lpdf_epdf_contentplugin = lpdf.epdf.con..."]:3: in local 
'runner'
	...-10/tex/texmf-context/tex/context/base/mkxl/lpdf-fix.lmt:119: in 
field 'pageplugin'
	...-10/tex/texmf-context/tex/context/base/mkxl/lpdf-pde.lmt:1371: in 
upvalue 'copypage'
	...-10/tex/texmf-context/tex/context/base/mkiv/grph-chk.lua:112: in 
function <...-10/tex/texmf-context/tex/context/base/mkiv/grph-chk.lua:97>
	...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1680: in 
function <...-10/tex/texmf-context/tex/context/base/mkxl/grph-inc.lmt:1665>

(...tail calls...)
506 \startsubsection[title=Schriftwahl]
…
513
514 \startplacefigure[title={Beispiele für gebrochene Schriften, 
halbherzig von Hand ausgeglichen},location=right,reference=abb:fraktur]

515 \externalfigure[gebrochene_schriften][width=.5\textwidth]
516 >>  \stopplacefigure
"""
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-26 Thread Werner Schmidt via ntg-context
Hi all,

thanks for your ideas!

Could figure out the following:
- font files are found in the correct path  and cached & loaded properly (no 
second copies, no name clashes) 
- issue occurs under Linux as well as Windows
- issue is related only to some particular font files of the font family (not 
all) 

On April 25, 2023 9:21:57 PM UTC, Bruce Horrocks via ntg-context 
 wrote:
>Another check you can do is to run
>
>  $ mtxrun --script font --list --name '--pattern=*kepler*'
>
>and see if the file for keplerstd-light is the one you are expecting and not a 
>second copy somewhere that is upsetting things.
>
>
>> On 25 Apr 2023, at 21:40, lynx--- via ntg-context  wrote:
>> 
>> Werner:
>> This is the one that I think will help the most (taken from the Fonts out of 
>> Context manual, pp 147 - 148
>> "If you want to use Lucida, all you have to do when you have bought the 
>> fonts, is to put
>> the OpenType files in a place where they can be found, for instance:
>> 
>> tex/texmf-fonts/fonts/data/lucida
>> 
>> Of course you need to run mtxrun --generate afterwards so that the files can 
>> be found.
>> 
>> 
>> 
>> On 2023-04-25 12:34, lynx--- via ntg-context wrote:
>>> Hello, Werner:
>>> Have you tried some diagnostic tests, such as trying to get the PDF output 
>>> via DVIPS? I suspect that you are, in fact, more knowledgeable and 
>>> experience with ConTeXt than I am, but for what it is worth you may want to 
>>> look at:
>>> • \setupoutput[dvips,acrobat] (see: Context-The Manual (Hans Hagen; 
>>> English, page 24))
>>> • \showbodyfont[Options] (see: Not-so-short Intro to ConTeXt (J. 
>>> Ataz-Lopez;English, page 114))
>>> • $ mtxrun  (mtxrun  is the ConTeXt TDS Runner Tool) command from a 
>>> terminal window it has has a large number of options for finding the fonts 
>>> installed, and for querying their characteristics (see: Fonts out of 
>>> ConTeXt (Hans Hagen, pg 52 and ff))
>>> Em
>>> 
>>> On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote:
>>> Hi conTeXt folks,
>>> 
>>> may I ask again. How could I debug the font typesetting of PDF files with 
>>> conTeXt?
>>> 
>>> Any help is highly appreciated.
>>> 
>>> Best Werner
>>> 
>>> On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context 
>>>  wrote: Hi all,
>>> 
>>> I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 
>>> 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font 
>>> files are loaded correctly (see log below), the generated PDF is unreadable 
>>> (see attached image).
>>> 
>>> Notes:
>>> - Only serif font (keplerstd-light.otf) is not working. It's not embedded 
>>> in the generated PDF.
>>> - italics and bold fonts are embedded and are rendered well
>>> - Can't provide font files because Kepler is a commercial typeface
>>> 
>>> Do you have any ideas how to debug this issue?
>>> 
>>> Thanks Werner
>>> 
>>> log file:
>>> mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, 
>>> frutigernextpro-bold.otf, frutigernextpro-regular.otf, 
>>> iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, 
>>> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, 
>>> lmroman10-regular.otf
>>> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 
>>> instances, 18 shared in backend, 3 common vectors, 15 common hashes, load 
>>> time 0.449 seconds
>>> Example:
>>> 
>>> This text can't be read in PDF.par
>>> {it However, italics are working.}par
>>> {bold Also Bold and bfem BoldItalics!}par
>>> input{zapf} 
>
>> 
>
>—
>Bruce Horrocks
>Hampshire, UK
>
>___
>If your question is of interest to others as well, please add an entry to the 
>Wiki!
>
>maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : https://contextgarden.net
>___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread Bruce Horrocks via ntg-context
Another check you can do is to run

  $ mtxrun --script font --list --name '--pattern=*kepler*'

and see if the file for keplerstd-light is the one you are expecting and not a 
second copy somewhere that is upsetting things.


> On 25 Apr 2023, at 21:40, lynx--- via ntg-context  wrote:
> 
> Werner:
> This is the one that I think will help the most (taken from the Fonts out of 
> Context manual, pp 147 - 148
> "If you want to use Lucida, all you have to do when you have bought the 
> fonts, is to put
> the OpenType files in a place where they can be found, for instance:
> 
> tex/texmf-fonts/fonts/data/lucida
> 
> Of course you need to run mtxrun --generate afterwards so that the files can 
> be found.
> 
> 
> 
> On 2023-04-25 12:34, lynx--- via ntg-context wrote:
>> Hello, Werner:
>> Have you tried some diagnostic tests, such as trying to get the PDF output 
>> via DVIPS? I suspect that you are, in fact, more knowledgeable and 
>> experience with ConTeXt than I am, but for what it is worth you may want to 
>> look at:
>> • \setupoutput[dvips,acrobat] (see: Context-The Manual (Hans Hagen; 
>> English, page 24))
>> • \showbodyfont[Options] (see: Not-so-short Intro to ConTeXt (J. 
>> Ataz-Lopez;English, page 114))
>> • $ mtxrun  (mtxrun  is the ConTeXt TDS Runner Tool) command from a 
>> terminal window it has has a large number of options for finding the fonts 
>> installed, and for querying their characteristics (see: Fonts out of ConTeXt 
>> (Hans Hagen, pg 52 and ff))
>> Em
>> 
>> On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote:
>> Hi conTeXt folks,
>> 
>> may I ask again. How could I debug the font typesetting of PDF files with 
>> conTeXt?
>> 
>> Any help is highly appreciated.
>> 
>> Best Werner
>> 
>> On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context 
>>  wrote: Hi all,
>> 
>> I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 
>> 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font 
>> files are loaded correctly (see log below), the generated PDF is unreadable 
>> (see attached image).
>> 
>> Notes:
>> - Only serif font (keplerstd-light.otf) is not working. It's not embedded in 
>> the generated PDF.
>> - italics and bold fonts are embedded and are rendered well
>> - Can't provide font files because Kepler is a commercial typeface
>> 
>> Do you have any ideas how to debug this issue?
>> 
>> Thanks Werner
>> 
>> log file:
>> mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, 
>> frutigernextpro-bold.otf, frutigernextpro-regular.otf, 
>> iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, 
>> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, 
>> lmroman10-regular.otf
>> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, 
>> 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 
>> seconds
>> Example:
>> 
>> This text can't be read in PDF.par
>> {it However, italics are working.}par
>> {bold Also Bold and bfem BoldItalics!}par
>> input{zapf} 

> 

—
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread lynx--- via ntg-context
Werner:
This is the one that I think will help the most (taken from the Fonts
out of Context manual, pp 147 - 148 

"If you want to use Lucida, all you have to do when you have bought the
fonts, is to put
the OpenType files in a place where they can be found, for instance:

tex/texmf-fonts/fonts/data/lucida 

Of course you need to run MTXRUN --GENERATE afterwards so that the files
can be found. 

On 2023-04-25 12:34, lynx--- via ntg-context wrote:

> Hello, Werner:
> Have you tried some diagnostic tests, such as trying to get the PDF output 
> via DVIPS? I suspect that you are, in fact, more knowledgeable and experience 
> with ConTeXt than I am, but for what it is worth you may want to look at: 
> 
> * \setupoutput[dvips,acrobat] (SEE: _Context-The Manual_ (Hans Hagen; 
> English, page 24))
> * \showbodyfont[Options] (SEE: _Not-so-short Intro to ConTeXt (_J. 
> Ataz-Lopez;English, page 114))
> * $ MTXRUN  (mtxrun  is the _ConTeXt TDS Runner Tool_) command from a 
> terminal window it has has a large number of options for finding the fonts 
> installed, and for querying their characteristics (SEE: _Fonts out of ConTeXt 
> _(Hans Hagen, pg 52 and ff))
> 
> Em 
> 
> On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote: 
> Hi conTeXt folks,
> 
> may I ask again. How could I debug the font typesetting of PDF files with 
> conTeXt?
> 
> Any help is highly appreciated.
> 
> Best Werner
> 
> On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context 
>  wrote: Hi all,
> 
> I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 
> 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files 
> are loaded correctly (see log below), the generated PDF is unreadable (see 
> attached image).
> 
> Notes:
> - Only serif font (keplerstd-light.otf) is not working. It's not embedded in 
> the generated PDF.
> - italics and bold fonts are embedded and are rendered well
> - Can't provide font files because Kepler is a commercial typeface
> 
> Do you have any ideas how to debug this issue?
> 
> Thanks Werner
> 
> log file:
> mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, 
> frutigernextpro-bold.otf, frutigernextpro-regular.otf, 
> iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, 
> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, 
> lmroman10-regular.otf
> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, 
> 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 
> seconds
> Example:
> 
> This text can't be read in PDF.par
> {it However, italics are working.}par
> {bold Also Bold and bfem BoldItalics!}par
> input{zapf} 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context@ntg.nl /
https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
__
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread lynx--- via ntg-context
Hello, Werner:
Have you tried some diagnostic tests, such as trying to get the PDF
output via DVIPS? I suspect that you are, in fact, more knowledgeable
and experience with ConTeXt than I am, but for what it is worth you may
want to look at: 

* \setupoutput[dvips,acrobat] (SEE: _Context-The Manual_ (Hans Hagen;
English, page 24))
* \showbodyfont[Options] (SEE: _Not-so-short Intro to ConTeXt (_J.
Ataz-Lopez;English, page 114))
* $ MTXRUN  (mtxrun  is the _ConTeXt TDS Runner Tool_) command from a
terminal window it has has a large number of options for finding the
fonts installed, and for querying their characteristics (SEE: _Fonts out
of ConTeXt _(Hans Hagen, pg 52 and ff))

Em 

On 2023-04-25 08:50, Werner Schmidt via ntg-context wrote:

> Hi conTeXt folks,
> 
> may I ask again. How could I debug the font typesetting of PDF files with 
> conTeXt?
> 
> Any help is highly appreciated.
> 
> Best Werner
> 
> On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context 
>  wrote: 
> 
>> Hi all,
>> 
>> I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 
>> 2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font 
>> files are loaded correctly (see log below), the generated PDF is unreadable 
>> (see attached image).
>> 
>> Notes:
>> - Only serif font (keplerstd-light.otf) is not working. It's not embedded in 
>> the generated PDF.
>> - italics and bold fonts are embedded and are rendered well
>> - Can't provide font files because Kepler is a commercial typeface
>> 
>> Do you have any ideas how to debug this issue?
>> 
>> Thanks Werner
>> 
>> log file:
>> mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, 
>> frutigernextpro-bold.otf, frutigernextpro-regular.otf, 
>> iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, 
>> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, 
>> lmroman10-regular.otf
>> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, 
>> 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 
>> seconds
>> Example:
>> 
>> This text can't be read in PDF.par
>> {it However, italics are working.}par
>> {bold Also Bold and bfem BoldItalics!}par
>> input{zapf}
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> __
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread Werner Schmidt via ntg-context
Hi conTeXt folks,

may I ask again. How could I debug the font typesetting of PDF files with 
conTeXt?

Any help is highly appreciated.

Best Werner

On April 21, 2023 1:29:18 PM UTC, Werner Schmidt via ntg-context 
 wrote:
>Hi all,
>
>I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 
>2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files 
>are loaded correctly (see log below), the generated PDF is unreadable (see 
>attached image).
>
>Notes:
> - Only serif font (keplerstd-light.otf) is not working. It's not embedded in 
> the generated PDF.
> - italics and bold fonts are embedded and are rendered well
> - Can't provide font files because Kepler is a commercial typeface
>
>Do you have any ideas how to debug this issue?
>
>Thanks Werner
>
>log file:
>mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, 
>frutigernextpro-bold.otf, frutigernextpro-regular.otf, 
>iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, 
>keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, 
>lmroman10-regular.otf
>mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, 
>18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 
>seconds
>Example:
>
>This text can't be read in PDF.par
>{it However, italics are working.}par
>{bold Also Bold and bfem BoldItalics!}par
>input{zapf}
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-21 Thread Werner Schmidt via ntg-context
Hi all,

I'd like to use the commercial Adobe Kepler typeface (Kepler Std - version 
2.020) in conTeXt (v2023-04-15) as text (serif) font. Although the font files 
are loaded correctly (see log below), the generated PDF is unreadable (see 
attached image).

Notes:
 - Only serif font (keplerstd-light.otf) is not working. It's not embedded in 
the generated PDF.
 - italics and bold fonts are embedded and are rendered well
 - Can't provide font files because Kepler is a commercial typeface

Do you have any ideas how to debug this issue?

Thanks Werner

log file:
mkiv lua stats > loaded fonts: 10 files: fontawesome6freesolid900.otf, 
frutigernextpro-bold.otf, frutigernextpro-regular.otf, 
iosevka-term-ss09-light.ttf, keplerstd-light.otf, keplerstd-lightcapt.otf, 
keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, 
lmroman10-regular.otf
mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, 18 
shared in backend, 3 common vectors, 15 common hashes, load time 0.449 seconds
Example:

This text can't be read in PDF.par
{it However, italics are working.}par
{bold Also Bold and bfem BoldItalics!}par
input{zapf}
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] font error with latest beta

2016-04-16 Thread Hans Hagen

On 4/15/2016 6:36 PM, Thomas A. Schmitz wrote:

Hi Hans,

I run into my favorite error with the latest beta ("this can't happen").
The document uses a SabonNext font, but I get similar results with other
fonts. The error message is:

tex error   > tex error on line 855 in file
/home/tas/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv:
! This can't happen (fuzzy token cleanup in node)


\page_shipouts_normal ...box \shipoutscratchbox }}
   \else
\page_shipouts_ignor...
\page_boxes_shipout ... {\box \shipoutscratchbox }
   \fi
\setnextrealpageno \th...
\page_otr_construct_and_shipout ...cted_page #1#2}

\page_otr_flush_pending_co...
\page_sides_output_routine_nop ...de_float_output
   \global
\d_page_sides_vsiz...
\page_sides_output_routine ..._output_routine_nop
   \fi
\page_otr_triggered_output_routine ...and_routine
   \fi
...
l.97 \getvalue{clf_processjob}
  % from cont-run.lua




mtx-context | fatal error: return code: 1%

An older context version (2016.02.08 15:35) processes the same file
without problems, so I suspect it may be the newer luatex binary. I
can't produce a minimal example right now, the error is a bit
unpredictable.


Do you have a minimal test (maybe some specific typographic feature 
triggers it)? It probably is some oversight .. i mess up a list ... we 
merged glue specs into glue nodes which is much cleaner (the last big 
thing before luatex 1.0). Probably not hard to solve.


Hans

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

[NTG-context] font error with latest beta

2016-04-15 Thread Thomas A. Schmitz

Hi Hans,

I run into my favorite error with the latest beta ("this can't happen"). 
The document uses a SabonNext font, but I get similar results with other 
fonts. The error message is:


tex error   > tex error on line 855 in file 
/home/tas/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv: 
! This can't happen (fuzzy token cleanup in node)



\page_shipouts_normal ...box \shipoutscratchbox }}
  \else 
\page_shipouts_ignor...

\page_boxes_shipout ... {\box \shipoutscratchbox }
  \fi 
\setnextrealpageno \th...

\page_otr_construct_and_shipout ...cted_page #1#2}

\page_otr_flush_pending_co...
\page_sides_output_routine_nop ...de_float_output
  \global 
\d_page_sides_vsiz...

\page_sides_output_routine ..._output_routine_nop
  \fi
\page_otr_triggered_output_routine ...and_routine
  \fi
...
l.97 \getvalue{clf_processjob}
 % from cont-run.lua




mtx-context | fatal error: return code: 1%

An older context version (2016.02.08 15:35) processes the same file 
without problems, so I suspect it may be the newer luatex binary. I 
can't produce a minimal example right now, the error is a bit unpredictable.


All best

Thomas
___
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] Font error emerging?

2012-01-09 Thread Hans van der Meer
Can someone explain this behaviour:

Error with: ConTeXt  ver: 2011.12.23 09:52 MKIV  fmt: 2011.12.31  int: 
english/english
Works ok with:ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.23  int: 
english/english
 Is it repeaired in the meantime?
 Missing font identifier.

system   tex  error on line 7 in file dvd.tex: Missing font 
identifier ...

 1 % TEMPLATE FOR SLIM FILM DVD-COVER versie 2010-03-31
 2 
 3 \enableregime[utf8]
 4 \language[nl]
 5 \mainlanguage[nl]
 6 \setupcolors[state=start]
 7   
 8 \starttypescript [typeface]
 9 \definetypeface [\typescriptone] [rm] [serif] [schola]  [default]
10 \definetypeface [\typescriptone] [ss] [sans]  [heros]   [default]
11 \definetypeface [\typescriptone] [tt] [mono]  [cursor]  [default]
12 \definetypeface [\typescriptone] [mm] [math]  [modern]  [default] 
[rscale=1.1]
13 \quittypescriptscanning
14 \stoptypescript
15 \usetypescript[typeface]\setupbodyfont[typeface,11pt]\rm
16 
17 \usemodule[hvdm-dvd] % xml conversions

to be read again 
   \*typeface4.5ptmmmb33* 
\dopresetmathfamilyindeed ...ontsize 3*\endcsname 
  \scriptfont #1\csname *\fo...
\dosetboldmathfamily ...resetmathfamilyindeed #1#2
  \else \dosetboldmathfamily...
\completeboldmathstrategyyes ...bfam \c!mb \mrfam 
  \textfont \mbfamrl \textfo...
\applycompleteboldmathstrategy ...mathstrategyyes 
  \fi \else \completeboldmat...
inserted text ...\applycompleteboldmathstrategy 
  \edef \currentmathfontmr {...
...
l.27 ...processfile{dvd}{\DATALOCATION data.xml}{}


Hans van der Meer



___
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] Font error emerging?

2012-01-09 Thread Hans Hagen

On 9-1-2012 14:22, Hans van der Meer wrote:

Can someone explain this behaviour:

Error with: ConTeXt  ver: 2011.12.23 09:52 MKIV  fmt: 2011.12.31  int: 
english/english
Works ok with:ConTeXt  ver: 2011.11.23 18:58 MKIV  fmt: 2011.11.23  int: 
english/english
  Is it repeaired in the meantime?
  Missing font identifier.

system  tex  error on line 7 in file dvd.tex: Missing font identifier ...

  1 % TEMPLATE FOR SLIM FILM DVD-COVER versie 2010-03-31
  2
  3 \enableregime[utf8]
  4 \language[nl]
  5 \mainlanguage[nl]
  6 \setupcolors[state=start]
  7
  8 \starttypescript [typeface]
  9 \definetypeface [\typescriptone] [rm] [serif] [schola]  [default]
10 \definetypeface [\typescriptone] [ss] [sans]  [heros]   [default]
11 \definetypeface [\typescriptone] [tt] [mono]  [cursor]  [default]
12 \definetypeface [\typescriptone] [mm] [math]  [modern]  [default] 
[rscale=1.1]
13 \quittypescriptscanning
14 \stoptypescript
15 \usetypescript[typeface]\setupbodyfont[typeface,11pt]\rm
16
17 \usemodule[hvdm-dvd] % xml conversions

to be read again
\*typeface4.5ptmmmb33*
\dopresetmathfamilyindeed ...ontsize 3*\endcsname
   \scriptfont #1\csname *\fo...
\dosetboldmathfamily ...resetmathfamilyindeed #1#2
   \else \dosetboldmathfamily...
\completeboldmathstrategyyes ...bfam \c!mb \mrfam
   \textfont \mbfamrl \textfo...
\applycompleteboldmathstrategy ...mathstrategyyes
   \fi \else \completeboldmat...
inserted text  ...\applycompleteboldmathstrategy
   \edef \currentmathfontmr {...

l.27 ...processfile{dvd}{\DATALOCATION data.xml}{}


best try the latets beta

--

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


[NTG-context] font error?

2011-03-28 Thread Hans van der Meer
Just experimenting somewhat with fonts. Could the following be a font problem? 
Or is it just not possible in this typeface (taken from fonts in context page 
70)
Example:
\def\thetypeface{asana}
\setupbodyfont[\thetypeface]
\starttext
[\thetypeface]\quad Hello world!\space$c = \sqrt{a^2+b^2}$
\stoptext

Log message:
! Math error: parameter \Umathquad\displaystyle is not set.

system   tex  error on line 4 in file test.tex: 
Math error: parameter \Umathquad\displaystyle is not set ...

 1 \def\thetypeface{asana}
 2 \setupbodyfont[\thetypeface]
 3 \starttext
 4   [\thetypeface]\quad Hello world!\space$c = \sqrt{a^2+b^2}$
 5 \stoptext

l.4 ...quad Hello world!\space$c = \sqrt{a^2+b^2}$

Hans van der Meer

___
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] font error?

2011-03-28 Thread Wolfgang Schuster

Am 28.03.2011 um 10:12 schrieb Hans van der Meer:

 Just experimenting somewhat with fonts. Could the following be a font 
 problem? Or is it just not possible in this typeface (taken from fonts in 
 context page 70)

Works for me.

mtx-context | current version: 2011.03.27 14:48

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] font error?

2011-03-28 Thread Hans van der Meer

On 28 mrt 2011, at 10:21, Wolfgang Schuster wrote:

 
 Am 28.03.2011 um 10:12 schrieb Hans van der Meer:
 
 Just experimenting somewhat with fonts. Could the following be a font 
 problem? Or is it just not possible in this typeface (taken from fonts in 
 context page 70)
 
 Works for me.
 
 mtx-context | current version: 2011.03.27 14:48

Well that is strange. This is
ConTeXt  ver: 2011.03.26 12:41 MKIV  fmt: 2011.3.28  int: english/english

and furthermore to be sure I removed texmf-cache from the minimals, regenerated 
with
  mtxrun --generate
  context --make en
then ran it with:
  context test
getting the same error here:
system   tex  error on line 4 in file test.tex: Math error: parameter 
\Umathquad\displaystyle is not set ...

How can this be? Any idea?

Input was:
\def\thetypeface{asana} % lucida loopt vast
\setupbodyfont[\thetypeface]
\starttext
[\thetypeface]\quad Hello world!\space$c = \sqrt{a^2+b^2}$
\stoptext


Hans van der Meer


___
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] font error?

2011-03-28 Thread Hans van der Meer
Also downloaded latest monimals:
ConTeXt  ver: 2011.03.28 01:03 MKIV  fmt: 2011.3.28  int: english/english
Same happens here.

Hans van der Meer

On 28 mrt 2011, at 10:40, Hans van der Meer wrote:

 
 On 28 mrt 2011, at 10:21, Wolfgang Schuster wrote:
 
 
 Am 28.03.2011 um 10:12 schrieb Hans van der Meer:
 
 Just experimenting somewhat with fonts. Could the following be a font 
 problem? Or is it just not possible in this typeface (taken from fonts in 
 context page 70)
 
 Works for me.
 
 mtx-context | current version: 2011.03.27 14:48
 
 Well that is strange. This is
 ConTeXt  ver: 2011.03.26 12:41 MKIV  fmt: 2011.3.28  int: english/english
 
 and furthermore to be sure I removed texmf-cache from the minimals, 
 regenerated with
  mtxrun --generate
  context --make en
 then ran it with:
  context test
 getting the same error here:
 system   tex  error on line 4 in file test.tex: Math error: 
 parameter \Umathquad\displaystyle is not set ...
 
 How can this be? Any idea?
 
 Input was:
 \def\thetypeface{asana}   % lucida loopt vast
 \setupbodyfont[\thetypeface]
 \starttext
 [\thetypeface]\quad Hello world!\space$c = \sqrt{a^2+b^2}$
 \stoptext
 
 
 Hans van der Meer
 
 
 ___
 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
 ___

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