"Missing number, case 7, treated as zero" error message.
Dear lister,
I have an error which I can not locate.
Please help me what is wrong in the following example.
Thanks for reading.
Regards,
Dalyoung
\useMPlibrary[dum]
\starttext
\startplacefigure[location=,reference=fig:gateNOT,title=]
\startcombination[nx=2,ny=1]
{externalfigure[dummy][width=.25\textwidth]}{a}
{externalfigure[dummy][width=.25\textwidth]}{b}
\stopcombination
\stopplacefigure
\stoptext
Log file:
metapost > library 'dum' is loaded
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern rm 12pt' is loaded
tex error > tex error on line 5 in file /Users/graph/Library/Mobile Documents/com~apple~CloudDocs/Documents/test.tex: Missing number, case 7, treated as zero
<to be read again>
]
Jeong Dal via ntg-context schrieb am 28.11.2024 um 22:44:
Dear lister,
I have an error which I can not locate. Please help me what is wrong in the following example.
Thanks for reading.
Regards,
Dalyoung
\useMPlibrary[dum] \starttext \startplacefigure[location=,reference=fig:gateNOT,title=] \startcombination[nx=2,ny=1] {externalfigure[dummy][width=.25\textwidth]}{a} {externalfigure[dummy][width=.25\textwidth]}{b}
You're missing the backslash in front of \externalfigure. Wolfgang
On 11/28/2024 11:20 PM, Wolfgang Schuster wrote:
Jeong Dal via ntg-context schrieb am 28.11.2024 um 22:44:
Dear lister,
I have an error which I can not locate. Please help me what is wrong in the following example.
Thanks for reading.
Regards,
Dalyoung
\useMPlibrary[dum] \starttext \startplacefigure[location=,reference=fig:gateNOT,title=] \startcombination[nx=2,ny=1] {externalfigure[dummy][width=.25\textwidth]}{a} {externalfigure[dummy][width=.25\textwidth]}{b}
You're missing the backslash in front of \externalfigure.
in addition to WS's fix: as a bonus, one can also say: {\externalfigure[dummy][width=.25tw]}{a} {\externalfigure[dummy][width=.25tw]}{b} in which case you'd see the error Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Jeong Dal
-
Wolfgang Schuster