Difference between revisions of "Template:Modulesrc"

From Wiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 13:51, 4 January 2020

{{{1}}}


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

Usage:

   {{modulesrc|m-ipsum.mkiv#l18}}
   {{modulesrc|m-ipsum.mkiv#l18|m-ipsum.mkiv}}

Resulting code:

   [https://source.contextgarden.net/tex/context/modules/mkiv/m-ipsum.mkiv#l18 m-ipsum.mkiv#l18]
   [https://source.contextgarden.net/tex/context/modules/mkiv/m-ipsum.mkiv#l18 m-ipsum.mkiv]

Looks like:

m-ipsum.mkiv#l18
m-ipsum.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.