Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Macros with hyperlinks

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Macros with hyperlinks


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Macros with hyperlinks
  • Date: Thu, 6 Jan 2011 09:21:20 +0100

On Wed, Jan 05, 2011 at 10:08:01PM -0600, Oscar Gerardo Lazo Arjona wrote:
> I am interested in using texmacs as a wiki. One of the essential parts
> of wikis is links between documents. At this point I can link several
> texmacs documents using
>
> <hlink|NAME|/route/of/wiki/NAME.tm>
>
> But that is time consuming, as I have to write the route in every link,
> so I tried to make a macro that would do the job for me, like
>
> <assign|wlink2|<macro|name|<hlink|<arg|name>|/route/of/wiki/<arg|name>.tm>>>

The second argument of hlink should be an url *string*. Hence, you should use
the 'merge' primitive for the concatenation of strings in order to write your
macro.

Best, --Joris



Archive powered by MHonArc 2.6.19.

Top of Page