On 8/25/2018 4:36 PM, Wolfgang Schuster wrote:
Hi,

sometimes one needs a environment where you have to set different strings. While we have \definestartstop to create new environments it doesn’t provide a mechanism to pass values to the environment.

Attached is a prototype for such a environment where you can pass values (only style, color and alternative are reserved keys) and create own layouts for the content of each environment.
first attempt in strc-usr.mkiv/lua .. just your code but
i moved the before and after, added align and tags

zip on ftp

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
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to