[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] Uppercase sharp s

2016-04-15 Thread Wolfgang Schuster

Hi Hans,

can you add option which uses the uppercase the uppercase ß with \WORD 
instead of the current SS replacement.


This replacement should only be optional and not the default.

%% begin example
\setupbodyfont[libertine]

\starttext

Straße

\WORD{Straße}

STRAẞE

\stoptext
%% end example

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] copy/paste text broken with certain ligatures

2016-04-15 Thread Ulrike Fischer
Am Fri, 15 Apr 2016 00:24:26 +0200 schrieb Hans Hagen:

> On 4/14/2016 3:47 PM, Brian R. Landy wrote:
>> Hi, sometime between version 2015.08.05 and 2016.04.10 the handling of
>> certain ligatures changed (sorry, I don't have intermediate versions to
>> test with).  The issue is the ligatures no longer copy/paste as the
>> original two characters, which also breaks text searched of the pdf.
>> Instead they copy as a single glyph.
>>
>> I'm seeing the problem with "ti" and "fj", while others like "ffi",
>> "fi", and "ff" are fine in both versions.
>>

 
> not all pdf viewers can do that well, unless it's broken, context 
> outputs the tounicode vectors needed for it

I can't copy the two ligatures either (in Adobe Reader DC), but with
the equivalent latex example (TL2016 pretest) it works fine. So imho
it is not a viewer problem. 

 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___
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] Fourier install fonts

2016-04-15 Thread Fabrice Couvreur
Hi Hans,
I renounce the Fourier install fonts, but instead, I will use the fonts
Utopia.
The following file produces the error :


fab@debian:~$ context ntg44.tex

resolvers   | trees | analyzing 'home:texmf'
mtx-context | run 1: luatex
--fmt="/home/fab/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
--jobname="ntg44"
--lua="/home/fab/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./ntg44.tex"
--c:input="./ntg44.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.90.0 (TeX Live 2016)
 system commands enabled.

resolvers   > trees > analyzing 'home:texmf'
open source > 1 > 1 >
/home/fab/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.03.26 13:51 MKIV beta  fmt: 2016.4.12  int:
english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 >
/home/fab/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
close source> 2 > 2 >
/home/fab/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv
system  > files > jobname 'ntg44', input './ntg44', result 'ntg44'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > /home/fab/ntg44.tex
fonts   > typescripts > unknown library 'utopia'
open source > 3 > 4 >
/home/fab/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
close source> 3 > 4 >
/home/fab/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
fonts   > preloading modern-designsize (mono)
fonts   > typescripts > unknown library 'modern-designsize'
fonts   > 'fallback modern-designsize tt 12pt' is loaded
open source > 3 > 5 >
/home/fab/context/tex/texmf-context/tex/context/sample/common/knuth.tex
close source> 3 > 5 >
/home/fab/context/tex/texmf-context/tex/context/sample/common/knuth.tex

tex error   > tex error on line 23 in file /home/fab/ntg44.tex: ! Math
error: parameter \Umathaxis\textstyle is not set


\stopdisplaymath ...math \Ucheckedstopdisplaymath
  \par \ifvmode \ifcase
\c_s...
\strc_formulas_stop_formula ...formula \endcsname
  \dostoptagged
\dostoptagge...
l.23 \stopformula


13 \appendtoks \rm \to \everymathematics
14 \setupmathematics
15   [lcgreek=normal, ucgreek=normal]
16
17 \starttext
18
19 \input knuth
20
21 \startformula
22{\Bbb P}(x) = \sum_{i=1}^n α_i x^i
23 >>  \stopformula
24
25 \stoptext
26
27
28 %%%
29 %%% Local Variables:
30 %%% Mode: context
31 %%% End:
32


?




\usetypescriptfile[utopia]

\definetypeface[mainface][rm]
   [serif][palatino][default][encoding=texnansi]
\definetypeface[mainface][ss][sans]
   [helvetica] [default][encoding=texnansi] [rscale=auto]
\definetypeface[mainface][mm]
   [math] [utopia] [default] [rscale=auto]

\setupbodyfont[mainface,12pt]

\appendtoks \rm \to \everymathematics
\setupmathematics
  [lcgreek=normal, ucgreek=normal]

\starttext

\input knuth

\startformula
   {\Bbb P}(x) = \sum_{i=1}^n α_i x^i
\stopformula

\stoptext




Thanks,
Fabrice



2016-04-12 13:59 GMT+02:00 Hans Hagen :

> On 4/12/2016 1:19 PM, Fabrice Couvreur wrote:
>
>>
>> Hi Hans,
>> I downloaded the fonts in /home/fab/texmf/fonts/opentype/fourier-GUT then:
>>
>> fab@debian:~$ mtxrun --script fonts --list --all --pattern=*fourier*
>>
>> resolvers   | trees | analyzing 'home:.texlive2015/texmf-config'
>> resolvers   | trees | analyzing 'home:texmf'
>> fourieralternateblack   fourieralternateblack
>> fourier-alt-black.afm
>> fourieralternateboldfourieralternatebold
>> fourier-alt-bold.afm
>> fourieralternatebolditalic  fourieralternatebolditalic
>> fourier-alt-boldita.afm
>> fourieralternatebolditalicbold  fourieralternatebolditalic
>> fourier-alt-boldita.afm
>> fourieralternateitalic  fourieralternateitalic
>> fourier-alt-ita.afm
>> fourieralternateitalicnormalfourieralternateitalic
>> fourier-alt-ita.afm
>> fourieralternateroman   fourieralternateroman
>> fourier-alt.afm
>> fourieralternateromannormal fourieralternateroman
>> fourier-alt.afm
>> fourieralternatesemiboldfourieralternatesemibold
>> fourier-alt-semi.afm
>> fourieralternatesemitalic   fourieralternatesemitalic
>> fourier-alt-semiita.afm
>> fourieralternatesemitalicsemibold   fourieralternatesemitalic
>> fourier-alt-semiita.afm
>> fouriermathblackboard   fouriermathblackboard
>> fourier-bb.afm
>> fouriermathblackboardblack  fouriermathblackboard
>> fourier-bb.afm
>> fou