From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mari Voipio <mari.voipio@iki.fi>
Subject: Re: Problem with simplefonts
Date: Thu, 30 Aug 2018 16:59:38 +0200 [thread overview]
Message-ID: <13a8f6ff-f08c-4d68-3653-5f85cada336d@gmail.com> (raw)
In-Reply-To: <91f19f00-6a1c-5836-fe10-f225cdac1f93@xs4all.nl>
Hans Hagen schrieb am 30.08.18 um 13:39:
> On 8/30/2018 11:41 AM, Mari Voipio wrote:
>> Hello!
>>
>> Partly due to the upcoming ConTeXt meeting I updated my ConTeXt,
>> although with the --current option for latest stable.
>>
>> Most of my files compile fine and there don't seem to be any problems.
>> However, the big beast fails right after loading env-fonts-23
>> (attached) and it seems to be a problem connected to the Simplefonts
>> module.
>>
>> This is what the log says:
>>
>> -----
>> fonts > preloading latin modern fonts (second stage)
>> fonts > 'fallback modern-designsize rm 12pt' is loaded
>> open source > level 3, order 4, name '../../env-fonts-23.tex'
>> modules > 'simplefonts' is loaded
>> open source > level 4, order 5, name
>> 'C:/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.mkiv'
>>
>> loading > ConTeXt User Module / Simplefonts
>> resolvers > lua > loading file
>> 'C:/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.lua'
>>
>> succeeded
>>
>> tex error > tex error on line 802 in file
>> C:/context/tex/texmf-modules/tex/context/third/simplefonts/t-simplefonts.mkiv:
>>
>> ! Undefined control sequence
>>
>>
>> \simplefonts@fontfeature ...\normalexpanded {\@NX
>> \definefontfeature [#1#2\s...
>> \syst_helpers_comma_list_step ...\v!mainfont }{#1}
>> \ctxlua
>> {thirddata.simplef...
>> \17>>2 #1,->\syst_helpers_comma_list_step {#1}
>> \syst_helpers_do_process_comma...
>> <argument> \relax regular,
>> italic,slanted,bold,bolditalic,boldslanted,caps,
>> italiccaps,slan
>> \syst_helpers_do_process_comma_list ...m_gobble #1
>> ,]\relax \global
>> \advance ...
>> \simplefonts@definetextfont ...rocesscommacommand
>> \ifx
>> \currenttypeface \v!s...
>> ...
>> l.802 \setsansfont
>> [Latin Modern Sans]
>>
>> 792 \c!smallcapsfeatures=\v!smallcaps,
>> 793 \c!mode=\v!node,
>> 794 \c!force=\v!yes,
>> 795 \c!check=\v!no,
>> 796 \c!expansion=\v!no,
>> 797 \c!protrusion=\v!no]
>> 798
>> 799 %D Default fonts
>> 800
>> 801 \setmainfont [Latin Modern Roman]
>> 802 >> \setsansfont [Latin Modern Sans]
>> 803 \setmonofont [Latin Modern Mono][\s!features=\s!none]
>> 804 \setmathfont [Latin Modern Math]
>> 805 \sethandwritingfont [Latin Modern Roman] % neither handwritten
>> nor calligraphic are available
>> 806 \setcalligraphicfont[Latin Modern Roman] % for Latin Modern
>> but I need a default font for them
>> 807
>> 808 \!!donesimplefontstrue
>> 809
>> 810 \stopmodule
>> 811
>> 812 \protect \endinput
>>
>>
>> ?
>> -----
>>
>> My understanding of the font mechanics is flaky (to put it mildly), so
>> I don't know if the problem is in my font definitions or if I've
>> actually found a bug (unlikely, but you never know). What is weird is
>> that the almost similar env-fonts-pr33.tex works without complaints.
>>
>> I'm running standalone ConTeXt on a 64-bit Windows10 machine, if that
>> makes any difference. The ConTeXt version is 2018.08.28 17:21 MKIV
>> beta.
>>
>> I don't need the non-working file right now. But it has to compile by
>> the end of next week or I'll be in trouble...
> don't use t-simplefonts, use \selectfont instead (its replacement)
\definefontfamily [Manuals] [rm] [Cambria]
\definefontfamily [Manuals] [ss] [Calibri]
\definefontfamily [Manuals] [tt] [Consolas]
\definefontfamily [Manuals] [mm] [Cambria Math]
\setupbodyfont[Manuals,10pt]
\starttext
Cambria {\ss Calibri} {\tt Consolas}
\unit{10 meter per second}
\stoptext
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2018-08-30 14:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-30 9:41 Mari Voipio
2018-08-30 11:39 ` Hans Hagen
2018-08-30 14:59 ` Wolfgang Schuster [this message]
2018-09-03 7:48 ` Mari Voipio
2018-09-03 16:46 ` Wolfgang Schuster
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=13a8f6ff-f08c-4d68-3653-5f85cada336d@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=mari.voipio@iki.fi \
--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).