I have had trouble processing text with diacritical marks using the more recent betas and the Brill font. Some of this can be remedied by re-entering the diacritical marks in the source file. (This works very well with Greek.) But there remain some problem passages. Consider: \definefontfamily[mainface][serif][Brill] %[TeX Gyre Termes] \setupbodyfont[mainface,10pt] \starttext ı̓tn und ı̓tn.t %Line 1 Altägyptischen %Line 2 \stoptext Note: (a) there is no problem at all with other fonts, e.g., Tex Gyre Termes (b) with the Brill font, the text fails to process when BOTH Line1 and 2 are included. The console readout is: tex error > tex error on line 1 in file /Users/bowen1/Desktop/TestTeX/fonttest.tex: ? \page ->\par \dosingleempty \page_breaks_process \strc_pagenumbers_flush_final_page ...\else \page [\p_strc_pagenumbers_page ... \dostoptext ...\strc_pagenumbers_flush_final_page \page \the \everystoptext ... l.1 \dostoptext \clf_stoptext ->\luafunction \16>>clf_stoptext l.10 \stoptext 1 >> 2 \definefontfamily[mainface][serif][Brill] %[TeX Gyre Termes] 3 4 \setupbodyfont[mainface,10pt] 5 6 7 \starttext 8 ı̓tn und ı̓tn.t 9 Altägyptischen 10 \stoptext 11 I have no idea where the problem here lies, whether it is with ConTEXt or with the Brill font. So, while a fix would be ideal, a diagnosis that I could relay to Brill would be good too. Alan
On 03/13/2016 11:04 PM, Alan Bowen wrote:
Note: (a) there is no problem at all with other fonts, e.g., Tex Gyre Termes (b) with the Brill font, the text fails to process when BOTH Line1 and 2 are included.
The console readout is:
Can you try this: in line 1323 of tex/texmf-context/tex/context/base/mkiv/font-otj.lua: setdisc(current,pre,post.replace) replace this with setdisc(current,pre,post,replace) regenerate the format and try compiling again. I get a pdf which appears to be correct. I think this is just a small typo which Hans will fix. However, the error message I saw was different from the one you posted. This is with the latest beta and the latest version of the Brill font (2.06 51). Thomas
On 3/13/2016 11:37 PM, Thomas A. Schmitz wrote:
On 03/13/2016 11:04 PM, Alan Bowen wrote:
Note: (a) there is no problem at all with other fonts, e.g., Tex Gyre Termes (b) with the Brill font, the text fails to process when BOTH Line1 and 2 are included.
The console readout is:
Can you try this:
in line 1323 of tex/texmf-context/tex/context/base/mkiv/font-otj.lua:
setdisc(current,pre,post.replace)
replace this with
setdisc(current,pre,post,replace)
regenerate the format and try compiling again. I get a pdf which appears to be correct. I think this is just a small typo which Hans will fix. However, the error message I saw was different from the one you posted. This is with the latest beta and the latest version of the Brill font (2.06 51).
yes, that's what i saw too (probably a bit older bug) .. i uploaded a new version thanks, 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 -----------------------------------------------------------------
Thomas, Hans—many thanks! That change in the latest beta fixes the problem
nicely.
Alan
On Sun, Mar 13, 2016 at 6:47 PM, Hans Hagen
On 3/13/2016 11:37 PM, Thomas A. Schmitz wrote:
On 03/13/2016 11:04 PM, Alan Bowen wrote:
Note: (a) there is no problem at all with other fonts, e.g., Tex Gyre Termes (b) with the Brill font, the text fails to process when BOTH Line1 and 2 are included.
The console readout is:
Can you try this:
in line 1323 of tex/texmf-context/tex/context/base/mkiv/font-otj.lua:
setdisc(current,pre,post.replace)
replace this with
setdisc(current,pre,post,replace)
regenerate the format and try compiling again. I get a pdf which appears to be correct. I think this is just a small typo which Hans will fix. However, the error message I saw was different from the one you posted. This is with the latest beta and the latest version of the Brill font (2.06 51).
yes, that's what i saw too (probably a bit older bug) .. i uploaded a new version
thanks,
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
___________________________________________________________________________________
participants (3)
-
Alan Bowen
-
Hans Hagen
-
Thomas A. Schmitz