ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ! Missing = inserted for \ifnum.
@ 2014-01-01  0:28 Fabrice
  2014-01-01 10:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice @ 2014-01-01  0:28 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2564 bytes --]

Hello,
I discovered ConTeXt gradually, so be indulgent please.
With the following command :
> [parabole1.pdf][scale=0.8]
I have the following error message :
> ! Missing = inserted for \ifnum.
>
> system          > tex > error on line 1 in file /home/fab/demo1.tex: 
> Missing = inserted for  ...
>
>  1 >>  \setuppapersize[A4]
>  2     \setuplayout [backspace=0cm,width=middle,
>  3     topspace=1cm,height=middle,
>  4     location=middle,marking=on]
>  5     \setuppagenumbering[location=]
>  6     \loadtypescriptfile[mathdesign]
>  7     \setupbodyfont[charter]
>  8 \setupexternalfigures[location={local,global,default}]
>  9 \setupTABLE[r][1,2][height=1.5cm,width=9cm,align={middle,lohi}]
> 10 \setupTABLE[r][3][height=6cm,width=9cm,align={middle,lohi}]
> 11     \starttext
>
> <to be read again>
> .
> \p_scale .-0.
>              8
> <argument> ...ale \empty \plusthousand \else \ifnum \p_scale
> =\zerocount \plusthousand ...
> \luaexpr #1s-\directlua {tex.print(tostring(#1
>                                               ))}
> \grph_scale_apply_scale ... \else #2\fi \fi /1000}
>                                                   }
> \grph_scale_by_scale ...le_used_x_scale \p_xscale
> \grph_scale_apply_scale \m...
> ...
> l.17 \eTABLE
>           }
> ?
> ! Emergency stop.
>
> system          > tex > error on line 1 in file /home/fab/demo1.tex: 
> Emergency stop ...
>
>  1 >>  \setuppapersize[A4]
>  2     \setuplayout [backspace=0cm,width=middle,
>  3     topspace=1cm,height=middle,
>  4     location=middle,marking=on]
>  5     \setuppagenumbering[location=]
>  6     \loadtypescriptfile[mathdesign]
>  7     \setupbodyfont[charter]
>  8 \setupexternalfigures[location={local,global,default}]
>  9 \setupTABLE[r][1,2][height=1.5cm,width=9cm,align={middle,lohi}]
> 10 \setupTABLE[r][3][height=6cm,width=9cm,align={middle,lohi}]
> 11     \starttext
>
> <to be read again>
> .
> \p_scale .-0.
>              8
> <argument> ...ale \empty \plusthousand \else \ifnum \p_scale
> =\zerocount \plusthousand ...
> \luaexpr #1s-\directlua {tex.print(tostring(#1
>                                               ))}
> \grph_scale_apply_scale ... \else #2\fi \fi /1000}
>                                                   }
> \grph_scale_by_scale ...le_used_x_scale \p_xscale
> \grph_scale_apply_scale \m...
> ...
> l.17 \eTABLE
>           }
> !  ==> Fatal error occurred, no output PDF file produced!
> mtx-context     | fatal error: return code: 1

This comes from the option scale = 0.8, because without it, the code 
compiles without problem.
Thank you.

[-- Attachment #1.2: Type: text/html, Size: 7962 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ! Missing = inserted for \ifnum.
  2014-01-01  0:28 ! Missing = inserted for \ifnum Fabrice
@ 2014-01-01 10:37 ` Wolfgang Schuster
  2014-01-01 23:33   ` Fabrice Couvreur
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-01-01 10:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 01.01.2014 um 01:28 schrieb Fabrice <couvreur.fabrice@wanadoo.fr>:

> Hello,
> I discovered ConTeXt gradually, so be indulgent please.
> With the following command :
>> 
>> [parabole1.pdf][scale=0.8]
> [...]
> 
> This comes from the option scale = 0.8, because without it, the code compiles without problem.

Change this to “scale=800”.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ! Missing = inserted for \ifnum.
  2014-01-01 10:37 ` Wolfgang Schuster
@ 2014-01-01 23:33   ` Fabrice Couvreur
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Couvreur @ 2014-01-01 23:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1036 bytes --]

Hello,
Thank you, the problem is solved.
Fabrice


2014/1/1 Wolfgang Schuster <schuster.wolfgang@gmail.com>

>
> Am 01.01.2014 um 01:28 schrieb Fabrice <couvreur.fabrice@wanadoo.fr>:
>
> > Hello,
> > I discovered ConTeXt gradually, so be indulgent please.
> > With the following command :
> >>
> >> [parabole1.pdf][scale=0.8]
> > [...]
> >
> > This comes from the option scale = 0.8, because without it, the code
> compiles without problem.
>
> Change this to “scale=800”.
>
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2027 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-01 23:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-01  0:28 ! Missing = inserted for \ifnum Fabrice
2014-01-01 10:37 ` Wolfgang Schuster
2014-01-01 23:33   ` Fabrice Couvreur

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).