[FE training-materials-updates] labs: define kpath and kpathversion
    Alexandre Belloni 
    alexandre.belloni at free-electrons.com
       
    Wed Oct 28 17:21:32 CET 2015
    
    
  
Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=f98a62cc04d1c5bbce47f88fa60e1dae750436f6
>---------------------------------------------------------------
commit f98a62cc04d1c5bbce47f88fa60e1dae750436f6
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Wed Oct 28 17:21:32 2015 +0100
    labs: define kpath and kpathversion
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
>---------------------------------------------------------------
f98a62cc04d1c5bbce47f88fa60e1dae750436f6
 common/labs.sty | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/labs.sty b/common/labs.sty
index f7433c9..e43d7cf 100644
--- a/common/labs.sty
+++ b/common/labs.sty
@@ -125,7 +125,8 @@
 %% characters such as _ $ or &.
 \newcommand{\code}[1]
 {\path{#1}}
-
+\newcommand\kpath[1]{\href{http://lxr.free-electrons.com/source/#1}{\code{#1}}}
+\newcommand\kpathversion[2]{\href{http://lxr.free-electrons.com/source/#1?v=#2}{\code{#1}}}
 \newcommand{\makeabout}
 {
   \section{About this document}
    
    
More information about the training-materials-updates
mailing list