From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: BUGS with \setupbodyfontenvironment
Date: Fri, 22 May 2015 13:19:14 +0200 [thread overview]
Message-ID: <D645D8C9-BD48-4F29-BA55-1E425B2236D4@gmail.com> (raw)
In-Reply-To: <20150522.070748.17195.0@webmail12.dca.untd.com>
> Am 22.05.2015 um 13:07 schrieb david.boerschlein@juno.com:
>
> I have the following:
>
> \setupbodyfontenvironment[default][em=italic,x=9.0pt,xx=8.0pt,a=12.0pt,b=14.0pt,c=16.0pt,d=18.0pt,e=24.0pt,small=8.0pt]
>
> Per: http://wiki.contextgarden.net/Font_Switching
>
> However Context has a syntax error.
>
> ! Missing \endcsname inserted
> ! You can't use `\dimexpr' in restricted horizontal mode
>
> If I change the above to:
> \setupbodyfontenvironment[default][em=italic,x=0.9,xx=0.8,a=1.2,b=1.4,c=1.6,d=2.4,e=3.0,f=4.0,small=0.8]
>
> then the .tex compiles and runs and generates PDF output.
>
> Also, \tfe is documented to work but it is being flagged as a undefined control sequence error whereas \tfd works. We are using context current version: 2014.01.03 00:40
Only the a–d sizes are predefined, to get the e you have to add
\definefontsize[e]
to your document.
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
___________________________________________________________________________________
prev parent reply other threads:[~2015-05-22 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-22 11:07 david.boerschlein
2015-05-22 11:19 ` Wolfgang Schuster [this message]
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=D645D8C9-BD48-4F29-BA55-1E425B2236D4@gmail.com \
--to=schuster.wolfgang@gmail.com \
--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).