ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Title example from the Wiki is broken
@ 2018-03-19 13:55 John Grasty
  0 siblings, 0 replies; only message in thread
From: John Grasty @ 2018-03-19 13:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I trying to use the "In ConTeXt: A more advanced solution" example from the wiki [http://wiki.contextgarden.net/Document_Titles] to learn how modules and the like work in ConTeXt. I saved the module as p-titlepage.mkvi, because I could not get my module to load instead of the included third party one.

So my questions are:

1. Is there a way to load my module with the name title ahead of the supplied one? I saved it to <texroot>/texmf-project/tex/context/shared and <texroot>/texmf-local

2. Any idea what the error is in the wiki (or my use of it)?

Thanks,
John

Here was the error:

tex error       > tex error on line 46 in file /Users/jgrasty/context/tex/texmf-local/p-titlepage.mkvi: ! Argument of \17>>2 has an extra }

<inserted text> 
\par 
<to be read again> 
}
\showassignerror ...\showmessage \m!check 1{#1,#2}
                                                  \waitonfatalerror 
\syst_helpers_process_comma_item ...mpty \_e_o_p_ 
                                                  \doubleexpandafter \syst_h...
\syst_helpers_get_parameters ...ss_comma_item #1,]
                                                  ,\_e_o_p_ 
<argument> ...l \minusone \else \dodosetuptitle [\v!content ]
                                                  [\c!title ]
...
l.46    \c!color=]
                

36        \blank[2*\v!medium]
37        \doattributes{\??dt\c!date}\c!style\c!color\@@dtcontentdate
38        \blank[3*\v!medium]
39        \stopalignment}
40     
41     
42     
43     \setuptitle
44       [\c!title]
45       [\c!style=\tfd,
46 >>     \c!color=]





___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2018-03-19 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 13:55 Title example from the Wiki is broken John Grasty

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