BUGS with \setupbodyfontenvironment
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 David Boerschlein (214) 412-3275 home office land (585) 278-4687 cell www.linkedin.com/in/davidboerschlein ____________________________________________________________ Heavy rains mean flooding Anywhere it rains it can flood. Learn your risk. Get flood insurance. http://thirdpartyoffers.juno.com/TGL3141/555f0e2e7d243e2e5e2dst04duc
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
participants (2)
-
david.boerschlein@juno.com
-
Wolfgang Schuster