ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with local installation - MKIV- register
Date: Tue, 02 Apr 2013 14:24:01 +0200	[thread overview]
Message-ID: <515ACDE1.5060602@wxs.nl> (raw)
In-Reply-To: <515A91F3.6060806@gmx.net>

On 4/2/2013 10:08 AM, Wolfgang wrote:
> Hello Philipp,
> many thanks for your help!
> Wolfgang

I've added \mult_check_for_parent so at least there is less change for a 
crash but a complete auto parent define is never going to work so it's 
reported as error:

system > error: invalid parent Erfs for Erf, Erfs defined too (best 
check it)

> Am 02.04.2013 00:54, schrieb Philipp Gesang:
>> Hi Wolfgang!
>>
>> ···<date: 2013-04-02, Tuesday>···<from: WolfgangZ>···
>>
>>> Hello,
>>> I have a problem with a using a register in my local installation
>>> (MKIV). The minimal example works on contextgarden.
>>>
>>> The example:
>>> \defineregister[Erf][Erflist]
>>
>>      \defineregister[Erf]
>>
>> It doesn’t appear to be documented anywhere (even the source ...)
>> but in mkiv \defineregister is an ordinary command handler so no
>> fancy plurals anymore. Now the second arg expects an assignment:
>>
>>      \defineregister[Erf][style=slanted,pagestyle=bold]
>>
>> Regards
>> Philipp
>>
>>
>>> \starttext
>>> \chapter{F53667}
>>> Hello world!
>>> \Erf{Bla} Fool
>>> \page
>>> \placeregister[Erf]
>>> \stoptext
>>>
>>>
>>> The error I get:
>>> mtx-context     | run 1: luatex
>>> --fmt="D:/context/tex/texmf-cache/luatex-cache/c
>>> ontext/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
>>> --jobname="test1
>>> "
>>> --lua="D:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776f
>>>
>>> b1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line
>>> --c:currentrun=1 --c
>>> :fulljobname="./test1.tex" --c:input="./test1.tex" --c:kindofrun=1
>>> --c:maxnofrun
>>> s=8 "cont-yes.mkiv"
>>> This is LuaTeX, Version beta-0.77.0-2013033008 (rev 4622)
>>>   \write18 enabled.
>>> (D:/context/tex/texmf-context/tex/context/base/cont-yes.mkiv
>>>
>>> ConTeXt  ver: 2013.03.29 01:03 MKIV  fmt: 2013.4.2  int: english/english
>>>
>>> system          > 'cont-new.mkiv' loaded
>>> (D:/context/tex/texmf-context/tex/context/base/cont-new.mkiv
>>> system          > beware: some patches loaded from cont-new.mkiv
>>> )
>>> system          > files > jobname 'test1', input 'test1', result 'test1'
>>> fonts           > latin modern fonts are not preloaded
>>> languages       > language 'en' is active
>>> (test1.tex{D:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
>>>
>>> fonts           > preloading latin modern fonts (second stage)
>>> fonts           > typescripts > unknown library 'loc'
>>> {D:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{D:/context/tex/texmf/fonts
>>>
>>> /map/dvips/lm/lm-rm.map}
>>> fonts           > 'fallback modern rm 12pt' is loaded
>>> structure       > sectioning > chapter @ level 2 : 0.1 -> F53667
>>> backend         > xmp > using file
>>> 'D:/context/tex/texmf-context/tex/context/bas
>>> e/lpdf-pdx.xml'
>>> pages           > flushing realpage 1, userpage 1
>>> ! Missing number, treated as zero.
>>> log
>>> system          > tex > error on line 8 in file test1.tex: Missing
>>> number, treat
>>> ed as zero ...
>>>
>>>
>>> <to be read again>
>>>>
>>> \strc_registers_place ...\registerparameter \c!n >
>>>                                                    \plusone
>>> \startcolumns [\c...
>>> \syst_helpers_double_empty_one_spaced ...1[{#2}][]
>>>
>>> <to be read again>
>>> \stoptext
>>> l.8 \stoptext
>>>
>>> ?
>>>
>>>
>>> Any help is welcome.
>>> Best regards
>>> 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
>>> ___________________________________________________________________________________
>>>
>>
>>
>>
>> ___________________________________________________________________________________
>>
>> 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
>> ___________________________________________________________________________________
>>
>>
>
> ___________________________________________________________________________________
>
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


      reply	other threads:[~2013-04-02 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-01 22:31 WolfgangZ
2013-04-01 22:54 ` Philipp Gesang
2013-04-02  8:08   ` Wolfgang
2013-04-02 12:24     ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=515ACDE1.5060602@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).