ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Missing number, treated as zero
@ 2019-02-15 12:54 Gour
  2019-02-15 12:59 ` Henning Hraban Ramm
  2019-02-15 12:59 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Gour @ 2019-02-15 12:54 UTC (permalink / raw)
  To: ntg-context

Hello,

another attempt with ConTeXt and I'm getting this:

$  context t.tex
mtx-context     | run 1: luatex --fmt="/home/gour/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="t" --lua="/home/gour/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./t.tex" --c:input="./t.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"

This is LuaTeX, Version 1.07.0 (TeX Live 2018/Arch Linux) 
 system commands enabled.
open source     > level 1, order 1, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2018.04.04 00:51 MKIV beta  fmt: 2019.2.14  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
close source    > level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 't', input './t', result 't'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name '/home/gour/tmp/t.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
structure       > sectioning > section @ level 3 : 0.0.1 -> Testing ConTeXt

tex error       > tex error on line 4 in file /home/gour/tmp/t.tex: ! Missing number, treated as zero

<to be read again> 
\23>>currentnamedsection 
\popmacro ...m_syst_helpers_push_macro \endcsname 
                                                  \global \advance \lastname...
l.4 \stopsection
              

1     \starttext
2     \section[title={Testing ConTeXt}]
3     This is my document using Croatian chars: šŠ đĐ čČ ćĆ žŽ.
4 >>  \stopsection
5     \stoptext
6     
7     
8     
9     


? 


The file is:

$ cat t.tex 
\starttext
\section[title={Testing ConTeXt}]
This is my document using Croatian chars: šŠ đĐ čČ ćĆ žŽ.
\stopsection
\stoptext


I'm using Manjaro Linux (stable branch):

$ context --version
mtx-context     | ConTeXt Process Management 1.02
mtx-context     |
mtx-context     | main context file: /usr/share/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2018.04.04 00:51

Any clue what's wrong?


Sincerely,
Gour

-- 
A self-realized man has no purpose to fulfill in the discharge
of his prescribed duties, nor has he any reason not to perform
such work. Nor has he any need to depend on any other living being.


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Missing number, treated as zero
  2019-02-15 12:54 Missing number, treated as zero Gour
@ 2019-02-15 12:59 ` Henning Hraban Ramm
  2019-02-15 16:35   ` Gour
  2019-02-15 12:59 ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2019-02-15 12:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2019-02-15 um 13:54 schrieb Gour <gour@atmarama.com>:

> Hello,
> 
> another attempt with ConTeXt and I'm getting this:
> 
> \starttext
> \section[title={Testing ConTeXt}]
> This is my document using Croatian chars: šŠ đĐ čČ ćĆ žŽ.
> \stopsection
> \stoptext

You mixed up the syntax,
it’s either \section{Testing} or \startsection[title=Testing]


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Missing number, treated as zero
  2019-02-15 12:54 Missing number, treated as zero Gour
  2019-02-15 12:59 ` Henning Hraban Ramm
@ 2019-02-15 12:59 ` Wolfgang Schuster
  2019-02-15 16:40   ` Saša Janiška
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2019-02-15 12:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Gour

Gour schrieb am 15.02.19 um 13:54:
> Hello,
> 
> another attempt with ConTeXt and I'm getting this:
> 
> $  context t.tex
> mtx-context     | run 1: luatex --fmt="/home/gour/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="t" --lua="/home/gour/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./t.tex" --c:input="./t.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> 
> This is LuaTeX, Version 1.07.0 (TeX Live 2018/Arch Linux)
>   system commands enabled.
> open source     > level 1, order 1, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'
> system          >
> system          > ConTeXt  ver: 2018.04.04 00:51 MKIV beta  fmt: 2019.2.14  int: english/english
> system          >
> system          > 'cont-new.mkiv' loaded
> open source     > level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
> close source    > level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
> system          > files > jobname 't', input './t', result 't'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> open source     > level 2, order 3, name '/home/gour/tmp/t.tex'
> fonts           > preloading latin modern fonts (second stage)
> fonts           > 'fallback modern-designsize rm 12pt' is loaded
> structure       > sectioning > section @ level 3 : 0.0.1 -> Testing ConTeXt
> 
> tex error       > tex error on line 4 in file /home/gour/tmp/t.tex: ! Missing number, treated as zero
> 
> <to be read again>
> \23>>currentnamedsection
> \popmacro ...m_syst_helpers_push_macro \endcsname
>                                                    \global \advance \lastname...
> l.4 \stopsection
>                
> 
> 1     \starttext
> 2     \section[title={Testing ConTeXt}]

You need (note the “start”)

     \startsection[title={...}]

when you use \stopsection.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Missing number, treated as zero
  2019-02-15 12:59 ` Henning Hraban Ramm
@ 2019-02-15 16:35   ` Gour
  0 siblings, 0 replies; 5+ messages in thread
From: Gour @ 2019-02-15 16:35 UTC (permalink / raw)
  To: ntg-context

On Fri, 15 Feb 2019 13:59:20 +0100
Henning Hraban Ramm <texml@fiee.net> wrote:

> You mixed up the syntax,
> it’s either \section{Testing} or \startsection[title=Testing]

Ahh, what a shame. :-(


Sincerely,
Gour

-- 
For him who has conquered the mind, the mind is the best of
friends; but for one who has failed to do so, his mind will
remain the greatest enemy.


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Missing number, treated as zero
  2019-02-15 12:59 ` Wolfgang Schuster
@ 2019-02-15 16:40   ` Saša Janiška
  0 siblings, 0 replies; 5+ messages in thread
From: Saša Janiška @ 2019-02-15 16:40 UTC (permalink / raw)
  To: ntg-context


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

On Fri, 15 Feb 2019 13:59:46 +0100
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:

> You need (note the “start”)
> 
>      \startsection[title={...}]
> 
> when you use \stopsection.

Ahh, I managed to try just those combination which do not work...feeling really
embarrassed. :-(

Thank you for being kind and exposing my stupidity. ;)


Sincerely,
Gour

-- 
A person is said to be established in self-realization and is called a
yogī [or mystic] when he is fully satisfied by virtue of acquired
knowledge and realization. Such a person is situated in transcendence
and is self-controlled. He sees everything — whether it be pebbles,
stones or gold — as the same.

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-02-15 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 12:54 Missing number, treated as zero Gour
2019-02-15 12:59 ` Henning Hraban Ramm
2019-02-15 16:35   ` Gour
2019-02-15 12:59 ` Wolfgang Schuster
2019-02-15 16:40   ` Saša Janiška

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