parent
b6c9045008
commit
e477b15298
|
@ -105,3 +105,18 @@
|
||||||
@strong{Example:} \text\
|
@strong{Example:} \text\
|
||||||
@noticeend
|
@noticeend
|
||||||
@end macro
|
@end macro
|
||||||
|
|
||||||
|
|
||||||
|
@c link to source file if URI is known, otherwise display
|
||||||
|
@c the path to the file
|
||||||
|
@ifset SRCURI
|
||||||
|
@macro srcref{path, display}
|
||||||
|
@url{@value{SRCURI}/\path\, @code{\display\}}
|
||||||
|
@end macro
|
||||||
|
@end ifset
|
||||||
|
|
||||||
|
@ifclear SRCURI
|
||||||
|
@macro srcref{path, display}
|
||||||
|
@file{\path\}
|
||||||
|
@end macro
|
||||||
|
@end ifclear
|
||||||
|
|
Loading…
Reference in New Issue