On 3/22/2018 9:37 AM, luigi scarso wrote:
---------- Forwarded message ----------
From: John Grasty <johnpgra...@gmail.com>
Date: Tue, Mar 20, 2018 at 11:56 AM
Subject: [NTG-context] Adding a parameter to a module
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Hello list,
One more question. Since I could not figure the problem with the wiki
article for a title, I have turned my attention to modify the t-title
module for my needs. If I want to add let's say a publication
location, how would I go about that?
I have copied and renamed t-title.mkvi to p-mymodule.mkvi. I have
changed the formatting to suit my needs, but I can't not figure out
how to add parameters. What is the connection to the t-title.xml
interface file?
I don't need it done for me, but I do need just a bit of help getting
going in the right direction. :-D
Thanks so much for the help and the great software!
something
\setuptitle[foo=bar]
\roottitleparameter{foo}
\titleparameter{foo}
John Grasty
___________________________________________________________________________________
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
___________________________________________________________________________________
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________