User:Esteis/Template:src

From Wiki
< User:Esteis
Revision as of 15:10, 5 July 2012 by Esteis (talk | contribs) (copy Template:src)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{1}}}


Link to files in the tex/context/base directory. The link text is the filename by default, but you may pass a second parameter if you want some other text.

Usage:

   {{src|strc-num.mkiv#l471}}
   {{src|strc-num.mkiv#l471|strc-num.mkiv}}

Resulting code:

   [http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/strc-num.mkiv#l471 strc-num.mkiv#l471]
   [http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/strc-num.mkiv#l471 strc-num.mkiv]

Looks like:

strc-num.mkiv#l471
strc-num.mkiv

The repository may or may not change in the future; if you must link to a specific repository, don't use this template, but write the link in full.