On 1/2/2021 7:23 PM, Jairo A. del Rio wrote:


El jue, 31 de dic. de 2020 a la(s) 07:17, Wolfgang Schuster (wolfgang.schuster.li...@gmail.com <mailto:wolfgang.schuster.li...@gmail.com>) escribió:

    Jairo A. del Rio schrieb am 24.12.2020 um 15:18:
     > Hi everyone!
     >
     > I've recently ported TikZducks to ConTeXt and finally removed TIkZ
     > along the way. So a new module was created. The module is called
     > "metaducks" (lol) and it's essentially a \useMPgraphic{...} with
    a lot
     > of options, most of them ported from TikZducks. For those not
    familiar
     > with the package, it draws customized rubber ducks :) I want to
     > include some more, so I'll gladly read any feedback, recommendations
     > and suggestions. Eventually I want it to be a module on its own. The
     > module is already in the ConTeXt Group:
     >
     >
    https://modules.contextgarden.net/cgi-bin/module.cgi/action=details/id=105
    <https://modules.contextgarden.net/cgi-bin/module.cgi/action=details/id=105>
     >
     > in case anyone wants to give it a try. Here's a minimal example:
     >
     > \usemodule[metaducks]
     > \starttext
     > \ducks[santa=true,mug=true]
     > \stoptext
     >
     > I wish the best for you all. Happy holidays!

    It's nice to see a new third party module for ConTeXt but you have to
    make a few changes.

    1. You have to put the module and the documentation in the correct doc
    and tex folders.


I'm doing it now. Thanks, I'll give my module some more order.

2. You should give your manual a better name, e.g. metaducks-manual.tex

Agreed. I'll prepare a better manual before updating.

    3. You can put your color definitions in the module, there is no need
    for a new color file, especially because most of the colors you use are
    already predefined.


Oh, colors are a bit different, so I copied RGB definitions from xcolor.sty, especially because with ConTeXt colors ducks looked a bit "brown" rather than yellow. However, I can merge t-metaducks.mkvi and colo-imp-xcolor.mkiv if necessary.
no need to merge ... in lmtx you can play with

withcolor "red"

and such ... best keep colors abstract

Hans


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

Reply via email to