* [NTG-context] Missing \endcsname inserted error
@ 2024-08-13 19:21 Jeong Dal via ntg-context
2024-08-13 19:33 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Jeong Dal via ntg-context @ 2024-08-13 19:21 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jeong Dal
[-- Attachment #1.1: Type: text/plain, Size: 1533 bytes --]
Hi,
I draw a figure using MetaFun and insert it \startplacefigure and \stopplacefigure.
(Sample file is listed below)
But, I got an error as following:
Missing \endcsname inserted
<to be read again>
\defcsname
<macro> \mult_interfaces_get_parameters_item_okay
#1=#S#2,->\ifarguments \or \mult_interfaces_get_parameters_item_error {#1}\else \defcsname \m_mult_interfaces_namespace #1
\endcsname {#2}\fi
<macro> \mult_interfaces_get_parameters_item
#*#S#1,->\ifarguments \expandafter \gobbleoneargument \else \mult_interfaces_get_parameters_item_okay #1,
If I remove "\startplacefigure and \stopplacefigure”, then there is no error, but the figure is not centered.
Please tell me how to fix it.
Thank you for reading.
Best regards,
Dalyoung
\startbuffer[numbers]
path p,q;
p = unitsquare xyscaled(3,2) superellipsed .85 ;
q := p scaled 1cm;
draw q;
label.bot(textext("\naturalnumbers"), point 2 of q);
q := p scaled 1.5cm shifted (-.75cm,-.2cm);
draw q ;
label.bot(textext("\integers"), point 2 of q);
q := p scaled 2cm shifted (-1.5cm,-.4cm);
draw q;
label.bot(textext("\rationals"), point 2 of q);
q := p scaled 2.5cm shifted (-2.25cm,-.6cm);
draw q;
label.bot(textext("\reals"), point 2 of q);
q := p scaled 3cm shifted (-3cm,-.8cm);
draw q;
label.bot(textext("\Bbb C"), point 2 of q);
\stopbuffer
\starttext
\startplacefigure[location=none,\title=]
{\scale[scale=1400]{\processMPbuffer[numbers]}}
\stopplacefigure
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 7362 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Missing \endcsname inserted error
2024-08-13 19:21 [NTG-context] Missing \endcsname inserted error Jeong Dal via ntg-context
@ 2024-08-13 19:33 ` Wolfgang Schuster
2024-08-13 22:32 ` Jeong Dal via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2024-08-13 19:33 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jeong Dal via ntg-context
Jeong Dal via ntg-context schrieb am 13.08.2024 um 21:21:
> Hi,
>
> I draw a figure using MetaFun and insert it \startplacefigure and
> \stopplacefigure.
> (Sample file is listed below)
> But, I got an error as following:
>
> Missing \endcsname inserted
>
> [...]
> \starttext
> \startplacefigure[location=none,\title=]
Either remove the backslash before the title key or just remove it from
the argument because the values of \startplacefigure are empty by default.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Missing \endcsname inserted error
2024-08-13 19:33 ` [NTG-context] " Wolfgang Schuster
@ 2024-08-13 22:32 ` Jeong Dal via ntg-context
0 siblings, 0 replies; 3+ messages in thread
From: Jeong Dal via ntg-context @ 2024-08-13 22:32 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jeong Dal
Whoops!!!
I didn’t see the backslash in there!!
It is a simple typo.
Thanks Wolfgang.
Best regards,
Dalyoung
> 2024. 8. 14. 오전 4:33, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> 작성:
>
> Jeong Dal via ntg-context schrieb am 13.08.2024 um 21:21:
>> Hi,
>> I draw a figure using MetaFun and insert it \startplacefigure and \stopplacefigure.
>> (Sample file is listed below)
>> But, I got an error as following:
>> Missing \endcsname inserted
>> [...]
>> \starttext
>> \startplacefigure[location=none,\title=]
>
> Either remove the backslash before the title key or just remove it from the argument because the values of \startplacefigure are empty by default.
>
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-13 22:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-13 19:21 [NTG-context] Missing \endcsname inserted error Jeong Dal via ntg-context
2024-08-13 19:33 ` [NTG-context] " Wolfgang Schuster
2024-08-13 22:32 ` Jeong Dal via ntg-context
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).