[tw] Re: Javascript macro: Passing an array as argument

2017-05-02 Thread juan erasmo gomez
",") ; > > Good luck, > Mark > > > > > On Friday, April 28, 2017 at 1:33:43 PM UTC-7, juan erasmo gomez wrote: >> >> Hi >> >> I'm working on a javascript macro that creates a series of tables and I >> need to send an array with t

[tw] Javascript macro: Passing an array as argument

2017-04-28 Thread juan erasmo gomez
Hi I'm working on a javascript macro that creates a series of tables and I need to send an array with the number of columns of each table to the macro. I'm not very familiar with javascript (this is in fact my first attemp at it) so I'm not really sure what are my options in this case. What is

[tw] javascript macro: Linebreaks

2017-04-27 Thread juan erasmo gomez
Hi I'm writing a small macro to create a table. The idea behind the macro is that I'll receive the number of columns as a parameter and work from there. So far I've been able to create the first line of the table, but I haven't found a way to add a line break and to add the second row of the tab

[tw] Re: Template tiddler

2016-03-21 Thread juan erasmo gomez
Thanks Mat, this was exactly what I was looking for. El viernes, 18 de marzo de 2016, 16:10:47 (UTC), Mat escribió: > > This should show the title of the template and a + button which creates a > new tiddler based on the template. > > \define newTid(template) > <$button message="tm-new-tiddler" p

[tw] Template tiddler

2016-03-20 Thread juan erasmo gomez
Hi I'm a new user and I have a question about using templates to speed up my work flow with TW5. I regularly create reading synopsis for academic literature in which I write some key pieces of information about each reference. All of the synopsis tiddlers follow the same patter: !!!ABSTR

[tw] Re: TW5 - Making a "global" macro

2014-01-10 Thread juan erasmo gomez
the shadow tiddler > $:/core/ui/PageMacros is usable anywhere in the TiddlyWiki (you only have > to save and reload the wiki after having defined the macro). > > Le jeudi 9 janvier 2014 23:52:19 UTC+1, juan erasmo gomez a écrit : >> >> Hi >> >> I wrote a simple

[tw] TW5 - Making a "global" macro

2014-01-09 Thread juan erasmo gomez
Hi I wrote a simple macro for a ToDo list and I plan to use it in a number of tiddlers. So far I was able to make it work by defining the same macro in every tiddler, but I'm wondering if there is a way of defining the macro just once and making it available in every tiddler. Thanks -- You